Your message dated Sat, 27 Jul 2019 08:40:34 +0000
with message-id <[email protected]>
and subject line Bug#932117: fixed in ninja-build 1.9.0-2
has caused the Debian Bug report #932117,
regarding ninja-build: 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.)
--
932117: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932117
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ninja-build
Version: 1.9.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: environment
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that ninja-build could not be built reproducibly.
This is because the output from the --help/--usage command includes
the number of CPUs on the current system and, when persisted to the
manpage, means that the package contents will change depending on the
number of CPUs on the build system.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible-build.patch 1969-12-31 21:00:00.000000000
-0300
--- b/debian/patches/reproducible-build.patch 2019-07-15 09:24:48.818456297
-0300
@@ -0,0 +1,24 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2019-07-15
+
+--- ninja-build-1.9.0.orig/src/ninja.cc
++++ ninja-build-1.9.0/src/ninja.cc
+@@ -211,7 +211,7 @@ void Usage(const BuildConfig& config) {
+ " -C DIR change to DIR before doing anything else\n"
+ " -f FILE specify input build file [default=build.ninja]\n"
+ "\n"
+-" -j N run N jobs in parallel (0 means infinity) [default=%d on this
system]\n"
++" -j N run N jobs in parallel (0 means infinity) [default=#CPUs]\n"
+ " -k N keep going until N jobs fail (0 means infinity) [default=1]\n"
+ " -l N do not start new jobs if the load average is greater than N\n"
+ " -n dry run (don't run commands but act like they succeeded)\n"
+@@ -220,7 +220,7 @@ void Usage(const BuildConfig& config) {
+ " -t TOOL run a subtool (use '-t list' to list subtools)\n"
+ " terminates toplevel options; further flags are passed to the tool\n"
+ " -w FLAG adjust warnings (use '-w list' to list warnings)\n",
+- kNinjaVersion, config.parallelism);
++ kNinjaVersion);
+ }
+
+ /// Choose a default value for the -j (parallelism) flag.
--- a/debian/patches/series 1969-12-31 21:00:00.000000000 -0300
--- b/debian/patches/series 2019-07-15 09:24:47.482498635 -0300
@@ -0,0 +1 @@
+reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: ninja-build
Source-Version: 1.9.0-2
We believe that the bug you reported is fixed in the latest version of
ninja-build, 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.
Felix Geyer <[email protected]> (supplier of updated ninja-build 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: Sat, 27 Jul 2019 10:04:12 +0200
Source: ninja-build
Architecture: source
Version: 1.9.0-2
Distribution: unstable
Urgency: medium
Maintainer: Felix Geyer <[email protected]>
Changed-By: Felix Geyer <[email protected]>
Closes: 932117
Changes:
ninja-build (1.9.0-2) unstable; urgency=medium
.
* Make build reproducible again. (Closes: #932117)
- Fix man page sed pattern.
* Switch to debhelper compat level 12.
* Add a nodoc build profile.
Checksums-Sha1:
aeabe25d4a682062ee8380cf04ffb253e2c0406f 2017 ninja-build_1.9.0-2.dsc
73081df0b736979424bcb958646262130c48aa4e 4664 ninja-build_1.9.0-2.debian.tar.xz
Checksums-Sha256:
7979294b97ed22566eaf85c0b8c3631bb35c5654454e443936a8493f12c41073 2017
ninja-build_1.9.0-2.dsc
36bc3ff03639d2f456948f7c8c4edb8ede4e1c767b6d0a448369039687cedc35 4664
ninja-build_1.9.0-2.debian.tar.xz
Files:
3b728032a2f43f458e2a4b8628534fdb 2017 devel optional ninja-build_1.9.0-2.dsc
4ac8b9861b5d354840420dffe342b2da 4664 devel optional
ninja-build_1.9.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEFkxwUS95KUdnZKtW/iLG/YMTXUUFAl08BqAACgkQ/iLG/YMT
XUUJCg//R/RFanpihnltMIHZgNSz0XWn3pi3m4Xxm9pPWDtXpA1xOHD47vabR1AR
3vugipXO0yU/qrHRvEfSyxv6SremyhIgRzSA/EaGIJT6vyWKLKi77MdNjhO+m7cj
EHmBBAoEOl3aXZIEv2g5bkITOweMLYFeP66IdTLGKCmo6+BnUA/MjMDhmhfSKkHE
TrEICzAXteXtxf6FkqlBOG1oC7zFgFnrgIIpJk+i0RYXQ8Hx/YMtJvqq/FyO5809
1W5sQaLxqgIf6TEHSS7M9BZwqUnM6GFn7F3T3jpbIScMCG5JHZ2ooGfZvXEBlh4i
KQSke/oeBlXCfdkoVFpp7lPDmiJHtbEJOrWP0ehyFvPDGhzhTZkTs7YEpt9f0nAc
eywgqhCWDMOnVu4DGwDzZrsSjLSLvHD4zgvpL7KGDRMwu7jrntmZGfHbSA5xmoDr
LtTj9779P2Cz8j95XLXsKMoIZihDC9IUl7SYlbDXjrALzRcPi/44h2IUHRaGfqba
yS5dmpUbuV1qPyeII6b8c74FzOtV3z/7IGPlnURGqrN077/xW41kGSxRKNpxDXvY
RTnLSS6DyfsC62R/01b00kBKx1FlMzqX55rYX4lOtGt4+9BX/UCO/KGz7gliQ2xY
ii19U9pAS7QJEiVY3SIm683IOBr1zqZCbzw50yffvctsRk7vNo4=
=+4dV
-----END PGP SIGNATURE-----
--- End Message ---