|To:||rakudobug [...] perl.org|
|Date:||Sat, 26 Dec 2015 12:57:32 +0100|
|From:||spider-mario <spidermario [...] free.fr>|
|Subject:||[BUG] Install scripts don't respect DESTDIR|
I am trying to package Rakudo 2015.12, and my build script runs: perl Configure.pl --prefix=/usr --backends=moar make make DESTDIR="$pkgdir" install where "$pkgdir" is the temporary location for all the files that are going to be packaged. This worked fine for 2015.11, but with 2015.12, it results in the following output: ./perl6-m tools/build/install-core-dist.pl No writeable path found in block <unit> at tools/build/install-core-dist.pl line 12 If a previous version of Rakudo is already installed, "No writeable path found" becomes "Failed to open file /usr/share/perl6/repo.lock: permission denied", so it seems that it tries to write to /usr despite DESTDIR being passed to `make install`.