Bug#854111: aprx: please make the build reproducible

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#854111: aprx: please make the build reproducible

Chris Lamb -2
Source: aprx
Version: 2.9.0+dfsg-1
Severity: wishlist
Tags: patch
User: [hidden email]
Usertags: timestamps
X-Debbugs-Cc: [hidden email]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that aprx could not be built reproducibly.

Patch attached.

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


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [hidden email] / chris-lamb.co.uk
       `-

aprx.diff.txt (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#854111: aprx: please make the build reproducible

Hibby
Thanks for this, I'll look at turning the patch round in the next 7 days or so
and getting a -2 version out.

Cheers,

DH

On Sat, Feb 04, 2017 at 09:37:52PM +1300, Chris Lamb wrote:

> Source: aprx
> Version: 2.9.0+dfsg-1
> Severity: wishlist
> Tags: patch
> User: [hidden email]
> Usertags: timestamps
> X-Debbugs-Cc: [hidden email]
>
> Hi,
>
> Whilst working on the Reproducible Builds effort [0], we noticed
> that aprx could not be built reproducibly.
>
> Patch attached.
>
>  [0] https://reproducible-builds.org/
>
>
> Regards,
>
> --
>       ,''`.
>      : :'  :     Chris Lamb
>      `. `'`      [hidden email] / chris-lamb.co.uk
>        `-

> --- a/debian/patches/02-reproducible-builds.patch 1970-01-01 12:00:00.000000000 +1200
> --- b/debian/patches/02-reproducible-builds.patch 2017-02-04 21:34:53.343659563 +1300
> @@ -0,0 +1,24 @@
> +Description: Make the build reproducible
> +Author: Chris Lamb <[hidden email]>
> +Last-Update: 2017-02-04
> +
> +--- aprx-2.9.0+dfsg.orig/Makefile.in
> ++++ aprx-2.9.0+dfsg/Makefile.in
> +@@ -50,8 +50,15 @@ MANDIR:=$(strip $(MANDIR))
> +
> + VERSION = $(shell echo @VERSION_STRING@ | cut -b 2-)
> +
> +-DATE:=$(shell date +"%Y %B %d")
> +-RFCDATE:=$(shell date +"%a, %d %b %Y %H:%M:%S %z")
> ++DATE_FMT= "%Y %B %d"
> ++RFCDATE_FMT= "%a, %d %b %Y %H:%M:%S %z"
> ++ifdef SOURCE_DATE_EPOCH
> ++DATE= $(shell LC_ALL=C date -u -d "@$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || LC_ALL=C date -u -r "$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || LC_ALL=C date -u "+$(DATE_FMT)")
> ++RFCDATE= $(shell LC_ALL=C date -u -d "@$(SOURCE_DATE_EPOCH)" "+$(RFCDATE_FMT)" 2>/dev/null || date LC_ALL=C -u -r "$(SOURCE_DATE_EPOCH)" "+$(RFCDATE_FMT)" 2>/dev/null || LC_ALL=C date -u "+$(RFCDATE_FMT)")
> ++else
> ++DATE= $(shell date "+$(DATE_FMT)")
> ++RFCDATE= $(shell date "+$(RFCDATE_FMT)")
> ++endif
> +
> + DEFS= -DAPRXVERSION="\"$(VERSION)\"" \
> + -DVARRUN="\"$(VARRUN)\"" -DVARLOG="\"$(VARLOG)\"" \
> --- a/debian/patches/series 2017-02-04 20:52:52.229969976 +1300
> --- b/debian/patches/series 2017-02-04 21:28:58.273291825 +1300
> @@ -1 +1,2 @@
>  01-man-page.patch
> +02-reproducible-builds.patch


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#854111: marked as done (aprx: please make the build reproducible)

Debian Bug Tracking System
In reply to this post by Chris Lamb -2
Your message dated Thu, 27 Sep 2018 04:04:33 +0000
with message-id <[hidden email]>
and subject line Bug#854111: fixed in aprx 2.9.0+dfsg-2
has caused the Debian Bug report #854111,
regarding aprx: 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 [hidden email]
immediately.)


--
854111: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854111
Debian Bug Tracking System
Contact [hidden email] with problems

Source: aprx
Version: 2.9.0+dfsg-1
Severity: wishlist
Tags: patch
User: [hidden email]
Usertags: timestamps
X-Debbugs-Cc: [hidden email]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that aprx could not be built reproducibly.

Patch attached.

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


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [hidden email] / chris-lamb.co.uk
       `-

Source: aprx
Source-Version: 2.9.0+dfsg-2

We believe that the bug you reported is fixed in the latest version of
aprx, 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 [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christopher Knadle <[hidden email]> (supplier of updated aprx 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 [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 27 Sep 2018 03:20:51 +0000
Source: aprx
Binary: aprx
Architecture: source
Version: 2.9.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <[hidden email]>
Changed-By: Christopher Knadle <[hidden email]>
Description:
 aprx       - APRS Digipeater and iGate
Closes: 854111 855623
Changes:
 aprx (2.9.0+dfsg-2) unstable; urgency=medium
 .
   * debian/aprx.init
     - Update to rename DAEMON_ARGS variable to DAEMON_OPTS to match
       variable name in /etc/default
   * debian/compat:
     - Update from debhelper compatibility 9 to 11
   * debian/control:
     - Update Build-Depends for debhelper >=11
     - Update Vcs-Browser and Vcs-Git links to point to repository on Salsa
     - Remove Build-Depends libssl-dev and Depends openssl (Closes: #855623)
       Thanks to Sebastian Andrzej Siewior <[hidden email]> for
       reporting the bug and examining the compile process.
     - Update Standards-Version to 4.2.1
       Changes:
         - Update copyright-format URL to use https for Debian Policy § 12.5
         - Update Priority: "extra" to "optional" for Debian Policy § 2.5
         - Update aprx.default to remove environment STARTAPRX variable for
           daemon enable/disable for Debian Policy § 9.3.3.1
         - Update aprx.init script to remove /etc/default check for daemon
           enable/disable
         - Add aprx.README.Debian for explanation of using update-rc.d to
           enable/disable daemon for sysvinit, and systemctl commands for
           enable/disable with systemd
         - Update debian/rules for DH_VERBOSE=1 to increase build verbosity
           as requested in Debian Policy § 4.9
   * debian/copyright:
     - Update copyright years for debian/* section
   * debian/patches:
     - Add 02-reproducible-builds.patch to make build reproducible.
       Thanks to Chris Lamb <[hidden email]> for filing the bug, including a
       patch with a fix, and finding the Git commit to the fix upstream. :)
       (Closes: #854111)
Checksums-Sha1:
 a5eb404323971a779cce339ef7d17d8fe7129a22 1984 aprx_2.9.0+dfsg-2.dsc
 01dd9409c0cfc9f20c7749b3f8920e88b2531d97 1161799 aprx_2.9.0+dfsg.orig.tar.gz
 84636bd5fd2bac0a32fb856bbe31b6e9f6d024ce 8212 aprx_2.9.0+dfsg-2.debian.tar.xz
 aeca0e284f0d7bcbaf2c211d6a44dfb5cca18895 5706 aprx_2.9.0+dfsg-2_source.buildinfo
Checksums-Sha256:
 0671ee38b874fbe748b210689fca202b72bcfa65a080fa2bdc633827e5a1d930 1984 aprx_2.9.0+dfsg-2.dsc
 a09208f94db5ea3aeca9abf7e0589c624ebc736740beb2ea8af83023390c5af9 1161799 aprx_2.9.0+dfsg.orig.tar.gz
 21d6697e5950b20cfe2fbe59aaf81d8ba1418b2537fcf858f14b54759cb99611 8212 aprx_2.9.0+dfsg-2.debian.tar.xz
 4c75b5d40a24f3f8fd178919464e499777b816b9acef5b83340f5bbb13debcec 5706 aprx_2.9.0+dfsg-2_source.buildinfo
Files:
 3f5741d480f9721f4c1b5fc09fc13f2c 1984 hamradio optional aprx_2.9.0+dfsg-2.dsc
 b78cddef0ba071ac840e0773193a36ce 1161799 hamradio optional aprx_2.9.0+dfsg.orig.tar.gz
 f1b5398175265185639efa14a951907b 8212 hamradio optional aprx_2.9.0+dfsg-2.debian.tar.xz
 163d17bac2c73acaf270d34ab3d9c09f 5706 hamradio optional aprx_2.9.0+dfsg-2_source.buildinfo

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

iQIzBAEBCgAdFiEEe1KzyGmRW/4DhtV6ieLKD9m6RHAFAlusUWUACgkQieLKD9m6
RHCojw/9E/DXQLbivFDvDxnjUsazi4ndSaNIznts1BjQmxkc4kOUXvuqDWPgveSz
reo9rlCoPrq1VZfWycjTwQsQQM5WUsHW0SvDjNxScz9v8WLfZoUSK7d9dtZlL8J4
Y5s9fnzRxoDq+HjYWzcvqikcyl0XsZyobe5CxU6MLn0X+NfeAwi8Hr3nHHUMJZBR
TocqC11gtI6rhGL5oIwftkOyCjxVjCGWnmKF3lZCuko6mXGJppCkhOr1bhNHsKBf
XpTOwPL5s0gi272K94SUa1DxfS0XChCFps0LpWyLYYK0kkg6VP4a4ok1wCbwAfip
DDBL0DxKOs8zuaHr17+e8sPHbLQqYqPu8ftJ7Lpe4eLzKlHEAAKqRwHa0MMQTLFs
0NZ+DAryX6ZCzmwkCEACNE+jSFy5UIv8Nd1x0LAIkDq3V3xcwctIzQHWMGHi9NF1
lW7jWuc25iT8Is41xQlRYDSh8ICVXF8fo1B5Zd1pZzxqidEd7lkGhUIPj+H4yzZQ
WmLzk1I28wvg0uMYEXocYii9DpEoRLoyHeDfTcyH0LGiO3ViGq9yBMEBHBy9odxr
DWzZZD9kINgEjZpUp2ZGUFrTUb0pMHM15LEgagNxhYPsZybiZlzgGjSQuhYItUdS
f1sjwEG5Zz7qF0cpDEsvWYlh8kVVlpOI9A3Iiz7+GLIXsT3+E3I=
=1uLQ
-----END PGP SIGNATURE-----

aprx.diff.txt (1K) Download Attachment