Debian Bug report logs -
#913021
carbon-c-relay: make the build reproducible
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Filippo Giunchedi <filippo@debian.org>:
Bug#913021; Package src:carbon-c-relay.
(Tue, 06 Nov 2018 03:54:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Nicholas M Gregory <ngregory@nyu.edu>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Filippo Giunchedi <filippo@debian.org>.
(Tue, 06 Nov 2018 03:54:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: carbon-c-relay
Version: 3.2-1
Severity: wishlist
Tags: patch
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi there,
While working on the reproducible builds project
(https://wiki.debian.org/ReproducibleBuilds), we noticed that
carbon-c-relay could not be built reproducibly.
The attached patch changes the build system to first attempt to use
the SOURCE_DATE_EPOCH envvar
(https://reproducible-builds.org/specs/source-date-epoch/) to
determine build date, then falls back to the git commit date, then the
current date.
Best,
-Nick Gregory
================ begin patch ================
--- Makefile.am.orig 2017-10-21 10:39:41.000000000 -0400
+++ Makefile.am 2018-11-05 22:45:30.772368908 -0500
@@ -16,7 +16,11 @@
CFLAGS ?= -O2 -Wall -Wshadow -pipe
-GIT_VERSION := $(shell git describe --abbrev=6 --dirty --always
2>/dev/null || date +%F)
+GIT_VERSION := $(shell \
+ date -u -d "@${SOURCE_DATE_EPOCH}" "+%F" 2>/dev/null || \
+ date -u -r "${SOURCE_DATE_EPOCH}" "+%F" 2>/dev/null || \
+ git describe --abbrev=6 --dirty --always 2>/dev/null || \
+ date +%F)
GVCFLAGS = -DGIT_VERSION=\"$(GIT_VERSION)\"
override CFLAGS += $(GVCFLAGS) -pthread
Information forwarded
to debian-bugs-dist@lists.debian.org, Filippo Giunchedi <filippo@debian.org>:
Bug#913021; Package src:carbon-c-relay.
(Tue, 06 Nov 2018 22:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Filippo Giunchedi <filippo@debian.org>.
(Tue, 06 Nov 2018 22:39:03 GMT) (full text, mbox, link).
Message #10 received at 913021@bugs.debian.org (full text, mbox, reply):
Hi Nicholas,
> The attached patch changes the build system to first attempt to use
> the SOURCE_DATE_EPOCH envvar
> (https://reproducible-builds.org/specs/source-date-epoch/) to
> determine build date, then falls back to the git commit date, then the
> current date.
Good idea. Fancy forwarding this upstream? Looks like they have a Github repo here:
https://github.com/grobian/carbon-c-relay
… which should make it straightforward enough. You can the use the
BTS "forwarded" command to link them together:
https://www.debian.org/Bugs/server-control#forwarded
Best wishes,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
Marked as fixed in versions carbon-c-relay/3.5.
Request was from Nick Gregory <nmg355@nyu.edu>
to control@bugs.debian.org.
(Wed, 14 Nov 2018 20:36:03 GMT) (full text, mbox, link).
Added tag(s) fixed-upstream.
Request was from debian-bts-link@lists.debian.org
to control@bugs.debian.org.
(Mon, 19 Nov 2018 17:24:24 GMT) (full text, mbox, link).
Reply sent
to Bernd Zeimetz <bzed@debian.org>:
You have taken responsibility.
(Fri, 18 Sep 2020 18:09:25 GMT) (full text, mbox, link).
Notification sent
to Nicholas M Gregory <ngregory@nyu.edu>:
Bug acknowledged by developer.
(Fri, 18 Sep 2020 18:09:26 GMT) (full text, mbox, link).
Message #21 received at 913021-close@bugs.debian.org (full text, mbox, reply):
Source: carbon-c-relay
Source-Version: 3.7-1
Done: Bernd Zeimetz <bzed@debian.org>
We believe that the bug you reported is fixed in the latest version of
carbon-c-relay, 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 913021@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bernd Zeimetz <bzed@debian.org> (supplier of updated carbon-c-relay 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 18 Sep 2020 19:18:41 +0200
Source: carbon-c-relay
Architecture: source
Version: 3.7-1
Distribution: unstable
Urgency: medium
Maintainer: Bernd Zeimetz <bzed@debian.org>
Changed-By: Bernd Zeimetz <bzed@debian.org>
Closes: 857518 913021 958584
Changes:
carbon-c-relay (3.7-1) unstable; urgency=medium
.
[ Bernd Zeimetz ]
* [e63edac] Updating debian/.gitlab-ci.yml
.
[ Debian Janitor ]
* [11bd265] Use secure copyright file specification URI.
Fixes: lintian: insecure-copyright-format-uri
See-also: https://lintian.debian.org/tags/insecure-copyright-format-uri.html
* [7640b46] Remove unnecessary X-Python{,3}-Version field in debian/control.
Fixes: lintian: ancient-python-version-field
See-also: https://lintian.debian.org/tags/ancient-python-version-field.html
* [a6a83b6] Depend on newer debhelper (>= 9.20160709) rather than dh-systemd.
Fixes: lintian: build-depends-on-obsolete-package
See-also: https://lintian.debian.org/tags/build-depends-on-obsolete-package.html
Closes: #958584
* [c423094] Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse.
Fixes: lintian: upstream-metadata-file-is-missing
See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html
Fixes: lintian: upstream-metadata-missing-bug-tracking
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-bug-tracking.html
Fixes: lintian: upstream-metadata-missing-repository
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-repository.html
* [0393352] Drop unnecessary dh arguments: --with=systemd.
Fixes: lintian: debian-rules-uses-unnecessary-dh-argument
See-also: https://lintian.debian.org/tags/debian-rules-uses-unnecessary-dh-argument.html
.
[ Bernd Zeimetz ]
* [ce1294e] New upstream version 3.7
Closes: #913021
* [cdabad7] install carbon-c-relay.md instead of a symlink. (Closes: #857518)
* [c96faf7] Updating changelog
* [482a755] Ship ChangeLog.md
* [0d9b06c] really rename the relay binary to carbon-c-relay.
Don't ship both files.
Also use manpage from upstream.
* [b329190] Updating changelog
* [93befb8] Find next free port in regressiontests
* [d50d7ba] don't test all ports if not needed
Checksums-Sha1:
f2816bb6f3f1611b213215f8a7ac4a0cc183bbdb 1910 carbon-c-relay_3.7-1.dsc
1aac580bd9bb16c453bd1e64469db9c984ee76bb 351792 carbon-c-relay_3.7.orig.tar.xz
b54737542ab330e43eca6bbee7a186fe4f951f5a 6384 carbon-c-relay_3.7-1.debian.tar.xz
4ada0923b7ae3855a69ae9e8900f9e7446067b2a 5739 carbon-c-relay_3.7-1_source.buildinfo
Checksums-Sha256:
0149e8a8117654073317e04bd5c86c86cb99b1bdcf4a5c2ff1cd06e395df6533 1910 carbon-c-relay_3.7-1.dsc
a49fe7429b2fbf55187b271fd9742a6a8329e40de8bdda2dd06f0e4a4d9daf87 351792 carbon-c-relay_3.7.orig.tar.xz
5b06c30c1e2e3175728074738f79f68630a438e62f455674aae5be8fc926d303 6384 carbon-c-relay_3.7-1.debian.tar.xz
bf3f8725ee32de1948cdbcad25e84993883179e5812468cc7ab63e0aec8d133e 5739 carbon-c-relay_3.7-1_source.buildinfo
Files:
8739e53eb8e99a07e06cf42cb754ac5b 1910 net optional carbon-c-relay_3.7-1.dsc
72704e7d74036b74d5ded00af57c55ba 351792 net optional carbon-c-relay_3.7.orig.tar.xz
aa60ebffe75a04a99f4e5acfa1ffdaea 6384 net optional carbon-c-relay_3.7-1.debian.tar.xz
5557775c61df0ea57e3eb00d87a19119 5739 net optional carbon-c-relay_3.7-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE7KHj8o4RJDLUhd2V6zYXGm/5Q18FAl9k7EMACgkQ6zYXGm/5
Q1/5OBAAqVD/Qwo9K0BBEBcMgQGHUCWeoZvfjyt6HiZ3ENZpCrZmnTBOVjAR+LKU
+l8+vs07qUEQVsXLET3EZ8xzz1enM4xdc666IJf4w/rnXnWJbwQufaYrAP2RpBFs
TyzWBS6YwY7GoM6rNMnCs9exEpGQnv6jFRqMMS8ug3Y9TAfNJ07FgUpwrs20LtuU
YMCCyj7FxiRxR4DfLA3SwUyge3yIGMXrEj3NMvvhVVoE7FgNZIWSWVNehoJ45LF3
CxRyTTugFmIna4e215SfNf+mTJo/ZGl8z7zR5/qIrWq12H58MrhzkMZjyu3BNI7H
aVy3KSFAELYLx2ih0bFC58ogwrAQnAUcdRB4Rn5kgjRRZz7MpSWkxWM5YQZBruu7
5HM95fKjwfydauX4C4G09rUQvTgGDHorPFGMi1zFUlAb4epD9g25JOZCWQu8/+1/
c5NXBwudOCSJvE/DDgtgaUx+clmONWl/H/wcxTACGUcO/FK9NGbdVf5OreEmZHT8
gJ9Z1Iz7AC6Xhq2BmKFI80DVPLjchX5Zgwsii5etpOJ4faHYuw3xW53FUvb2AeQN
UeNIml2Lv2FcRZz7yDoHRJBBPVm/3jvzjnS7mlCXpRaCiTzT0l3BFBKb+w4r/MXp
Z1DhFKsiChFftDi2C5XBoW4zXNkyHHxdQ1K+ohwgjdR1AX7Xeug=
=pGLd
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 24 Oct 2020 07:25:36 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 10:45:53 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.