Your message dated Thu, 01 Jun 2023 08:49:31 +0000
with message-id <e1q4dzv-000jro...@fasolo.debian.org>
and subject line Bug#1035704: fixed in proj 9.2.1-1~exp1
has caused the Debian Bug report #1035704,
regarding proj: reproducible-builds: timezone-dependent timestamps in .gsb/.gtx 
files
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 ow...@bugs.debian.org
immediately.)


-- 
1035704: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035704
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: proj
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Various .gsb and .gtx files get touched in the build process in a way
that results in a timezone-dependent timestamp for these files in the
shipped package:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/proj.html

  
-rw-r--r--···0·root·········(0)·root·········(0)····83696·2018-02-22·07:28:23.000000·./usr/share/proj/BETA2007.gsb
  vs.
  
-rw-r--r--···0·root·········(0)·root·········(0)····83696·2018-02-21·05:28:23.000000·./usr/share/proj/BETA2007.gsb

The attached patch fixes this by not touching these files during the
build process.

According to my local tests, with this patch applied, proj should build
reproducibly on tests.reproducible-builds.org once it lands in
bookworm/testing!

Unfortunately, there are unresolved issues with build paths, which are
tested in unstable and experimental, so will not show as reproducible
there without further fixes.


Thanks for maintaining proj!


live well,
  vagrant
From 25dbf89dae803e4e5e207c253d9f83c889680ed9 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Tue, 2 May 2023 16:39:31 -0700
Subject: [PATCH] debian/datumgrids*.shar: Avoid updating timestamps.

This results in timezone-specific differences in various .gsb and .gtx
files.

https://reproducible-builds.org/docs/timestamps/
---
 debian/datumgrids-ch.shar | 21 ++-------------------
 debian/datumgrids.shar    | 21 ++-------------------
 2 files changed, 4 insertions(+), 38 deletions(-)

diff --git a/debian/datumgrids-ch.shar b/debian/datumgrids-ch.shar
index 308ca93..37194b7 100644
--- a/debian/datumgrids-ch.shar
+++ b/debian/datumgrids-ch.shar
@@ -84,25 +84,8 @@ st2=123123592001.59
 st2tr=123123592001.5 # old SysV 14-char limit
 st3=1231235901
 
-if   touch -am -t ${st1} ${f} >/dev/null 2>&1 && \
-     test ! -f ${st1} && test -f ${f}; then
-  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
-
-elif touch -am ${st2} ${f} >/dev/null 2>&1 && \
-     test ! -f ${st2} && test ! -f ${st2tr} && test -f ${f}; then
-  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
-
-elif touch -am ${st3} ${f} >/dev/null 2>&1 && \
-     test ! -f ${st3} && test -f ${f}; then
-  shar_touch='touch -am $3$4$5$6$2 "$8"'
-
-else
-  shar_touch=:
-  echo
-  ${echo} 'WARNING: not restoring timestamps.  Consider getting and
-installing GNU '\''touch'\'', distributed in GNU coreutils...'
-  echo
-fi
+# Avoid mangling timestamps
+shar_touch=:
 rm -f ${st1} ${st2} ${st2tr} ${st3} ${f}
 #
 if test ! -d ${lock_dir} ; then :
diff --git a/debian/datumgrids.shar b/debian/datumgrids.shar
index d9a0161..f41ae56 100644
--- a/debian/datumgrids.shar
+++ b/debian/datumgrids.shar
@@ -97,25 +97,8 @@ st2=123123592001.59
 st2tr=123123592001.5 # old SysV 14-char limit
 st3=1231235901
 
-if   touch -am -t ${st1} ${f} >/dev/null 2>&1 && \
-     test ! -f ${st1} && test -f ${f}; then
-  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
-
-elif touch -am ${st2} ${f} >/dev/null 2>&1 && \
-     test ! -f ${st2} && test ! -f ${st2tr} && test -f ${f}; then
-  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
-
-elif touch -am ${st3} ${f} >/dev/null 2>&1 && \
-     test ! -f ${st3} && test -f ${f}; then
-  shar_touch='touch -am $3$4$5$6$2 "$8"'
-
-else
-  shar_touch=:
-  echo
-  ${echo} 'WARNING: not restoring timestamps.  Consider getting and
-installing GNU '\''touch'\'', distributed in GNU coreutils...'
-  echo
-fi
+# avoid mangling timestamps on files
+shar_touch=:
 rm -f ${st1} ${st2} ${st2tr} ${st3} ${f}
 #
 if test ! -d ${lock_dir} ; then :
-- 
2.39.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: proj
Source-Version: 9.2.1-1~exp1
Done: Bas Couwenberg <sebas...@debian.org>

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

Debian distribution maintenance software
pp.
Bas Couwenberg <sebas...@debian.org> (supplier of updated proj 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 01 Jun 2023 09:38:42 +0200
Source: proj
Architecture: source
Version: 9.2.1-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-de...@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebas...@debian.org>
Closes: 1035704 1036939
Changes:
 proj (9.2.1-1~exp1) experimental; urgency=medium
 .
   * New upstream release.
   * Set TZ=UTC to make datumgrid timestamps reproducible.
     (closes: #1035704)
   * Enable CMAKE_BUILD_RPATH_USE_ORIGIN for reproducible builds.
     (closes: #1036939)
   * Update symbols for other architectures.
   * Strip pre-releases from symbols version.
Checksums-Sha1:
 3429f507e426e84ff529a364f07b1c52a56af9f6 2256 proj_9.2.1-1~exp1.dsc
 0ee9398015bc2aaf4ec4606c2edece1c30d02024 5536575 proj_9.2.1.orig.tar.gz
 499f5e2addec21d61a59cb266c802644c9beb7db 10212588 
proj_9.2.1-1~exp1.debian.tar.xz
 ec7faee126e31f9ffb21c009e2b90cf579ab9a71 10275 
proj_9.2.1-1~exp1_amd64.buildinfo
Checksums-Sha256:
 35d10b0d9464d54a46c4f561108ffb7d49e68c813870c6038d6a8d2966db1516 2256 
proj_9.2.1-1~exp1.dsc
 15ebf4afa8744b9e6fccb5d571fc9f338dc3adcf99907d9e62d1af815d4971a1 5536575 
proj_9.2.1.orig.tar.gz
 36709814c0954558426c467658530d40207fd6f642e4350c7caa582533a22756 10212588 
proj_9.2.1-1~exp1.debian.tar.xz
 fa4693e258c5cd9c1cba79079b201f70179d9a45ef308c4e4372fc4e263b091d 10275 
proj_9.2.1-1~exp1_amd64.buildinfo
Files:
 2ddd4a65b96d4a79e329ede28f396cad 2256 science optional proj_9.2.1-1~exp1.dsc
 c8e878049ef27330ac94624e1a75b0db 5536575 science optional 
proj_9.2.1.orig.tar.gz
 135fd2558db92e7693e21816bc8d632b 10212588 science optional 
proj_9.2.1-1~exp1.debian.tar.xz
 8f518f08166aacd64801c150c1b37b83 10275 science optional 
proj_9.2.1-1~exp1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmR4VJ4ACgkQZ1DxCuiN
SvE/zBAAwjQqohtoJ0VlmhkA4thwOjksUvGF7mNJafxttJmzCIs2xb7tmM5qK8PK
ZFCGjOIEw9ZJTwaVkEukLmgI/ckakIqxtGlOOfLspe+44yv322a3KVINRljIcQ7E
er70kJaWKN3OL047xN4UBUd0ofnGSkv80iTcVDppkWAib3BJc/CJ3SBUikhbFqH9
WxxTdoZKWW2mWblsDgbnNwAY7gFa/hj6xWO7ebDNmCZdSvlEI3OML3Vq8s7FPHDE
8RCzfrWWvmcldvIEelU0xkSIyJttzVcm/ly63DGS78ClLx/7lpMDYUvvpMO98bSN
Nn4z4okX6ZuCmnOuxQgTeGBLyi43hDQ5wIWjJVKbGEYJq/mFUEdiQNTxianlmmml
XJubWVP5Y+ZmweF26qTn9Z7NXmQpUCyTLbqDlI4ZZSrKO2A3KoZMkdzPCcurs5nN
/tqXuOT0M7GPRn/gyF+AXZYEkLK4481pTYfbWbo1wVDfGeLm+df+9K5l5zC1vW7N
BCYh1AWaWrfaR9bMB/A+eGAFcdrWFlFnIennUGstKdH1Ev5xDV1NXu9KEPj8au3i
59FaCxcNgDSGPftxsiaxGhp4efqwjjyY4jbkWNj2pVLsnl8gypfnu0/PII6eWHAs
L26AVAJSW2N+oqDSmf+fGvNeqZQkDQTaorm6Dcp1oeTkJ/vmwPY=
=T7ay
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to