Bug#1122383: rust-rustpython-parser: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Dec 10 20:14:16 GMT 2025
Source: rust-rustpython-parser
Version: 0.2.0-6
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
rust-rustpython-parser could not be built reproducibly.
This is because if the tests are run, an addition "python.rs" file
is shipped with the binary package... and, conversely, if the tests
are skipped, the binary package is missing this file.
A patch is attacehd that deletes this file if the tests are run,
ensuring that the package does not differ.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-12-10 11:31:53.072256899 -0800
--- b/debian/rules 2025-12-10 12:06:35.021522513 -0800
@@ -1,3 +1,6 @@
#!/usr/bin/make -f
%:
dh $@ --buildsystem cargo
+
+execute_after_dh_auto_test:
+ rm -f python.rs
More information about the Reproducible-bugs
mailing list