Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 104355
Status: rejected
Priority: 0/
Queue: version

People
Owner: Nobody in particular
Requestors: dwheeler [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Make Arguments not Passed to Other Makefiles?
Date: Mon, 11 May 2015 13:46:32 -0700
To: bug-version [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
I’m building an RPM, where the install line looks like this: $ make pure_install PERL_INSTALL_ROOT=/home/dwheeler/iov-perl/BUILDROOT/perl-version-0.9912-1.1431374616.el6.x86_64 The output is: make[1]: Entering directory `/home/dwheeler/iov-perl/BUILD/version-0.9912/vutil' make[1]: Leaving directory `/home/dwheeler/iov-perl/BUILD/version-0.9912/vutil' Manifying 2 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Cannot unlink '/usr/lib64/perl5/vendor_perl/auto/version/vxs/vxs.so': Permission denied !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at -e line 1 make: *** [pure_vendor_install] Error 13 I don’t understand why it wants to delete that file (from a previous install). It might want to look for /home/dwheeler/iov-perl/BUILDROOT/perl-version-0.9912-1.1431374616.el6.x86_64/usr/lib64/perl5/vendor_perl/auto/version/vxs/vxs.so. Is the PERL_INSTALL_ROOT option not getting passed somewhere it should?
On Mon May 11 16:46:41 2015, DWHEELER wrote: Show quoted text
> I’m building an RPM, where the install line looks like this: > > $ make pure_install PERL_INSTALL_ROOT=/home/dwheeler/iov- > perl/BUILDROOT/perl-version-0.9912-1.1431374616.el6.x86_64
I think this is an EU::MM issue ultimately, but doing a quick Google suggests that a lot of RPM spec files use DESTDIR instead, which works just fine. This is, in fact, how my own spec files are written at $WORK. John
On 2015-05-17 08:23:16, JPEACOCK wrote: Show quoted text
> I think this is an EU::MM issue ultimately, but doing a quick Google > suggests that a lot of RPM spec files use DESTDIR instead, which works > just fine. This is, in fact, how my own spec files are written at > $WORK.
I've just made this change to rpmcpan. I haven't see the OP error in a while, so yeah, screw it, I dunno what happened, but don't need to waste anymore of your time on it. Hopefully using DESTDIR will prevent it from happening again. --David