Your message dated Thu, 01 Dec 2022 12:39:45 +0000
with message-id <[email protected]>
and subject line Bug#1012836: fixed in mapproxy 1.15.1-2
has caused the Debian Bug report #1012836,
regarding mapproxy: 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.)


-- 
1012836: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012836
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mapproxy
Version: 1.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
mapproxy could not be built reproducibly.

This is because the default value for the "last_change" field in the
gpkg sqlite file contains the current date:

  last_change DATETIME NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ','now'))

Patch attached that uses SOURCE_DATE_EPOCH instead if it's available.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible-build.patch   2022-06-15 08:17:12.678035546 
+0100
@@ -0,0 +1,48 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2022-06-15
+
+--- mapproxy-1.15.1.orig/mapproxy/cache/geopackage.py
++++ mapproxy-1.15.1/mapproxy/cache/geopackage.py
+@@ -14,12 +14,14 @@
+ # limitations under the License.
+ 
+ 
++import datetime
+ import hashlib
+ import logging
+ import os
+ import re
+ import sqlite3
+ import threading
++import time
+ 
+ from mapproxy.cache.base import TileCacheBase, tile_buffer, REMOVE_ON_UNLOCK
+ from mapproxy.compat import BytesIO, PY2, itertools
+@@ -305,6 +307,10 @@ AUTHORITY["EPSG","9122"]],AUTHORITY["EPS
+                 log.info("srs_id already exists.".format(wkt_entry[0]))
+         db.commit()
+ 
++        last_change = datetime.datetime.utcfromtimestamp(
++            int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))
++        )
++
+         # Ensure that tile table exists here, don't overwrite a valid entry.
+         try:
+             db.execute("""
+@@ -313,6 +319,7 @@ AUTHORITY["EPSG","9122"]],AUTHORITY["EPS
+                             data_type,
+                             identifier,
+                             description,
++                            last_change,
+                             min_x,
+                             max_x,
+                             min_y,
+@@ -323,6 +330,7 @@ AUTHORITY["EPSG","9122"]],AUTHORITY["EPS
+                               "tiles",
+                               self.table_name,
+                               "Created with Mapproxy.",
++                              last_change,
+                               self.tile_grid.bbox[0],
+                               self.tile_grid.bbox[2],
+                               self.tile_grid.bbox[1],
--- a/debian/patches/series     2022-06-15 08:07:44.807660859 +0100
--- b/debian/patches/series     2022-06-15 08:17:10.749995438 +0100
@@ -1 +1,2 @@
 disable-tag_date.patch
+reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: mapproxy
Source-Version: 1.15.1-2
Done: Bas Couwenberg <[email protected]>

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

Debian distribution maintenance software
pp.
Bas Couwenberg <[email protected]> (supplier of updated mapproxy 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 [email protected])


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

Format: 1.8
Date: Thu, 01 Dec 2022 12:46:51 +0100
Source: mapproxy
Architecture: source
Version: 1.15.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
Closes: 1012836
Changes:
 mapproxy (1.15.1-2) unstable; urgency=medium
 .
   [ Bas Couwenberg ]
   * Add patch by Chris Lamb to make the build reproducible.
     (closes: #1012836)
   * Bump Standards-Version to 4.6.1, no changes.
   * Add Rules-Requires-Root to control file.
   * Update lintian overrides.
 .
   [ Angelos Tzotsos ]
   * Added patch to work with mapnik supporting latest proj.
Checksums-Sha1:
 9dcdc0ebf223e566c472df18b5fa1ab98eb768d9 2346 mapproxy_1.15.1-2.dsc
 219aed6bd2bcb17a3a4fdf9fc084d11e7340f790 20496 mapproxy_1.15.1-2.debian.tar.xz
 861e125b4fb4dc30dff280aa79a5e010b86d71ba 16789 
mapproxy_1.15.1-2_amd64.buildinfo
Checksums-Sha256:
 74b5c412700cff1df373a3a174035f311b1e9568c05d7c9b87d4eac5a90008c8 2346 
mapproxy_1.15.1-2.dsc
 c2053dfe748fa040d5d0f578cdec82f572efa4dd8cfbf8438284951383e8f2d5 20496 
mapproxy_1.15.1-2.debian.tar.xz
 dd9324d7db92b5a01e7c61eecede968158616d9da634515708bd1e144d596295 16789 
mapproxy_1.15.1-2_amd64.buildinfo
Files:
 9d35c99a99df31efac712dbbf7db1459 2346 python optional mapproxy_1.15.1-2.dsc
 427f39e410c63c0fd750df69ee10ab01 20496 python optional 
mapproxy_1.15.1-2.debian.tar.xz
 06eac88d3afe02292ae0cc4c13928a94 16789 python optional 
mapproxy_1.15.1-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmOImKIACgkQZ1DxCuiN
SvHTRg/+MwvxKMUCz7AfeBlJ4LZbqRldBe/GlWBCQ3Y+XpRATmiY1Jsj0Htw1zzC
PSqlx0Pw+NP61k+TRy/tvmA8/76YEZa8npcbOKmtKRTScpW0m+hspowwmhTLVkFm
xkug93qxwkP4BSS6tXXlmiP6hyVx3mPviZSp95WwAz4qCfoFeHP4MuC3pEE7Cl8R
LB8avFGxvbpCSiLNwFB0ZCH9zMqatkM/ACrLQcPIALeyevPUlxaPVnjsBPZmhG9r
imBptiwXYoTrGYNqPeF2bJ6umrOF2mDrX7GLQPrzkezzJ7z6nTv6Ib1FBjTsvCyP
vcpB+mlmh0igRLZvDP4rPFpT9Idpi1s95rzu7wxSyAoW+tAcUdQO0h/FRy8MO7fi
jm+0VdVkK4fl9zjHZP6gdicIGia0eZAMuS+4hc8aQCCaENhRNhlhD1QbZKkaEd+v
0A3JBYgS30uas45RNb/fViCmrvZ/6KthUXGT72S6uW2m/AWdUZb7GLAu4mMIigA0
GLmCQ1yDbRI50N2YgQgC7nLAmYpr2pWO152tt+HbtBqZaKiLzzAUlqQlKe0vixs0
hvNqDr/EIhJP6VZwr9PtSx64vY17B3sDMKAJiMa6ebph+fVoqLPA89VHXbVFD9ig
mjN/BN1zvBkjLkAiew5AyhD0KWAZW5S2rqvcw/lBQXugmbpOUUY=
=C8De
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to