Package: nginx
Version: 1.6.0-1
Severity: important
User: [email protected]
Usertags: perl-5.20-transition
Starting with version 5.20.0 (currently in experimental), the Debian
perl package is changing the "vendorarch" library paths (currently
/usr/lib/perl5) to include the multiarch triplet and the perl version. See
#748380 for details.
For this to work, packages containing binary perl modules need to migrate
from using the hardcoded /usr/lib/perl5 directory to the value of the
$Config{vendorarch} variable, as defined in the 'Config' module.
This package fails to build with perl_5.20.0-1 from experimental:
dh_install -a
cp -a ./debian/build-full/objs/nginx debian/nginx-full/usr/sbin/
cp -a ./debian/build-light/objs/nginx debian/nginx-light/usr/sbin/
cp -a ./debian/build-extras/objs/nginx debian/nginx-extras/usr/sbin/
cp -a
debian/tmp/debian/build-extras/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.bs
debian/nginx-extras/usr/lib/perl5/auto/nginx/
cp: cannot stat
'debian/tmp/debian/build-extras/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.bs':
No such file or directory
dh_install: cp -a
debian/tmp/debian/build-extras/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.bs
debian/nginx-extras/usr/lib/perl5/auto/nginx/ returned exit code 1
make: *** [binary-arch] Error 2
One solution for this might be an executable debhelper install file
(available with debhelper compat level 9) expanding $Config{vendorarch}.
See #751924 for an example of this.
Please ask on the debian-perl list if you want help with this, and see
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=perl-5.20-transition;[email protected]
for a list of similar bugs and patches.
--
Niko Tyni [email protected]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]