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

build failure (with conan)when odbc and vulkan are enabled (due to global promotion)

    XMLWordPrintable

Details

    • Linux/Other display system
    • d2e85cede (dev), 5da0b7624 (6.8)

    Description

      When building qt with vulkan and odbc enabled on linux, it fails with:

      CMake Error at qtbase/cmake/QtPublicTargetHelpers.cmake:257 (set_property):
        Attempt to promote imported target "CONAN_LIB::Iconv_iconv" to global scope
        (by setting IMPORTED_GLOBAL) which is not built in this directory.
      Call Stack (most recent call first):
        qtbase/cmake/QtPublicWalkLibsHelpers.cmake:238 (__qt_internal_promote_target_to_global)
        qtbase/cmake/QtPublicWalkLibsHelpers.cmake:187 (__qt_internal_walk_libs)
        qtbase/cmake/QtPublicWalkLibsHelpers.cmake:212 (__qt_internal_walk_libs)
        qtbase/cmake/QtPublicWalkLibsHelpers.cmake:187 (__qt_internal_walk_libs)
        qtbase/cmake/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs)
        qtbase/cmake/QtFindPackageHelpers.cmake:181 (qt_find_package_promote_targets_to_global_scope)
        qtbase/src/plugins/sqldrivers/configure.cmake:17 (qt_find_package)
        qtbase/src/plugins/sqldrivers/CMakeLists.txt:35 (include)
      
      
      CMake Error at qtbase/cmake/QtPublicTargetHelpers.cmake:257 (set_property):
        Attempt to promote imported target "CONAN_LIB::Iconv_charset" to global
        scope (by setting IMPORTED_GLOBAL) which is not built in this directory.
      Call Stack (most recent call first):
        qtbase/cmake/QtPublicWalkLibsHelpers.cmake:238 (__qt_internal_promote_target_to_global)
        qtbase/cmake/QtPublicWalkLibsHelpers.cmake:187 (__qt_internal_walk_libs)
        qtbase/cmake/QtPublicWalkLibsHelpers.cmake:212 (__qt_internal_walk_libs)
        qtbase/cmake/QtPublicWalkLibsHelpers.cmake:187 (__qt_internal_walk_libs)
        qtbase/cmake/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs)
        qtbase/cmake/QtFindPackageHelpers.cmake:181 (qt_find_package_promote_targets_to_global_scope)
        qtbase/src/plugins/sqldrivers/configure.cmake:17 (qt_find_package)
        qtbase/src/plugins/sqldrivers/CMakeLists.txt:35 (include)
      
      
      CMake Error at qtbase/cmake/QtPublicTargetHelpers.cmake:257 (set_property):
        Attempt to promote imported target "Iconv::Iconv" to global scope (by
        setting IMPORTED_GLOBAL) which is not built in this directory.
      Call Stack (most recent call first):
        qtbase/cmake/QtPublicWalkLibsHelpers.cmake:238 (__qt_internal_promote_target_to_global)
        qtbase/cmake/QtPublicWalkLibsHelpers.cmake:212 (__qt_internal_walk_libs)
        qtbase/cmake/QtPublicWalkLibsHelpers.cmake:187 (__qt_internal_walk_libs)
        qtbase/cmake/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs)
        qtbase/cmake/QtFindPackageHelpers.cmake:181 (qt_find_package_promote_targets_to_global_scope)
        qtbase/src/plugins/sqldrivers/configure.cmake:17 (qt_find_package)
        qtbase/src/plugins/sqldrivers/CMakeLists.txt:35 (include)
      

      Full log available on https://github.com/eirikb/proof-of-conan/runs/4373070720?check_suite_focus=true#step:8:2107

      This looks like QTBUG-94356

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              ericlemanissier Eric Lemanissier
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes