Your message dated Fri, 11 May 2018 12:41:18 +0200
with message-id <[email protected]>
and subject line reproducible builds
has caused the Debian Bug report #833440,
regarding wmweather+: 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 [email protected]
immediately.)


-- 
833440: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833440
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: wmweather+
Version: 2.15-1.1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that wmweather+ could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/control    2016-08-04 07:29:22.553249971 +0100
--- b/debian/control    2016-08-04 07:46:02.637257232 +0100
@@ -2,7 +2,7 @@
 Section: x11
 Priority: optional
 Maintainer: Martin Stigge <[email protected]>
-Build-Depends: libpcre3-dev, libcurl4-gnutls-dev, libwraster-dev, debhelper 
(>= 9)
+Build-Depends: libpcre3-dev, libcurl4-gnutls-dev, libwraster-dev, debhelper 
(>= 9), dh-autoreconf
 Standards-Version: 3.9.6
 Vcs-Browser: 
http://anonscm.debian.org/viewvc/collab-maint/deb-maint/wmweather%2B/
 Vcs-Svn: svn://anonscm.debian.org/collab-maint/deb-maint/wmweather+/
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible-build.patch   2016-08-04 07:36:40.928734507 
+0100
@@ -0,0 +1,20 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2016-08-04
+
+--- wmweather+-2.15.orig/configure.ac
++++ wmweather+-2.15/configure.ac
+@@ -11,7 +11,12 @@ AH_VERBATIM([_GNU_SOURCE],
+ # define _GNU_SOURCE
+ #endif])
+ 
+-DATE=`date '+%B %e, %Y'`
++if test -n "$SOURCE_DATE_EPOCH"; then
++     DATE=`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH" '+%B %e, %Y'`
++else
++     DATE=`date '+%B %e, %Y'`
++fi
++
+ AC_SUBST(DATE)
+ AC_SUBST(VERSION)
+ 
--- a/debian/patches/series     1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series     2016-08-04 07:36:39.616724016 +0100
@@ -0,0 +1 @@
+reproducible-build.patch
--- a/debian/rules      2016-08-04 07:29:22.553249971 +0100
--- b/debian/rules      2016-08-04 07:45:52.461174764 +0100
@@ -15,7 +15,7 @@
 
 
 %:
-       dh $@
+       dh $@ --with=autoreconf
 
 override_dh_auto_install:
        cp -f wmweather+ debian/wmweather+/usr/bin/wmweather+

--- End Message ---
--- Begin Message ---
this seems to be fixed with the latest upload

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/wmweather+.html

--- End Message ---

Reply via email to