Source: longrun Version: 0.9-22.1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that longrun could not be built reproducibly. This is because the underlying call to GCC does not respect CFLAGS set by dpkg-buildflags, which results in the build embedding the current buildpath. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/Makefile 2022-05-11 09:20:35.125565136 -0700 --- b/Makefile 2022-05-11 09:44:27.065755347 -0700 @@ -3,7 +3,7 @@ all: longrun README stamp-po longrun: longrun.c - gcc -DLOCALEDIR=\"$(LOCALEDIR)\" -g -O2 -W -Wall -o longrun longrun.c + gcc -DLOCALEDIR=\"$(LOCALEDIR)\" -W -Wall $(CFLAGS) -o longrun longrun.c README: longrun.1 groff -Tascii -man longrun.1 | col -bx > README