#1138232 - cairocffi: please make the build reproducible (original) (raw)
Debian Bug report logs - #1138232
cairocffi: please make the build reproducible
Reported by: "Chris Lamb" lamby@debian.org
Date: Fri, 29 May 2026 18:19:01 UTC
Severity: wishlist
Tags: patch
Found in version cairocffi/1.7.1-5
Fixed in version cairocffi/1.7.1-6
Done: Arian Ott arian.ott@ieee.org
Reply or subscribe to this bug.
Display info messages
Report forwardedto debian-bugs-dist@lists.debian.org, Debian Python Team <team+python@tracker.debian.org> (src:cairocffi for {1138232}), reproducible-bugs@lists.alioth.debian.org (additional cc recipient for {1138232}):Bug#1138232; Package src:cairocffi. (Fri, 29 May 2026 18:19:02 GMT) (full text, mbox, link).
Acknowledgement sentto "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, team+python@tracker.debian.org. (Fri, 29 May 2026 18:19:02 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: cairocffi Version: 1.7.1-5 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 cairocffi could not be built reproducibly.
This is because the testsuite appears to delete (?) various test_foo.py files, meaning that if the tests are run they are not included and if the tests are skipped, they are included.
Patch attached that deletes these files regardless; if you do really need them in the binary package (eg. for the autopkgtests), then the packaging will need rejiggering.
[0] https://reproducible-builds.org/
Regards,
--
,''. : :' : Chris Lamb . ' lamby@debian.org / chris-lamb.co.uk
`-
[cairocffi.diff.txt (text/plain, attachment)]
Information forwardedto debian-bugs-dist@lists.debian.org, Debian Python Team <team+python@tracker.debian.org> (src:cairocffi for {1138232}):Bug#1138232; Package src:cairocffi. (Tue, 02 Jun 2026 19:35:01 GMT) (full text, mbox, link).
Acknowledgement sentto Arian Ott <arian.ott@ieee.org>:
Extra info received and forwarded to list. Copy sent to team+python@tracker.debian.org. (Tue, 02 Jun 2026 19:35:01 GMT) (full text, mbox, link).
Message #10 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Chris,
On Friday, 29 May 2026 19:16:40 British Summer Time Chris Lamb wrote:
Patch attached that deletes these files regardless; if you do really need them in the binary package (eg. for the autopkgtests), then the packaging will need rejiggering.
Thanks for the report and the patch! The autopkgtests still pass, so no rejiggering was needed.
I've applied your patch.
While at it I also bumped Standards-Version and fixed a stale debian-branch setting in d/gbp.conf (it pointed at debian/master, but the team repo uses master).
The changes are on the master branch of the team repo: https://salsa.debian.org/python-team/packages/cairocffi
Salsa CI is green across all jobs.
As I don't have upload rights, I'd be grateful if you could sponsor this. The MR is ready to merge here: https://salsa.debian.org/python-team/packages/cairocffi/-/merge_requests/5 Feel free to merge and build from master, or let me know if you'd prefer mentors.
Regards,
Arian Ott arian.ott@ieee.org
[signature.asc (application/pgp-signature, inline)]
Information forwardedto debian-bugs-dist@lists.debian.org, Debian Python Team <team+python@tracker.debian.org> (src:cairocffi for {1138232}):Bug#1138232; Package src:cairocffi. (Tue, 02 Jun 2026 19:35:01 GMT) (full text, mbox, link).
Acknowledgement sentto Arian Ott <arian.ott@ieee.org>:
Extra info received and forwarded to list. Copy sent to team+python@tracker.debian.org. (Tue, 02 Jun 2026 19:35:02 GMT) (full text, mbox, link).
Information forwardedto debian-bugs-dist@lists.debian.org, Debian Python Team <team+python@tracker.debian.org> (src:cairocffi for {1138232}):Bug#1138232; Package src:cairocffi. (Wed, 03 Jun 2026 21:15:01 GMT) (full text, mbox, link).
Acknowledgement sentto "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to team+python@tracker.debian.org. (Wed, 03 Jun 2026 21:15:01 GMT) (full text, mbox, link).
Message #20 received at 1138232@bugs.debian.org (full text, mbox, reply):
Hey Arian,
As I don't have upload rights, I'd be grateful if you could sponsor this.
Sure thing; uploaded!
Regards,
--
,''. : :' : Chris Lamb . ' lamby@debian.org 🍥 chris-lamb.co.uk
`-
Reply sentto Arian Ott <arian.ott@ieee.org>:
You have taken responsibility. (Wed, 03 Jun 2026 21:37:01 GMT) (full text, mbox, link).
Notification sentto "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer. (Wed, 03 Jun 2026 21:37:01 GMT) (full text, mbox, link).
Message #25 received at 1138232-close@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: cairocffi Source-Version: 1.7.1-6 Done: Arian Ott arian.ott@ieee.org
We believe that the bug you reported is fixed in the latest version of cairocffi, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is attached.
Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1138232@bugs.debian.org, and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software pp. Arian Ott arian.ott@ieee.org (supplier of updated cairocffi package)
(This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Format: 1.8 Date: Tue, 02 Jun 2026 13:20:42 +0100 Source: cairocffi Architecture: source Version: 1.7.1-6 Distribution: unstable Urgency: medium Maintainer: Debian Python Team team+python@tracker.debian.org Changed-By: Arian Ott arian.ott@ieee.org Closes: 1138232 Changes: cairocffi (1.7.1-6) unstable; urgency=medium .
- d/rules: Remove test files before install. (Closes: #1138232) Checksums-Sha1: 3b98428fdcca1070356095705e8753cb20c2c2b0 2530 cairocffi_1.7.1-6.dsc 8293a43423efd64956d58f9744e02349f3a5e7a5 150716 cairocffi_1.7.1-6.debian.tar.xz 348d447932d5d7fc7a19cd780a29ae4f100ce055 17892 cairocffi_1.7.1-6_amd64.buildinfo Checksums-Sha256: 5731463d1bcdce02f9c38ecd8157a787e08cba44533b7c3ca230cba472837ce6 2530 cairocffi_1.7.1-6.dsc 8d3bc122cac9c4b3760bf4029f7c04495f16950fe65626492f73e750f7040fe0 150716 cairocffi_1.7.1-6.debian.tar.xz 6527b4dcf302a7421091061c5e6cd4b9d95ba3dacbc1b0176645f9aa89fda3cc 17892 cairocffi_1.7.1-6_amd64.buildinfo Files: 6c723be088227da2aa61fcb1a06c76e2 2530 python optional cairocffi_1.7.1-6.dsc fc12115198d0055adf6bec44062dc04c 150716 python optional cairocffi_1.7.1-6.debian.tar.xz cfea8f338adbdeb20117adc566c74e44 17892 python optional cairocffi_1.7.1-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmogmRkACgkQHpU+J9Qx Hli/6g/9H2o5z5KOCYBhrPtFYH2M+iuhXTmB7rNyjXecOTOJ7iYicj2KVp9KG6VU Xf1eJL3TTQGeSKCNNNGoRU5biVTudvET2Hq6ofLlozdznunEqhpVvbIP589Ek0fE h81CbP7vHQhdHsto1u/WtcMTyX2jVSEIj6LyFUE52R2/3uDTvliUvV9kMm+eTtlj gjaBuNeFJPWCjjCYE05JIdD1t0qGbmYY3xDcdoOmcdQbefD5qd+yfMNyMDSfoSzP YRBs/4wlAat9vqhJ+FgGqDmEatQRIkEyJVOcZtjSvH5MnuZkuBli4beEO7BZ/6lQ x+gDAPirXsWQ3V4A0SSrw6WuX5j5pQYAZADtq0aFehw++egX4bnOi+ZxzC0AzNvL TrCx/nHBbBoZ+hUUPlQELPWP7q5qllazAkY3BQxkjuAFys5769C/aOmAQ4Jl1cXU pQCoWKcpuQe6q0vOaYAtu3f37AeBMLvqerGs7YwIhFf1GyPjR+tTf/VLg/Rk8fn6 8gforQagFYec8U5M+l9FbwDTGcASPG+CGX0kLFGcXd8xguyDJfQexkWFAxrvVnmg c3FtktoWvlgYH0h1bxJa8fi6VxNAbhFwNZf9sO8QCuMSgXGesnrb8FXDoBAcjqin AYFtoAWq3O7eLpNy9niGpP6wtaSbz4eY+dq4eQaXzk+8jRrnJkE= =JZpB -----END PGP SIGNATURE-----
[Message part 2 (application/pgp-signature, inline)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified:Wed Jun 17 22:37:53 2026; Machine Name:berlioz
Debbugs is free software and licensed under the terms of the GNU General 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.