Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#12875 closed defect (fixed)

BUG: p5-getopt-long 2.37_0 can't be activated due to Long.pm used by perl5.8

Reported by: vinc17@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: vinc17@…, nox@…, mf2k (Frank Schima), Ricardo.Cordeiro@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), ghosthound
Port:

Description

I get the following error:

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

With 2.36_0, this file was installed here: /opt/local/lib/perl5/vendor_perl/5.8.8/Getopt/Long.pm

Change History (14)

comment:1 Changed 17 years ago by nox@…

Priority: HighNormal

As it's said in the post-install stage, install it with the force option.

comment:2 Changed 17 years ago by nox@…

For more information, see #12710.

comment:3 Changed 17 years ago by vinc17@…

The -f workaround is a hack that breaks things when perl5.8 needs to be reactivated (for any reason).

comment:4 Changed 17 years ago by nox@…

Resolution: wontfix
Status: newclosed

As long has we don't agree to either add extra informations to portfiles, or patch the defaul perl @INC path, I'll not fix that.

comment:5 Changed 16 years ago by macports@…

Resolution: wontfix
Status: closedreopened

It's a bit harsh *closing* this issue, isn't it? It really is a blocker for a lot of MacPorts users. Leave it open until a solution emerges.

comment:6 Changed 16 years ago by mf2k (Frank Schima)

Cc: vinc17@… nox@… macsforever2000@… added; vinc17@… removed

Cc Me!

comment:7 Changed 16 years ago by Ricardo.Cordeiro@…

Cc: Ricardo.Cordeiro@… added

Cc Me!

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

Cc: mcalhoun@… added

Cc Me!

comment:9 Changed 16 years ago by ghosthound

Cc: ricci@… added

Cc Me!

comment:10 Changed 16 years ago by ghosthound

Owner: changed from nox@… to ricci@…
Status: reopenednew

comment:11 Changed 16 years ago by ghosthound

Status: newassigned

perl5.8 @INC change committed in r48955, please test

comment:12 Changed 16 years ago by ghosthound

Resolution: fixed
Status: assignedclosed

closing due to test timeout, please re-open if there is a problem

comment:13 Changed 16 years ago by vinc17@…

I could install the port (but currently it isn't needed, in particular because perl5.8 has the same version).

comment:14 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.