Ticket #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: | 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: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: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).
Note: See
TracTickets for help on using
tickets.


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