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

Bug#951357: marked as done (mate-desktop: please make the build reproducible)



Your message dated Thu, 20 Feb 2020 07:20:52 +0000
with message-id <E1j4g8i-00038H-Gz@fasolo.debian.org>
and subject line Bug#951357: fixed in mate-desktop 1.24.0-2
has caused the Debian Bug report #951357,
regarding mate-desktop: 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.)


-- 
951357: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951357
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: mate-desktop
Version: 1.24.0-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
mate-desktop could not be built reproducibly.

This is is because it generated a "release year" based on the current
build date which was embedded in the binary. A patch attached that
uses SOURCE_DATE_EPOCH. [1]

 [0] https://reproducible-builds.org/
 [1] https://reproducible-builds.org/docs/source-date-epoch/


Best wishes,

-- 
      ,''`.
     : :'  :     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	2020-02-15 09:13:42.840879272 +0000
@@ -0,0 +1,16 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2020-02-15
+
+--- mate-desktop-1.24.0.orig/configure.ac
++++ mate-desktop-1.24.0/configure.ac
+@@ -62,6 +62,9 @@ AC_DEFINE(MATE_MINOR, [mate_minor], [Def
+ AC_DEFINE(MATE_MICRO, [mate_micro], [Define to the micro version])
+ 
+ RELEASE_YEAR=`date +%Y`
++if test "x$SOURCE_DATE_EPOCH" != "x"; then
++	RELEASE_YEAR=`date -u -d "@$SOURCE_DATE_EPOCH" +%Y 2>/dev/null || date -u -r $SOURCE_DATE_EPOCH +%Y || date -u +%Y`
++fi
+ AC_SUBST([RELEASE_YEAR])
+ 
+ AC_ARG_ENABLE(deprecation_flags,
--- a/debian/patches/series	2020-02-15 09:06:22.606417590 +0000
--- b/debian/patches/series	2020-02-15 09:13:40.864798339 +0000
@@ -1 +1,2 @@
 2001_prefer-x-terminal-emulator.patch
+reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: mate-desktop
Source-Version: 1.24.0-2
Done: Mike Gabriel <sunweaver@debian.org>

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

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated mate-desktop 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: Thu, 20 Feb 2020 07:56:25 +0100
Source: mate-desktop
Architecture: source
Version: 1.24.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian+Ubuntu MATE Packaging Team <debian-mate@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 951357
Changes:
 mate-desktop (1.24.0-2) unstable; urgency=medium
 .
   * debian/patches:
     + Add 2002_reproducible-build.patch. Make builds reproducible. Thanks to
       Chris Lamb for providing the patch. (Closes: #951357).
Checksums-Sha1:
 5e25069f57120966c996b8f9bb0dd6b575f64370 3000 mate-desktop_1.24.0-2.dsc
 5ea663d61f2b409aee25a19277dbfe5d1a09f757 12408 mate-desktop_1.24.0-2.debian.tar.xz
 4eaf8b77bdea0f9d0c4c609c925061785878687d 17165 mate-desktop_1.24.0-2_source.buildinfo
Checksums-Sha256:
 9455f4797eb883379c4e18f8478c6af0719e20482237542a0319307acc463e0e 3000 mate-desktop_1.24.0-2.dsc
 c30e1dcd194abd2cce28843c6ba70504f06c28838522a39b176d3d896bf60a66 12408 mate-desktop_1.24.0-2.debian.tar.xz
 4ead4da7319d6fb3ca89a06a840ec61c480c46be364f4100dff79dd1fd86a3a0 17165 mate-desktop_1.24.0-2_source.buildinfo
Files:
 8fa478e1449b3cd9fb7490dbcf380eaa 3000 x11 optional mate-desktop_1.24.0-2.dsc
 e7c2ab6aba5aab8b07650c40b263ed2c 12408 x11 optional mate-desktop_1.24.0-2.debian.tar.xz
 eed2539afacb922a852e87c9cc8e84cc 17165 x11 optional mate-desktop_1.24.0-2_source.buildinfo

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

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAl5OLb8VHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxINIP/RXsUaCAqC/vOpL4C0eyfr7/2633
qGeRbWNNZr2xnX02T4W5/eL359LT+omSjBU5G1Au7xaxR3UsmLDTYmEOuecMFa/P
SgDFX4hru+2vdHVbf0z1PEJplg6ifLteVCpDhZAF4sCr9ArSXIaNTfxXa/mTUk6S
0NzSo2h/E2GMQrS1uCQooF0/s/6EmPBJf6egYOe2j2F5H9TYFwMyyJTnV4Z7kW6F
0xQ2+BQLB3A2tfWMg3+JrqQsm3iOsJ/aBL05/1Asu0XFyR2HY2EDeInU+YMRFzbB
RSeGTF5xInNnLSstmFMiUVygHElRv8X3tBZgBQWDSS9fDJaqeSI3ojB07zO24iK4
t+SaxaY6WiNjDPcr6E0PbRsQDivnUEoqf/7BSVvnb6pdB9Btu5y0ggmmWuncBS5P
7XrBt5PtyZhBFVqqeo2vbSUPaczCN0/2Pqr+xrw9LgIpQlztH9Eou0NedtLMPPRi
6zPS44U+xLINOXT5llxZUg88UlCKeeYkqF5kUhyGs+B46srj3MUWyS+3TmPokIXd
ctIf1ZQwNWcucN2n6BuRIc9Cwo/9lPFpmr9ZMOd+dMY7Ht3mbbOKUCfo7Vr59FXG
0unC6imPWHu5791X72m+5XnvZkIMd3Lb11uLCvz1f9RWSTwd/Ce2fEz2goN3/hvY
TDoDif46keSRDqox
=vUhQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: