Source: preload Version: 0.6.4-2 Severity: important Tags: patch https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/preload.html
... Making all in src make[3]: Entering directory '/build/1st/preload-0.6.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o cmdline.o cmdline.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o conf.o conf.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o log.o log.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o spy.o spy.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o preload.o preload.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o proc.o proc.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o prophet.o prophet.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o readahead.o readahead.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o state.o state.c /usr/bin/make preload /bin/bash gen.preload.conf.sh preload.conf.in confkeys.h > preload.conf.tmp && mv preload.conf.tmp preload.conf make[4]: Entering directory '/build/1st/preload-0.6.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o cmdline.o cmdline.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o conf.o conf.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o log.o log.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o spy.o spy.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o preload.o preload.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o proc.o proc.c preload.c: In function 'daemonize': preload.c:81:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir ("/"); ^~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o prophet.o prophet.c cmdline.c:34:28: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const struct option const opts[] = { ^~~~~ cmdline.c:48:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const char const *opts_help[] = { ^~~~~ cmdline.c:59:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const char const *opts_default[] = { ^~~~~ cmdline.c:34:28: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const struct option const opts[] = { ^~~~~ cmdline.c:48:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const char const *opts_help[] = { ^~~~~ cmdline.c:59:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const char const *opts_default[] = { ^~~~~ preload.c: In function 'daemonize': preload.c:81:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir ("/"); ^~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o readahead.o readahead.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSYSCONFDIR='"/etc"' -DLOGDIR='"/var/log"' -DPKGLOCALSTATEDIR='"/var/lib/preload"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -c -o state.o state.c gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -Wl,-z,relro -o preload cmdline.o conf.o log.o spy.o preload.o proc.o prophet.o readahead.o state.o -lm -lglib-2.0 state.o: file not recognized: File truncated collect2: error: ld returned 1 exit status make[3]: *** [Makefile:621: preload] Error 1 make[3]: *** Waiting for unfinished jobs.... gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -ansi -Wl,-z,relro -o preload cmdline.o conf.o log.o spy.o preload.o proc.o prophet.o readahead.o state.o -lm -lglib-2.0 make[4]: Leaving directory '/build/1st/preload-0.6.4/src' Creating preload.8 using help2man(1) make[3]: Leaving directory '/build/1st/preload-0.6.4/src' make[2]: *** [Makefile:589: all-recursive] Error 1 Fix attached.
Description: Don't build objects twice in parallel Two gcc compiling the same object in parallel can result in FTBFS due to corrupted objects. Author: Adrian Bunk <b...@debian.org> --- preload-0.6.4.orig/src/Makefile.am +++ preload-0.6.4/src/Makefile.am @@ -54,8 +54,7 @@ MAINTAINERCLEANFILES = preload.8 dist_man_MANS = preload.8 -$(srcdir)/preload.8: cmdline.c ../configure.ac preload.8.i - $(MAKE) $(AM_MAKEFLAGS) preload +$(srcdir)/preload.8: preload.8.i preload @echo "Creating $@ using help2man(1)" @$(top_builddir)/missing --run \ help2man --no-info --section=8 --include=preload.8.i \