Opened 10 years ago

Closed 10 years ago

#43295 closed defect (invalid)

gmp: configure failed

Reported by: march.1.xue@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: jag-macports@…
Port: gmp

Description

sudo   port upgrade outdated
Password:
--->  Configuring gmp
Warning: No processor dependent assembly code being used. gmp might be slower.
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.0.0/config.log
Error: org.macports.configure for port gmp returned: configure failure: command execution failed
Please see the log file for port gmp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Attachments (2)

config.log (11.5 KB) - added by jag-macports@… 10 years ago.
config.log
main.log (4.4 KB) - added by jag-macports@… 10 years ago.
main.log

Download all attachments as: .zip

Change History (12)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to mcalhoun@…
Port: gmp added
Summary: sudo port upgrade outdated errorgmp: configure failed

Please attach the above-referenced config.log and main.log files.

comment:2 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Status: newassigned

Changed 10 years ago by jag-macports@…

Attachment: config.log added

config.log

Changed 10 years ago by jag-macports@…

Attachment: main.log added

main.log

comment:3 Changed 10 years ago by jag-macports@…

I seem to be running into the same issue. Log files attached.

comment:4 Changed 10 years ago by jag-macports@…

Cc: jag-macports@… added

Cc Me!

comment:5 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Status: assignednew

It seems strange that the system header string.h cannot be found.
What is the output of

ls -al /usr/include/string.h 

If the file does not exist, you may not have command line tools installed (See MacPorts Guide).
The command line tools can be easily installed by running the command

xcode-select --install

comment:6 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Status: newassigned

comment:7 Changed 10 years ago by jag-macports@…

xcode-select --install did the trick, thank you. Would be nice if port could detect this, but feel free to rule this user error (I should've RTFM with less skimming) and close this bug.

comment:8 Changed 10 years ago by jag-macports@…

Provided this fixes it for the original reporter, otherwise my apologies for hijacking this bug.

comment:9 Changed 10 years ago by neverpanic (Clemens Lang)

MacPorts 2.3.0 will check for this situation and warn you.

comment:10 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: invalid
Status: assignedclosed

No response from the original poster, so assume that it is the same problem that was resolved in the thread.

Note: See TracTickets for help on using tickets.