Source: prima
Version: 1.28-1.2
Severity: important
User: debian-p...@lists.debian.org
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:

  # Fix the messed up paths
  #
  cd /«PKGBUILDDIR»/debian/libprima-perl && \
          mkdir -p usr/share/doc/prima usr/lib/perl5 usr/share/perl5/Prima/VB  
&& \
          mv local/lib/perl/*/Prima/*.pod     usr/share/perl5/Prima/           
&& \
          mv local/lib/perl/*/Prima/*.gif     usr/share/perl5/Prima/           
&& \
          mv local/lib/perl/*/Prima/VB/*.gif  usr/share/perl5/Prima/VB/        
&& \
          mv local/lib/perl/*/*               usr/lib/perl5/                   
&& \
          mv bin                              usr/                             
&& \
          mv usr/lib/perl5/man                usr/share/                       
&& \
          mv usr/lib/perl5/Prima/tutorial     usr/share/doc/prima/             
&& \
          mv usr/lib/perl5/Prima/examples     usr/share/doc/prima/             
&& \
          mv usr/lib/perl5/Prima/VB/examples  usr/share/doc/prima/examples/VB
  mv: cannot stat 'local/lib/perl/*/Prima/*.pod': No such file or directory
  make: *** [install] Error 1
  debian/rules:54: recipe for target 'install' failed
  dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit 
status 2

(I see that Makefile.PL is, despite the name, not based on
 ExtUtils::MakeMaker but rather a custom implementation, and sadly
 doesn't support INSTALLDIRS=vendor. Wow.)

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;users=debian-p...@lists.debian.org
for a list of similar bugs and patches.
-- 
Niko Tyni   nt...@debian.org


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to