Source: gwc
Version: 0.22-1
Severity: serious
Tags: patch

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/gwc.html

...
        make -j15
make[1]: Entering directory '/build/1st/gwc-0.22'
(cd meschach ; ./configure --with-sparse ; make part1 ; make part2 ; make part3 
; cp machine.h ..)
...
In file included from stat.h:1:0,
                 from stat.c:11:
meschach/matrix.h:37:21: fatal error: machine.h: No such file or directory
 #include "machine.h"
                     ^
...
creating machine.h
...
dh_auto_build: make -j15 returned exit code 2
debian/rules:13: recipe for target 'build' failed
make: *** [build] Error 2


I can reproduce this with:
apt-get source gwc
cd gwc-0.22
dpkg-buildpackage -B -J16


A proper fix would be to fix the Makefile dependencies,
a sufficient workaround is the following change to disable
parallel building:

--- debian/rules.old    2017-07-19 09:26:35.000000000 +0000
+++ debian/rules        2017-07-19 09:26:55.000000000 +0000
@@ -10,7 +10,7 @@
        --enable-mp3
 
 %:
-       dh $@
+       dh $@ --no-parallel
 
 override_dh_auto_configure:
        dh_auto_configure -- $(configure_flags)

Reply via email to