Opened 11 years ago

Last modified 11 years ago

#40054 closed defect

gmp: /opt/local/include/gmp.h already exists and does not belong to a registered port — at Version 1

Reported by: jerome.scaph@… Owned by: mcalhoun@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: gmp

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

after a "sudo port upgrade outdated" this occur and stop with error (osx-10.6.8 i386):

--->  Computing dependencies for nettle
--->  Dependencies to be installed: gmp
--->  Activating gmp @5.0.5_0+universal
Error: org.macports.activate for port gmp returned: Image error: /opt/local/include/gmp.h already exists and does not belong to a registered port.  Unable to activate port gmp. Use 'port -f activate gmp' to force the activation.
Error: Failed to install gmp
Please see the log file for port gmp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmp/gmp/main.log
Error: The following dependencies were not installed: gmp
Error: Problem while installing nettle
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Change History (2)

Changed 11 years ago by jerome.scaph@…

Attachment: main.log added

main.log file concerned of gmp failed

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

Description: modified (diff)
Keywords: gem outdated upgrade osx-10.6.8 removed
Owner: changed from macports-tickets@… to mcalhoun@…
Port: gmp added; gem removed
Summary: bug with gmp installationgmp: /opt/local/include/gmp.h already exists and does not belong to a registered port

Why does /opt/local/include/gmp.h already exist on your system? What other files do you have installed in /opt/local that were not put there by MacPorts?

Note: See TracTickets for help on using tickets.