Source: cctools
Version: 9.9-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
cctools could not be built reproducibly.
This is because the various Python components are built with a
"./configure --prefix" value that is based on build user's home
directory which then gets embedded into various files. Although the
current debian/rules file does specify a value for --prefix in its
override_dh_auto_configure, this is overridden later in
override_dh_auto_install when the Python components are built.
A patch is attached that also the prefix to same value (ie. /usr).
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2022-12-04 09:49:50.271004976 +0000
--- b/debian/rules 2022-12-04 10:24:29.485205110 +0000
@@ -37,7 +37,7 @@
if [ -n "$(non_default_python3_versions)" ]; then \
for pyver in $(non_default_python3_versions); do \
CFLAGS="$(CF) -I /usr/include/python$${pyver} -DNDEBUG
-Wno-unused-result" \
- bash ./configure --with-globus-path /usr
--with-krb5-path /usr --with-readline-path /usr \
+ bash ./configure --prefix /usr --with-globus-path /usr
--with-krb5-path /usr --with-readline-path /usr \
--with-mpi-path /usr --with-fuse-path /usr
--with-zlib-path /usr \
--with-python3-path /usr/bin/python$${pyver}
--with-python2-path no ; \
make -B -C work_queue/src/bindings/python3 clean
install CCTOOLS_INSTALL_DIR=$(CURDIR)/debian/tmp ; \