Opened 17 years ago

Closed 17 years ago

#14731 closed defect (invalid)

p5-getopt-long 2.37_0 cannot be staged into destroot

Reported by: stephan@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

During an install of gnucash on an intel iMac using OS X 10.5.2 I ran into a problem staging p5-getopt-long into destroot. I checked before and this port was not installed before, so it appears the perl58 port already brings its own version of getopt-long. However, this behavior is rather irritating, especially since there is getopt-long inside the base port for perl plus an additional port with a potentially newer version.

--->  Staging p5-getopt-long into destroot
You must install or activate this package with '-f' (force) as it needs to overwrite files installed by the perl5.8 port
--->  Installing p5-getopt-long 2.37_0
--->  Activating p5-getopt-long 2.37_0
Error: Target org.macports.activate returned: Image error: /opt/local/lib/perl5/5.8.8/Getopt/Long.pm is being used by the active perl5.8 port.  Please deactivate this port first, or use the -f flag to force the activation.
Error: Status 1 encountered during processing.

Change History (2)

comment:1 Changed 17 years ago by jmroot (Joshua Root)

Cc: nox@… removed
Milestone: Port Bugs
Owner: changed from macports-tickets@… to nox@…

Known issue. You'll notice that it says right in the output you pasted, "You must install or activate this package with '-f' (force) as it needs to overwrite files installed by the perl5.8 port."

comment:2 Changed 17 years ago by nox@…

Milestone: Port Bugs
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.