GNU logs - #76736, boring messages


Message sent to andreas@HIDDEN, bavier@HIDDEN, sharlatanus@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#76736] [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.
Resent-From: Lars Bilke <lars.bilke@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: andreas@HIDDEN, bavier@HIDDEN, sharlatanus@HIDDEN, guix-patches@HIDDEN
Resent-Date: Tue, 04 Mar 2025 07:25:02 +0000
Resent-Message-ID: <handler.76736.B.174107304411141 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 76736
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 76736 <at> debbugs.gnu.org
Cc: Lars Bilke <lars.bilke@HIDDEN>, Andreas Enge <andreas@HIDDEN>, Eric Bavier <bavier@HIDDEN>,  Sharlatan Hellseher <sharlatanus@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
X-Debbugs-Original-Xcc: Andreas Enge <andreas@HIDDEN>, Eric Bavier <bavier@HIDDEN>,  Sharlatan Hellseher <sharlatanus@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.174107304411141
          (code B ref -1); Tue, 04 Mar 2025 07:25:02 +0000
Received: (at submit) by debbugs.gnu.org; 4 Mar 2025 07:24:04 +0000
Received: from localhost ([127.0.0.1]:54859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tpMdI-0002tb-42
	for submit <at> debbugs.gnu.org; Tue, 04 Mar 2025 02:24:04 -0500
Received: from lists.gnu.org ([2001:470:142::17]:56374)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tpMdF-0002rv-E9
 for submit <at> debbugs.gnu.org; Tue, 04 Mar 2025 02:24:02 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lars.bilke@HIDDEN>) id 1tpMcI-0004w1-Qc
 for guix-patches@HIDDEN; Tue, 04 Mar 2025 02:23:05 -0500
Received: from mailgate4.ufz.de ([141.65.7.211] helo=mailgate.ufz.de)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lars.bilke@HIDDEN>) id 1tpMcD-0006Io-Jb
 for guix-patches@HIDDEN; Tue, 04 Mar 2025 02:23:02 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id 89AEC160300
 for <guix-patches@HIDDEN>; Tue,  4 Mar 2025 08:22:53 +0100 (CET)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27
 2020)) id <0SSL0090081I8500@HIDDEN> for guix-patches@HIDDEN;
 Tue, 04 Mar 2025 08:22:53 +0100 (CET)
Received: from smtp1.ufz.de ([141.65.7.216])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SSL00IZZ8I54M90@HIDDEN> for
 guix-patches@HIDDEN; Tue, 04 Mar 2025 08:22:53 +0100 (CET)
Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)	key-exchange
 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)	by smtp1.ufz.de (smtp1-UFZ)
 with ESMTPSA id 57BC68008C;	Tue,  4 Mar 2025 08:22:53 +0100 (CET)
Date: Tue, 04 Mar 2025 08:22:41 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
Message-id: <fffb140b1a12f443b6766cd5dbdd22e4cdfc77b8.1741072961.git.lars.bilke@HIDDEN>
X-Mailer: git-send-email 2.46.1
Received-SPF: pass client-ip=141.65.7.211; envelope-from=lars.bilke@HIDDEN;
 helo=mailgate.ufz.de
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/geo.scm (gdal): Update to 3.10.2.
* gnu/packages/geo.scm (gdal): Add fix-rpath phase from https://issues.guix.gnu.org/68606

Change-Id: I973e04af737d757329adfbfa37d255386143a21c
---
 gnu/packages/geo.scm | 124 ++++++++++++++++++++++++-------------------
 1 file changed, 68 insertions(+), 56 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 251ef5ced9..943de4586f 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1408,68 +1408,80 @@ (define-public pdal
 (define-public gdal
   (package
     (name "gdal")
-    (version "3.6.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                     "http://download.osgeo.org/gdal/" version "/gdal-"
-                     version ".tar.gz"))
-              (sha256
-               (base32
-                "1qckwnygszxkkq40bf87s3m1sab6jj9jyakdvskh0qf7dq8zjarf"))
-              (modules '((guix build utils)))
-              (snippet
-                `(begin
+    (version "3.10.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://download.osgeo.org/gdal/" version "/gdal-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1nmh92vbcrp9qnld98vkxsvaw0mrska06kxxbn7n6kgbh6mhlwfa"))
+       (modules '((guix build utils)))
+       (snippet `(begin
                    ;; TODO: frmts contains a lot more bundled code.
                    (for-each delete-file-recursively
-                     ;; bundled code
-                     '("frmts/png/libpng"
-                       "frmts/gif/giflib"
-                       "frmts/jpeg/libjpeg"
-                       "frmts/jpeg/libjpeg12"
-                       "frmts/gtiff/libtiff"
-                       "frmts/gtiff/libgeotiff"
-                       "frmts/zlib"
-                       "ogr/ogrsf_frmts/geojson/libjson"))))))
+                             ;; bundled code
+                             '("frmts/png/libpng" "frmts/gif/giflib"
+                               "frmts/jpeg/libjpeg"
+                               "frmts/jpeg/libjpeg12"
+                               "frmts/gtiff/libtiff"
+                               "frmts/gtiff/libgeotiff"
+                               "ogr/ogrsf_frmts/geojson/libjson"))))))
     (build-system cmake-build-system)
     (arguments
-     `(#:tests? #f
-       #:configure-flags
-       (list "-DGDAL_USE_INTERNAL_LIBS=WHEN_NO_EXTERNAL"
-             "-DGDAL_USE_JPEG12_INTERNAL=OFF")))
-    (inputs
-     (list curl
-           expat
-           freexl
-           geos
-           giflib
-           json-c
-           libgeotiff
-           libjpeg-turbo
-           libjxl
-           libpng
-           libtiff
-           libwebp
-           lz4
-           netcdf
-           openssl
-           openjpeg
-           pcre2
-           postgresql ; libpq
-           proj
-           qhull
-           sqlite
-           swig
-           zlib
-           zstd))
-    (native-inputs
-     (list pkg-config
-           python))
-    (propagated-inputs
-     (list python-numpy))
+     (list
+      #:tests? #f
+      #:configure-flags
+      #~(list "-DGDAL_USE_INTERNAL_LIBS=WHEN_NO_EXTERNAL"
+              "-DGDAL_USE_JPEG12_INTERNAL=OFF")
+      #:modules '((guix build cmake-build-system)
+                  (guix build utils)
+                  (ice-9 rdelim)
+                  (ice-9 popen))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'fix-rpath
+            (lambda* (#:key outputs #:allow-other-keys)
+              (let ((libdir (string-append (assoc-ref outputs "out") "/lib")))
+                (for-each (lambda (file)
+                            (let* ((pipe (open-pipe* OPEN_READ "patchelf"
+                                                     "--print-rpath" file))
+                                   (line (read-line pipe)))
+                              (and (zero? (close-pipe pipe))
+                                   (invoke "patchelf" "--set-rpath"
+                                           (string-append libdir ":" line)
+                                           file))))
+                          (find-files libdir ".*\\.so$"))))))))
+    (inputs (list curl
+                  expat
+                  freexl
+                  geos
+                  giflib
+                  json-c
+                  libgeotiff
+                  libjpeg-turbo
+                  libjxl
+                  libpng
+                  libtiff
+                  libwebp
+                  lz4
+                  netcdf
+                  openssl
+                  openjpeg
+                  pcre2
+                  postgresql ;libpq
+                  proj
+                  qhull
+                  sqlite
+                  swig
+                  zlib
+                  zstd))
+    (native-inputs (list patchelf pkg-config python))
+    (propagated-inputs (list python-numpy))
     (home-page "https://gdal.org/")
     (synopsis "Raster and vector geospatial data format library")
-    (description "GDAL is a translator library for raster and vector geospatial
+    (description
+     "GDAL is a translator library for raster and vector geospatial
 data formats.  As a library, it presents a single raster abstract data model
 and single vector abstract data model to the calling application for all
 supported formats.  It also comes with a variety of useful command line

base-commit: f203028ef869945b3d44f0f2f7b16d61d064190c
-- 
2.46.1





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Lars Bilke <lars.bilke@HIDDEN>
Subject: bug#76736: Acknowledgement ([PATCH] gnu: gdal: Update to 3.10.2
 and fix rpaths.)
Message-ID: <handler.76736.B.174107304411141.ack <at> debbugs.gnu.org>
References: <fffb140b1a12f443b6766cd5dbdd22e4cdfc77b8.1741072961.git.lars.bilke@HIDDEN>
X-Gnu-PR-Message: ack 76736
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 76736 <at> debbugs.gnu.org
Date: Tue, 04 Mar 2025 07:25:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
  Andreas Enge <andreas@HIDDEN>, Eric Bavier <bavier@HIDDEN>,  Sharlat=
an Hellseher <sharlatanus@HIDDEN>
(after having been given a bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 76736 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
76736: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76736
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#76736] [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.
References: <fffb140b1a12f443b6766cd5dbdd22e4cdfc77b8.1741072961.git.lars.bilke@HIDDEN>
In-Reply-To: <fffb140b1a12f443b6766cd5dbdd22e4cdfc77b8.1741072961.git.lars.bilke@HIDDEN>
Resent-From: Sharlatan Hellseher <sharlatanus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Wed, 05 Mar 2025 20:22:02 +0000
Resent-Message-ID: <handler.76736.B76736.174120607826335 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76736
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 76736 <at> debbugs.gnu.org
Cc: Lars Bilke <lars.bilke@HIDDEN>
Received: via spool by 76736-submit <at> debbugs.gnu.org id=B76736.174120607826335
          (code B ref 76736); Wed, 05 Mar 2025 20:22:02 +0000
Received: (at 76736) by debbugs.gnu.org; 5 Mar 2025 20:21:18 +0000
Received: from localhost ([127.0.0.1]:40030 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tpvF0-0006qh-BM
	for submit <at> debbugs.gnu.org; Wed, 05 Mar 2025 15:21:18 -0500
Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:53298)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <sharlatanus@HIDDEN>)
 id 1tpvEx-0006qO-DA
 for 76736 <at> debbugs.gnu.org; Wed, 05 Mar 2025 15:21:16 -0500
Received: by mail-wr1-x42c.google.com with SMTP id
 ffacd0b85a97d-390cf7458f5so6716536f8f.2
 for <76736 <at> debbugs.gnu.org>; Wed, 05 Mar 2025 12:21:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741206069; x=1741810869; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=ZRqyB8duW71+Swj0Xphqzqeit1IArKSlpmAlVOmYm+s=;
 b=D2si4f8q8igBHl1VYYPJBJg1Ka6OcsL52spwPA9Vomd1hqymIPIRIbg8HPR+bWbg4c
 CY69npWh6RUalZJeQcASjKwhOSZCQXisxbQXiFiTMLZPbdHKoTpCMAOTcKfTxrBZGh/Q
 xuAe3T7csPl/HH4CRjac+gcoA7wHERVza04pm/lIqmiIYLgOKEr2ofxyRXKyCDEtGWmq
 G83Hro/8hxH9KqIX9Iz4ao8oF7yxGl3x1qROlcMku95bvU74VpyUOQcQbBzgTivOqvcy
 V2tYbT1g9NVbFcTGYbOBnzmf5cisjRibfKO8GFhKn7PKSlB7odaCXWn4gBxuHxMSzcd7
 gX0w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741206069; x=1741810869;
 h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=ZRqyB8duW71+Swj0Xphqzqeit1IArKSlpmAlVOmYm+s=;
 b=nmtsCR1a9sLcSokMby0N/zHQtc6MLrWp/VrM0+DP0ttGRSTpToNXFf+KfTFyTH1LI6
 OeFnyxH7u8kIvL+K33meTbMsIio93sq95Tp3Q9xgtHHTt2zLYifwiE6v/h51d2vANKYK
 vRlePTmT/57Qkw/BRWsXfkDL7LenD82zDESs80QfuuhQMLSMAFbZ0FFYdFk6FkoND4Sj
 qvEwsUvPHuG3TBiQ329gM7WprQ1TZSGp9ud/VaQ4s5t7uBN/+ilnXG9q4DKrqK5nVnTC
 d9HssD4PZWBjad+y9j+k1k6k0rDV3VPNNt2iiqIfTu92E1VwoajO0qLVSMxyJvdoxNAT
 oMDQ==
X-Gm-Message-State: AOJu0Yw5mbqqvorrTIlYnyHVeSm6FYvtrZ8KSJUWuH8BbYyLUwpX6MX8
 NCSmaCn1hkViXsg7sCkn/0gDh3H/sQmiPGJt6Mt/w/nRvyhqxcXL
X-Gm-Gg: ASbGnctfXpJ32RZI1LSjwZrIZLDCVP4KANIK36Y0NHrr/73/YiV215pVYX+GNhe1NRm
 ejqjJeZT1Z+hKMczN63KsR2Fl86CY2q1jMOUetjOMUUFy5yMJBfvnvHYAbctXAsdyzM+H2mQPg4
 l1sRPvbe1k66NjRFsvAmRF3H1oMPdLUHQkpTc1yzNqc6Q2WBdwUSIj0MsIEmtLfi1BfoGfcZLnx
 FN847LT6abpVcBLL+dkXNQ+ywp2pwvD2ucJrZaX4HerxBrsXpRvC3TjwludSqgY3nc0QPM9RW9z
 Yc8sp3R8WoM8pKw5a6zQ4LdWfdIn3DIbzwD1ewR8fnzgqt1mqtPISJN/d2OVtEMSo0FRxWrzEJp
 /OoNCSJKZSiSxxThZPmwd
X-Google-Smtp-Source: AGHT+IGvASruw3Lq8+Mse1eNvQe6m3i1NzlYNmMteiAELiEOeW04ZdqPLvAkHJ+gVyhCq479u2LWjw==
X-Received: by 2002:a5d:5f4b:0:b0:38d:dfb8:3679 with SMTP id
 ffacd0b85a97d-3911f740307mr4348323f8f.17.1741206068354; 
 Wed, 05 Mar 2025 12:21:08 -0800 (PST)
Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net.
 [86.8.111.200]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-390e484451fsm22448512f8f.63.2025.03.05.12.21.07
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 05 Mar 2025 12:21:07 -0800 (PST)
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
Date: Wed, 05 Mar 2025 20:21:00 +0000
Message-ID: <87o6yf1b6b.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain


Hi Lars,

Thank you for the patch!

Gdal is currently fails to build on master but after this patch is applied
I could build it.

There are some review points if you can cover to make it ready for apply.

- I see you keep "frmts/zlib" in snippet, may you describe the reason
please?

- Please organize your commit message with more details in style like,
look for example in currently applied commits:
--8<---------------cut here---------------start------------->8---
* <path> (<package-name>): <short summury of changes>.
[field] <sub-field>: Describe change
--8<---------------cut here---------------end--------------->8---

e.g.
--8<---------------cut here---------------start------------->8---
* gnu/packages/geo.scm (gdal): Update to 3.10.2. Use G-Expressions.
[source]: Snippet, do not remove "frmts/zlib" (why?)
[arguments] <phases>: Add 'fix-rpath.
--8<---------------cut here---------------end--------------->8---

- You may preserve the [inputs], [native-inputs] and [propagated-inputs]
indentations.

- You may simplify this:
--8<---------------cut here---------------start------------->8---
+              (let ((libdir (string-append (assoc-ref outputs "out") "/lib")))
--8<---------------cut here---------------end--------------->8---
to this
--8<---------------cut here---------------start------------->8---
+              (let ((libdir (string-append #$output "/lib")))
--8<---------------cut here---------------end--------------->8---

Looking forward for v2!

---
Oleg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iQJKBAEBCgA0FiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmfIsiwWHHNoYXJsYXRh
bnVzQGdtYWlsLmNvbQAKCRB21ye/9izStcvMEADLtd+5khnIQQynxbF+YCsKWi1s
CR6Tpk4mkfrpLN1reA4dvs0yAhdGu+wSaX+uOZ6hfPq7qRcvoIeVB3FGZ/cVCRKl
RsRgWpK9tfRc1XHfXYewhhbdIjaPVI2Q97AUmVkiVLMypj8j1+YK4jxWYG4TSHDC
748dCfdVKvBt5WTkme/GkpEPyGHnODicqG1J65DtsgB0GxfdSIBUyk0w7zZFRDAi
rrWYgqWXjTiS7INa/PCE+1u/q/g51NrnQFIFPrPNrsTEYktyXAnsB9GlLAukg/nC
GIcgnIBQ8xRg7q8ohfZyH32ACAjs3g/WOR4rqfsX3uPW9onqOk7/N3d3gzRf6rKX
1JMhH+WiYZjIsChW9uGEDqVOrxyGoFXtSYcJyW7ELsb+IB3mKcxmfJiUUTQuwal9
b7BpsCx6wXn3sAtsBt28CC9ejJh88U6/AdGOZCsoIusiosPen9Hvuv7epbEUAGWT
bxupzlloaukpwe8BrEHucZKDWMxHeuXZlwUj9x0JZQNEba6vYoIB8lUqLNFNVjdk
RX3wI/g2+5+Zc0wmE7vSuReBLrOQg5vCXHy/S7LSf6c69ozGmzyQHMLB98oDQ5vL
iGm+D8zuZY1wblRrUwQ2tZfJwQsKhoFK2oFw/IkhxLyLJqyZk1pzM6IJNabcYPzg
W/9ADvbEq6RYdq291g==
=eZ+o
-----END PGP SIGNATURE-----
--=-=-=--




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#76736] [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.
References: <fffb140b1a12f443b6766cd5dbdd22e4cdfc77b8.1741072961.git.lars.bilke@HIDDEN>
In-Reply-To: <fffb140b1a12f443b6766cd5dbdd22e4cdfc77b8.1741072961.git.lars.bilke@HIDDEN>
Resent-From: Sharlatan Hellseher <sharlatanus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 06 Mar 2025 14:29:02 +0000
Resent-Message-ID: <handler.76736.B76736.174127132223145 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76736
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 76736 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado@HIDDEN>
Received: via spool by 76736-submit <at> debbugs.gnu.org id=B76736.174127132223145
          (code B ref 76736); Thu, 06 Mar 2025 14:29:02 +0000
Received: (at 76736) by debbugs.gnu.org; 6 Mar 2025 14:28:42 +0000
Received: from localhost ([127.0.0.1]:42087 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqCDJ-00061C-WB
	for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 09:28:42 -0500
Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:51315)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <sharlatanus@HIDDEN>)
 id 1tqCDG-00060p-Mg
 for 76736 <at> debbugs.gnu.org; Thu, 06 Mar 2025 09:28:39 -0500
Received: by mail-wr1-x42b.google.com with SMTP id
 ffacd0b85a97d-3910e101d0fso449798f8f.2
 for <76736 <at> debbugs.gnu.org>; Thu, 06 Mar 2025 06:28:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741271312; x=1741876112; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=fo6dLIU7idSge4ExtcTVNO0lHkiwizKOHLxc6GNGXXs=;
 b=SD1Sr5T/a5ZhGbCHmTXamSTc4AwpgLwWqEZjoKMg+/qmG/0Kf5eQuo8zaGRAQlm8Ow
 XhJz0TS8iab9G945NtSkU6rq7GFO3URucBvuZSnyHNeQ+Q3mh83P4a3ZqqZJkFOfrm5W
 K72l8nQZdRLlB9FyDIXMAG9HYOK+EJE7daeob1f0AvGI6dBdLyPpFEA8QgSyWZj3W4yQ
 jTi6ButCi+RsTcQcevqelAeb5HVowXK/6yF+PerG+t381LTin3cf/RWov1FvXqNCa5JC
 lsUH9KZ6CtvM5dEgxLLOvv1GJRZtK3JG8Mc0hx6j0MqLOKuEL4V10BStfvm8t8YxSO+h
 ihIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741271312; x=1741876112;
 h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=fo6dLIU7idSge4ExtcTVNO0lHkiwizKOHLxc6GNGXXs=;
 b=IaXZ3imhw/+PkAYMXydT0e1rNm5yhITIVmFi1WBwMZQNb9elQjoklR2upOkBMNhqZJ
 9HvoJCfwDyH5/pSiKHYK/dighcv0CqsItfu2GesRBRqDgkt7D3J5KCR9t8+3PS2u6vkN
 Su+rCaau1YU+qjPn/ant/IJCC+h/hlJERi2mjRNCqIfz9rOEkkggGguB3mAPLdNIwFcb
 qr32+joDPXQnhr7jIohtTLJJVezpe21zQrAGRa4rmGsTgtMnEJ9uS3d+RHU1xX0WPesZ
 kChkTEx/yIpJkvVYWmpTYhiG8OV506ddASdnSyddwObeaM+fCs2CXQG6t2dDHYqzYYyX
 upVQ==
X-Gm-Message-State: AOJu0YysXcENSDMGT150PSFfeorjGy54nxIH5JLpom/F9IeH7mxY7l2V
 Gm7XlpOQPZ0ZzhZt+lp/BNjHbf68xFMc1y4x9xNmYOoqobXcja56H0CGKQ==
X-Gm-Gg: ASbGncuxP5xc83H613i5HhvSocIfcmvamLAcVRDZgIhxo/tJs7h+LuBHqVL3mmAH/YT
 TzF4uBHHg4678OXM5KKLDF/uLgI2zRr0dkXlLyBPodbkJMLEvemDOVbnX+olAB6zplZBnBNC8ra
 DGAvLOkSCwEEfT0lxYfATDoUcbOR2tCKKUcEH6mUSmzfhCSrmwBAgKa0cWVLJEXuDnFTCbvZ58N
 QszxNENtgBJ/3/VRvYVLKjHK3Q69QxKL1/kCu/+ZE6hjM8gORIFV5lfQ42fHKY8l2sjlfDNysJn
 AkgLKmzmvjLWEk2nk1I2jrkRWOCDbOje9kjrTG2svHtRmlqkgGM/X1iNJSpNlS80kLGz/D1PNZk
 qD0Ucwbcf7182W9eOLn1M
X-Google-Smtp-Source: AGHT+IFvwDgSZLB8eV86n6AWUHBaEu4pEBcwTg1aScf5rj5OZXdoP7Yg+F5/HEqFKMre9/jSwVuzmw==
X-Received: by 2002:a05:6000:2b0a:b0:391:5f:fa30 with SMTP id
 ffacd0b85a97d-3911f7700d4mr4181796f8f.28.1741271312121; 
 Thu, 06 Mar 2025 06:28:32 -0800 (PST)
Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net.
 [86.8.111.200]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3912c0e1476sm2205854f8f.70.2025.03.06.06.28.30
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 06 Mar 2025 06:28:31 -0800 (PST)
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
Date: Thu, 06 Mar 2025 14:28:28 +0000
Message-ID: <8734fqw7w3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain


Hi,

It looks like Ricardo has pushed update alread in
f2229c2afdb32ddba46bce6f37aba812af39eec5 commit.

CC him, if we need to act on this issue as it's updating to 3.10.2.

--8<---------------cut here---------------start------------->8---
gnu: gdal: Update to 3.8.2.HEAD master
* gnu/packages/geo.scm (gdal): Update to 3.8.2.
[source]: Adjust snippet to retain infback9.
[arguments]: Add phase 'swap-files to install files with modified RPATH.
[inputs]: Add shapelib.

Change-Id: Ia2b13a2da5e951d9d5a70f81b3aa0f099556929b
--8<---------------cut here---------------end--------------->8---

--
Oleg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iQJKBAEBCgA0FiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmfJsQwWHHNoYXJsYXRh
bnVzQGdtYWlsLmNvbQAKCRB21ye/9izStWfgD/497i9V8Rq90rct4Hje2NowIJD8
BbILOk8q+1ZhJuTENzX0qPhpT7RkCTG/2CsnbYvXbc1FtNwW+ScIa13+IqNwowx3
gzy4KD507hTlyHGTkegu3+Tzk717pYXrBio3jPgzo4rg4X+2WVAubM4tKSp20a8X
8n1mvIryTq9Ra+mdtuo8/AetP40YVS7qNMJh5O1kjr+lAE+0RqgYJoMtor5/Wm3G
/sW/QbggpUiw8NZjUFQAuVWJBnpVtHinzsR9cevI31SFC4RgKNZtJYnLLpR00pxX
jXbv6jULPXto4/rkU8lhyJihlTm5MlrwO4kfmpXTzcphsVovSOctCaiYSYnGMCoM
1FYK+wtmMyOZB9I+NnCE54/Z0chsKYmPX621H1wJ91bKqlWDWVueb2DytEMZyWFa
yclrLSrDl6i69yVt9dUH//KOt7YCZzYaPFf7KZjCtBFa/mkrBcyfjq4x8QnxNHjM
lL7+tNTAv1fzWs5KfWM7PX8XTHSYEE0raVzQaRfkr5GT2w6beVgCMvCo/aDIjcS/
56lS8zVCSB4Mg4yEmg8z3U81TZ5xmpfUlbOFMwZfbmALoTte+vrEZS5IqOhokzao
zehn/KH79+N3+DtSxJ8UYTcGTaDMgsRNy0OfAU0Up6n4dlJ8+a9oi8ELHNEvP2UE
sFP37e0jngBtmrYBUQ==
=o1Ik
-----END PGP SIGNATURE-----
--=-=-=--




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#76736] [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.
Resent-From: Ricardo Wurmus <rekado@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 06 Mar 2025 14:58:02 +0000
Resent-Message-ID: <handler.76736.B76736.174127305631033 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76736
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Sharlatan Hellseher <sharlatanus@HIDDEN>, Lars Bilke <lars.bilke@HIDDEN>
Cc: 76736 <at> debbugs.gnu.org
Received: via spool by 76736-submit <at> debbugs.gnu.org id=B76736.174127305631033
          (code B ref 76736); Thu, 06 Mar 2025 14:58:02 +0000
Received: (at 76736) by debbugs.gnu.org; 6 Mar 2025 14:57:36 +0000
Received: from localhost ([127.0.0.1]:44680 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqCfH-00084T-ME
	for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 09:57:35 -0500
Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21141)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rekado@HIDDEN>)
 id 1tqCfC-00084D-Ug
 for 76736 <at> debbugs.gnu.org; Thu, 06 Mar 2025 09:57:32 -0500
ARC-Seal: i=1; a=rsa-sha256; t=1741273046; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=iADgTBMvliHXArhO703bZa4SwE1FVAmDCvq4ff+LxlkVrImcATm4kU4lkL20L4de9b0/oRUWgrudOyiXY1i7tDjIdpKhUQRBCP3hQDSU9uY9YPCEHHpZsK4uZ90wGqvkKAbspLxuXvtegkQq0RpzGRSL/BRTkBEj7dkzs7GmVrk=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1741273046;
 h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To;
 bh=SSNXk0J4Y6h8IPOaW9iNT7hAAkNhhaA7VfdE3QP6s68=; 
 b=OQ8EKgi9rHHfUgOpYynxuye1Eb/7xqSWrGIsnhad7iGlzVyeUmfjGj/I7t14E1fRV1CTsyQX9o7F5c4vZIYHdItkThy/mP95Ho1B8yBOTw6Wo/euimjvI4mmaxqxlTP6iJwBl1uxhoq+B4Ms9ToJtD4zd7C0ib8oUvTVKdddaD4=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1741273046; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=From:From:To:To:Cc:Cc:Subject:Subject:In-Reply-To:References:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To;
 bh=SSNXk0J4Y6h8IPOaW9iNT7hAAkNhhaA7VfdE3QP6s68=;
 b=JkKt2R3yFw56ycMI8VdOAnITZ1rjHdH/Uf2deXeanOwTutf9bZ9Ezz+DcjkqN6sK
 z8d+ictQZMUCz3hnRQIlG5dmDGVMAr3rxGMci1XBIE1Ohdp6k9XSP56FigKXe8hx1Uy
 ocKCwz0e8jo1Kh3hwlH06O0UjpK50/UKUagIFZ80=
Received: by mx.zohomail.com with SMTPS id 1741273043149778.1264450337445;
 Thu, 6 Mar 2025 06:57:23 -0800 (PST)
From: Ricardo Wurmus <rekado@HIDDEN>
In-Reply-To: <8734fqw7w3.fsf@HIDDEN> (Sharlatan Hellseher's message of
 "Thu, 06 Mar 2025 14:28:28 +0000")
References: <8734fqw7w3.fsf@HIDDEN>
User-Agent: mu4e 1.12.8; emacs 29.4
Date: Thu, 06 Mar 2025 15:57:19 +0100
Message-ID: <87frjq2omo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Sharlatan Hellseher <sharlatanus@HIDDEN> writes:

> It looks like Ricardo has pushed update alread in
> f2229c2afdb32ddba46bce6f37aba812af39eec5 commit.

Oh, I'm sorry I missed this.

I only updated to 3.8.2 because I didn't want to risk breaking too 
many
dependents.  My goal was to fix python-geopandas ASAP when I 
attempted
to fix this at the same time as Lars sent the patch.

The 'fix-rpath phase is unnecessary, because gdal's build system 
already
takes care of building files with the correct RPATH --- they just 
don't
get installed for unknown reasons.

Lars, ff the dependents of gdal build fine after the upgrade to 
3.10.2
I'd be happy to push an edited version of this patch.

-- 
Ricardo




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#76736] [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.
Resent-From: Lars Bilke <lars.bilke@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 07 Mar 2025 12:23:02 +0000
Resent-Message-ID: <handler.76736.B76736.174135012916950 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76736
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Ricardo Wurmus <rekado@HIDDEN>
Cc: 76736 <at> debbugs.gnu.org, Sharlatan Hellseher <sharlatanus@HIDDEN>
Received: via spool by 76736-submit <at> debbugs.gnu.org id=B76736.174135012916950
          (code B ref 76736); Fri, 07 Mar 2025 12:23:02 +0000
Received: (at 76736) by debbugs.gnu.org; 7 Mar 2025 12:22:09 +0000
Received: from localhost ([127.0.0.1]:47319 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqWiO-0004PK-OU
	for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 07:22:09 -0500
Received: from mailgate4.ufz.de ([141.65.7.211]:52992 helo=mailgate.ufz.de)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tqWiL-0004P8-Jd
 for 76736 <at> debbugs.gnu.org; Fri, 07 Mar 2025 07:22:06 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id AA70D1602E9;
 Fri,  7 Mar 2025 13:22:02 +0100 (CET)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; markup=markdown
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27 2020)) id <0SSR001005Q5TH00@HIDDEN>; Fri,
 07 Mar 2025 13:22:02 +0100 (CET)
Received: from smtp2.ufz.de ([141.65.7.217])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SSR00HUJ6CQUX80@HIDDEN>; Fri,
 07 Mar 2025 13:22:02 +0100 (CET)
Received: from [141.65.54.29] (unknown [141.65.34.101])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)	by smtp2.ufz.de (smtp2-UFZ)
 with ESMTPSA id 7D488E006C;	Fri,  7 Mar 2025 13:22:02 +0100 (CET)
Date: Fri, 07 Mar 2025 13:22:02 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
In-reply-to: <87frjq2omo.fsf@HIDDEN>
Message-id: <4BF7495D-08E1-43C9-833C-CB047260D4B4@HIDDEN>
X-Mailer: MailMate (2.0r6203)
References: <8734fqw7w3.fsf@HIDDEN> <87frjq2omo.fsf@HIDDEN>
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Ricardo,

ah thanks for 3.8.2 patch! That's all I need (I also wanted python-geopandas), so this issue can be closed (I do not know how to do that).

Thanks!
Lars

On 6 Mar 2025, at 15:57, Ricardo Wurmus wrote:

> Sharlatan Hellseher <sharlatanus@HIDDEN> writes:
>
>> It looks like Ricardo has pushed update alread in
>> f2229c2afdb32ddba46bce6f37aba812af39eec5 commit.
>
> Oh, I'm sorry I missed this.
>
> I only updated to 3.8.2 because I didn't want to risk breaking too many
> dependents.  My goal was to fix python-geopandas ASAP when I attempted
> to fix this at the same time as Lars sent the patch.
>
> The 'fix-rpath phase is unnecessary, because gdal's build system already
> takes care of building files with the correct RPATH --- they just don't
> get installed for unknown reasons.
>
> Lars, ff the dependents of gdal build fine after the upgrade to 3.10.2
> I'd be happy to push an edited version of this patch.
>
> -- 
> Ricardo




Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Sharlatan Hellseher <sharlatanus@HIDDEN>
Subject: bug#76736: closed ([PATCH] gnu: gdal: Update to 3.10.2 and fix
 rpaths.)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.76736.D76736.174138066831903.ackdone <at> debbugs.gnu.org>
References: <87msdwtvin.fsf@HIDDEN>
 <fffb140b1a12f443b6766cd5dbdd22e4cdfc77b8.1741072961.git.lars.bilke@HIDDEN>
X-Gnu-PR-Message: closed 76736
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Date: Fri, 07 Mar 2025 20:52:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1741380722-31976-0"

This is a multi-part message in MIME format...

------------=_1741380722-31976-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Fri, 07 Mar 2025 20:50:56 +0000
with message-id <87msdwtvin.fsf@HIDDEN>
and subject line [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.
has caused the debbugs.gnu.org bug report #76736,
regarding [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
76736: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76736
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1741380722-31976-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 4 Mar 2025 07:24:04 +0000
Received: from localhost ([127.0.0.1]:54859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tpMdI-0002tb-42
	for submit <at> debbugs.gnu.org; Tue, 04 Mar 2025 02:24:04 -0500
Received: from lists.gnu.org ([2001:470:142::17]:56374)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tpMdF-0002rv-E9
 for submit <at> debbugs.gnu.org; Tue, 04 Mar 2025 02:24:02 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lars.bilke@HIDDEN>) id 1tpMcI-0004w1-Qc
 for guix-patches@HIDDEN; Tue, 04 Mar 2025 02:23:05 -0500
Received: from mailgate4.ufz.de ([141.65.7.211] helo=mailgate.ufz.de)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lars.bilke@HIDDEN>) id 1tpMcD-0006Io-Jb
 for guix-patches@HIDDEN; Tue, 04 Mar 2025 02:23:02 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id 89AEC160300
 for <guix-patches@HIDDEN>; Tue,  4 Mar 2025 08:22:53 +0100 (CET)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27
 2020)) id <0SSL0090081I8500@HIDDEN> for guix-patches@HIDDEN;
 Tue, 04 Mar 2025 08:22:53 +0100 (CET)
Received: from smtp1.ufz.de ([141.65.7.216])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SSL00IZZ8I54M90@HIDDEN> for
 guix-patches@HIDDEN; Tue, 04 Mar 2025 08:22:53 +0100 (CET)
Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)	key-exchange
 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)	by smtp1.ufz.de (smtp1-UFZ)
 with ESMTPSA id 57BC68008C;	Tue,  4 Mar 2025 08:22:53 +0100 (CET)
Date: Tue, 04 Mar 2025 08:22:41 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
Subject: [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.
To: guix-patches@HIDDEN
Message-id: <fffb140b1a12f443b6766cd5dbdd22e4cdfc77b8.1741072961.git.lars.bilke@HIDDEN>
X-Mailer: git-send-email 2.46.1
X-Debbugs-Cc: Andreas Enge <andreas@HIDDEN>, Eric Bavier <bavier@HIDDEN>, 
 Sharlatan Hellseher <sharlatanus@HIDDEN>
Received-SPF: pass client-ip=141.65.7.211; envelope-from=lars.bilke@HIDDEN;
 helo=mailgate.ufz.de
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
Cc: Lars Bilke <lars.bilke@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/geo.scm (gdal): Update to 3.10.2.
* gnu/packages/geo.scm (gdal): Add fix-rpath phase from https://issues.guix.gnu.org/68606

Change-Id: I973e04af737d757329adfbfa37d255386143a21c
---
 gnu/packages/geo.scm | 124 ++++++++++++++++++++++++-------------------
 1 file changed, 68 insertions(+), 56 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 251ef5ced9..943de4586f 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1408,68 +1408,80 @@ (define-public pdal
 (define-public gdal
   (package
     (name "gdal")
-    (version "3.6.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                     "http://download.osgeo.org/gdal/" version "/gdal-"
-                     version ".tar.gz"))
-              (sha256
-               (base32
-                "1qckwnygszxkkq40bf87s3m1sab6jj9jyakdvskh0qf7dq8zjarf"))
-              (modules '((guix build utils)))
-              (snippet
-                `(begin
+    (version "3.10.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://download.osgeo.org/gdal/" version "/gdal-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1nmh92vbcrp9qnld98vkxsvaw0mrska06kxxbn7n6kgbh6mhlwfa"))
+       (modules '((guix build utils)))
+       (snippet `(begin
                    ;; TODO: frmts contains a lot more bundled code.
                    (for-each delete-file-recursively
-                     ;; bundled code
-                     '("frmts/png/libpng"
-                       "frmts/gif/giflib"
-                       "frmts/jpeg/libjpeg"
-                       "frmts/jpeg/libjpeg12"
-                       "frmts/gtiff/libtiff"
-                       "frmts/gtiff/libgeotiff"
-                       "frmts/zlib"
-                       "ogr/ogrsf_frmts/geojson/libjson"))))))
+                             ;; bundled code
+                             '("frmts/png/libpng" "frmts/gif/giflib"
+                               "frmts/jpeg/libjpeg"
+                               "frmts/jpeg/libjpeg12"
+                               "frmts/gtiff/libtiff"
+                               "frmts/gtiff/libgeotiff"
+                               "ogr/ogrsf_frmts/geojson/libjson"))))))
     (build-system cmake-build-system)
     (arguments
-     `(#:tests? #f
-       #:configure-flags
-       (list "-DGDAL_USE_INTERNAL_LIBS=WHEN_NO_EXTERNAL"
-             "-DGDAL_USE_JPEG12_INTERNAL=OFF")))
-    (inputs
-     (list curl
-           expat
-           freexl
-           geos
-           giflib
-           json-c
-           libgeotiff
-           libjpeg-turbo
-           libjxl
-           libpng
-           libtiff
-           libwebp
-           lz4
-           netcdf
-           openssl
-           openjpeg
-           pcre2
-           postgresql ; libpq
-           proj
-           qhull
-           sqlite
-           swig
-           zlib
-           zstd))
-    (native-inputs
-     (list pkg-config
-           python))
-    (propagated-inputs
-     (list python-numpy))
+     (list
+      #:tests? #f
+      #:configure-flags
+      #~(list "-DGDAL_USE_INTERNAL_LIBS=WHEN_NO_EXTERNAL"
+              "-DGDAL_USE_JPEG12_INTERNAL=OFF")
+      #:modules '((guix build cmake-build-system)
+                  (guix build utils)
+                  (ice-9 rdelim)
+                  (ice-9 popen))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'fix-rpath
+            (lambda* (#:key outputs #:allow-other-keys)
+              (let ((libdir (string-append (assoc-ref outputs "out") "/lib")))
+                (for-each (lambda (file)
+                            (let* ((pipe (open-pipe* OPEN_READ "patchelf"
+                                                     "--print-rpath" file))
+                                   (line (read-line pipe)))
+                              (and (zero? (close-pipe pipe))
+                                   (invoke "patchelf" "--set-rpath"
+                                           (string-append libdir ":" line)
+                                           file))))
+                          (find-files libdir ".*\\.so$"))))))))
+    (inputs (list curl
+                  expat
+                  freexl
+                  geos
+                  giflib
+                  json-c
+                  libgeotiff
+                  libjpeg-turbo
+                  libjxl
+                  libpng
+                  libtiff
+                  libwebp
+                  lz4
+                  netcdf
+                  openssl
+                  openjpeg
+                  pcre2
+                  postgresql ;libpq
+                  proj
+                  qhull
+                  sqlite
+                  swig
+                  zlib
+                  zstd))
+    (native-inputs (list patchelf pkg-config python))
+    (propagated-inputs (list python-numpy))
     (home-page "https://gdal.org/")
     (synopsis "Raster and vector geospatial data format library")
-    (description "GDAL is a translator library for raster and vector geospatial
+    (description
+     "GDAL is a translator library for raster and vector geospatial
 data formats.  As a library, it presents a single raster abstract data model
 and single vector abstract data model to the calling application for all
 supported formats.  It also comes with a variety of useful command line

base-commit: f203028ef869945b3d44f0f2f7b16d61d064190c
-- 
2.46.1




------------=_1741380722-31976-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 76736-done) by debbugs.gnu.org; 7 Mar 2025 20:51:08 +0000
Received: from localhost ([127.0.0.1]:50826 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqeey-0008IV-4T
	for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 15:51:08 -0500
Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:48638)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <sharlatanus@HIDDEN>)
 id 1tqeev-0008Hh-UO
 for 76736-done <at> debbugs.gnu.org; Fri, 07 Mar 2025 15:51:06 -0500
Received: by mail-wm1-x333.google.com with SMTP id
 5b1f17b1804b1-43bdf0cbb6bso13256725e9.1
 for <76736-done <at> debbugs.gnu.org>; Fri, 07 Mar 2025 12:51:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741380660; x=1741985460; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=J1to9zPXCud3Ym2sp2If+4MNz8KHWVY5LOQeuI93Qik=;
 b=IrObzhJvtY2G6+5eqLoSp11YXLed/UuPXbiku72mMUt72XlwX8J9lk0dSTueshUOAm
 /KFxmJb9zPev5F7PzCJPkjzd5TK8aUJ0pkHfaxU3BFV9C1A7GzGzeLDzid80s9YUXXhj
 OFMq5SXKpWyjUu30zAuMkfrBY4QjoM19lyiuM4E8kZqHjsN32FNt1Z6E+E/f2D1guFS+
 9DhOewHrapH7nm25kCtUN/swpWnaE40JjBC8VMBTNC9aAt2PtxHBzSANE7XTlikKIbOl
 Guo4hcOyZjKHWfAgDJN5H89EeDgem/vpX5hcwyCTNTnWbUtos1ZIkJlMX8Jr+Fb5Dm6E
 Yk3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741380660; x=1741985460;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=J1to9zPXCud3Ym2sp2If+4MNz8KHWVY5LOQeuI93Qik=;
 b=EjKuPVctyms6K2VPOSSwTn6xD6BIGNEehrCXG2cJA2lYY0o/boQlctSG9WxDFSuT6O
 YmYfq0lpmcAIM4Wqd0J2wh22QISe7jTL5LNe7C2oTP3dNcXV3XiM6Dr2vocqvfrMdw76
 Ybbc0nN2cmuJsoehU7UVJ+/TzGRsbVKr36jf/hQHeX6LhhaSeFLQKUMDTpXsMBWnaJCp
 bELpS6MSfUC82ICdYr8yzHN4+PGpeIcUzOfZaR7XdsYR1rClQaYZtOnAVjRPqJ1+MGU6
 lbQDuFLbrIZRGdrVQ6ClxJjMC0iAXpOD0wPZ/EVPhjeaIQR65lLFMZBKsQ/G1tA5C1kK
 MoFw==
X-Gm-Message-State: AOJu0YxH/ceBxE6NkNOfFVwgVTnjkeVTNXnTlyUYBgAOkgJUgJh/qvGp
 liXrZMQ+iblc7GxAesILM08qWoajOtzVavNdKZgNl21VbaYCctAM0K7R3i5X
X-Gm-Gg: ASbGncvIHcm6pnD6HzjpXGSeME1UibkrSSuIz8URfJpOaocMP54I5GCPH7dEjIY82AM
 AMpqG3dvT4bJQDFto9L14ys12nOwG/sR0JG4jJFfHqTla0v7cSuaIydLsg4ZNVGp+KVt2mQwSSc
 iUpBDitKvNmBP3k7RNiFDi2xF433mlWj0KHCuPnR4UaVIXtAr3iaOrzfjqkK1vu6YYw6CFfcwXb
 5tiA3fC3ypRub8XikiUKdokRjquWPI1s3RmK2DI4lV9rIfrasByCKU/dt7fwg8fqLFE5S2P45Fy
 /6VB/YnA581GeAX0BzVRfmJewXSbiEJ2CA965y1A2p50UlWA3qYPW1oYSGFzMX/ldGlZnHJIkIv
 LMPKV3LMKNc/bRNsnt8YD
X-Google-Smtp-Source: AGHT+IHyCQpVSNNWnWAKgaKDJIQ+P+Cnq6/lFN5nMC/dZIOBYmLyPzy0v33Ez4CgtfEgqSGZprnnrg==
X-Received: by 2002:a05:6000:1a8e:b0:38d:d701:419c with SMTP id
 ffacd0b85a97d-39132dc5717mr2765310f8f.41.1741380659525; 
 Fri, 07 Mar 2025 12:50:59 -0800 (PST)
Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net.
 [86.8.111.200]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3912bfb79cfsm6473719f8f.10.2025.03.07.12.50.58
 for <76736-done <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 07 Mar 2025 12:50:58 -0800 (PST)
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
To: 76736-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.
Date: Fri, 07 Mar 2025 20:50:56 +0000
Message-ID: <87msdwtvin.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76736-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain


Hi,

I've checked issues for the same reason python-geopandas was broken for
me.

Closing as no longer required.

--
Oleg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iQJKBAEBCgA0FiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmfLXDAWHHNoYXJsYXRh
bnVzQGdtYWlsLmNvbQAKCRB21ye/9izStYDxEACrx+usuWHUYuDXCVScbsQ08poh
1+ISafiUdQbQnSVxzGjKTt7Lnzeg9VvUgKQxtU4XvVb3dEgsM7E+UetbQoJ4GCpC
8eXb5Ep4jwsYxQNCIFyZxqBjbSPzOLrwBi7jWKMuj7GXYyce6FgKdnZAzLZsrI1K
O+waTmuI9AZnTl2OcJuTHYQXz1JOsRiP0K4G6wXGgB2KvOiQfckwkMmW7Hf1vVGp
rS62r7ulvfZpyCnLkNNXAAodjxV2YLD4dESzYzp43Rew8e3eELiEgVWacTBAz5QC
hY2CaiVvF+mwf5Y4/2J3KmmW6u/eMo5a0n7xMueu9zRzRLYJzo1M3E8on3OdhKnO
FwLNen6OkZE8ach+mPeO9zoFrrYoUnkT3ez9mks96cWJhtIGVN75GPOEQeG72Ily
xiyz6pae1NZzTc0sAs8pUH5/QJ3yOsr6vbm2iQnERO6FNIw2rK+VcTgdl5HQ6PtQ
ZgS6amC29nfJTTUnpj003BjOtpzzEfQ9s83bVKaC3rGiVNFOkNONqZZNvVrD8piA
MVweCOU7ttQQmHVsWIpPVJ11Wh6MnV9Gkkwj1m7CcsIDwcdVQKwqmA8uiRfafdVI
4rKS22WJ6lpJUgMLnf3yltnzzXQ9OqfcdRTCA106joqZHTOnVEkXRVhMjvS5lWVJ
XYvFp17HASkdOu8KKQ==
=JHsD
-----END PGP SIGNATURE-----
--=-=-=--


------------=_1741380722-31976-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Lars Bilke <lars.bilke@HIDDEN>
Subject: bug#76736: closed ([PATCH] gnu: gdal: Update to 3.10.2 and fix
 rpaths.)
Message-ID: <handler.76736.D76736.174138066831903.notifdone <at> debbugs.gnu.org>
References: <87msdwtvin.fsf@HIDDEN>
 <fffb140b1a12f443b6766cd5dbdd22e4cdfc77b8.1741072961.git.lars.bilke@HIDDEN>
X-Gnu-PR-Message: they-closed 76736
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 76736 <at> debbugs.gnu.org
Date: Fri, 07 Mar 2025 20:52:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1741380722-31976-1"

This is a multi-part message in MIME format...

------------=_1741380722-31976-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#76736: [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 76736 <at> debbugs.gnu.org.

--=20
76736: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76736
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1741380722-31976-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 76736-done) by debbugs.gnu.org; 7 Mar 2025 20:51:08 +0000
Received: from localhost ([127.0.0.1]:50826 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqeey-0008IV-4T
	for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 15:51:08 -0500
Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:48638)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <sharlatanus@HIDDEN>)
 id 1tqeev-0008Hh-UO
 for 76736-done <at> debbugs.gnu.org; Fri, 07 Mar 2025 15:51:06 -0500
Received: by mail-wm1-x333.google.com with SMTP id
 5b1f17b1804b1-43bdf0cbb6bso13256725e9.1
 for <76736-done <at> debbugs.gnu.org>; Fri, 07 Mar 2025 12:51:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741380660; x=1741985460; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=J1to9zPXCud3Ym2sp2If+4MNz8KHWVY5LOQeuI93Qik=;
 b=IrObzhJvtY2G6+5eqLoSp11YXLed/UuPXbiku72mMUt72XlwX8J9lk0dSTueshUOAm
 /KFxmJb9zPev5F7PzCJPkjzd5TK8aUJ0pkHfaxU3BFV9C1A7GzGzeLDzid80s9YUXXhj
 OFMq5SXKpWyjUu30zAuMkfrBY4QjoM19lyiuM4E8kZqHjsN32FNt1Z6E+E/f2D1guFS+
 9DhOewHrapH7nm25kCtUN/swpWnaE40JjBC8VMBTNC9aAt2PtxHBzSANE7XTlikKIbOl
 Guo4hcOyZjKHWfAgDJN5H89EeDgem/vpX5hcwyCTNTnWbUtos1ZIkJlMX8Jr+Fb5Dm6E
 Yk3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741380660; x=1741985460;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=J1to9zPXCud3Ym2sp2If+4MNz8KHWVY5LOQeuI93Qik=;
 b=EjKuPVctyms6K2VPOSSwTn6xD6BIGNEehrCXG2cJA2lYY0o/boQlctSG9WxDFSuT6O
 YmYfq0lpmcAIM4Wqd0J2wh22QISe7jTL5LNe7C2oTP3dNcXV3XiM6Dr2vocqvfrMdw76
 Ybbc0nN2cmuJsoehU7UVJ+/TzGRsbVKr36jf/hQHeX6LhhaSeFLQKUMDTpXsMBWnaJCp
 bELpS6MSfUC82ICdYr8yzHN4+PGpeIcUzOfZaR7XdsYR1rClQaYZtOnAVjRPqJ1+MGU6
 lbQDuFLbrIZRGdrVQ6ClxJjMC0iAXpOD0wPZ/EVPhjeaIQR65lLFMZBKsQ/G1tA5C1kK
 MoFw==
X-Gm-Message-State: AOJu0YxH/ceBxE6NkNOfFVwgVTnjkeVTNXnTlyUYBgAOkgJUgJh/qvGp
 liXrZMQ+iblc7GxAesILM08qWoajOtzVavNdKZgNl21VbaYCctAM0K7R3i5X
X-Gm-Gg: ASbGncvIHcm6pnD6HzjpXGSeME1UibkrSSuIz8URfJpOaocMP54I5GCPH7dEjIY82AM
 AMpqG3dvT4bJQDFto9L14ys12nOwG/sR0JG4jJFfHqTla0v7cSuaIydLsg4ZNVGp+KVt2mQwSSc
 iUpBDitKvNmBP3k7RNiFDi2xF433mlWj0KHCuPnR4UaVIXtAr3iaOrzfjqkK1vu6YYw6CFfcwXb
 5tiA3fC3ypRub8XikiUKdokRjquWPI1s3RmK2DI4lV9rIfrasByCKU/dt7fwg8fqLFE5S2P45Fy
 /6VB/YnA581GeAX0BzVRfmJewXSbiEJ2CA965y1A2p50UlWA3qYPW1oYSGFzMX/ldGlZnHJIkIv
 LMPKV3LMKNc/bRNsnt8YD
X-Google-Smtp-Source: AGHT+IHyCQpVSNNWnWAKgaKDJIQ+P+Cnq6/lFN5nMC/dZIOBYmLyPzy0v33Ez4CgtfEgqSGZprnnrg==
X-Received: by 2002:a05:6000:1a8e:b0:38d:d701:419c with SMTP id
 ffacd0b85a97d-39132dc5717mr2765310f8f.41.1741380659525; 
 Fri, 07 Mar 2025 12:50:59 -0800 (PST)
Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net.
 [86.8.111.200]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3912bfb79cfsm6473719f8f.10.2025.03.07.12.50.58
 for <76736-done <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 07 Mar 2025 12:50:58 -0800 (PST)
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
To: 76736-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.
Date: Fri, 07 Mar 2025 20:50:56 +0000
Message-ID: <87msdwtvin.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76736-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain


Hi,

I've checked issues for the same reason python-geopandas was broken for
me.

Closing as no longer required.

--
Oleg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iQJKBAEBCgA0FiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmfLXDAWHHNoYXJsYXRh
bnVzQGdtYWlsLmNvbQAKCRB21ye/9izStYDxEACrx+usuWHUYuDXCVScbsQ08poh
1+ISafiUdQbQnSVxzGjKTt7Lnzeg9VvUgKQxtU4XvVb3dEgsM7E+UetbQoJ4GCpC
8eXb5Ep4jwsYxQNCIFyZxqBjbSPzOLrwBi7jWKMuj7GXYyce6FgKdnZAzLZsrI1K
O+waTmuI9AZnTl2OcJuTHYQXz1JOsRiP0K4G6wXGgB2KvOiQfckwkMmW7Hf1vVGp
rS62r7ulvfZpyCnLkNNXAAodjxV2YLD4dESzYzp43Rew8e3eELiEgVWacTBAz5QC
hY2CaiVvF+mwf5Y4/2J3KmmW6u/eMo5a0n7xMueu9zRzRLYJzo1M3E8on3OdhKnO
FwLNen6OkZE8ach+mPeO9zoFrrYoUnkT3ez9mks96cWJhtIGVN75GPOEQeG72Ily
xiyz6pae1NZzTc0sAs8pUH5/QJ3yOsr6vbm2iQnERO6FNIw2rK+VcTgdl5HQ6PtQ
ZgS6amC29nfJTTUnpj003BjOtpzzEfQ9s83bVKaC3rGiVNFOkNONqZZNvVrD8piA
MVweCOU7ttQQmHVsWIpPVJ11Wh6MnV9Gkkwj1m7CcsIDwcdVQKwqmA8uiRfafdVI
4rKS22WJ6lpJUgMLnf3yltnzzXQ9OqfcdRTCA106joqZHTOnVEkXRVhMjvS5lWVJ
XYvFp17HASkdOu8KKQ==
=JHsD
-----END PGP SIGNATURE-----
--=-=-=--


------------=_1741380722-31976-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 4 Mar 2025 07:24:04 +0000
Received: from localhost ([127.0.0.1]:54859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tpMdI-0002tb-42
	for submit <at> debbugs.gnu.org; Tue, 04 Mar 2025 02:24:04 -0500
Received: from lists.gnu.org ([2001:470:142::17]:56374)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tpMdF-0002rv-E9
 for submit <at> debbugs.gnu.org; Tue, 04 Mar 2025 02:24:02 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lars.bilke@HIDDEN>) id 1tpMcI-0004w1-Qc
 for guix-patches@HIDDEN; Tue, 04 Mar 2025 02:23:05 -0500
Received: from mailgate4.ufz.de ([141.65.7.211] helo=mailgate.ufz.de)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lars.bilke@HIDDEN>) id 1tpMcD-0006Io-Jb
 for guix-patches@HIDDEN; Tue, 04 Mar 2025 02:23:02 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id 89AEC160300
 for <guix-patches@HIDDEN>; Tue,  4 Mar 2025 08:22:53 +0100 (CET)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27
 2020)) id <0SSL0090081I8500@HIDDEN> for guix-patches@HIDDEN;
 Tue, 04 Mar 2025 08:22:53 +0100 (CET)
Received: from smtp1.ufz.de ([141.65.7.216])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SSL00IZZ8I54M90@HIDDEN> for
 guix-patches@HIDDEN; Tue, 04 Mar 2025 08:22:53 +0100 (CET)
Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)	key-exchange
 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)	by smtp1.ufz.de (smtp1-UFZ)
 with ESMTPSA id 57BC68008C;	Tue,  4 Mar 2025 08:22:53 +0100 (CET)
Date: Tue, 04 Mar 2025 08:22:41 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
Subject: [PATCH] gnu: gdal: Update to 3.10.2 and fix rpaths.
To: guix-patches@HIDDEN
Message-id: <fffb140b1a12f443b6766cd5dbdd22e4cdfc77b8.1741072961.git.lars.bilke@HIDDEN>
X-Mailer: git-send-email 2.46.1
X-Debbugs-Cc: Andreas Enge <andreas@HIDDEN>, Eric Bavier <bavier@HIDDEN>, 
 Sharlatan Hellseher <sharlatanus@HIDDEN>
Received-SPF: pass client-ip=141.65.7.211; envelope-from=lars.bilke@HIDDEN;
 helo=mailgate.ufz.de
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
Cc: Lars Bilke <lars.bilke@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/geo.scm (gdal): Update to 3.10.2.
* gnu/packages/geo.scm (gdal): Add fix-rpath phase from https://issues.guix.gnu.org/68606

Change-Id: I973e04af737d757329adfbfa37d255386143a21c
---
 gnu/packages/geo.scm | 124 ++++++++++++++++++++++++-------------------
 1 file changed, 68 insertions(+), 56 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 251ef5ced9..943de4586f 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1408,68 +1408,80 @@ (define-public pdal
 (define-public gdal
   (package
     (name "gdal")
-    (version "3.6.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                     "http://download.osgeo.org/gdal/" version "/gdal-"
-                     version ".tar.gz"))
-              (sha256
-               (base32
-                "1qckwnygszxkkq40bf87s3m1sab6jj9jyakdvskh0qf7dq8zjarf"))
-              (modules '((guix build utils)))
-              (snippet
-                `(begin
+    (version "3.10.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://download.osgeo.org/gdal/" version "/gdal-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1nmh92vbcrp9qnld98vkxsvaw0mrska06kxxbn7n6kgbh6mhlwfa"))
+       (modules '((guix build utils)))
+       (snippet `(begin
                    ;; TODO: frmts contains a lot more bundled code.
                    (for-each delete-file-recursively
-                     ;; bundled code
-                     '("frmts/png/libpng"
-                       "frmts/gif/giflib"
-                       "frmts/jpeg/libjpeg"
-                       "frmts/jpeg/libjpeg12"
-                       "frmts/gtiff/libtiff"
-                       "frmts/gtiff/libgeotiff"
-                       "frmts/zlib"
-                       "ogr/ogrsf_frmts/geojson/libjson"))))))
+                             ;; bundled code
+                             '("frmts/png/libpng" "frmts/gif/giflib"
+                               "frmts/jpeg/libjpeg"
+                               "frmts/jpeg/libjpeg12"
+                               "frmts/gtiff/libtiff"
+                               "frmts/gtiff/libgeotiff"
+                               "ogr/ogrsf_frmts/geojson/libjson"))))))
     (build-system cmake-build-system)
     (arguments
-     `(#:tests? #f
-       #:configure-flags
-       (list "-DGDAL_USE_INTERNAL_LIBS=WHEN_NO_EXTERNAL"
-             "-DGDAL_USE_JPEG12_INTERNAL=OFF")))
-    (inputs
-     (list curl
-           expat
-           freexl
-           geos
-           giflib
-           json-c
-           libgeotiff
-           libjpeg-turbo
-           libjxl
-           libpng
-           libtiff
-           libwebp
-           lz4
-           netcdf
-           openssl
-           openjpeg
-           pcre2
-           postgresql ; libpq
-           proj
-           qhull
-           sqlite
-           swig
-           zlib
-           zstd))
-    (native-inputs
-     (list pkg-config
-           python))
-    (propagated-inputs
-     (list python-numpy))
+     (list
+      #:tests? #f
+      #:configure-flags
+      #~(list "-DGDAL_USE_INTERNAL_LIBS=WHEN_NO_EXTERNAL"
+              "-DGDAL_USE_JPEG12_INTERNAL=OFF")
+      #:modules '((guix build cmake-build-system)
+                  (guix build utils)
+                  (ice-9 rdelim)
+                  (ice-9 popen))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'fix-rpath
+            (lambda* (#:key outputs #:allow-other-keys)
+              (let ((libdir (string-append (assoc-ref outputs "out") "/lib")))
+                (for-each (lambda (file)
+                            (let* ((pipe (open-pipe* OPEN_READ "patchelf"
+                                                     "--print-rpath" file))
+                                   (line (read-line pipe)))
+                              (and (zero? (close-pipe pipe))
+                                   (invoke "patchelf" "--set-rpath"
+                                           (string-append libdir ":" line)
+                                           file))))
+                          (find-files libdir ".*\\.so$"))))))))
+    (inputs (list curl
+                  expat
+                  freexl
+                  geos
+                  giflib
+                  json-c
+                  libgeotiff
+                  libjpeg-turbo
+                  libjxl
+                  libpng
+                  libtiff
+                  libwebp
+                  lz4
+                  netcdf
+                  openssl
+                  openjpeg
+                  pcre2
+                  postgresql ;libpq
+                  proj
+                  qhull
+                  sqlite
+                  swig
+                  zlib
+                  zstd))
+    (native-inputs (list patchelf pkg-config python))
+    (propagated-inputs (list python-numpy))
     (home-page "https://gdal.org/")
     (synopsis "Raster and vector geospatial data format library")
-    (description "GDAL is a translator library for raster and vector geospatial
+    (description
+     "GDAL is a translator library for raster and vector geospatial
 data formats.  As a library, it presents a single raster abstract data model
 and single vector abstract data model to the calling application for all
 supported formats.  It also comes with a variety of useful command line

base-commit: f203028ef869945b3d44f0f2f7b16d61d064190c
-- 
2.46.1




------------=_1741380722-31976-1--



Last modified: Fri, 7 Mar 2025 21:00:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.