Opened 5 weeks ago

Closed 5 weeks ago

Last modified 5 weeks ago

#71065 closed defect (duplicate)

gmp: configure failure

Reported by: rlegarda Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.2
Keywords: sequoia Cc:
Port: gmp

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

I tried to install fftw-3 but failed. After update to Sequoia, I made a fresh installation of Macports. This is the message and includes the config-log

The following dependencies will be installed: 
 db48
 gcc14
 gcc14-libcxx
 gcc_select
 gdbm
 gmp
 help2man
 isl
 ld64
 ld64-xcode
 libgcc
 libgcc14
 libmpc
 lz4
 mpfr
 p5.34-locale-gettext
 perl5.34
 texinfo
 zstd
Continue? [Y/n]: y
--->  Fetching archive for gmp
--->  Attempting to fetch gmp-6.3.0_0.darwin_24.arm64.tbz2 from https://packages.macports.org/gmp
--->  Attempting to fetch gmp-6.3.0_0.darwin_24.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gmp
--->  Attempting to fetch gmp-6.3.0_0.darwin_24.arm64.tbz2 from http://mirror.fcix.net/macports/packages/gmp
--->  Configuring gmp
Error: Failed to configure gmp: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.3.0/config.log
Error: Failed to configure gmp: 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_gmp/gmp/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port fftw-3 failed

Attachments (1)

config.log (39.6 KB) - added by rlegarda 5 weeks ago.
Failed to configure gmp, consult config.log

Download all attachments as: .zip

Change History (4)

Changed 5 weeks ago by rlegarda

Attachment: config.log added

Failed to configure gmp, consult config.log

comment:1 Changed 5 weeks ago by rlegarda

Keywords: Failed to configure gmp added
Port: FFTW-3 added
Version: 2.10.2

comment:2 Changed 5 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sequoia added; Failed to configure gmp removed
Port: gmp added; FFTW-3 removed
Resolution: duplicate
Status: newclosed
Summary: error instaling FFTW-3 in Sequoia 15.0.1gmp: configure failure

In the log, I see:

conftest.cc:3:10: fatal error: 'iostream' file not found
    3 | #include <iostream>
      |          ^~~~~~~~~~

This is #70750. See ProblemHotlist#clts16 for the solution.

comment:3 Changed 5 weeks ago by rlegarda

Indeed, once I run sudo rm -rf /Library/Developer/CommandLineTools/usr/include/c++ (https://trac.macports.org/wiki/ProblemHotlist#clts16), everything run smoothly; thanks a lot

Note: See TracTickets for help on using tickets.