Opened 9 months ago

Closed 9 months ago

#73310 closed defect (worksforme)

Failed to configure cmake: configure failure: command execution failed

Reported by: prtouatisid (S. Touati) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.11.6
Keywords: Cc:
Port: cmake

Description (last modified by jmroot (Joshua Root))

Warning: No default port source specified in /opt/local/etc/macports/sources.conf, using last source as default
--->  Checking for newer releases of MacPorts
MacPorts base version 2.11.6 installed,
MacPorts base version 2.11.6 available.
--->  MacPorts base is already the latest version
--->  Updating the ports tree

The ports tree has been updated.

816 ports are outdated. Run 'port outdated' for details.
To upgrade your installed ports, you should run
  port upgrade outdated
Warning: No default port source specified in /opt/local/etc/macports/sources.conf, using last source as default
--->  Fetching archive for cmake
--->  Attempting to fetch cmake-3.31.7_0.darwin_25.x86_64.tbz2 from https://fra.de.packages.macports.org/cmake
--->  Attempting to fetch cmake-3.31.7_0.darwin_25.x86_64.tbz2 from https://nue.de.packages.macports.org/cmake
--->  Attempting to fetch cmake-3.31.7_0.darwin_25.x86_64.tbz2 from https://mse.uk.packages.macports.org/cmake
Warning: The Xcode Command Line Tools package appears to be installed, but its receipt appears to be missing.
Warning: The Command Line Tools may be outdated, which can cause problems.
Warning: Please see: <https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt>
--->  Computing dependencies for cmake
--->  Configuring cmake
Error: Failed to configure cmake: 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/cmake/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Attachments (2)

main.log (293.9 KB) - added by prtouatisid (S. Touati) 9 months ago.
main.2.log.bz2 (30.8 KB) - added by jmroot (Joshua Root) 9 months ago.

Download all attachments as: .zip

Change History (6)

Changed 9 months ago by prtouatisid (S. Touati)

Attachment: main.log added

comment:1 Changed 9 months ago by prtouatisid (S. Touati)

My MacOS version is Tahoe 26.1. My CPU is x86_64.

comment:2 Changed 9 months ago by jmroot (Joshua Root)

Description: modified (diff)

As the warning message says, please follow the instructions at ProblemHotlist#reinstall-clt, then clean cmake and try again.

comment:3 Changed 9 months ago by prtouatisid (S. Touati)

Aldready did it multiple times :( without success.

I reinstalled command line tool (version 26.1) and it fixed the pb with cmake. But another pb occured:

--->  Fetching archive for phonon
--->  Attempting to fetch phonon-4.10.3_0+compversion440.darwin_25.x86_64.tbz2 from https://fra.de.packages.macports.org/phonon
--->  Attempting to fetch phonon-4.10.3_0+compversion440.darwin_25.x86_64.tbz2 from https://nue.de.packages.macports.org/phonon
--->  Attempting to fetch phonon-4.10.3_0+compversion440.darwin_25.x86_64.tbz2 from https://mse.uk.packages.macports.org/phonon
Warning: Old C++ headers are present, which may cause build failures with Command Line Tools v16+.
Warning: Please see: <https://trac.macports.org/wiki/ProblemHotlist#clts16>
--->  Computing dependencies for phonon
--->  Building phonon
Error: Failed to build phonon: command execution failed  
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_phonon/phonon/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Last edited 9 months ago by jmroot (Joshua Root) (previous) (diff)

Changed 9 months ago by jmroot (Joshua Root)

Attachment: main.2.log.bz2 added

comment:4 Changed 9 months ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

It looks like you now have a CLT receipt, so the instructions seem to have worked. I'll close the ticket, but you should also follow the new warning message to fix your C++ headers as per ProblemHotlist#clts16.

The phonon build failure already has a ticket: #69832

Note: See TracTickets for help on using tickets.