Opened 2 years ago

Last modified 2 years ago

#66200 assigned defect

qbs @1.23.0 configure failure: Failed to find Qt component "Core5Compat".

Reported by: dbl001 (dbl) Owned by: jobor (Jörg Bornemann)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc:
Port: qbs

Description

:info:configure -- Could NOT find Qt6Core5Compat (missing: Qt6Core5Compat_DIR)
:info:configure CMake Error at CMakeLists.txt:46 (find_package):
:info:configure   Found package configuration file:
:info:configure     /opt/local/lib/cmake/Qt6/Qt6Config.cmake
:info:configure   but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
:info:configure   FOUND.  Reason given by package:
:info:configure   Failed to find Qt component "Core5Compat".
:info:configure   Expected Config file at
:info:configure   "/opt/local/libexec/qt6/lib/cmake/Qt6Core5Compat/Qt6Core5CompatConfig.cmake"
:info:configure   does NOT exist
:info:configure
:info:configure -- Configuring incomplete, errors occurred!
:info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qbs/qbs/work/build/CMakeFiles/CMakeOutput.log".
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qbs/qbs/work/build" && /opt/local/bin/cmake -G "Ninja" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=ninja -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DQBS_ENABLE_RPATH=NO -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="13.0" -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qbs/qbs/work/qbs-src-1.23.0
:info:configure Exit code: 1

Attachments (1)

main.log (15.9 KB) - added by dbl001 (dbl) 2 years ago.

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by dbl001 (dbl)

Attachment: main.log added

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to joerg.bornemann@…
Status: newassigned
Summary: Error: Failed to configure qbs: configure failure: command execution failedqbs @1.23.0 configure failure: Failed to find Qt component "Core5Compat".

Looking for Qt6 when it only depends on Qt5 ports certainly seems like a problem.

comment:2 Changed 2 years ago by jobor (Jörg Bornemann)

comment:3 Changed 2 years ago by dbl001 (dbl)

How do I remove qb5?

 % sudo port -v list qbs
qbs                            @1.23.0         devel/qbs
(base) davidlaxer@x86_64-apple-darwin13 build % sudo port -v uninstall qbs @1.23.0
Enter PIN for 'Certificate For PIV Authentication (Yubico PIV Authentication)': 
qbs is not installed
(base) davidlaxer@x86_64-apple-darwin13 build % port echo depends:qbs
qt5-qtcreator                   
(base) davidlaxer@x86_64-apple-darwin13 build % port echo depends:qrencode
faustlive-devel                 
glabels                         
KeePassXC                       
KeePassXC-devel                 
litecoin                        
prison                          
pam-google-authenticator        
pass                            
pass-otp                        
(base) davidlaxer@x86_64-apple-darwin13 build % port echo depends:qt5-creator
(base) davidlaxer@x86_64-apple-darwin13 build % port list qt5-creator
(base) davidlaxer@x86_64-apple-darwin13 build % port installed requested and rdependentof:qbs
None of the specified ports are installed.
(base) davidlaxer@x86_64-apple-darwin13 build % sudo port unsetrequested qbs
Error: Registry error: qbs not registered as installed.
(base) davidlaxer@x86_64-apple-darwin13 build % port work qbs
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qbs/qbs/work
(base) davidlaxer@x86_64-apple-darwin13 build % sudo rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qbs/qbs/work
(base) davidlaxer@x86_64-apple-darwin13 build % port work qbs               
(base) davidlaxer@x86_64-apple-darwin13 build % port installed requested and rdependentof:qbs
None of the specified ports are installed.
(base) davidlaxer@x86_64-apple-darwin13 build % port echo depends:qbs        
qt5-qtcreator                   
(base) davidlaxer@x86_64-apple-darwin13 build % port list qbs          
qbs                            @1.23.0         devel/qbs

comment:4 in reply to:  3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to dbl001:

How do I remove qb5?

Answered in #66319.

Note: See TracTickets for help on using tickets.