Your message dated Wed, 02 Jan 2019 15:21:14 +0000
with message-id <[email protected]>
and subject line Bug#915296: fixed in mpb 1.7.0-4
has caused the Debian Bug report #915296,
regarding mpb: reproducible build (usrmerge): embeds path of bash found via PATH
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
915296: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915296
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mpb
Version: 1.5-3
Severity: normal
Tags: patch
User: [email protected]
Usertags: usrmerge

Dear Maintainer,

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

The problem is caused by looking up the full path of bash at buildtime
and embedding than in shipped files.
On merged-usr systems /bin is as symlink to /usr/bin and normally
PATH contains /usr/bin before /bin, thus /usr/bin/bash is found on
merged-usr while on a non-merged system it's /bin/bash .

This is easily fixed by passing the AC_PATH_PROG variable explicitly
to configure, ie. SH_JOB=/bin/bash.
Please see attached  debdiff.

Regards,
Andreas Henriksson
diff -Nru mpb-1.5/debian/changelog mpb-1.5/debian/changelog
--- mpb-1.5/debian/changelog    2017-12-13 19:00:00.000000000 +0100
+++ mpb-1.5/debian/changelog    2018-12-02 16:49:06.000000000 +0100
@@ -1,3 +1,11 @@
+mpb (1.5-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Pass SH_JOB=/bin/bash to configure
+    - fixes reproducible build on merged-usr vs non-merged
+
+ -- Andreas Henriksson <[email protected]>  Sun, 02 Dec 2018 16:49:06 +0100
+
 mpb (1.5-3) unstable; urgency=low
 
   * don't build package on mipsel (Closes: #846923)
diff -Nru mpb-1.5/debian/rules mpb-1.5/debian/rules
--- mpb-1.5/debian/rules        2017-11-06 16:01:22.000000000 +0100
+++ mpb-1.5/debian/rules        2018-12-02 16:48:45.000000000 +0100
@@ -51,7 +51,7 @@
        # normal version
        echo "Step1: normal version start"
        #XXX dh_auto_configure -- $(CONFIG_OPTS)
-       F77=gfortran CC=mpicc ./configure $(CONFIG_OPTS)
+       F77=gfortran CC=mpicc SH_JOB=/bin/bash ./configure $(CONFIG_OPTS)
        dh_auto_build
        make install prefix=$(DEST_DIR)
        make clean
@@ -59,7 +59,7 @@
 
        # version with inverse symmetry
        #XXX dh_auto_configure -- --with-inv-symmetry $(CONFIG_OPTS)
-       F77=gfortran CC=mpicc ./configure --with-inv-symmetry $(CONFIG_OPTS)
+       F77=gfortran CC=mpicc SH_JOB=/bin/bash ./configure --with-inv-symmetry 
$(CONFIG_OPTS)
        echo "Step2: inverse version start"
        dh_auto_build
        make install prefix=$(DEST_DIR)
@@ -69,7 +69,7 @@
        # normal version with mpi
        echo "Step3: mpi version start"
        #XXX dh_auto_configure -- --with-mpi $(CONFIG_OPTS)
-       F77=gfortran CC=mpicc ./configure --with-mpi $(CONFIG_OPTS)
+       F77=gfortran CC=mpicc SH_JOB=/bin/bash ./configure --with-mpi 
$(CONFIG_OPTS)
        dh_auto_build
        make install prefix=$(DEST_DIR_MPI)
        make clean
@@ -78,7 +78,7 @@
        # version with inverse symmetry with mpi
        echo "Step4: mpi inv version start"
        #XXX dh_auto_configure -- --with-mpi --with-inv-symmetry $(CONFIG_OPTS)
-       F77=gfortran CC=mpicc ./configure --with-mpi --with-inv-symmetry 
$(CONFIG_OPTS)
+       F77=gfortran CC=mpicc SH_JOB=/bin/bash ./configure --with-mpi 
--with-inv-symmetry $(CONFIG_OPTS)
        dh_auto_build
        echo "Step4: mpi inv version end"
        make install prefix=$(DEST_DIR_MPI)

--- End Message ---
--- Begin Message ---
Source: mpb
Source-Version: 1.7.0-4

We believe that the bug you reported is fixed in the latest version of
mpb, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thorsten Alteholz <[email protected]> (supplier of updated mpb 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 02 Jan 2019 11:32:14 +0100
Source: mpb
Binary: mpb mpb-mpi mpb-doc mpb-dev mpb-scm
Architecture: source amd64 all
Version: 1.7.0-4
Distribution: sid
Urgency: medium
Maintainer: Thorsten Alteholz <[email protected]>
Changed-By: Thorsten Alteholz <[email protected]>
Description:
 mpb        - MIT Photonic-Bands
 mpb-dev    - MIT Photonic-Bands development files
 mpb-doc    - MIT Photonic-Bands documentation
 mpb-mpi    - MIT Photonic-Bands, parallel (mpich) version
 mpb-scm    - MIT Photonic-Bands initialisation files
Closes: 915296 917947
Changes:
 mpb (1.7.0-4) unstable; urgency=medium
 .
   * debian/control: build everything on any architecture (Closes: #917947)
   * debian/rules: Pass SH_JOB=/bin/bash to configure (Closes: #915296)
                    - fixes reproducible build on merged-usr vs non-merged
                   Thanks to Andreas Henriksson for the patch.
Checksums-Sha1:
 b114b6c5f9d089cf1f8dbbfef574122bf768b2f1 2263 mpb_1.7.0-4.dsc
 beea61d928c773e4a008f4c2d3f600f6322a3948 1052539 mpb_1.7.0.orig.tar.gz
 1c8712843c12e4af48128197edfa8d5c53a0f3b7 144284 mpb_1.7.0-4.debian.tar.xz
 de7045a16af432143b59e7cc2e131fb14ff4e98c 743956 mpb-dbgsym_1.7.0-4_amd64.deb
 6b32666576530aaac9b41d3a57cd2c76a6fbefb4 10844 mpb-dev_1.7.0-4_amd64.deb
 5be1e24fa9c2990410bdd9b7df9d10a58f8ff994 844224 mpb-doc_1.7.0-4_all.deb
 bea0cf168caba9282421a9f0a64754055fa9b43a 708508 
mpb-mpi-dbgsym_1.7.0-4_amd64.deb
 e49dc05254ad6ef77194325cc702420bc50d7338 187112 mpb-mpi_1.7.0-4_amd64.deb
 fac653f669385684d609cf8e6c5eae86ada587fb 14824 mpb-scm_1.7.0-4_all.deb
 a5f79c1103461a0a7195df119bb4bdfb485a874a 9456 mpb_1.7.0-4_amd64.buildinfo
 af84daf5f91f2730ea748f390755a357425cdc9b 211072 mpb_1.7.0-4_amd64.deb
Checksums-Sha256:
 a9cd8c53dddce3fc7e079ae871c88475725ef6f96697963736ef3de3c213ebe1 2263 
mpb_1.7.0-4.dsc
 9b9b23b079f656d6c758da034822f7ab6b4128fb6c907c8506fa38b786908c7e 1052539 
mpb_1.7.0.orig.tar.gz
 9d64f3eaf55ceac57e0e63635ae176d0321ec531a2ca05fb13168a19561d95c9 144284 
mpb_1.7.0-4.debian.tar.xz
 b97b6af8924be32d95ea54368ef6d3ee3e5af40f6a1e041d5345c0e7dbff6258 743956 
mpb-dbgsym_1.7.0-4_amd64.deb
 96964cdfdb40056e51c734c67762f92ae9a43c2c87fa919a186cffeb4f414c4a 10844 
mpb-dev_1.7.0-4_amd64.deb
 32d6f5bc9ee89f85fac2e02b14efce6dbb19c35dc264d7cbd9be4b8b03a0bc9f 844224 
mpb-doc_1.7.0-4_all.deb
 979425808cfcb2413f80f797593b6ac169b4f261efd262755e727e67695b16ca 708508 
mpb-mpi-dbgsym_1.7.0-4_amd64.deb
 58ffdce29ef5981808149cc5f51cfe5bf10f7a37c3745e015aa53797d0727d34 187112 
mpb-mpi_1.7.0-4_amd64.deb
 0542bce4ebfcbc6ab93d2aed789d8f3770d1067fb27be2f01b7098249b2a5568 14824 
mpb-scm_1.7.0-4_all.deb
 0775903f4b5923e0262a6905ebc4a73fc91368999eafc13308e9e13fe7adf139 9456 
mpb_1.7.0-4_amd64.buildinfo
 6bd616ea6a9aae7faf8ba242d39b5909d2c468874854d2141f45b9177c25f922 211072 
mpb_1.7.0-4_amd64.deb
Files:
 3a2eb17712a92229dab483091fad057c 2263 science optional mpb_1.7.0-4.dsc
 a7dc5cd2fabb39aaa2ca31cf73cd788a 1052539 science optional mpb_1.7.0.orig.tar.gz
 3d7e4f8c16f80791455c74ebfdee6cd2 144284 science optional 
mpb_1.7.0-4.debian.tar.xz
 084f297bc5bf2d91136888104b3b8f6c 743956 debug optional 
mpb-dbgsym_1.7.0-4_amd64.deb
 e89afe3c9fac33a065e795e2bfeff2a5 10844 devel optional mpb-dev_1.7.0-4_amd64.deb
 c97e660e1963c3f37071c5c6381894c3 844224 doc optional mpb-doc_1.7.0-4_all.deb
 ed6e1ade42c09120b5781cac351fca94 708508 debug optional 
mpb-mpi-dbgsym_1.7.0-4_amd64.deb
 2f4e0ca3757d651a67c3193174005cd7 187112 science optional 
mpb-mpi_1.7.0-4_amd64.deb
 0a5221733c1e854eafac804b844c844e 14824 science optional mpb-scm_1.7.0-4_all.deb
 3636f331267ff26cdd21b25a942fd8b1 9456 science optional 
mpb_1.7.0-4_amd64.buildinfo
 2da71be9f06d6cea7ce10be2cf416b9e 211072 science optional mpb_1.7.0-4_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAlwsynNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYR2zEEACiHTQSYlGRJbfI2Y3cVOWG53jBSRCk
azmf2PqKPC5d/f4FZWsjGswyAr2MUlHUmlVL+MPqZpM5WXd2V5F7wi3v/WcFFDG0
jo816+SMGOy+jj1dybk/l08d5LD+UyNAnL3YNa/JympOWx5jT01qJB4zhZqqO6vH
0tewLYmdRgw6cmoSqT7a5dyfVUyG8H1kQ6DgSYr8xeOnPwesfK+W20cEuzQlIAXT
cr7FRO2TGejgLJf2L3bZHTnU7I4BiDjzPq5+YVZDi6BmUNzlSDZtfWJce0SCMcuA
oXb64l0T+rM5j2Lx5YVpGIlvF4F3C/SRODpDrwUvOMIgyhKsUFLMQqgj8UoJ2HWX
TApsW25nDHL3toN2TkWqcNpvHbOdhN2eJp8B/5ipiBpHN4TpP4fSZKlINOptQf83
NZbMgH6izMtuRdYrXkhucZYKbTa+2X2pFShRZDWR4nQL2UUM26sm/c9wjfIYraJP
Lufe+RyaI0+b2eCTqltkH11lMBt5rugWMtF5ySzbqhb42K4bHYiqL43+XOGZ9UV5
l1dWwKHWfHCn7os8JJvEny2SS5IKyYKO9D3ftZB21ikN0yz1L2VgB2X6ZwEp7AFf
KogvLRK3zFu81WhURts+u+biumk0767F8yGUMJGPitmiBLDQ6FOlR9xAxs8Cavno
ITRapd7l84KGwQ==
=DXvc
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to