Opened 12 months ago

Last modified 11 months ago

#68360 closed defect

cmake-bootstrap @3.9.6 build failure with Qt5 cmake files in /usr/local — at Version 2

Reported by: wealthychef1 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: cmake-bootstrap

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm trying to transition from Ventura to Sonoma and the process failed while running restore_ports.tcl per wiki:Migration
The error I see is as follows.

--->  Attempting to fetch cmake-bootstrap-3.9.6_0.darwin_23.arm64.tbz2 from http://mirror.fcix.net/macports/packages/cmake-bootstrap
--->  Configuring cmake-bootstrap
Error: Failed to configure cmake-bootstrap: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/CMakeFiles/CMakeError.log
Error: Failed to configure cmake-bootstrap: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/main.log for details.

I'm attaching that man.log file to this report.

Change History (4)

Changed 12 months ago by wealthychef1

Attachment: CMakeError.log added

Changed 12 months ago by wealthychef1

Attachment: main.log added

comment:1 Changed 12 months ago by jmroot (Joshua Root)

Port: cmake-bootstrap added; cmake-config removed
Priority: HighNormal
Summary: cmake-bootstrap 3.9.6 gives "Error: Failed to configure cmake-bootstrap"cmake-bootstrap @3.9.6 build failure with Qt5 cmake files in /usr/local
:info:configure CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:14 (message):
:info:configure   The imported target "Qt5::Core" references the file
:info:configure      "/usr/local/.//mkspecs/macx-clang"
:info:configure   but this file does not exist.  Possible reasons include:
:info:configure   * The file was deleted, renamed, or moved to another location.
:info:configure   * An install or uninstall procedure did not complete successfully.
:info:configure   * The installation package was faulty and contained
:info:configure      "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
:info:configure   but not all the files it references.
:info:configure Call Stack (most recent call first):
:info:configure   /usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:56 (_qt5_Core_check_file_exists)
:info:configure   /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:227 (include)
:info:configure   Tests/RunCMake/CMakeLists.txt:250 (find_package)

comment:2 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Remove what you have in /usr/local; it interferes with MacPorts. See wiki:FAQ#usrlocal.

Note: See TracTickets for help on using tickets.