Opened 7 years ago

Last modified 7 years ago

#55005 closed defect

GMP fails to build on Sierra with Xcode 9.0 — at Version 2

Reported by: lucaspettey Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: gmp

Description (last modified by mf2k (Frank Schima))

The following message is received when trying to build gmp on Sierra with Xcode 9.0:

--->  Configuring gmp
Error: Failed to configure gmp, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.2/config.log

I will attach the whole log for reference, but the last lines of the log file indicate an issue with clang++:

:info:configure checking whether we are using the GNU C++ compiler... yes
:info:configure checking whether /usr/bin/clang++ -stdlib=libc++ accepts -g... yes
:info:configure checking C++ compiler /usr/bin/clang++ -stdlib=libc++ -I/opt/local/include -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge... no, std iostream
:info:configure checking C++ compiler /usr/bin/clang++ -stdlib=libc++ -I/opt/local/include -g -O2... no, std iostream
:info:configure configure: error: C++ compiler not available, see config.log for details
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.2" && ./configure --prefix=/opt/local --enable-cxx
:info:configure Exit code: 1

Change History (3)

Changed 7 years ago by lucaspettey

Attachment: main.log added

Install log for GMP

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Owner: set to MarcusCalhoun-Lopez
Status: newassigned

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers gmp), if any.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.