develooper Front page | perl.par | Postings from January 2018

[ #124014] libpar-packer-perl: frequent parallel FTBFS

gregor herrmann via RT
January 4, 2018 21:42
[ #124014] libpar-packer-perl: frequent parallel FTBFS
Message ID:
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
      Status: new
 Ticket <URL: >

We have the following bug reported to the Debian package of
PAR-Packer (

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


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

	make -j6
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cp script/ blib/script/
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/
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" my_par_pl < ../script/ > my_par_pl.c 
"/usr/bin/perl" sha1.c.PL
Can't locate PAR/Filter/ 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 line 7.
BEGIN failed--compilation aborted at 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


Thanks for considering,
  gregor herrmann,
  Debian Perl Group Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About