[Pkg-ime-devel] Bug#867781: gcin: parallel building frequently FTBFS

Adrian Bunk bunk at debian.org
Sun Jul 9 11:26:55 UTC 2017


Source: gcin
Version: 2.8.5+dfsg1-2
Severity: serious
Tags: patch

2.8.5+dfsg1-2 bumps dh compat to 10, and one change
in compat 10 is that it defaults to --parallel.

This causes frequent FTBFS:

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

...
gcc -Wl,-rpath,/usr/lib/x86_64-linux-gnu/gcin -o sim2trad sim2trad.o util.o gcin2.so locale.o gcin-conf.o gcin-icon.o -Wl,-z,relro -Wl,--as-needed -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lX11 -ldl -lm
/usr/bin/ld: cannot find -lgcin-im-client
collect2: error: ld returned 1 exit status
Makefile:125: recipe for target 'tslearn' failed
make[1]: *** [tslearn] Error 1


I can reproduce this with "dpkg-buildpackage -b -J100".


The proper fix would be to fix the dependencies in the Makefiles,
but a workaround is to go back to non-parallel building with:

--- debian/rules.old	2017-07-09 11:20:03.000000000 +0000
+++ debian/rules	2017-07-09 11:20:28.000000000 +0000
@@ -13,7 +13,7 @@
 GTK3_IMMODULES := $(shell pkg-config --variable=libdir gtk+-3.0)/libgtk-3-0/gtk-query-immodules-3.0
 
 %:
-	dh $@
+	dh $@ --no-parallel
 
 override_dh_auto_configure:
 	dh_auto_configure -- --gcinlibdir=/usr/lib/$(DEB_HOST_MULTIARCH)/gcin



More information about the Pkg-ime-devel mailing list