[MacPorts] #40054: gmp: /opt/local/include/gmp.h already exists and does not belong to a registered port (was: bug with gmp installation)

MacPorts noreply at macports.org
Fri Aug 9 00:58:10 PDT 2013


#40054: gmp: /opt/local/include/gmp.h already exists and does not belong to a
registered port
-----------------------------+------------------------
  Reporter:  jerome.scaph@…  |      Owner:  mcalhoun@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.2.0
Resolution:                  |   Keywords:
      Port:  gmp             |
-----------------------------+------------------------
Changes (by ryandesign@…):

 * keywords:  gem outdated upgrade osx-10.6.8 =>
 * owner:  macports-tickets@… => mcalhoun@…
 * port:  gem => gmp


Old description:

> 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

New description:

 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
 }}}

--

Comment:

 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?

-- 
Ticket URL: <https://trac.macports.org/ticket/40054#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list