Package: xpra Severity: wishlist Tags: patch Dear Maintainer,
Whilst working on the Reproducible Builds effort [0], I noticed that xpra could not be built reproducibly. This is due to the inclusion of xpra/build_info.py file [1], which sets a variable BUILD_MACHINE to the result of platform.uname(). The syscall is especially unreproducible in containers, where it returns the instruction set of the host kernel. I checked the existing buildinfo.patch that does a lot to make the build reproducible. This further patch replaces BUILD_MACHINE by checking the bit architecture of the python interpreter and sets BUILD_MACHINE to i686 for 32 bit or x86_64 for 64 bit architecture. It fixes the reproducibility problem in 32 bit containers running in 64 bit host OS [1]. If you have any suggestions, please let me know! [0] https://reproducible-builds.org/ [1] https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/xpra.html Thanks, Amit
buildinfo2.patch
Description: Binary data