Article View: linux.debian.bugs.dist
Article #760Bug#1148658: golang-github-miekg-pkcs11: please make the build reproducible
From: Chris Lamb
Date: Tue, 13 Oct 2026 18:00
Date: Tue, 13 Oct 2026 18:00
30 lines
4602 bytes
4602 bytes
Hi Mathias,
> Maybe there's something in that existing token.object that's not
> being properly (re)created via the invocation of `softhsm2-util`
> in d/rules?
Perhaps. I spent a couple of minutes looking at src:softhsm2. On my
machine at least, it seems to be deterministically different between
the two builds:
β β β β -00000000: 0000 0000 0000 0016 0000 0000 8000 5349 ..............SI
β β β β +00000000: 0000 0000 0000 0009 0000 0000 8000 5349 ..............SI
^^
However, I can't work out where these values are coming from. Given
that they are consistent, that would rule out uninitialised memory.
Given the actual values in binary (10110 vs 01001), they are likely
flags of some sort, perhaps from some kind of CONSTANT_A | CONSTANT_B
construction. Just braindumping in case it helpsβ¦
Best wishes,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org π₯ chris-lamb.co.uk
`-
Technical Details
Message-ID:
<NNOX7-5j8K-23@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<NFOKC-YeE-21@gated-at.bofh.it> <NNxWh-5a4x-11@gated-at.bofh.it> <NFOKC-YeE-21@gated-at.bofh.it> <NNxWh-5a4x-11@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: "Chris Lamb" <lamby@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1148658: golang-github-miekg-pkcs11: please make the build reproducible
Date: Tue, 13 Oct 2026 20:00:01 +0200
Message-ID: <NNOX7-5j8K-23@gated-at.bofh.it>
References: <NFOKC-YeE-21@gated-at.bofh.it> <NNxWh-5a4x-11@gated-at.bofh.it> <NFOKC-YeE-21@gated-at.bofh.it> <NNxWh-5a4x-11@gated-at.bofh.it>
X-Original-To: "Mathias Gibbens" <gibmat@debian.org>, 1148658@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Oct 13 17:51:21 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: "Chris Lamb" <lamby@debian.org>, 1148658@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: followup 1148658
X-Debian-Pr-Package: src:golang-github-miekg-pkcs11
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: golang-github-miekg-pkcs11
X-Me-Sender: <xms:Z27OaurtoxwzjD-XeBuw6dvLjoQOaJbxjIO-tXIYomo0iW9TyG4SMQ>
<xme:Z27Oandc05T6ApG4tETEeRS0D8lDYOuvxxvrER7wMzWxMMoUJM7vvHwpUYSXcIUeK
-uzS2AnGH3myAgbS1dNwmOn-CtCHh1mlPhct79EXxgWzQyAT2Y>
X-Me-Proxy-Cause: dmFkZTFy4uHBIdioGSA3saGxA7BzIH8RYPttz4j0yr+M5ieYSFK5sWhEH5efO8QLdXsUUu
WeHhxATpMq3pBtYf3jmL9DUbDbZxLN4J367OI0O8JQUHTflsnL6VM3qsLCxL5Z17quhxDX
ZbCLjVJYJvlHcXcZxyUyTxpKAsflBPZpDVH9P3W43VKVlkQYsvJjIoNFPkponLsmaP/QOd
9BwBeaL+QACPPPBx6n7rWCNA+RqqiVZHppIX6BMSDV+/OG7A5fDc28Z7NY+6dJX+9q5kLb
KhLNxWUb/zjX5ORjFxgZ8gGimnGgHCZAfsHeTwaECyquwibiYi9Mo0aG8Q5wpnJNlWQEZL
F+EomgLOdfoEW9LP9sIKK/RKIr6I4Lou5VhCOLU4SFvZVpPgKiJWkT6lijsqnbnMsANT7x
HXapkMuc4jcWIca2HelY7Fls8f3Vxd18Anx46sIkSb1YbZT5k5Q5v+VUKXI731+v2qvQKp
ZoD6GlOo77WiD/tPHb3AGtgFrSROv7Tm5u5nNv2x/CepHInCF5lJSvzeS42vz1j7Sh8F06
sxCrXDhma6I1KgaQUagZKdsGdl7oc4r63YF/rc/CCCsnzzt4p2Bm2EP+MjPdyBKsIo9ZTm
jmHz8mfhvHqrSiNkuBME0VGhE/OQau4rgWtF//SjVN2RSlt3Pgo8/qHDqH5Q
X-Me-Proxy: <xmx:Z27OanFWrWhRI9w_BRoCSb7mxAgUw-f3XXKu1TyrEc_DHNFqtcFxkg>
<xmx:Z27OasHXbeTGNQQYo15XpDIYa74JapBIsIwpQLweKP0JzuXDWLpiRg>
<xmx:Z27OasO-6aDRUvFEto9usoLRSkDZDDgYsY57majHiTgECA37MdtHgw>
<xmx:Z27OajHsPoWtce7mmIkcJlE1dxKHeEqcPcFKWNjYzV0PFmqZzXtqeQ>
<xmx:Z27OarOg_exdUtV9T3byOhCQSyUlwVXvDNPoUYDuKqZT69R3TbwJeGGQ>
Feedback-ID: i61d64b6b:Fastmail
X-Mailer: MessagingEngine.com Webmail Interface
MIME-Version: 1.0
X-Threadid: A3W3vUqoyQww
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Debian-User: lamby
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996649
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 30
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: "Simon Josefsson" <simon@josefsson.org>
X-Original-Date: Tue, 13 Oct 2026 10:45:44 -0700
X-Original-Message-ID: <b347c122-8940-4a6f-b425-eee9bfd7c9c4@app.fastmail.com>
X-Original-References: <179000621541.8657.18222376206668342821@f04421a82788> <155745c537950e866583511be1369a979e590e9e.camel@debian.org> <179000621541.8657.18222376206668342821@f04421a82788> <155745c537950e866583511be1369a979e590e9e.camel@debian.org>