Source: tiptop Version: 2.3-2 Severity: important Tags: patch tiptop frequently FTBFS due to running bison twice in parallel.
https://tests.reproducible-builds.org/debian/history/tiptop.html https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/tiptop.html ... gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/libxml2 -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o spawn.o spawn.c gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/libxml2 -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xml-parser.o xml-parser.c gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/libxml2 -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o target.o target.c bison -y -d ./calc.y gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/libxml2 -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o priv.o priv.c gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/libxml2 -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o error.o error.c flex ./calc.lex bison -y -d ./calc.y gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/libxml2 -I.. -I. -c y.tab.c y.tab.c:636:0: error: unterminated #if #if YYDEBUG Makefile:65: recipe for target 'y.tab.o' failed make[2]: *** [y.tab.o] Error 1 The attached patch removes the double-calling of bison.
Description: Fix parallel FTBFS Don't run the same bison command twice in parallel. Author: Adrian Bunk <[email protected]> --- tiptop-2.3.orig/src/Makefile.in +++ tiptop-2.3/src/Makefile.in @@ -57,8 +57,9 @@ lex.yy.c: calc.lex lex.yy.o: lex.yy.c $(CC) $(CFLAGS) -I$(srcdir) -c lex.yy.c +y.tab.c: y.tab.h -y.tab.c y.tab.h: calc.y +y.tab.h: calc.y $(YACC) -d $(srcdir)/calc.y y.tab.o: y.tab.c

