FS#8231 - git: Git.pm should install to site_perl/current

Attached to Project: Arch Linux
Opened by Francois Charette (Firmicus) - Saturday, 06 October 2007, 10:41 GMT
Last edited by Dan McGee (toofishes) - Sunday, 11 November 2007, 18:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


The Perl module Git.pm is installed to /usr/lib/perl5/site_perl/5.8.8/Git.pm instead of /usr/lib/perl5/site_perl/current/Git.pm
and insodoing it replaces the symlink 5.8.8 -> current into a real directory containing a buggy symlink (after perl update):
see http://bugs.archlinux.org/task/7530 for details.

A solution is to call perl Makefile.PL (with the usual parameters for perl packages) after make: the attached PKGBUILD provides a fix, and also contains an improvement for deletion of *.pod and .packlist.

Additional info:
* package version(s) :

This task depends upon

This task blocks these from closing
 FS#8374 - Perl Policy Bug Collector 
Closed by  Dan McGee (toofishes)
Sunday, 11 November 2007, 18:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed
Comment by Dan McGee (toofishes) - Monday, 08 October 2007, 11:46 GMT
I'll take a look at this in the coming days, thanks.
Comment by Francois Charette (Firmicus) - Monday, 08 October 2007, 13:40 GMT
Thanks Dan.

Additional note: In principle installing to 5.8.8 should not turn the symlink into a dir. This seems to have occurred with a previous version of pacman, and the issue seems to be fixed now (though the version in testing apparantly still has a problem): see discussion concerning  bug 7530 . But it is nevertheless "bad packaging style" to install to 5.8.8 instead of current!
Comment by Roman Kyrylych (Romashka) - Wednesday, 24 October 2007, 14:13 GMT