[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#998313: marked as done (input-pad: please make the build reproducible)



Your message dated Tue, 02 Nov 2021 17:51:34 +0000
with message-id <E1mhxwc-0001C4-SC@fasolo.debian.org>
and subject line Bug#998313: fixed in input-pad 1.0.99.20210817-2
has caused the Debian Bug report #998313,
regarding input-pad: 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 owner@bugs.debian.org
immediately.)


-- 
998313: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998313
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: input-pad
Version: 1.0.99.20210817-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
input-pad could not be built reproducibly.

This is because various files include the current build timestamp.
A patch is attached that uses SOURCE_DATE_EPOCH for these dates if
that variable is available.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-build.patch	2021-11-02 09:28:52.657041702 +0000
@@ -0,0 +1,24 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2021-11-02
+
+--- input-pad-1.0.99.20210817.orig/configure.ac
++++ input-pad-1.0.99.20210817/configure.ac
+@@ -30,7 +30,7 @@ m4_define([pad_abi_revision],
+           [m4_eval(100 * pad_minor_version + pad_micro_version)])
+ m4_define([pad_abi_age], [0])
+ m4_define(pad_maybe_datestamp,
+-    m4_esyscmd([if test x]pad_released[ != x1; then date +.%Y%m%d | tr -d '\n\r'; fi]))
++    m4_esyscmd([if test x]pad_released[ != x1; then date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" '+%a %b %d %Y' +.%Y%m%d | tr -d '\n\r'; fi]))
+ 
+ m4_define([pad_version],
+     pad_major_version.pad_minor_version.pad_micro_version[]pad_maybe_datestamp)
+@@ -77,7 +77,7 @@ IT_PROG_INTLTOOL([0.35.0])
+ 
+ dnl - For dislpay Date
+ m4_define(pad_datedisplay,
+-    m4_esyscmd(date '+%a %b %d %Y' | tr -d '\n\r'))
++    m4_esyscmd(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" '+%a %b %d %Y' | tr -d '\n\r'))
+ DATE_DISPLAY="pad_datedisplay"
+ AC_SUBST(DATE_DISPLAY)
+ 
--- a/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series	2021-11-02 09:25:37.300415913 +0000
@@ -0,0 +1 @@
+reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: input-pad
Source-Version: 1.0.99.20210817-2
Done: Boyuan Yang <byang@debian.org>

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

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated input-pad 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: SHA512

Format: 1.8
Date: Tue, 02 Nov 2021 13:30:27 -0400
Source: input-pad
Architecture: source
Version: 1.0.99.20210817-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 998313
Changes:
 input-pad (1.0.99.20210817-2) unstable; urgency=medium
 .
   * Team upload.
   * debian/patches: Add patch to make the build reproducible.
     (Closes: #998313)
Checksums-Sha1:
 93cea131d51ba66ad25cd346714be488740bfb7d 2501 input-pad_1.0.99.20210817-2.dsc
 e9facdf26fef1506851fb04cb26b2f9ec839f028 416291 input-pad_1.0.99.20210817.orig.tar.gz
 de0f7b52e7936e5ea9b6ccd0eb8f3f72e380af30 5764 input-pad_1.0.99.20210817-2.debian.tar.xz
 f74c26eb80d6687e405fcc69ad21bb12ba0c07d1 17022 input-pad_1.0.99.20210817-2_amd64.buildinfo
Checksums-Sha256:
 3e23c2d41efacc6eab40bddabc53749b2ac623c43c6d2ec14321f99f13a263ed 2501 input-pad_1.0.99.20210817-2.dsc
 49ef51c8f88462c9fb4ccaf567ad7fb818deb17125a2832dfc85d5501a5d5201 416291 input-pad_1.0.99.20210817.orig.tar.gz
 5e058ae32296e1929d44be9bc27341529d87f36f8988d7a9cbac837ce95edc97 5764 input-pad_1.0.99.20210817-2.debian.tar.xz
 271fd7539c30ca3f7ff43c347836afeb1cad41879e101926b5cb4df150b1f787 17022 input-pad_1.0.99.20210817-2_amd64.buildinfo
Files:
 5e244d37f9eacdc471dd03bb19a9e558 2501 utils optional input-pad_1.0.99.20210817-2.dsc
 79fa2d4950c73318bf577163ed25be76 416291 utils optional input-pad_1.0.99.20210817.orig.tar.gz
 032c8fb50fd1038ace1e0ff4b3c572e5 5764 utils optional input-pad_1.0.99.20210817-2.debian.tar.xz
 16ba7fb94a2bd861bf08fcf275f669c4 17022 utils optional input-pad_1.0.99.20210817-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmGBdqIACgkQwpPntGGC
Ws4XrQ//Q5Gr76TeWA/y4oiW2upCGpmQIfYTvAGNAGF6yczmnloGsnLCM0EA4A1g
nInEs25h4IIpI2OFgwBMScZeZ4YGpPswy7sPrk7ZeRnN8LhpoC9OhHNEPb6vEU2k
3TMp5Zumz5n9zwmgu/ZywYEyNChrcSkfjUXAkMr3JPPcEH6BU6jyYvyMZfD1T7XX
SBkmxcT4nThWBVk/zoY6F1awBVd26L3rNXI0u+7aSolJ4YZc1igjxbzIpCyihqqv
QdQv1nts2xfdYHlRopnFWQlwaGkqlZNWQOtituw0AdWhQBErUnSCvLiMQwrGGLfK
IYl7QUpYQcruH6QZ9DtY53C4YPHUUJ/bf5McSM5no+jJsl0dWPQnoNH/1cRwHG1P
KPwz4ob9eCt3zZx8KwK3sAhlW01+3o6hz7AO9p+tD0nN8eIztmziqCxr5+jXGeQk
9vU/e9mMgjkWJJnqphU0U8inAvyLLYK04Gc/UKWQ6JHf2YBuEwG+vyfOt1gqNPeK
57z47pHzcqwNHUbpTVOnt+vzSxoiGfeb/v8L96f1p2xC6Bv6ecVpbCCnX2bYbkkv
hGR87M6PRnk6gCW/KbjFd543+d3SPonxJEohPGvbYbH5YSivj1zTO8vleVpfyadt
seKkqTAIO1t768AUfdongwWVEqCXmcmUJg7WQEfGZB3niX9G6mc=
=c0D7
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: