Debian Bug report logs - #1036939
proj: reproducible-builds: build paths trigger differences

version graph

Package: src:proj; Maintainer for src:proj is Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Tue, 30 May 2023 01:00:02 UTC

Severity: normal

Tags: patch

Found in version proj/9.1.1-1

Fixed in version proj/9.2.1-1~exp1

Done: Bas Couwenberg <sebastic@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>:
Bug#1036939; Package src:proj. (Tue, 30 May 2023 01:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>. (Tue, 30 May 2023 01:00:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: proj: reproducible-builds: build paths trigger differences
Date: Mon, 29 May 2023 17:57:11 -0700
[Message part 1 (text/plain, inline)]
Source: proj
Version: 9.1.1-1
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The RPATH contains the build path resulting in different buildid and
various other differences:

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

The attached patch modifies debian/rules to pass
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to dh_auto_configure.

With this patch applied (and the fix for #1035704 for timezone
differences), based on my local tests, proj should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining proj!

live well,
  vagrant
[0002-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch (text/x-diff, inline)]
From 8d10b60bdf740385e46bdba96b5b457825d34d2a Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 29 May 2023 16:13:34 -0700
Subject: [PATCH 2/2] debian/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via
 dh_auto_configure.

This avoids embedding the full path in RPATH, which triggers BuildId
differences.

https://tests.reproducible-builds.org/debian/issues/unstable/cmake_rpath_contains_build_path_issue.html
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 3a624ff..b2ac4a2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,7 +34,7 @@ override_dh_auto_clean:
 	dh_auto_clean
 
 override_dh_auto_configure: datumgrids
-	dh_auto_configure -- -DRUN_NETWORK_DEPENDENT_TESTS=OFF
+	dh_auto_configure -- -DRUN_NETWORK_DEPENDENT_TESTS=OFF -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON
 
 override_dh_auto_test:
 # Ignore test failures on problematic architectures only
-- 
2.39.2

[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>:
Bug#1036939; Package src:proj. (Tue, 30 May 2023 03:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to Sebastiaan Couwenberg <sebastic@xs4all.nl>:
Extra info received and forwarded to list. Copy sent to Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>. (Tue, 30 May 2023 03:33:03 GMT) (full text, mbox, link).


Message #10 received at 1036939@bugs.debian.org (full text, mbox, reply):

From: Sebastiaan Couwenberg <sebastic@xs4all.nl>
To: Vagrant Cascadian <vagrant@reproducible-builds.org>, 1036939@bugs.debian.org
Subject: Re: Bug#1036939: proj: reproducible-builds: build paths trigger differences
Date: Tue, 30 May 2023 05:28:29 +0200
Control: tags -1 pending

On 5/30/23 02:57, Vagrant Cascadian wrote:
> The RPATH contains the build path resulting in different buildid and
> various other differences:
> 
>    https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/proj.html
> 
> The attached patch modifies debian/rules to pass
> -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to dh_auto_configure.

Also applied in git.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1




Added tag(s) pending. Request was from Sebastiaan Couwenberg <sebastic@xs4all.nl> to 1036939-submit@bugs.debian.org. (Tue, 30 May 2023 03:33:03 GMT) (full text, mbox, link).


Reply sent to Bas Couwenberg <sebastic@debian.org>:
You have taken responsibility. (Thu, 01 Jun 2023 08:51:09 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Thu, 01 Jun 2023 08:51:09 GMT) (full text, mbox, link).


Message #17 received at 1036939-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1036939-close@bugs.debian.org
Subject: Bug#1036939: fixed in proj 9.2.1-1~exp1
Date: Thu, 01 Jun 2023 08:49:31 +0000
Source: proj
Source-Version: 9.2.1-1~exp1
Done: Bas Couwenberg <sebastic@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 1036939@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Couwenberg <sebastic@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 ftpmaster@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-devel@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebastic@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-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 30 Jun 2023 07:25:54 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Aug 19 14:57:42 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.