Source: netkit-rsh Version: 0.17-16 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi! While working on the "reproducible builds" effort [1], we have noticed that netkit-rsh could not be built reproducibly. The build path is captured in debugging symbols. The attached patch fixes this by exporting dpkg-buildflags, which passes -fdebug-prefix-map to the compiler to prevent absolute paths from being captured. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules index d887e11..1fd953a 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + CDEFS := -Ddebian -DFSUID_HACK -D_GNU_SOURCE build:
signature.asc
Description: PGP signature