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

Unable to build QtOpcua Add-On with Conan, Qt6.0.1, linux-g++-Ubuntu20.04-x64

    XMLWordPrintable

Details

    • Linux/X11
    • 54980200c79b466a276a4d3054390e4b3162e9ed (qt/qtbase/6.0) 71e3857f7c1ea94c711a773c689762f580d1e0d5 (qt/qtbase/dev)

    Description

      Description
      Install Qt6.0.1, Cmake, Ninja and Conan with online installer.
       
      Run build command:
      conan install qtopcua/6.0.1@qt/snapshot --build=missing --profile=/home/qt/RTA/qt5/Tools/Conan/profiles/qt-6.0.1-gcc-x86_64 -s build_type=Release -g cmake_paths -g cmake -g deploy

      Build fails:
      make[2]: *** [src/opcua/CMakeFiles/QtOpcUa_header_check.dir/build.make:147: src/opcua/header_client/qopcuaaddreferenceitem.h.o] Error 1
      Assembler messages:
      Fatal error: can't create header_client/qopcuaaddnodeitem.h.o: No such file or directory
       
      make[2]: *** [src/opcua/CMakeFiles/QtOpcUa_header_check.dir/build.make:143: src/opcua/header_client/qopcuaaddnodeitem.h.o] Error 1
       
      Assembler messages:
       
      Fatal error: can't create header_client/qopcuaapplicationdescription.h.o: No such file or directory
       
      make[2]: *** [src/opcua/CMakeFiles/QtOpcUa_header_check.dir/build.make:151: src/opcua/header_client/qopcuaapplicationdescription.h.o] Error 1
       
      make[2]: Leaving directory '/home/qt/.conan/data/qtopcua/6.0.1/qt/snapshot/build/9105b5b4ab5d474532cfc28699da368141e8a4cf'
       
      make[1]: *** [CMakeFiles/Makefile2:1080: src/opcua/CMakeFiles/QtOpcUa_header_check.dir/all] Error 2
       
      make[1]: Leaving directory '/home/qt/.conan/data/qtopcua/6.0.1/qt/snapshot/build/9105b5b4ab5d474532cfc28699da368141e8a4cf'
       
      make: *** [Makefile:163: all] Error 2
       
      CMAKE_PREFIX_PATH for 'qtopcua/6.0.1' build is: /home/qt/RTA/qt5/6.0.1/gcc_64
       
      CMAKE_PREFIX_PATH for 'qtopcua/6.0.1' build is: /home/qt/RTA/qt5/6.0.1/gcc_64
       
      qtopcua/6.0.1@qt/snapshot:
       
      qtopcua/6.0.1@qt/snapshot: ERROR: Package '9105b5b4ab5d474532cfc28699da368141e8a4cf' build failed
       
      qtopcua/6.0.1@qt/snapshot: WARN: Build folder /home/qt/.conan/data/qtopcua/6.0.1/qt/snapshot/build/9105b5b4ab5d474532cfc28699da368141e8a4cf
       
      ERROR: qtopcua/6.0.1@qt/snapshot: Error in build() method, line 116
       
      self.run('cmake --build . %s' % cmake.build_config)
       
      ConanException: Error 2 while executing cmake --build .
      make[2]: *** [src/opcua/CMakeFiles/QtOpcUa_header_check.dir/build.make:147: src/opcua/header_client/qopcuaaddreferenceitem.h.o] Error 1
       
      Assembler messages:
       
      Fatal error: can't create header_client/qopcuaaddnodeitem.h.o: No such file or directory
      Fatal error: can't create header_client/qopcuaaddnodeitem.h.o: No such file or directory
      make[2]: *** [src/opcua/CMakeFiles/QtOpcUa_header_check.dir/build.make:143: src/opcua/header_client/qopcuaaddnodeitem.h.o] Error 1
       
       
      Assembler messages:
       
      Fatal error: can't create header_client/qopcuaapplicationdescription.h.o: No such file or directory
      Fatal error: can't create header_client/qopcuaapplicationdescription.h.o: No such file or directory
      make[2]: *** [src/opcua/CMakeFiles/QtOpcUa_header_check.dir/build.make:151: src/opcua/header_client/qopcuaapplicationdescription.h.o] Error 1
       
      make[2]: Leaving directory '/home/qt/.conan/data/qtopcua/6.0.1/qt/snapshot/build/9105b5b4ab5d474532cfc28699da368141e8a4cf'
      make[1]: *** [CMakeFiles/Makefile2:1080: src/opcua/CMakeFiles/QtOpcUa_header_check.dir/all] Error 2
       
      make[1]: Leaving directory '/home/qt/.conan/data/qtopcua/6.0.1/qt/snapshot/build/9105b5b4ab5d474532cfc28699da368141e8a4cf'
       
      make: *** [Makefile:163: all] Error 2
       
       
      CMAKE_PREFIX_PATH for 'qtopcua/6.0.1' build is: /home/qt/RTA/qt5/6.0.1/gcc_64
      CMAKE_PREFIX_PATH for 'qtopcua/6.0.1' build is: /home/qt/RTA/qt5/6.0.1/gcc_64
      qtopcua/6.0.1@qt/snapshot:
      qtopcua/6.0.1@qt/snapshot: ERROR: Package '9105b5b4ab5d474532cfc28699da368141e8a4cf' build failed
      qtopcua/6.0.1@qt/snapshot: ERROR: Package '9105b5b4ab5d474532cfc28699da368141e8a4cf' build failed
      qtopcua/6.0.1@qt/snapshot: WARN: Build folder /home/qt/.conan/data/qtopcua/6.0.1/qt/snapshot/build/9105b5b4ab5d474532cfc28699da368141e8a4cf
      ERROR: qtopcua/6.0.1@qt/snapshot: Error in build() method, line 116
      self.run('cmake --build . %s' % cmake.build_config)
      ConanException: Error 2 while executing cmake --build .
       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-90529
          # Subject Branch Project Status CR V

          Activity

            People

              jbornema Joerg Bornemann
              mierala Minna Erälä
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes