Your message dated Fri, 20 Oct 2023 16:51:44 +0000
with message-id <[email protected]>
and subject line Bug#1039624: fixed in icu 72.1-4
has caused the Debian Bug report #1039624,
regarding icu: reproducible-builds: embedded SHELL and build paths
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.)
--
1039624: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039624
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: icu
Version: 23.06.14+git20230616+ds-4
Severity: normal
Tags: patch
User: [email protected]
Usertags: shell buildpath
X-Debbugs-Cc: [email protected]
various files contain embedded build paths and differing values for
SHELL:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/icu.html
/usr/share/doc/icu-doc/html/icudocs.tag.gz
<path>/build/1st/icu-72.1/source/common/unicode/</path>
vs.
<path>/build/2/icu-72.1/2nd/source/common/unicode/</path>
/usr/lib/x86_64-linux-gnu/icu/72.1/Makefile.inc
SHELL·=·/bin/bash
vs.
SHELL·=·/bin/sh
The attached patches modify debian/rules remove the build path and
consistently set SHELL to /bin/sh on the affected files.
With both these patches applied, based on my local tests, icu should
build reproducibly on tests.reproducible-builds.org!
Thanks for maintaining icu!
live well,
vagrant
From 8f05336668e04eaa580aaf01e33983d3ae0ee9f8 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Tue, 27 Jun 2023 14:38:11 -0700
Subject: [PATCH 1/2] debian/rules: Remove build paths from .inc and .tag
files.
https://reproducible-builds.org/docs/build-path/
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index 7985886..31988b6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,8 @@ override_dh_auto_install:
$(MAKE) -C $(CURDIR)/source/ install-doc DESTDIR=$(CURDIR)/debian/tmp/
# delete extra license file
$(RM) $(CURDIR)/debian/tmp/usr/share/icu/$(l_SONAME).?/LICENSE
+ # Remove build paths
+ sed -i -e 's,$(CURDIR),BUILDPATH,g' debian/*/usr/lib/*/icu/*/*.inc
override_dh_installdocs-indep:
dh_installdocs -i
@@ -61,6 +63,8 @@ override_dh_installdocs-indep:
ln -s `basename $$normal` $$file; \
fi; \
done
+ # Remove build paths from documentation
+ sed -i -e 's,$(CURDIR),,g' debian/icu-doc/usr/share/doc/icu-doc/html/icudocs.tag
override_dh_missing:
dh_missing --list-missing
--
2.39.2
From a3a054342429b7165c8bbea48a9609bf4c8d0dfb Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Tue, 27 Jun 2023 14:40:43 -0700
Subject: [PATCH 2/2] debian/rules: Consistently use /bin/sh SHELL in .inc
files.
---
debian/rules | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/rules b/debian/rules
index 31988b6..28f31ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,6 +52,8 @@ override_dh_auto_install:
$(RM) $(CURDIR)/debian/tmp/usr/share/icu/$(l_SONAME).?/LICENSE
# Remove build paths
sed -i -e 's,$(CURDIR),BUILDPATH,g' debian/*/usr/lib/*/icu/*/*.inc
+ # Consistently use /bin/sh for SHELL
+ sed -i -e 's,^SHELL =.*,SHELL = /bin/sh,g' debian/*/usr/lib/*/icu/*/*.inc
override_dh_installdocs-indep:
dh_installdocs -i
--
2.39.2
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: icu
Source-Version: 72.1-4
Done: Laszlo Boszormenyi (GCS) <[email protected]>
We believe that the bug you reported is fixed in the latest version of
icu, 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.
Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated icu 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: Fri, 20 Oct 2023 17:44:53 +0200
Source: icu
Architecture: source
Version: 72.1-4
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Closes: 1039624 1054253
Changes:
icu (72.1-4) unstable; urgency=medium
.
[ Adrian Bunk <[email protected]> ]
* Fix FTBFS with GCC 13 on i386 (closes: #1054253).
.
[ Vagrant Cascadian <[email protected]> ]
* Make builds reproducible (closes: #1039624):
- debian/rules: Remove build paths from .inc and .tag files,
- debian/rules: Consistently use /bin/sh SHELL in .inc files.
Checksums-Sha1:
03d3daaa2a3635e5cb76c630d076cf9027f9cec4 2252 icu_72.1-4.dsc
0d78123ee12b1506236732fdb6aaef0e9a746fca 62456 icu_72.1-4.debian.tar.xz
Checksums-Sha256:
a6c7b8575cf6743674635fde3dca6edc3a3236de07df9f5a19d27dedcda923c2 2252
icu_72.1-4.dsc
df53fade18c408471c169b1edb569769f3b58edb27db73bfc5bc3a6534f82676 62456
icu_72.1-4.debian.tar.xz
Files:
3523f53c1ff8f1978c8a6a2ecdc06f07 2252 libs optional icu_72.1-4.dsc
d4a300a458224e3184795e50bfecc7fe 62456 libs optional icu_72.1-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAmUyqjsACgkQ3OMQ54ZM
yL801A/9HICm1mYXFVCVki0EkduP+g+9lWJIr3ynwJ8ldO3Y26w23Hh3E8zYVnAB
AamGrav+l6sUIE6jDD23dj+4ROTKjUMB4k9qB8tR8D+74MULgqd6jw9l1hxwyJiI
V5dVPxaeUTzuj+aucOhzeKevC4aXbDr0/w4smCX0ZKsynuOAsS1lx0rzdb8Liubd
4zv4BayyzcdQ1tUr/aLg9irXVJEkMknwziqVualPouJsMHk25RQr687wA6DsgEjU
ePy4y84t6ZcpH4E3vopjg4DVYuzTAsCZBYTF8x3cuK6M4XDU3QXq1SM7lfLn4GwH
W2owPndInFkQ94xp766In4DCFAPlAGKaGXM4Rbi+jt40XhEtsZl7C7AlzIdl1f18
Fkt6hWA35QMaL3CVR+7EVG1CFe/Mq/yMa/Kg1MZglzAc1beD9C9ZvDcRgwPiqSMI
6E3JGbMeIpUzDmNiU4YAt9syB9ZI+5ICWb2AtfeHTdEhORH3uaMJ/lUdmxO1Ywlx
LNu6Bhgh/I2zSxim/W1COv+w6yh9hfGuD4p0UFXlddhMc5hUb0GowuX+9BIT8HwJ
hfAGxYPdqiGR6/sUqwuvODfGhDmrAfqmPf8kA9VUCMACaFV/UI4J7N+KG+fPQ9sd
tMcrKjX//nMhYLYeZqx4hBpS70Qt/dh57xH5M3Dm+cpVLQDHxog=
=wK9X
-----END PGP SIGNATURE-----
--- End Message ---