Thu Jan 04 16:41:57 2018: Request 124014 was acted upon.
Transaction: Ticket created by GREGOA
       Queue: PAR-Packer
     Subject: libpar-packer-perl: frequent parallel FTBFS
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: gre...@cpan.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124014 >


We have the following bug reported to the Debian package of
PAR-Packer (https://bugs.debian.org/886355):

It doesn't seem to be a bug in the packaging, so you may want to take
a look. Thanks!

------8<-----------8<-----------8<-----------8<-----------8<-----

Source: libpar-packer-perl
Version: 1.041-1
Severity: serious

https://buildd.debian.org/status/package.php?p=libpar-packer-perl&suite=sid

...
dh_auto_build
        make -j6
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cp script/par.pl blib/script/par.pl
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/par.pl
make[3]: Entering directory '/<<PKGBUILDDIR>>/myldr'
Makefile:855: warning: overriding recipe for target '.c.o'
Makefile:336: warning: ignoring old recipe for target '.c.o'
cp script/pp blib/script/pp
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pp
cp script/tkpp blib/script/tkpp
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/tkpp
"/usr/bin/perl" par_pl2c.pl my_par_pl < ../script/par.pl > my_par_pl.c 
"/usr/bin/perl" sha1.c.PL
Can't locate PAR/Filter/PodStrip.pm in @INC (you may need to install the 
PAR::Filter::PodStrip module) (@INC contains: 
/<<PKGBUILDDIR>>/myldr/../blib/arch /<<PKGBUILDDIR>>/myldr/../blib/lib 
/etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.26.1 
/usr/local/share/perl/5.26.1 /usr/lib/aarch64-linux-gnu/perl5/5.26 
/usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl/5.26 /usr/share/perl/5.26 
/usr/local/lib/site_perl /usr/lib/aarch64-linux-gnu/perl-base .) at par_pl2c.pl 
line 7.
BEGIN failed--compilation aborted at par_pl2c.pl line 7.
Makefile:879: recipe for target 'my_par_pl.c' failed
make[3]: *** [my_par_pl.c] Error 2


This is due to dh compat 10 defaulting to parallel building.

Ideally the build should be fixed to work with parallel building,
but if that's not easily possible the following patch to go back
to non-parallel building is sufficient to fix the bug:

--- debian/rules.old    2018-01-04 20:32:58.184625753 +0000
+++ debian/rules        2018-01-04 20:33:08.360625656 +0000
@@ -10,7 +10,7 @@
 ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
 
 %:
-       dh $@
+       dh $@ --no-parallel
 
 override_dh_auto_build:
        dh_auto_build


------8<-----------8<-----------8<-----------8<-----------8<-----


Thanks for considering,
  gregor herrmann,
  Debian Perl Group

Reply via email to