Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 124014
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: RSCHUPP [...] cpan.org
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: gregoa [...] cpan.org
Subject: libpar-packer-perl: frequent parallel FTBFS
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
On 2018-01-04 16:41:57, GREGOA wrote: Show quoted text
> It doesn't seem to be a bug in the packaging, so you may want to take > a look. Thanks!
Yeah, the Makefile generated by "perl Makefile.PL" is not safe to be executed in parallel. d4c46199d27f in GitHub master should adress that, will be in the next release. Cheers, Roderich
Subject: Re: [rt.cpan.org #124014] libpar-packer-perl: frequent parallel FTBFS
Date: Mon, 8 Jan 2018 20:56:27 +0100
To: Roderich Schupp via RT <bug-PAR-Packer [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
On Mon, 08 Jan 2018 12:58:50 -0500, Roderich Schupp via RT wrote: Show quoted text
> > It doesn't seem to be a bug in the packaging, so you may want to take > > a look. Thanks!
> Yeah, the Makefile generated by "perl Makefile.PL" is not safe to be executed in parallel. > d4c46199d27f in GitHub master should adress that, will be in the next release.
Great, thanks. (And sorry for not checking in the repo before.) Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: Janis Joplin: Trust Me
Download signature.asc
application/pgp-signature 963b

Message body not shown because it is not plain text.