Bug#1050727: zlib: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Aug 28 16:47:14 BST 2023
Source: zlib
Version: 1:1.2.13.dfsg-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
zlib could not be built reproducibly.
This is because it embeds the absolute build path in the minizip and
miniunzip scripts.
A patch attached that uses sed to remove these, (although there might
be a cleaner way to inform autotools/libtool to not do this code
injection).
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2023-08-28 08:32:58.504515505 -0700
--- b/debian/rules 2023-08-28 08:44:42.749725457 -0700
@@ -131,6 +131,7 @@
$(MAKE)
$(MAKE) -C contrib/minizip minizip miniunzip
+ sed -i -e 's at LD_LIBRARY_PATH="/.*@@g' contrib/minizip/minizip contrib/minizip/miniunzip
-$(MAKE) test
More information about the Reproducible-bugs
mailing list