Debian Bug report logs - #834956
ircd-irc2: please make the build reproducible

version graph

Package: src:ircd-irc2; Maintainer for src:ircd-irc2 is Kurt Roeckx <kurt@roeckx.be>;

Reported by: Chris Lamb <lamby@debian.org>

Date: Sat, 20 Aug 2016 23:09:02 UTC

Severity: wishlist

Tags: patch

Found in version ircd-irc2/2.11.2p3~dfsg-4

Fixed in version ircd-irc2/2.11.2p3~dfsg-5

Done: Kilian Krause <kilian@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Kurt Roeckx <kurt@roeckx.be>:
Bug#834956; Package src:ircd-irc2. (Sat, 20 Aug 2016 23:09:06 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Kurt Roeckx <kurt@roeckx.be>. (Sat, 20 Aug 2016 23:09:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: ircd-irc2: please make the build reproducible
Date: Sun, 21 Aug 2016 00:07:38 +0100
[Message part 1 (text/plain, inline)]
Source: ircd-irc2
Version: 2.11.2p3~dfsg-4
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that ircd-irc2 could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[ircd-irc2.diff.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#834956; Package src:ircd-irc2. (Sat, 20 Aug 2016 23:45:32 GMT) (full text, mbox, link).


Acknowledgement sent to Kurt Roeckx <kurt@roeckx.be>:
Extra info received and forwarded to list. (Sat, 20 Aug 2016 23:45:32 GMT) (full text, mbox, link).


Message #10 received at 834956@bugs.debian.org (full text, mbox, reply):

From: Kurt Roeckx <kurt@roeckx.be>
To: Chris Lamb <lamby@debian.org>, 834956@bugs.debian.org
Subject: Re: Bug#834956: ircd-irc2: please make the build reproducible
Date: Sun, 21 Aug 2016 01:41:07 +0200
On Sun, Aug 21, 2016 at 12:07:38AM +0100, Chris Lamb wrote:
> --- a/debian/patches/02_reproducible_build.patch	1970-01-01 01:00:00.000000000 +0100
> --- b/debian/patches/02_reproducible_build.patch	2016-08-21 00:06:08.338196876 +0100
> @@ -0,0 +1,21 @@
> +Description: Make the build reproducible
> +Author: Chris Lamb <lamby@debian.org>
> +Last-Update: 2016-08-20
> +
> +--- ircd-irc2-2.11.2p3~dfsg.orig/ircd/version.c.SH.in
> ++++ ircd-irc2-2.11.2p3~dfsg/ircd/version.c.SH.in
> +@@ -20,7 +20,13 @@ sumhash="`(cd ../ircd; @SUM@ hash.c)`"
> + sumsmisc="`(cd ../ircd; @SUM@ s_misc.c)`"
> + sumircd="`(cd ../ircd; @SUM@ ircd.c)`"
> + 
> +-creation=`date | \
> ++if test -n "$SOURCE_DATE_EPOCH"
> ++then
> ++  now=`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH"`
> ++else
> ++  now=`date`

That should probably also use LC_ALL=C




Information forwarded to debian-bugs-dist@lists.debian.org, Kurt Roeckx <kurt@roeckx.be>:
Bug#834956; Package src:ircd-irc2. (Sat, 20 Aug 2016 23:48:06 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Kurt Roeckx <kurt@roeckx.be>. (Sat, 20 Aug 2016 23:48:06 GMT) (full text, mbox, link).


Message #15 received at 834956@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: Kurt Roeckx <kurt@roeckx.be>, 834956@bugs.debian.org
Subject: Re: Bug#834956: ircd-irc2: please make the build reproducible
Date: Sun, 21 Aug 2016 00:45:29 +0100
Kurt Roeckx wrote:

> > ++if test -n "$SOURCE_DATE_EPOCH"
> > ++then
> > ++  now=`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH"`
> > ++else
> > ++  now=`date`
> 
> That should probably also use LC_ALL=C

I usually patch that as:

a) I don't want to change existing behaviour so that it is easier,
politically, to get it merged upstream.

b) The value will vary on timezone and — of course — the current time,
so fixing the language doesn't really do much. It could even be argued
it therefore makes patch misleading in that it only goes "half way".

Hope that helps.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Kurt Roeckx <kurt@roeckx.be>:
Bug#834956; Package src:ircd-irc2. (Tue, 10 Jan 2017 10:03:33 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Kurt Roeckx <kurt@roeckx.be>. (Tue, 10 Jan 2017 10:03:33 GMT) (full text, mbox, link).


Message #20 received at 834956@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: 834956@bugs.debian.org
Subject: Re: Bug#834956: ircd-irc2: please make the build reproducible
Date: Tue, 10 Jan 2017 10:01:44 +0000
> Would you consider applying this patch and uploading?

Friendly ping on this :)


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Reply sent to Kilian Krause <kilian@debian.org>:
You have taken responsibility. (Wed, 26 Jul 2017 09:39:03 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Wed, 26 Jul 2017 09:39:03 GMT) (full text, mbox, link).


Message #25 received at 834956-close@bugs.debian.org (full text, mbox, reply):

From: Kilian Krause <kilian@debian.org>
To: 834956-close@bugs.debian.org
Subject: Bug#834956: fixed in ircd-irc2 2.11.2p3~dfsg-5
Date: Wed, 26 Jul 2017 09:34:49 +0000
Source: ircd-irc2
Source-Version: 2.11.2p3~dfsg-5

We believe that the bug you reported is fixed in the latest version of
ircd-irc2, 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 834956@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kilian Krause <kilian@debian.org> (supplier of updated ircd-irc2 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: Wed, 26 Jul 2017 10:49:18 +0200
Source: ircd-irc2
Binary: ircd-irc2
Architecture: source amd64
Version: 2.11.2p3~dfsg-5
Distribution: unstable
Urgency: medium
Maintainer: Kurt Roeckx <kurt@roeckx.be>
Changed-By: Kilian Krause <kilian@debian.org>
Description:
 ircd-irc2  - The original IRC server daemon
Closes: 834956 864591
Changes:
 ircd-irc2 (2.11.2p3~dfsg-5) unstable; urgency=medium
 .
   * Update defaults to production use case
   * Fix init script to background (Closes: #864591)
     Add systemd service additionally to sysvinit and migrate where systemd is
     available.
     Restart service after update
   * Adding reproducible build patch (Closes: #834956)
   * Tighten security by default on /etc/ircd
   * Add default /etc/ircd/ircd.m4
Checksums-Sha1:
 0b1b37e1de00f473d2c875b6d3eae33ecbe47a4d 2007 ircd-irc2_2.11.2p3~dfsg-5.dsc
 1c999b4f96064d896729f75a65fa9055ccf7f0fe 23532 ircd-irc2_2.11.2p3~dfsg-5.debian.tar.xz
 92df3bbf347128836fadbcceb21dd843be8f0cbb 503936 ircd-irc2-dbgsym_2.11.2p3~dfsg-5_amd64.deb
 7863fe5cb161450150e59271f1a5b89cc73e0965 5757 ircd-irc2_2.11.2p3~dfsg-5_amd64.buildinfo
 f1a8733559d229d33b7130b183bdd7f343c33159 430050 ircd-irc2_2.11.2p3~dfsg-5_amd64.deb
Checksums-Sha256:
 c0d935a98d5cae3838ad6c1f9458db7ecb733e3d7d40f852369945f1ea1a19dc 2007 ircd-irc2_2.11.2p3~dfsg-5.dsc
 c638c47083d580e14b4a91517b5de335e2dff299c0ffb0fc50fc126f36af0a3c 23532 ircd-irc2_2.11.2p3~dfsg-5.debian.tar.xz
 3f53378fffeeaa3cf47c9d02402a9fb042ffd78460ca00f3c19e9be0768ef563 503936 ircd-irc2-dbgsym_2.11.2p3~dfsg-5_amd64.deb
 d39ff3bf211a95c5d9563cef6e4242f511d8987306dbd6b24cdf6cdb8440720d 5757 ircd-irc2_2.11.2p3~dfsg-5_amd64.buildinfo
 05f206efdfe1c9b9448883fbaf337b615f73b283cfb47d897030b46c5ff45b67 430050 ircd-irc2_2.11.2p3~dfsg-5_amd64.deb
Files:
 5e99eba288a7fc32c9ca72f248ea33d7 2007 net optional ircd-irc2_2.11.2p3~dfsg-5.dsc
 06e0185f76bb7bd9c78e24e855a7f105 23532 net optional ircd-irc2_2.11.2p3~dfsg-5.debian.tar.xz
 c276189619e96307069e505e044c5013 503936 debug extra ircd-irc2-dbgsym_2.11.2p3~dfsg-5_amd64.deb
 8127fcd7a3b325acb64b003f42832fa5 5757 net optional ircd-irc2_2.11.2p3~dfsg-5_amd64.buildinfo
 b89d2b05321278ae8a726b63294de2f0 430050 net optional ircd-irc2_2.11.2p3~dfsg-5_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEg4HvB+8WPTqXVKbp73WOr0n6Q1wFAll4XxMACgkQ73WOr0n6
Q1yi0xAAuQhM8MHru52NC444LurOU5lypy4D+n3oeSJRqyDbHwrp+k+x6HqnsvyU
k94WfohCqbQ+jIBiz7unETXpq3epvHLf1VPQ6yMDPKvlznE1CgdIqB0RUJsJFYFx
zBEnUIIGQ7VL54hOSoTJGCoUUN0x5UgNXJ4soK3kTkhGrq8xxOBbnkbBhH1Pg21F
PRP4Eu4kTkWBYfuLhKsM06bEJQX7ZSh5cumMYlyvy5NGWqYyL2EWVQdu1mxM3Iqw
Dhq0uh9RlUjVpREo0j8BCZZ+RFv3hRmsk0xdhsEIJo/6hs8U2KPSwe8KAJS9Y++u
Ap/CjbXJh1Yed/D9whLuYijHKiEP/VqS05hhckc2QPQTcneOfisFKmxA2pi3ZlIF
yDhmJo8HTTDiilpRglqIgR6LAtjZhN70CkyowEpHxHwGg8L10xM6U/JD3bk/7Agc
idqvK2G26kx7VyICt4IsCculg3f13aLtczSqirQG6hvWU4ss4m0jIeIRVLBGOTX7
0bCEKbOotYD7esXxAfyaETDN0ZHB8j0oiX3YtUtRhH6oV9wKaJqmuVn0WLfj0pI1
lb0w6sYn2YR1Jr8DIu25fJKz1yWKOc1A1aorXdvp4bz/th1W7jQHns4AFL6rusvz
EXf4C2IOPXQThFNT0sweUwRKo8bZvO1dHtssLhXYeDuVRNm2oMs=
=SOZ3
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 29 Aug 2017 07:27:39 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 13:48:25 2023; Machine Name: buxtehude

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.