Your message dated Tue, 24 Dec 2019 12:08:52 +0100
with message-id <[email protected]>
and subject line Upstart is gone
has caused the Debian Bug report #791913,
regarding ceph: please make the build reproducible
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.)
--
791913: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791913
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ceph
Version: 0.80.9-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that ceph could not be built reproducibly.
This is because the dh_installinit snippets that are placed into the
post{inst,rm} scripts are generated in a filesystem — and thus
non-deterministic — order.
The attached patch removes this randomness from the build system by
simply
sorting the filenames. Once applied, ceph can be built reproducibly in
our
reproducible toolchain.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/debian/rules b/debian/rules
index b3b0ccb..45833b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,17 +62,17 @@ override_dh_installinit:
dh_installinit --no-start
dh_installinit -pceph --no-start --name=rbdmap
# Install upstart configurations using dh_installinit
- for conf in `ls -1 src/upstart/ceph*.conf | grep -v mds`; do \
+ for conf in `ls -1 src/upstart/ceph*.conf | grep -v mds | LC_ALL=C
sort`; do \
name=`basename $$conf | cut -d . -f 1`; \
cp -v $$conf debian/ceph.$$name.upstart; \
dh_installinit -pceph --no-start --name=$$name; \
done
- for conf in `ls -1 src/upstart/ceph-mds*.conf`; do \
+ for conf in `ls -1 src/upstart/ceph-mds*.conf | LC_ALL=C sort`; do \
name=`basename $$conf | cut -d . -f 1`; \
cp -v $$conf debian/ceph-mds.$$name.upstart; \
dh_installinit -pceph-mds --no-start --name=$$name; \
done
- for conf in `ls -1 src/upstart/radosgw*.conf`; do \
+ for conf in `ls -1 src/upstart/radosgw*.conf | LC_ALL=C sort`; do \
name=`basename $$conf | cut -d . -f 1`; \
[ $$name = "radosgw" ] && name="radosgw-instance";\
cp -v $$conf debian/radosgw.$$name.upstart; \
--- End Message ---
--- Begin Message ---
Version: 10.2.5-7.2
Closing old bugs.
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
--- End Message ---