Debian Bug report logs -
#1021800
pgrouting: reproducible builds: Embeds kernel version of build machine
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 14 Oct 2022 21:15:01 UTC
Severity: normal
Tags: patch, upstream
Fixed in version pgrouting/3.4.1-2~exp1
Done: Bas Couwenberg <sebastic@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
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#1021800; Package src:pgrouting.
(Fri, 14 Oct 2022 21:15: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>.
(Fri, 14 Oct 2022 21:15:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: pgrouting
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The kernel version of the build environment is embedded in
/usr/lib/postgresql/14/lib/libpgrouting-3.4.so:
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/pgrouting.html
Linux-5.18.0-0.deb11.4-amd64
vs.
Linux-5.10.0-18-amd64
The attached patch to src/version/version.h.in fixes this by using
CMAKE_SYSTEM_NAME instead of CMAKE_SYSTEM.
According to my local tests, with this patch applied, and the patch
submitted in #102179 to fix timestamps, pgrouting should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining pgrouting!
live well,
vagrant
[0002-src-version-version.h.in-Use-CMAKE_SYSTEM_NAME-to-av.patch (text/x-diff, inline)]
From bf3f11142a4eb045f692382d202c833679bed491 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 14 Oct 2022 20:19:45 +0000
Subject: [PATCH 2/2] src/version/version.h.in: Use CMAKE_SYSTEM_NAME to avoid
embedding running kernel version.
https://tests.reproducible-builds.org/debian/issues/bookworm/captures_kernel_version_via_CMAKE_SYSTEM_issue.html
---
src/version/version.h.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/version/version.h.in b/src/version/version.h.in
index 52e5018..c023cf0 100644
--- a/src/version/version.h.in
+++ b/src/version/version.h.in
@@ -30,6 +30,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#define COMPILATION_DATE "@COMPILATION_DATE@";
#define PROJECT_GIT_HASH "@PROJECT_GIT_HASH@";
#define PROJECT_LIB_NAME "@PROJECT_NAME_LOWER@-@PROJECT_VERSION@";
-#define CMAKE_SYSTEM_NAME "@CMAKE_SYSTEM@";
+#define CMAKE_SYSTEM_NAME "@CMAKE_SYSTEM_NAME@";
#define POSTGRES_VERSION "@POSTGRESQL_VERSION_STRING@";
--
2.37.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#1021800; Package src:pgrouting.
(Sat, 15 Oct 2022 05:54:04 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>.
(Sat, 15 Oct 2022 05:54:04 GMT) (full text, mbox, link).
Message #10 received at 1021800@bugs.debian.org (full text, mbox, reply):
Control: tags -1 upstream pending
Thanks for the patch, it's applied in git and forwarded upstream:
https://github.com/pgRouting/pgrouting/pull/2414
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Added tag(s) upstream and pending.
Request was from Sebastiaan Couwenberg <sebastic@xs4all.nl>
to 1021800-submit@bugs.debian.org.
(Sat, 15 Oct 2022 05:54:05 GMT) (full text, mbox, link).
Reply sent
to Bas Couwenberg <sebastic@debian.org>:
You have taken responsibility.
(Sat, 15 Oct 2022 17:12:10 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Sat, 15 Oct 2022 17:12:10 GMT) (full text, mbox, link).
Message #17 received at 1021800-close@bugs.debian.org (full text, mbox, reply):
Source: pgrouting
Source-Version: 3.4.1-2~exp1
Done: Bas Couwenberg <sebastic@debian.org>
We believe that the bug you reported is fixed in the latest version of
pgrouting, 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 1021800@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 pgrouting 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: Sat, 15 Oct 2022 08:13:23 +0200
Source: pgrouting
Binary: postgresql-15-pgrouting postgresql-15-pgrouting-dbgsym postgresql-15-pgrouting-doc postgresql-15-pgrouting-scripts postgresql-pgrouting postgresql-pgrouting-scripts
Architecture: source amd64 all
Version: 3.4.1-2~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebastic@debian.org>
Description:
postgresql-15-pgrouting - Routing functionality support for PostgreSQL/PostGIS
postgresql-15-pgrouting-doc - Routing functionality support for PostgreSQL/PostGIS (Documentati
postgresql-15-pgrouting-scripts - Routing functionality support for PostgreSQL/PostGIS - SQL script
postgresql-pgrouting - Routing functionality support for PostgreSQL/PostGIS - Metapackag
postgresql-pgrouting-scripts - Routing functionality support for PostgreSQL/PostGIS - SQL script
Closes: 1021799 1021800
Changes:
pgrouting (3.4.1-2~exp1) experimental; urgency=medium
.
* Team upload.
* Add patches by Vagrant Cascadian for reproducible builds.
(closes: #1021799, #1021800)
* Add metapackages to help upgrade the pgrouting packages.
* Update packaging for postgresql-15.
Checksums-Sha1:
514f79965e3262300f5df2aac1deb72d73e26d91 2535 pgrouting_3.4.1-2~exp1.dsc
3174d6d823a1b1a89c4c68e66833001dbc18e26b 16340 pgrouting_3.4.1-2~exp1.debian.tar.xz
dfa45836dd4b9fa22c6c49a5905a80be77245f3d 15953 pgrouting_3.4.1-2~exp1_amd64.buildinfo
7027eee91e20897270e3eb77c7d17107311c49fc 25865904 postgresql-15-pgrouting-dbgsym_3.4.1-2~exp1_amd64.deb
281453ce90242eca43c62c20d8377e0c599577b8 2293816 postgresql-15-pgrouting-doc_3.4.1-2~exp1_all.deb
310c5b33021fee23e3d520987eeafb9d26d700d4 59748 postgresql-15-pgrouting-scripts_3.4.1-2~exp1_all.deb
de86b87eafd96a564f08f308a8f06f18d819ccd6 845000 postgresql-15-pgrouting_3.4.1-2~exp1_amd64.deb
545a0a8c6f2b613617983ad6711235dfc6b54aa7 20324 postgresql-pgrouting-scripts_3.4.1-2~exp1_all.deb
3b336c27afb2685b1134dbb7ca67019eecb38006 20304 postgresql-pgrouting_3.4.1-2~exp1_amd64.deb
Checksums-Sha256:
fbd968096cfda28a4fa5c15aea334f70cad8be974afa30b1928a1069b114e782 2535 pgrouting_3.4.1-2~exp1.dsc
c05f60a4c4f30518bb00a05465d94b58dc711be0ea6bc5f171cc01d842e73fb6 16340 pgrouting_3.4.1-2~exp1.debian.tar.xz
41b8aaa7317ee1864901e98f4aea2bc4750978f97b07de5e782432b682b011b4 15953 pgrouting_3.4.1-2~exp1_amd64.buildinfo
4176d10338302d4e889039219b6cf5720302c33a073c05ca1e1cde82165ed34e 25865904 postgresql-15-pgrouting-dbgsym_3.4.1-2~exp1_amd64.deb
dcbf4162f8951488f071f051add25a9949c46b2ec7a9f9ca27dbffad84645751 2293816 postgresql-15-pgrouting-doc_3.4.1-2~exp1_all.deb
df7e287d6d33ef665bbc9b2a131c14c6b16ba3665df6724cac1489e7b73e57d3 59748 postgresql-15-pgrouting-scripts_3.4.1-2~exp1_all.deb
fbdea04f93692ff58833900c73ef71c99ace2fbec1c2ccb0a691de1f4c2e4545 845000 postgresql-15-pgrouting_3.4.1-2~exp1_amd64.deb
26a13efa1ed93afe3da8f7345068dc60221c769a33d2eb1aa5cc01925fd02e86 20324 postgresql-pgrouting-scripts_3.4.1-2~exp1_all.deb
a267ad13b3114cb662f96caac613a91d922f3cec195606a273083daa3e5389e4 20304 postgresql-pgrouting_3.4.1-2~exp1_amd64.deb
Files:
8c5f4e21bbd34369c19ccbed0588bc97 2535 misc optional pgrouting_3.4.1-2~exp1.dsc
90fd967821095dd043b83e3c4aa866e0 16340 misc optional pgrouting_3.4.1-2~exp1.debian.tar.xz
8f974ee31307ead6d0bd69ab9c39c66f 15953 misc optional pgrouting_3.4.1-2~exp1_amd64.buildinfo
d1e6a2e21be7699c1006334862d4793e 25865904 debug optional postgresql-15-pgrouting-dbgsym_3.4.1-2~exp1_amd64.deb
60e98f48882caa42e6d1f2d9a413ce0c 2293816 doc optional postgresql-15-pgrouting-doc_3.4.1-2~exp1_all.deb
116c14acf14b74a536e17000216c9235 59748 misc optional postgresql-15-pgrouting-scripts_3.4.1-2~exp1_all.deb
bb54075e5177867089160b0cd1bf1485 845000 misc optional postgresql-15-pgrouting_3.4.1-2~exp1_amd64.deb
b394f53366035e4d7c4f626b2e04c176 20324 metapackages optional postgresql-pgrouting-scripts_3.4.1-2~exp1_all.deb
e2f04b5bd62430aefb9a65e44b8c44a3 20304 metapackages optional postgresql-pgrouting_3.4.1-2~exp1_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmNKWvgACgkQZ1DxCuiN
SvFbeBAAqB6mSCLvX1Mofat+ENyfT8gJyK668wXzwWpMNb9U2TyW6QOWyhqLxH/L
ldJUIdBOn9sMrXsPf+AOLc3hqEbuN1VsOu/3YcUVpWEsroCo8h+CJMRB4+4wZlet
HSioRJaXBKHwfv0sanYtbo80ywuhVQuCQSI7CWreuvF7cRQFg96igl67XbA9dEAu
u56tC6DkecyY1e5PhNBLgRtqSw17taaXzoaLMKcZbGPPX0aQXs9fsM5HbhmfBscU
++Mb2WepTjZTXTeD1heqW2cZKTNu9OE53YwDR/zwNMPinBu9VTuf2jjz4za84Kwu
aBi50aUZS7AiKF9Z2yvQ7Hz2nhASsVOY+KLhPzA8Y+aD5geBiEI4EIO++t5MHd7/
akAwiBo32EGrAqg0iCnl8xlsnutQ5Y4l7KeJA04fVSc1cRE9U29rAHHYUodR0mqY
bT5prwC+HXYNwzKLUKM77IQ+pJaDea/NXcMzJW0bxjhg/8OrsDIpoz4U9ND1dSis
b+bY9QrFFfXH1A2MuHkShg4t5LVWDrJkCNvs+ZVU+i1jYU79FXX4PE5VmpkmvVYB
grG28162ruED3Y4IlLZ/KbXTt0x/+VetCM4hqtMWXx1uq9DRD1UGy58XSyQiU3Ae
u29/rggdH4iqQVB1AFEYNLUqnPAAIfdO00CyHF2ZyZfZ25wEoyA=
=KmaH
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 13 Nov 2022 07:24:40 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:
Wed May 17 12:44:31 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.