Source: nulib2 Version: 3.1.0-2 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 nulib2 could not be built reproducibly. This is because it embedded the build flags into the generated binary which then included the absolute build path via the -ffile-prefix-map GCC argument. Patch attached that overwrites this from debian/rules via the DEB_CPPFLAGS_MAINT_APPEND mechanism and sets it to an empty string but it may be nicer to replace this with something like "Debian" or something. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2020-05-19 10:51:28.911713243 +0100 --- b/debian/rules 2020-05-19 11:04:56.013555748 +0100 @@ -1,6 +1,7 @@ #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_CPPFLAGS_MAINT_APPEND = -DOPTFLAGSTR=\"\" %: dh $@