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

Unable to build QtNetworkAuth Add-On with Conan, macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.0.1
    • Fix Version/s: None
    • Labels:
    • Platform/s:
      macOS

      Description

      Description
      Install Qt6.0.1, QtNetworkAuth,Cmake, Ninja and Conan with online installer.
       
      Run build command:
      conan install qtnetworkauth/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:
      Build failed (Screenshot taken from the desktop is invalid)
      [ 58%] Generating ../../lib/QtNetworkAuth.framework/Versions/A/Headers/qoauthhttpserverreplyhandler.h
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E make_directory /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
       
      Build failed (Screenshot taken from the desktop is invalid)
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E make_directory /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
      [ 60%] Generating ../../lib/QtNetworkAuth.framework/Versions/A/Headers/qtnetworkauthversion.h
       
      Build failed (Screenshot taken from the desktop is invalid)
      [ 60%] Generating ../../lib/QtNetworkAuth.framework/Versions/A/Headers/qtnetworkauthversion.h
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E make_directory /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
       
      Build failed (Screenshot taken from the desktop is invalid)
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E make_directory /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
      [ 62%] Generating ../../lib/QtNetworkAuth.framework/Versions/A/Headers/qoauthoobreplyhandler.h
       
      Build failed (Screenshot taken from the desktop is invalid)
      [ 62%] Generating ../../lib/QtNetworkAuth.framework/Versions/A/Headers/qoauthoobreplyhandler.h
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E make_directory /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
       
      Build failed (Screenshot taken from the desktop is invalid)
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E make_directory /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E copy /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth/qoauthoobreplyhandler.h /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
       
      Build failed (Screenshot taken from the desktop is invalid)
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E copy /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth/qoauthoobreplyhandler.h /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E copy /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/include/QtNetworkAuth/qtnetworkauthversion.h /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
       
      Build failed (Screenshot taken from the desktop is invalid)
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E copy /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/include/QtNetworkAuth/qtnetworkauthversion.h /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E copy /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth/qoauthhttpserverreplyhandler.h /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
       
      Build failed (Screenshot taken from the desktop is invalid)
      cd /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth && /Applications/CMake.app/Contents/bin/cmake -E copy /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/src/oauth/qoauthhttpserverreplyhandler.h /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2/lib/QtNetworkAuth.framework/Versions/A/Headers/
      [ 62%] Built target NetworkAuth_framework_headers
       
      Build failed (Screenshot taken from the desktop is invalid)
      [ 62%] Built target NetworkAuth_framework_headers
      make: *** [all] Error 2
       
      Build failed (Screenshot taken from the desktop is invalid)
      make: *** [all] Error 2
      CMAKE_PREFIX_PATH for 'qtnetworkauth/6.0.1' build is: /Users/qt/RTA/qt5/6.0.1/clang_64
       
      Build failed (Screenshot taken from the desktop is invalid)
      CMAKE_PREFIX_PATH for 'qtnetworkauth/6.0.1' build is: /Users/qt/RTA/qt5/6.0.1/clang_64
      CMAKE_PREFIX_PATH for 'qtnetworkauth/6.0.1' build is: /Users/qt/RTA/qt5/6.0.1/clang_64
       
      Build failed (Screenshot taken from the desktop is invalid)
      CMAKE_PREFIX_PATH for 'qtnetworkauth/6.0.1' build is: /Users/qt/RTA/qt5/6.0.1/clang_64
      qtnetworkauth/6.0.1@qt/snapshot:
       
      Build failed (Screenshot taken from the desktop is invalid)
      qtnetworkauth/6.0.1@qt/snapshot:
      qtnetworkauth/6.0.1@qt/snapshot: ERROR: Package 'd59f34d3c0976c54df1df72f2b565210becedff2' build failed
       
      Build failed (Screenshot taken from the desktop is invalid)
      qtnetworkauth/6.0.1@qt/snapshot: ERROR: Package 'd59f34d3c0976c54df1df72f2b565210becedff2' build failed
      qtnetworkauth/6.0.1@qt/snapshot: WARN: Build folder /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2
       
      Build failed (Screenshot taken from the desktop is invalid)
      qtnetworkauth/6.0.1@qt/snapshot: WARN: Build folder /Users/qt/.conan/data/qtnetworkauth/6.0.1/qt/snapshot/build/d59f34d3c0976c54df1df72f2b565210becedff2
      ERROR: qtnetworkauth/6.0.1@qt/snapshot: Error in build() method, line 118
       
      Build failed (Screenshot taken from the desktop is invalid)
      ERROR: qtnetworkauth/6.0.1@qt/snapshot: Error in build() method, line 118
      self.run('cmake --build . %s' % cmake.build_config)
       
      Build failed (Screenshot taken from the desktop is invalid)
      self.run('cmake --build . %s' % cmake.build_config)
      ConanException: Error 2 while executing cmake --build .
       
      Build failed (Screenshot taken from the desktop is invalid)
      ConanException: Error 2 while executing cmake --build .
       
      Build failed (Screenshot taken from the desktop is invalid)
       

        Attachments

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

          Activity

            People

            Assignee:
            manordheim Mårten Nordheim
            Reporter:
            mierala Minna Erälä
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes