Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#19427 - add /usr/lib/perl5/site_perl/current symlink or remove it from @INC

Attached to Project: Arch Linux
Opened by Pierre-Paul Paquin (peets) - Tuesday, 11 May 2010, 20:19 GMT
Last edited by Kevin Piche (kpiche) - Sunday, 16 May 2010, 03:10 GMT
Task Type Feature Request
Category Packages: Testing
Status Closed
Assigned To Kevin Piche (kpiche)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I had some homemade modules in /usr/lib/perl5/site_perl/5.10.1 that wouldn't load anymore when I upgraded to perl 5.12.0: there was no more 'current' symlink to that directory and no install message to tell me I should create /usr/lib/perl5/site_perl/5.12.0 and a symlink to it called /usr/lib/perl5/site_perl/current (and move my files from 5.10.1 dir to 5.12.0)

Maybe I'm using bad module management policy? In that case we should remove /usr/lib/perl5/site_perl/current from @INC (it doesn't exist by default).
This task depends upon

Closed by  Kevin Piche (kpiche)
Sunday, 16 May 2010, 03:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in perl 5.12.0-2
Comment by Kevin Piche (kpiche) - Wednesday, 12 May 2010, 03:30 GMT
Sorry. I decided to remove versioned directories in the perl package so your modules should live in /usr/*/perl5/site_perl - see the perl packaging guidelines in the wiki. I probably should have added a 5.10.1 directory for this. Don't use the "current" directories as those are in @INC for legacy reasons, pre-5.10.0 (and probably no longer needed).
Comment by Kevin Piche (kpiche) - Thursday, 13 May 2010, 01:57 GMT
You can workaround this quickly by adding PERLLIB=dir1:dir2:etc to your environment or to the end of /etc/profile.d/perlbin.sh.

Loading...