Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-127274

[QNX 6.8.0] Some examples fail when linking with 'permission denied' on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0 Beta2, 6.8.0
    • Examples and Demos

    Description

      Reproduces with the ready-made QNX binary

      Steps to reproduce:

      • Install QNX 6.8.0 beta2
      • build 'hangman' example with:
      C:\Utils\qnx710\qnxsdp-env.bat
      C:\Users\qt\RTA\Qt_6.8.0\6.8.0\qnx71_aarch64le\bin\qt-cmake -GNinja
       -DCMAKE_MAKE_PROGRAM=C:\Users\qt\RTA\Qt_6.8.0\Tools\Ninja\ninja 
      -DCMAKE_BUILD_WITH_INSTALL_RPATH=on 
      -DQT_CHAINLOAD_TOOLCHAIN_FILE=C:\Users\qt\RTA\Qt_6.8.0\6.8.0\qnx71_aarch64le\qnx-toolchain-aarch64le.cmake
      cmake --build . --parallel
      cmake --install . --prefix . --config Debug

      Expected result:

      Application is built

       

      Actual result:

      Linking the application fails with:

      [71/74] Building CXX object CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/StoreView_qml.cpp.o
      [72/74] Building CXX object CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/Word_qml.cpp.o
      [73/74] Building CXX object CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_main_qml.cpp.o
      [74/74] Linking CXX executable hangman
      FAILED: hangman 
      C:\Windows\system32\cmd.exe /C "cd . && C:\Utils\qnx710\host\win64\x86_64\usr\bin\q++.exe -Vgcc_ntoaarch64le -Wc,-isysroot,C:/Utils/qnx710//target/qnx7 -lang-c++   CMakeFiles/hangman.dir/hangman_autogen/mocs_compilation.cpp.o CMakeFiles/hangman.dir/hangmangame.cpp.o CMakeFiles/hangman.dir/main.cpp.o CMakeFiles/hangman.dir/purchasing/inapp/inappproduct.cpp.o CMakeFiles/hangman.dir/purchasing/inapp/inapppurchasebackend.cpp.o CMakeFiles/hangman.dir/purchasing/inapp/inappstore.cpp.o CMakeFiles/hangman.dir/purchasing/inapp/inapptransaction.cpp.o CMakeFiles/hangman.dir/purchasing/qmltypes/inappproductqmltype.cpp.o CMakeFiles/hangman.dir/purchasing/qmltypes/inappstoreqmltype.cpp.o CMakeFiles/hangman.dir/hangman_qmltyperegistrations.cpp.o CMakeFiles/hangman.dir/.qt/rcc/qrc_qmake_Hangman.cpp.o CMakeFiles/hangman.dir/.qt/rcc/qrc_qmake_Hangman_copy.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qmlcache_loader.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/GameView_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/GuessWordView_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/Hangman_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/HowToView_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/Key_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/Letter_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/LetterSelector_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/MainView_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/PageHeader_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/ScoreItem_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/SimpleButton_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/SplashScreen_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/StoreItem_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/StoreView_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_qml/Word_qml.cpp.o CMakeFiles/hangman.dir/.rcc/qmlcache/hangman_main_qml.cpp.o CMakeFiles/hangman.dir/.qt/rcc/qrc_hangman_raw_qml_0.cpp.o CMakeFiles/hangman.dir/.qt/rcc/qrc_resources.cpp.o -o hangman  C:/Users/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/lib/libQt6QuickControls2.so.6.8.0  C:/Users/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/lib/libQt6Quick.so.6.8.0  C:/Users/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/lib/libQt6QmlMeta.so.6.8.0  C:/Users/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/lib/libQt6OpenGL.so.6.8.0  C:/Users/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/lib/libQt6Gui.so.6.8.0  C:/Utils/qnx710/target/qnx7/aarch64le/usr/lib/libGLESv2.so  C:/Utils/qnx710/target/qnx7/aarch64le/usr/lib/libEGL.so  C:/Users/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/lib/libQt6QmlModels.so.6.8.0  C:/Users/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/lib/libQt6Qml.so.6.8.0  C:/Users/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/lib/libQt6Network.so.6.8.0  C:/Users/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/lib/libQt6Core.so.6.8.0  -lsocket  -Wl,-rpath-link,C:/Users/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/lib && cd ."
      C:\Utils\qnx710\\host\win64\x86_64\usr\bin\aarch64-unknown-nto-qnx7.1.0-ld: cannot open output file hangman: Permission denied
      cc: C:/Utils/qnx710//host/win64/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld caught signal 1
      cc: warning - couldn't unlink hangman (Permission denied)
      cc: warning - couldn't unlink hangman (Permission denied)
      ninja: build stopped: subcommand failed. 

      A similar problem is seen with graphs 2D and 3D examples and nfc/ndefeditor

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tuomas.vaarala Tuomas Vaarala
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes