Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Chris Lamb
Wed, 04 Nov 2026 22:10
Bug#1153060: golang-github-anchore-stereoscope: please make the build reproducible [nocheck]
Author: Chris Lamb
Date: Wed, 04 Nov 2026 22:10
Date: Wed, 04 Nov 2026 22:10
72 lines
6349 bytes
6349 bytes
--e6ceda84cba9ba14cd14e8d0d77d4be600807661
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Source: golang-github-anchore-stereoscope
Version: 0.3.4-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
golang-github-anchore-stereoscope could not be built reproducibly.
This is because the testsuite generates a file that is not cleaned up
afterwards, leading it to be installed to:
/usr/share/gocode/src/github.com/anchore/stereoscope/pkg/image/docker/__snapshots__/manifest_test.snap
However, this means that if the tests are skipped, then the package
will not contain this file (as it is not generated in the first place).
This means that the package is not reproducible.
Patch attached that deletes this file after running the tests, and
removes the chmod of the .snap file (as it would no longer be present).
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
--e6ceda84cba9ba14cd14e8d0d77d4be600807661
Content-Disposition: attachment;
filename*0="golang-github-anchore-stereoscope.diff.txt"
Content-Type: text/plain; charset=us-ascii;
name="=?UTF-8?Q?golang-github-anchore-stereoscope.diff.txt?="
Content-Transfer-Encoding: base64
LS0tIGEvZGViaWFuL3J1bGVzCTIwMjYtMTEtMDQgMDk6NTk6MDIuNjEwNjMyNDgzIC0wODAw
Ci0tLSBiL2RlYmlhbi9ydWxlcwkyMDI2LTExLTA0IDE0OjAxOjMzLjA1ODE5MDkxNiAtMDgw
MApAQCAtMjcsNyArMjcsNyBAQAogCXJtIC1yZiBkZWJpYW4vKi91c3Ivc2hhcmUvZ29jb2Rl
L3NyYy9naXRodWIuY29tL2FuY2hvc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UZyb21UYXJ8VGVzdE1l
dGFkYXRhRnJvbVRhcnxUZXN0UmVhZGVyRnJvbVRhcl9Hb0Nhc2V8VGVzdFJlYWRlckZyb21U
YXJfTWlzc2luZ0ZpbGV8VGVzdEluZGV4ZWRUYXJJbmRleF9Hb0Nhc2V8VGVzdEluZGV4ZWRU
YXJSZWFkZXJfRHVwbGljYXRlRW50cmllc3xUZXN0X0RvY2tlck1haW5SZWdpc3RyeV9Qcm92
aWRlfFRlc3RJbWFnZV9QYXJ0aWFsUmVhZFJlbGVhc2VzRWFybGllckxheWVycycKKwlmaW5k
IGRlYmlhbi9fYnVpbGQgLW5hbWUgbWFuaWZlc3RfdGVzdC5zbmFwIC1kZWxldGUKKwo=
--e6ceda84cba9ba14cd14e8d0d77d4be600807661--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads