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

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



Your message dated Tue, 07 Dec 2021 20:48:46 +0000
with message-id <E1muhOI-0000ta-4M@fasolo.debian.org>
and subject line Bug#998312: fixed in ibus-input-pad 1.4.99.20140916-2
has caused the Debian Bug report #998312,
regarding ibus-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.)


-- 
998312: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998312
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ibus-input-pad
Version: 1.4.99.20140916-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
ibus-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:24:23.892134087 +0000
@@ -0,0 +1,24 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2021-11-02
+
+--- ibus-input-pad-1.4.99.20140916.orig/configure.ac
++++ ibus-input-pad-1.4.99.20140916/configure.ac
+@@ -26,7 +26,7 @@ m4_define([ibus_minor_version], [4])
+ m4_define([ibus_micro_version], [99])
+ m4_define([pad_abi_current], [1])
+ m4_define(ibus_maybe_datestamp,
+-    m4_esyscmd([if test x]ibus_released[ != x1; then date +.%Y%m%d | tr -d '\n\r'; fi]))
++    m4_esyscmd([if test x]ibus_released[ != x1; then date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +.%Y%m%d | tr -d '\n\r'; fi]))
+ 
+ m4_define([ibus_version],
+     ibus_major_version.ibus_minor_version.ibus_micro_version[]ibus_maybe_datestamp)
+@@ -56,7 +56,7 @@ IT_PROG_INTLTOOL([0.35.0])
+ 
+ dnl - For dislpay Date
+ m4_define(ibus_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="ibus_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:24:23.060130720 +0000
@@ -0,0 +1 @@
+reproducible-build.patch

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

We believe that the bug you reported is fixed in the latest version of
ibus-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 998312@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 ibus-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, 07 Dec 2021 15:21:24 -0500
Source: ibus-input-pad
Architecture: source
Version: 1.4.99.20140916-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 998312
Changes:
 ibus-input-pad (1.4.99.20140916-2) unstable; urgency=medium
 .
   * Team upload.
   * debian/patches: Add patch from Chris Lamb to make the build
     reproducible. (Closes: #998312)
Checksums-Sha1:
 8b8dc2c5dee17183fea3ed9c10a0fcbfd8de0541 2247 ibus-input-pad_1.4.99.20140916-2.dsc
 7323eb89f1e2be6e68feeac6a4c9065615801342 31154 ibus-input-pad_1.4.99.20140916.orig.tar.gz
 9ccc454f8432e1332f73ecf82a11e67eb2ea1150 3148 ibus-input-pad_1.4.99.20140916-2.debian.tar.xz
 9d8fa3f468f60d020ae9c46a45d951bd754d55eb 15049 ibus-input-pad_1.4.99.20140916-2_amd64.buildinfo
Checksums-Sha256:
 f7199e426e84f581a906bce7528ad477e423e4cf91de6e1979cc6fe4a78233b3 2247 ibus-input-pad_1.4.99.20140916-2.dsc
 c41260cce3380a01e4592cb920616cc7d1ea305166245783d75f8182d40bde8a 31154 ibus-input-pad_1.4.99.20140916.orig.tar.gz
 0a51e6cbdd0b6d862b45111a991495753bd1ba8cad3a62089c338f178b7d70c3 3148 ibus-input-pad_1.4.99.20140916-2.debian.tar.xz
 435cdd6de4f6e461d62470deec4b629716b06e112c18a6c72073ffda4000d015 15049 ibus-input-pad_1.4.99.20140916-2_amd64.buildinfo
Files:
 9d08c1775356682727ac0c1f5563f59b 2247 utils optional ibus-input-pad_1.4.99.20140916-2.dsc
 de1292472758e58c6865e5eadd29f6b6 31154 utils optional ibus-input-pad_1.4.99.20140916.orig.tar.gz
 bede734d6d8e1a734ea628a5bbddf107 3148 utils optional ibus-input-pad_1.4.99.20140916-2.debian.tar.xz
 3e16f154d364a57c6e2a646d4a2442e9 15049 utils optional ibus-input-pad_1.4.99.20140916-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmGvwxYACgkQwpPntGGC
Ws6CrA/+KECNJvGIhovwvAYJ24qNPBtcbIZhi18gduCsU0yd1o70EilwFkKiPXTp
/iAX+8DBMQMVKHjn1v5q6xrJTS8b2ujPMaIeULAiDKVQMtV0EfiaNxRNYglQSYwf
jM+SJ/OrgmSuS7C8QAbStXecl7xXpHv4g8eWk/92e/rI2hpPulTk1eKoQQDD3KOV
6DhHGc920iYQTbZTrm6CN1GgxU0XIVDT7pHwj/DjRMNmdNy4fpNghFR1I8tM+loV
XXEgj5elmRLJZQnvksgvFCrddgL1L6rF+ryGOyF0fwurSePm9QImQJtLJJnKjVuz
cCsfk7rqljNuNtkblu6nkpKPtX5o+Ob4FeRKe3T/YbbMq4x09P1BazD3fJseMKO5
OVoWr/SpdYgKmSDYk46q7TRokLpuM1oAJwBtX896K/8IxZ68ggVnOs4yJNxL2xLv
ZHhrjuIiuv7M7zM+qQRxBD0yW+LKMIuo3QK2TUWhnoN6f55Pt0qei03F4fD0NQqS
745t/JIW6qrOvJxc7HcZeAwo/4DHYuk13zxFrkH0VLRToC0ACVC2EVHa1oX5nPsK
FbliyglBpBB3EYh4SAV9FZTjUBPkC+oTwTWpjTFBjAvXdSGgvDMAW/IVnAKLrp2X
TiiGGCK72LOPBTWd1ka4aoYq/CgoChiutmClxri/7bduelXWsQE=
=znkx
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: