Package: lmod
Version: 6.6-0.2
Severity: normal
Tags: patch
User: m...@linux.it
Usertags: usrmerge

Dear Maintainer,

The package currently fails to reproducibly build on merged-usr vs
non-merged systems.

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/lmod.html

The problem is that the full path of ps is looked up via PATH at
build-time and then embedded in shipped files.

This is easily fixed by passing PS=/bin/ps to configure.
Please see attached debdiff.

Regards,
Andreas Henriksson
diff -Nru lmod-6.6/debian/changelog lmod-6.6/debian/changelog
--- lmod-6.6/debian/changelog   2016-12-22 07:49:08.000000000 +0100
+++ lmod-6.6/debian/changelog   2018-12-02 17:55:28.000000000 +0100
@@ -1,3 +1,11 @@
+lmod (6.6-0.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Pass PS=/bin/ps to configure
+    - fixes reproducible build on merged-usr vs non-merged systems
+
+ -- Andreas Henriksson <andr...@fatal.se>  Sun, 02 Dec 2018 17:55:28 +0100
+
 lmod (6.6-0.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru lmod-6.6/debian/rules lmod-6.6/debian/rules
--- lmod-6.6/debian/rules       2016-11-11 23:24:57.000000000 +0100
+++ lmod-6.6/debian/rules       2018-12-02 17:55:26.000000000 +0100
@@ -10,6 +10,10 @@
 %:
        dh $@  --with autotools-dev
 
+override_dh_auto_configure:
+       dh_auto_configure -- \
+               PS=/bin/ps
+
 override_dh_auto_test:
 
 override_dh_pysupport:

Reply via email to