Your message dated Sun, 01 Mar 2020 23:34:27 +0000
with message-id <[email protected]>
and subject line Bug#915910: fixed in dist 1:3.5-236-0.2
has caused the Debian Bug report #915910,
regarding dist: reproducible build (usrmerge): embeds path of tools 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.)


-- 
915910: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915910
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dist
Version: 1:3.5-236-0.1
Severity: normal
Tags: patch unreproducible
User: [email protected]
Usertags: usrmerge

Dear Maintainer,

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

The paths of grep, sed, cat and zcat are looked up during build from
PATH and is embedded in shipped files.

There's a "d_portable" setting which promises to build portable scripts
(by expanding from PATH at runtime, rather than build-time), but
enabling it seems to cause build failure so it could not be used.

I thus opted for explicitly specifying the paths for the affected tools.

You however might want to earn extra bonus points fixing builds in dirty
local environment by looking at all tools specified in loclist and
trylist (in Configure), find which ones gets their path embedded in
shipped files, and explicitly specify them all.
(Or why not just fix up d_portable?)

You might however want to give priority to looking at the stuff that
lintian warns about for this package, which seems alot more urgent
than spending time on fixing up builds done in dirty local environments.

Please see the attached patch.

Regards,
Andreas Henriksson
diff -u dist-3.5-236/debian/changelog dist-3.5-236/debian/changelog
--- dist-3.5-236/debian/changelog
+++ dist-3.5-236/debian/changelog
@@ -1,3 +1,13 @@
+dist (1:3.5-236-0.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Since d_portable seems broken, tell configure which paths to use
+    for grep, sed, cat and zcat explicitly.
+    - fixes reproducible build on merged-usr vs non-merged systems.
+  * Use -D prefix=/usr instead of non-existant $(PREFIX)
+
+ -- Andreas Henriksson <[email protected]>  Fri, 07 Dec 2018 20:47:02 +0100
+
 dist (1:3.5-236-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u dist-3.5-236/debian/rules dist-3.5-236/debian/rules
--- dist-3.5-236/debian/rules
+++ dist-3.5-236/debian/rules
@@ -35,7 +35,7 @@
            touch .config/nomail                        && \
               sh ./Configure                               \
                 -de                                        \
-                -D prefix=$(PREFIX)                        \
+                -D prefix=/usr                             \
                 -D orgname=/etc/news/organization          \
                 -D myhostname=localhost                    \
                 -D mydomain=localdomain                    \
@@ -44,6 +44,10 @@
                 -D pager=/bin/more                         \
                 -D mansrc=/usr/share/man/                  \
                 -D cf_email='$(email)'                     \
+                -D grep=/bin/grep                          \
+                -D sed=/bin/sed                            \
+                -D cat=/bin/cat                            \
+                -D zcat=/bin/zcat                          \
                 -D d_berknames='define'
 
 

--- End Message ---
--- Begin Message ---
Source: dist
Source-Version: 1:3.5-236-0.2
Done: Boyuan Yang <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dist, 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.
Boyuan Yang <[email protected]> (supplier of updated dist 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: Sun, 23 Feb 2020 17:37:44 -0500
Source: dist
Architecture: source
Version: 1:3.5-236-0.2
Distribution: unstable
Urgency: medium
Maintainer: Manoj Srivastava <[email protected]>
Changed-By: Boyuan Yang <[email protected]>
Closes: 908187 915910
Changes:
 dist (1:3.5-236-0.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * debian/dist.postinst: Fix wrong direction form.
     (Closes: #908187)
   * debian/rules: Explicitly provide tool path to avoid usrmerge
     differences and make package reproducible. (Closes: #915910)
   * debian/rules: Avoid manually setting DEB_HOST_MULTIARCH, use
     /usr/share/dpkg/architecture.mk instead. (lintian warning)
Checksums-Sha1:
 9c5f2b6123bc3707413f974a2ac7b520ab743a28 1816 dist_3.5-236-0.2.dsc
 b0e615be2ac7bd9e2d0ede017e803a11c2d3b8b8 48141 dist_3.5-236-0.2.diff.gz
 44be842d36a6eda9f5845fc7023c72b19850f73b 5719 dist_3.5-236-0.2_amd64.buildinfo
Checksums-Sha256:
 647071d64bb099b6fdca3ba087ad234c37b3c40312fb2c26a572414002152eaf 1816 
dist_3.5-236-0.2.dsc
 b11b5e4954aaa904412b0b264198c418387ebba18876e7c201d51f708b35f3ff 48141 
dist_3.5-236-0.2.diff.gz
 2834488a26a9dd460991ab15c2048c5e97407536a52bced790fb8ad6167ddcbf 5719 
dist_3.5-236-0.2_amd64.buildinfo
Files:
 3e92905745da7b7a73255fe328e6bde2 1816 devel optional dist_3.5-236-0.2.dsc
 1a94fcfe01a32e564a4685725c7cf235 48141 devel optional dist_3.5-236-0.2.diff.gz
 6f5b28be93d93cb118ecece5900a8cd7 5719 devel optional 
dist_3.5-236-0.2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAl5TAJ4ACgkQwpPntGGC
Ws5QChAAsfIIy9wg8RTt+GeSgOgNIeIIau5LaaE1+b1yF+5Lq2EHm+8srE7+UH9g
gW9fwMdzh4x+8JYTGWub3A/Ie43INmwh369umXhJvgCkbtNs+yMGRw5b2XRQd+5+
+zq0hSl8iXreAukzfP3fQyzymAKG6cjx6JyXHYtNd9auA6FbU+dL6rU1SYoJbTYh
5g9iGmryt68NqJIlnQaah4DseMzsAssU5jh3sHXaRG1zraRnCaU+zuzv19tfiLOT
GMEtKxWqGXkoCtVh5BiaAcnrSotzAeSubDiZ7yf3FAzibI3mzi984dit+WRRSzVC
4qfTtQTD5Hfv5de3JUAiwolJIcjMOR3tWWviVP8Ezb7kJab2GmK6vjNYqFBIh3zc
BGMF+PmvBVasBhO8lGlq0tefRywkw0KXRfVwVNhvqlIIZ/6P3LwX1eov9nnX0j5c
T3LgSF3j2BWfL+c1Juo6N9puicEw5faXiPI8FCXY1fqXvOG217AvI2aiAYMGidq9
w4RQX4xILp7Jr61led/p+UQKVbQJvHtQrpIqh9l/VG5UiIYMgweOkcbxTQ/q27so
q1NckbVAfyaWC1DKYUFEQzx3/MaqjKWDpcl/hezMWep38EoBq1kA+2U8RunN65qg
aTDrhMolmdRI9KiEmqaRQpsFbmi77D2J1Is5cI8xIaK6/nqrswM=
=VuAM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to