Your message dated Thu, 21 May 2020 05:48:35 +0000
with message-id <[email protected]>
and subject line Bug#949343: fixed in flex 2.6.4-7
has caused the Debian Bug report #949343,
regarding flex: Embeds build paths in example Makefiles
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.)
--
949343: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949343
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: flex
Severity: normal
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
Makefiles shipped in the examples directory contain build path
variations for several values:
/usr/share/doc/flex/examples/fastwc/Makefile.gz
/usr/share/doc/flex/examples/manual/Makefile.gz
ACLOCAL·=·${SHELL}·/build/1st/flex-2.6.4/build-aux/missing·aclocal-1.16
vs.
ACLOCAL·=·${SHELL}·/build/2/flex-2.6.4/2nd/build-aux/missing·aclocal-1.16
This makes the build unreproducible when built from a different path,
but the Makefile itself would require some manual configuration anyways,
since the end-user most likely does not contain the original build path
on their system.
I'd suggest simply removing the Makefiles, as they are not functional,
or alternately, sanitizing with the attached patch to debian/rules.
live well,
vagrant
From 12ac0a2b79b1ae208e8bf4d2c936d5dcf51e44aa Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Sun, 19 Jan 2020 14:26:38 -0800
Subject: [PATCH 2/3] debian/rules: Clean up embedded build paths in example
Makefiles in order to ensure reproducible builds.
---
debian/rules | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/debian/rules b/debian/rules
index 57485fa..b95ebad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -92,6 +92,17 @@ ifneq (,$(filter flex-doc, $(shell dh_listpackages)))
debian/flex-doc/usr/share/doc/flex-doc/
endif
+override_dh_installexamples:
+ dh_installexamples
+ # Clean up embedded build paths in order to ensure reproducible builds.
+ sed -i -e "s,-fdebug-prefix-map=$(CURDIR)=\.,,g" \
+ -e "s,-ffile-prefix-map=$(CURDIR)=\.,,g" \
+ -e "s,abs_.*$(CURDIR).*,,g" \
+ -e "s,$(CURDIR).*missing --run,,g" \
+ -e "s,$(CURDIR),./,g" \
+ $(CURDIR)/debian/flex/usr/share/doc/flex/examples/fastwc/Makefile \
+ $(CURDIR)/debian/flex/usr/share/doc/flex/examples/manual/Makefile
+
override_dh_auto_build:
dh_auto_build
ifneq (,$(filter flex-doc, $(shell dh_listpackages)))
--
2.20.1
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: flex
Source-Version: 2.6.4-7
Done: Manoj Srivastava <[email protected]>
We believe that the bug you reported is fixed in the latest version of
flex, 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.
Manoj Srivastava <[email protected]> (supplier of updated flex 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, 20 May 2020 22:06:34 -0700
Source: flex
Architecture: source
Version: 2.6.4-7
Distribution: unstable
Urgency: medium
Maintainer: Manoj Srivastava <[email protected]>
Changed-By: Manoj Srivastava <[email protected]>
Closes: 949342 949343
Changes:
flex (2.6.4-7) unstable; urgency=medium
.
* Ack NMUS. Thanks Ruben Undheim and Niels Thykier <[email protected]>
* Bug fix: "Embeds build paths in example Makefiles", thanks to Vagrant
Cascadian (Closes: #949343).
* Bug fix: "Embeds paths to various binaries differently on usrmerge
system", thanks to Vagrant Cascadian (Closes: #949342).
Checksums-Sha1:
1e229e7a03f1adb285a4592feff136d8b35796fb 2002 flex_2.6.4-7.dsc
99eb108a2d21c4098a2d3a3369913ce21bc2ea92 59705 flex_2.6.4-7.diff.gz
Checksums-Sha256:
8c8910e45e5e0977a37aaa0997432961771a3dd53dbf6d74889a982bc64d5a0d 2002
flex_2.6.4-7.dsc
9c28e2434aa592e06341519018e2a5d78d3798ba87f48cfde3bb0ef3149109ab 59705
flex_2.6.4-7.diff.gz
Files:
660d053f2c0f5e58e1bc4d66384b2de6 2002 devel optional flex_2.6.4-7.dsc
b9a9dfca4222143fda4e6a6a7c284a46 59705 devel optional flex_2.6.4-7.diff.gz
-----BEGIN PGP SIGNATURE-----
iQGZBAEBCgCDFiEEq6cQJaG1qIpOX2jCNr1yD29XZHIFAl7GETxQFIAAAAAAGwAs
c3JpdmFzdGFAZ29sZGVuLWdyeXBob24uY29tQUJBNzEwMjVBMUI1QTg4QTRFNUY2
OEMyMzZCRDcyMEY2RjU3NjQ3Ml8yMTEUHHNyaXZhc3RhQGRlYmlhbi5vcmcACgkQ
Nr1yD29XZHKDHQf9FS0fmluvQKw6rWAyWq2ANPFp8ukubFJ0VozOm73zpRX9Fa3K
iPbTmwNd33L1O+LUDvtAB1Kmt3Z1ptbqROWjjbTWsN1gujprChpq/x7IaKSMVC6H
EfxoFIZAl4hK9O/+rVhwWsSbHKjK4MFoIDnMdQFFlHLdZYbNRSBEntIqEkVmZTnV
8E8FeY6I9e95IlGHxrRWYj/gUJ7DzFfBKmzfPgUBhFV6a79mywwB/AwouSqCwdYH
l4xyVcf81Xr8j56A/1O0czxkhgoYSUfxjcUz+q/Eebxm0L+1oecfuTlq8D2nR7QD
2yrNn64OSyvsBvOqF7y02s83wOjkRDzxpY0kBA==
=KuK1
-----END PGP SIGNATURE-----
--- End Message ---