[Pkg-deepin-devel] Bug#1142887: go-dlib: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Jul 27 16:45:50 BST 2026
Source: go-dlib
Version: 6.0.14+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
go-dlib could not be built reproducibly.
This is because it ships a "stdout" file that contains nondeterminstic
contents.
The attached patch removes this file from the binary package, but if
the package needs this file at runtime (eg. for autopkgtests), then
this will need rejiggering.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2026-07-27 07:02:35.501320312 -0700
--- b/debian/rules 2026-07-27 08:14:23.575381278 -0700
@@ -11,4 +11,4 @@
cd gettext; ./build_test_locale_data
execute_after_dh_auto_install:
- find $(CURDIR)/debian/golang-dlib-dev -regex '.*\.git\|.*LICENSE\|.*\.gitignore' | xargs rm -rf
+ find $(CURDIR)/debian/golang-dlib-dev -regex '.*\.git\|.*LICENSE\|.*\.gitignore\|.*/stdout' | xargs rm -rf
More information about the Pkg-deepin-devel
mailing list