[Bug 283997] devel/qt6-5compat fails during configure step on 14.2-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 11 Jan 2025 14:17:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283997

            Bug ID: 283997
           Summary: devel/qt6-5compat fails during configure step on
                    14.2-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: george@m5p.com
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)

This happened both on versions 6.7.3 and 6.8.1.  I upgraded my base system from
13.4-RELEASE to 14.2-RELEASE on January 2, and since then I have been updating
my ports tree.  I'm running cmake-core-4.31.1.  Here is what the failure looks
like (just after "make clean"):

root@sullivan:/usr/ports/devel/qt6-5compat # make
===>  License LGPL21 accepted by the user
===>   qt6-5compat-6.8.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by qt6-5compat-6.8.1 for building
===>  Extracting for qt6-5compat-6.8.1
=> SHA256 Checksum OK for KDE/Qt/6.8.1/qt5compat-everywhere-src-6.8.1.tar.xz.
===>  Patching for qt6-5compat-6.8.1
===>   qt6-5compat-6.8.1 depends on file: /usr/local/bin/cmake - found
===>   qt6-5compat-6.8.1 depends on executable: ninja - found
===>   qt6-5compat-6.8.1 depends on shared library: libicuuc.so - found
(/usr/local/lib/libicuuc.so)
===>   qt6-5compat-6.8.1 depends on shared library: libxkbcommon.so - found
(/usr/local/lib/libxkbcommon.so)
===>   qt6-5compat-6.8.1 depends on shared library: libOpenGL.so - found
(/usr/local/lib/libOpenGL.so)
===>   qt6-5compat-6.8.1 depends on shared library: libQt6Core.so - found
(/usr/local/lib/qt6/libQt6Core.so)
===>   qt6-5compat-6.8.1 depends on shared library: libQt6Qml.so - found
(/usr/local/lib/qt6/libQt6Qml.so)
===>   qt6-5compat-6.8.1 depends on shared library: libQt6ShaderTools.so -
found (/usr/local/lib/qt6/libQt6ShaderTools.so)
===>  Configuring for qt6-5compat-6.8.1
===>  Performing out-of-source build
/bin/mkdir -p /usr/ports/devel/qt6-5compat/work/.build
-- The CXX compiler identification is Clang 18.1.6
-- The C compiler identification is Clang 18.1.6
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Found Threads: TRUE
-- Promoting target to global: 'Threads::Threads'
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Promoting target to global: 'WrapAtomic::WrapAtomic'
-- Promoting target to global: 'Qt6::syncqt'
-- Promoting target to global: 'Qt6::moc'
-- Promoting target to global: 'Qt6::rcc'
-- Promoting target to global: 'Qt6::tracepointgen'
-- Promoting target to global: 'Qt6::tracegen'
-- Promoting target to global: 'Qt6::cmake_automoc_parser'
-- Promoting target to global: 'Qt6::qlalr'
-- Promoting target to global: 'Qt6::qtpaths'
-- Promoting target to global: 'Qt6::androiddeployqt'
-- Promoting target to global: 'Qt6::androidtestrunner'
-- Promoting target to global: 'Qt6::qmake'
-- Found OpenGL: /usr/local/lib/libOpenGL.so
-- Promoting target to global: 'WrapOpenGL::WrapOpenGL'
-- Promoting target to global: 'OpenGL::OpenGL'
-- Promoting target to global: 'OpenGL::GLX'
-- Promoting target to global: 'OpenGL::GL'
-- Promoting target to global: 'XKB::XKB'
-- Promoting target to global: 'WrapVulkanHeaders::WrapVulkanHeaders'
-- Promoting target to global: 'Qt6::qvkgen'
-- Promoting target to global: 'Qt6::qdbuscpp2xml'
-- Promoting target to global: 'Qt6::qdbusxml2cpp'
-- Promoting target to global: 'Qt6::uic'
-- Promoting target to global: 'Qt6::qmlaotstats'
-- Promoting target to global: 'Qt6::qmlcachegen'
-- Promoting target to global: 'Qt6::qmldom'
-- Promoting target to global: 'Qt6::qmllint'
-- Promoting target to global: 'Qt6::qmltc'
-- Promoting target to global: 'Qt6::qmltyperegistrar'
-- Promoting target to global: 'Qt6::qmljsrootgen'
-- Promoting target to global: 'Qt6::qmlimportscanner'
-- Promoting target to global: 'Qt6::qmlformat'
-- Promoting target to global: 'Qt6::qmlprofiler'
-- Promoting target to global: 'Qt6::qmltime'
-- Promoting target to global: 'Qt6::qmlplugindump'
-- Promoting target to global: 'Qt6::qmltestrunner'
-- Promoting target to global: 'Qt6::svgtoqml'
CMake Error at /usr/local/lib/cmake/Qt6QmlMeta/Qt6QmlMetaTargets.cmake:42
(message):
  Some (but not all) targets in this export set were already defined.

  Targets Defined: Qt6::QmlMeta

  Targets not yet defined: Qt6::QmlMetaPrivate

Call Stack (most recent call first):
  /usr/local/lib/cmake/Qt6QmlMeta/Qt6QmlMetaConfig.cmake:55 (include)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76
(find_package)
  /usr/local/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:143
(find_dependency)
  /usr/local/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:43
(_qt_internal_find_qt_dependencies)
  /usr/local/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:43 (include)
  /usr/local/lib/cmake/Qt6/Qt6Config.cmake:181 (find_package)
  CMakeLists.txt:17 (find_package)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/qt6-5compat

-- 
You are receiving this mail because:
You are the assignee for the bug.