Source: giflib Version: 5.2.1-2.5 Severity: minor Tags: trixie sid ftbfs User: [email protected] Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build User: [email protected] Usertags: qa-doublebuild
Hi, This package fails to do build a binary-only build (not source) after a successful build (dpkg-buildpackage ; dpkg-buildpackage -b). This is probably a clear violation of Debian Policy section 4.9 (clean target), but this is filed as severity:minor for now, because a discussion on debian-devel showed that we might want to revisit the requirement of a working 'clean' target. More information about this class of issues, included common problems and solutions, is available at https://wiki.debian.org/qa.debian.org/FTBFS/DoubleBuild Relevant part of the build log: > cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env > -us -uc -rfakeroot -b > ------------------------------------------------------------------------------------------------------------------- > > dpkg-buildpackage: info: source package giflib > dpkg-buildpackage: info: source version 5.2.1-2.5 > dpkg-buildpackage: info: source distribution unstable > dpkg-buildpackage: info: source changed by Graham Inggs <[email protected]> > dpkg-source --before-build . > dpkg-buildpackage: info: host architecture amd64 > debian/rules clean > dh clean > debian/rules override_dh_auto_clean > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_clean > make -j8 clean > make[2]: Entering directory '/<<PKGBUILDDIR>>' > rm -f gif2rgb gifbuild giffix giftext giftool gifclrmp gifbg gifcolor gifecho > giffilter gifhisto gifinto gifsponge gifwedge libgetarg.a libgif.a libgif.so > libutil.a libutil.so *.o > rm -f libgif.so.7.2.0 > rm -f libgif.so.7 > rm -fr doc/*.1 *.html doc/staging > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > rm -f doc/*.1 doc/*.html > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_clean > debian/rules binary > dh binary > dh_update_autotools_config > dh_autoreconf > dh_auto_configure > debian/rules override_dh_auto_build > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_build -- OFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wl,-z,relro -Wl,-z,now" \ > PREFIX=/usr \ > LIBDIR=/usr/lib/x86_64-linux-gnu > make -j8 "INSTALL=install --strip-program=true" "OFLAGS=-Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now" PREFIX=/usr LIBDIR=/usr/lib/x86_64-linux-gnu > make[2]: Entering directory '/<<PKGBUILDDIR>>' > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dgif_lib.o dgif_lib.c > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c -o egif_lib.o egif_lib.c > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gifalloc.o gifalloc.c > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gif_err.o gif_err.c > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gif_font.o gif_font.c > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gif_hash.o gif_hash.c > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c -o openbsd-reallocarray.o > openbsd-reallocarray.c > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c -o quantize.o quantize.c > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c -o qprintf.o qprintf.c > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c -o getarg.o getarg.c > ar rcs libutil.a qprintf.o getarg.o > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -shared -Wl,-z,relro -Wl,-z,now -Wl,-soname -Wl,libgif.so.7 -o > libgif.so.7.2.0 dgif_lib.o egif_lib.o gifalloc.o gif_err.o gif_font.o > gif_hash.o openbsd-reallocarray.o quantize.o > ar rcs libgif.a dgif_lib.o egif_lib.o gifalloc.o gif_err.o gif_font.o > gif_hash.o openbsd-reallocarray.o quantize.o > ln -s libgif.so.7.2.0 libgif.so.7 > ln -s libgif.so.7 libgif.so > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -shared -Wl,-z,relro -Wl,-z,now -Wl,-soname -Wl,libutil.so.7 -o > libutil.so.7.2.0 qprintf.o getarg.o libgif.so > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now gif2rgb.c > libutil.a libgif.so -lm -o gif2rgb > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now > gifbuild.c libutil.a libgif.so -lm -o gifbuild > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now giffix.c > libutil.a libgif.so -lm -o giffix > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now giftext.c > libutil.a libgif.so -lm -o giftext > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now giftool.c > libutil.a libgif.so -lm -o giftool > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now > gifclrmp.c libutil.a libgif.so -lm -o gifclrmp > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now gifbg.c > libutil.a libgif.so -lm -o gifbg > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now > gifcolor.c libutil.a libgif.so -lm -o gifcolor > giftext.c:31:9: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > 31 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > giftext.c:31:25: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > 31 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > giffix.c:25:9: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > 25 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > giffix.c:25:25: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > 25 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gif2rgb.c:46:9: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > 46 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifclrmp.c:27:9: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > 27 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifclrmp.c:27:25: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > 27 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gif2rgb.c:46:25: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > 46 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifcolor.c:28:9: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > 28 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifcolor.c:28:25: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > 28 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifbg.c:49:9: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > 49 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifbg.c:49:25: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > 49 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifbuild.c:26:9: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > 26 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifbuild.c:26:25: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > 26 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > giftool.c: In function âgetboolâ: > giftool.c:66:29: warning: â%sâ directive argument is null > [-Wformat-overflow=] > 66 | "giftool: %s is not a valid boolean argument.\n", > | ^~ > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now gifecho.c > libutil.a libgif.so -lm -o gifecho > gifecho.c:35:9: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > 35 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifecho.c:35:25: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > 35 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now > giffilter.c libutil.a libgif.so -lm -o giffilter > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now > gifhisto.c libutil.a libgif.so -lm -o gifhisto > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now gifinto.c > libutil.a libgif.so -lm -o gifinto > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now > gifsponge.c libutil.a libgif.so -lm -o gifsponge > gifhisto.c:29:9: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > 29 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifhisto.c:29:25: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > 29 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifinto.c:38:9: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > 38 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifinto.c:38:25: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > 38 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > cc -std=gnu99 -fPIC -Wall -Wno-format-truncation -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now > gifwedge.c libutil.a libgif.so -lm -o gifwedge > ln -s libutil.so.7.2.0 libutil.so.7 > ln: failed to create symbolic link 'libutil.so.7': File exists > make[2]: *** [Makefile:98: libutil.so.7] Error 1 > make[2]: *** Waiting for unfinished jobs.... > gifwedge.c:30:9: warning: macro "__DATE__" might prevent reproducible builds > [-Wdate-time] > 30 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > gifwedge.c:30:25: warning: macro "__TIME__" might prevent reproducible builds > [-Wdate-time] > 30 | __DATE__ ", " __TIME__ "\n" > | ^~~~~~~~ > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" > "OFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wl,-z,relro -Wl,-z,now" PREFIX=/usr > LIBDIR=/usr/lib/x86_64-linux-gnu returned exit code 2 > make[1]: *** [debian/rules:31: override_dh_auto_build] Error 25 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > make: *** [debian/rules:28: binary] Error 2 > dpkg-buildpackage: error: debian/rules binary subprocess returned exit status > 2 > > E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage > --sanitize-env -us -uc -rfakeroot -b' failed to run. The full build log is available from: http://qa-logs.debian.net/2023/08/16/giflib_5.2.1-2.5_unstable.log If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

