Debian Bug report logs -
#994979
python-tomli: please make the build reproducible
Reported by: "Chris Lamb" <lamby@debian.org>
Date: Fri, 24 Sep 2021 09:06:01 UTC
Severity: wishlist
Tags: patch
Found in version python-tomli/1.2.1-1
Fixed in version 1.2.2-2
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Python Team <team+python@tracker.debian.org>:
Bug#994979; Package src:python-tomli.
(Fri, 24 Sep 2021 09:06:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian Python Team <team+python@tracker.debian.org>.
(Fri, 24 Sep 2021 09:06:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: python-tomli
Version: 1.2.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
python-tomli could not be built reproducibly.
Although you do remove the direct_url.json file, you don't remove the
entry for this file in RECORD, which itself contains a (varying)
checksum of the deleted file:
│ │ │ ├── ./usr/lib/python3/dist-packages/tomli-1.2.1.dist-info/RECORD
│ │ │ │ @@ -1,11 +1,11 @@
│ │ │ │ tomli-1.2.1.dist-info/INSTALLER,sha256=91a475e3f8891fc45b7eb71b7c504ae31111b86ae04524763ab0e91f97f6f8df,4
│ │ │ │ tomli-1.2.1.dist-info/METADATA,sha256=5bb89bfb29298d4bfead3130c509405707a6aa8f272fdea4ee50017e4cdec6b7,9101
│ │ │ │ tomli-1.2.1.dist-info/REQUESTED,sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,0
│ │ │ │ -tomli-1.2.1.dist-info/direct_url.json,sha256=396aed5a19336eada50c0cb59d7704f1954f0ab940aadb48d90e260e08193720,80
│ │ │ │ +tomli-1.2.1.dist-info/direct_url.json,sha256=08b7d1db6996f039520de8ade13c939dd7ca5844c89b7b0a2ae1834e5f31841c,82
│ │ │ │ tomli/__init__.py,sha256=3856fb59e76aac482a9fa67b1de9be2725929263695190956d55669b7633bc03,218
│ │ │ │ tomli/__pycache__/__init__.cpython-39.pyc,,
│ │ │ │ tomli/__pycache__/_parser.cpython-39.pyc,,
│ │ │ │ tomli/__pycache__/_re.cpython-39.pyc,,
│ │ │ │ tomli/_parser.py,sha256=fe11bcfd620df735b03d56150f4a9c6090b8f461bde750878dfe21b872238fc5,21638
│ │ │ │ tomli/_re.py,sha256=2e395f2b0b1f98b2ed8988571265dc513eafb30b88d30422531eafd4868edd1a,2855
│ │ │ │ tomli/py.typed,sha256=f0f8f2675695a10a5156fb7bd66bafbaae6a13e8d315990af862c792175e6e67,26
Patch attached that removes the relevant line from this file. However,
I wonder if the whole thing might get fixed by [1], so please don't
rush to apply this. (I will post a message to that MR after filing
this bug).
[0] https://reproducible-builds.org/
[1] https://salsa.debian.org/python-team/tools/dh-python/-/merge_requests/17
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
[python-tomli.diff.txt (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Team <team+python@tracker.debian.org>:
Bug#994979; Package src:python-tomli.
(Fri, 15 Oct 2021 13:27:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Stefano Rivera <stefanor@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Team <team+python@tracker.debian.org>.
(Fri, 15 Oct 2021 13:27:03 GMT) (full text, mbox, link).
Message #10 received at 994979@bugs.debian.org (full text, mbox, reply):
FYI, this will be fixed in the next dh-python upload: https://salsa.debian.org/python-team/tools/dh-python/-/commit/2ef6ff13748984258d5da000c17d9cdad707b9ae
SR
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
Information forwarded
to debian-bugs-dist@lists.debian.org, jay@jp-hosting.net, Debian Python Team <team+python@tracker.debian.org>:
Bug#994979; Package src:python-tomli.
(Fri, 25 Nov 2022 21:45:02 GMT) (full text, mbox, link).
Acknowledgement sent
to James Addison <jay@jp-hosting.net>:
Extra info received and forwarded to list. Copy sent to jay@jp-hosting.net, Debian Python Team <team+python@tracker.debian.org>.
(Fri, 25 Nov 2022 21:45:02 GMT) (full text, mbox, link).
Message #15 received at 994979@bugs.debian.org (full text, mbox, reply):
Source: python-tomli
Followup-For: Bug #994979
X-Debbugs-Cc: jay@jp-hosting.net
I'm reasonably confident that this bug can now be closed. From some digging around earlier today:
- The dh-python update mentioned by Stefano addressed the direct_url.json build reproducibility issue
- Despite a recent reproducible build test failure[1] for arm64 on 2022-11-22, the underlying cause has been addressed separately[2] in #1024521
[1] - https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/diffoscope-results/python-tomli.html
[2] - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024521
Reply sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility.
(Thu, 29 Dec 2022 20:30:11 GMT) (full text, mbox, link).
Notification sent
to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer.
(Thu, 29 Dec 2022 20:30:11 GMT) (full text, mbox, link).
Message #20 received at 994979-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Version: 1.2.2-2
On 2022-11-25, James Addison wrote:
> I'm reasonably confident that this bug can now be closed. From some digging around earlier today:
>
> - The dh-python update mentioned by Stefano addressed the direct_url.json build reproducibility issue
>
> - Despite a recent reproducible build test failure[1] for arm64 on 2022-11-22, the underlying cause has been addressed separately[2] in #1024521
>
> [1] - https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/diffoscope-results/python-tomli.html
>
> [2] - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024521
Agreed!
The build path issues mentioned in this bug report appear to be solved.
There are two seemingly fluke arm64 failures, but those are in bookworm,
where build paths are not varied... there may be other hard-to-trigger
reproducibility issues, but without more information (e.g. diffoscope
output) I am willing to write those off for now...
Marking as done.
live well,
vagrant
[signature.asc (application/pgp-signature, inline)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 27 Jan 2023 07:30:54 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 11:13:35 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.