[Pkg-opt-media-team] Bug#888727: cdparanoia: frequent parallel FTBFS

Adrian Bunk bunk at debian.org
Mon Jan 29 08:48:30 UTC 2018


Source: cdparanoia
Version: 3.10.2+debian-12
Severity: serious
Tags: patch

https://buildd.debian.org/status/package.php?p=cdparanoia&suite=sid

...
cd interface && make all
make[2]: Entering directory '/<<BUILDDIR>>/cdparanoia-3.10.2+debian/interface'
make libcdda_interface.a CFLAGS="-O2 -ffast-math -fsigned-char -finline-functions -fPIC -g" 
make lessmessy
make[3]: Entering directory '/<<BUILDDIR>>/cdparanoia-3.10.2+debian/interface'
rm  -f *.o core *~ *.out
...
ar -r libcdda_interface.a scan_devices.o	common_interface.o cooked_interface.o interface.o scsi_interface.o smallft.o toc.o test_interface.o
ar: creating libcdda_interface.a
ranlib libcdda_interface.a
...
   dh_strip_nondeterminism -a
dh_strip_nondeterminism: debian/libcdparanoia-dev/usr/lib/i386-linux-gnu/libcdda_interface.a: Incorrect file size at /usr/share/perl5/File/StripNondeterminism/handlers/ar.pm line 71.

debian/rules:7: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 255


This is caused by debhelper compat >= 10 defaulting to parallel bulding.

Ideally the Makefiles should be fixed, but if that is not easily
possible the following change to go back to the previous status quo
of non-parallel building is sufficient:

--- debian/rules.old	2018-01-29 08:33:55.571294266 +0000
+++ debian/rules	2018-01-29 08:34:04.611294180 +0000
@@ -4,7 +4,7 @@
 export LDFLAGS += -fPIC
 
 %:
-	dh $@ 
+	dh $@ --no-parallel
 
 override_dh_auto_install:
 	dh_auto_install -- prefix=$(CURDIR)/debian/tmp/usr



More information about the Pkg-opt-media-team mailing list