New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12875 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

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

Reported by: vinc17@… Owned by: ricci@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: vinc17@…, nox@…, macsforever2000@…, Ricardo.Cordeiro@…, mcalhoun@…, ricci@…
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

comment:1 Changed 6 years ago by nox@…

  • Priority changed from High to Normal

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

comment:2 Changed 6 years ago by nox@…

For more information, see #12710.

comment:3 Changed 6 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 6 years ago by nox@…

  • Status changed from new to closed
  • Resolution set to wontfix

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 5 years ago by macports@…

  • Status changed from closed to reopened
  • Resolution wontfix deleted

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 5 years ago by macsforever2000@…

  • Cc vinc17@…, nox@…, macsforever2000@… added; vinc17@… removed

Cc Me!

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

  • Cc Ricardo.Cordeiro@… added

Cc Me!

comment:8 Changed 4 years ago by mcalhoun@…

  • Cc mcalhoun@… added

Cc Me!

comment:9 Changed 4 years ago by ricci@…

  • Cc ricci@… added

Cc Me!

comment:10 Changed 4 years ago by ricci@…

  • Status changed from reopened to new
  • Owner changed from nox@… to ricci@…

comment:11 Changed 4 years ago by ricci@…

  • Status changed from new to assigned

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

comment:12 Changed 4 years ago by ricci@…

  • Status changed from assigned to closed
  • Resolution set to fixed

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

comment:13 Changed 4 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 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.