New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12875 (closed defect: fixed)

Opened 4 years ago

Last modified 3 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

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

Changed 4 years ago by nox@…

For more information, see #12710.

Changed 4 years ago by vinc17@…

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

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

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

Changed 4 years ago by macsforever2000@…

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

Cc Me!

Changed 3 years ago by Ricardo.Cordeiro@…

  • cc Ricardo.Cordeiro@… added

Cc Me!

Changed 3 years ago by mcalhoun@…

  • cc mcalhoun@… added

Cc Me!

Changed 3 years ago by ricci@…

  • cc ricci@… added

Cc Me!

Changed 3 years ago by ricci@…

  • status changed from reopened to new
  • owner changed from nox@… to ricci@…

Changed 3 years ago by ricci@…

  • status changed from new to assigned

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

Changed 3 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

Changed 3 years ago by vinc17@…

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

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.