Subject: | Can't install if existing .packlist is not readable |
On posix systems, 'make install' fails if
$Config{archlibexp}/auto/${module}/.packlist exists but is not readable.
This blocks the installation of more recent version of a root-installed
package in an non-root-owned location.
Test case:
- install Storable as root
- install a newer version of Storable as a non root user in ~/perl :
perl Makefile.PL INSTALL_BASE=~/perl
INSTALLARCHLIB=~/perl/lib/perl5/IA64.ARCHREV_0-thread-multi-LP64
INSTALLSITEARCH=~/perl/lib/perl5/IA64.ARCHREV_0-thread-multi-LP64
VENDORARCHEXP=~/perl/lib/perl5/IA64.ARCHREV_0-thread-multi-LP64
VENDORLIBEXP=~/perl/lib/perl5
SITEARCHEXP=~/perl/lib/perl5/IA64.ARCHREV_0-thread-multi-LP64
SITELIBEXP=~/perl/lib/perl5 INSTALLPRIVLIB=~/perl/lib/perl5
INSTALLBIN=~/perl/bin INSTALLSCRIPT=~/perl/bin
INSTALLMAN1DIR=~/perl/man/man1 INSTALLMAN3DIR=~/perl/man/man3
INSTALLHTMLDIR=~/perl/html INSTALLHTML1DIR=~/perl/html/bin
INSTALLHTML3DIR=~/perl/html/lib
'make install' fails because $Config{archlibexp}/auto/Storable/.packlist
is not readable (see bug RT45815)