GNU bug report logs - #43991
[PATCH] gnu: r-sf: Use proj instead of proj.4.

Previous Next

Package: guix-patches;

Reported by: Wiktor Żelazny <wz <at> freeshell.de>

Date: Wed, 14 Oct 2020 17:25:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43991 in the body.
You can then email your comments to 43991 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to guix-patches <at> gnu.org:
bug#43991; Package guix-patches. (Wed, 14 Oct 2020 17:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wiktor Żelazny <wz <at> freeshell.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 14 Oct 2020 17:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Wiktor Żelazny <wz <at> freeshell.de>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: r-sf: Use proj instead of proj.4.
Date: Wed, 14 Oct 2020 19:24:05 +0200
From: Wiktor Żelazny <wzelazny <at> vurv.cz>

* gnu/packages/cran.scm (r-sf)[inputs]: Replace proj.4 with proj, and
add sqlite.

This addresses segfaults while loading vector GIS data from a file.
---
 gnu/packages/cran.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 59a409f8e9..252699c691 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17,7 +17,7 @@
 ;;; Copyright © 2018 Marius Bakke <mbakke <at> fastmail.com>
 ;;; Copyright © 2018, 2019 Brett Gilio <brettg <at> gnu.org>
 ;;; Copyright © 2019 Nicolò Balzarotti <anothersms <at> gmail.com>
-;;; Copyright © 2019 Wiktor Żelazny <wzelazny <at> vurv.cz>
+;;; Copyright © 2019, 2020 Wiktor Żelazny <wzelazny <at> vurv.cz>
 ;;; Copyright © 2019 Arne Babenhauserheide <arne_bab <at> web.de>
 ;;; Copyright © 2019, 2020 Efraim Flashner <efraim <at> flashner.co.il>
 ;;; Copyright © 2020 Todor Kondić <tk.code <at> protonmail.com>
@@ -90,6 +90,7 @@
   #:use-module (gnu packages pulseaudio)  ;libsndfile
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages sqlite)
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages tcl)
   #:use-module (gnu packages tls)
@@ -13957,7 +13958,8 @@ tessellation.")
     (inputs
      `(("gdal" ,gdal)
        ("geos" ,geos)
-       ("proj" ,proj.4)
+       ("proj" ,proj)
+       ("sqlite" ,sqlite)
        ("zlib" ,zlib)))
     (propagated-inputs
      `(("r-classint" ,r-classint)
-- 
2.28.0





Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Thu, 15 Oct 2020 20:12:02 GMT) Full text and rfc822 format available.

Notification sent to Wiktor Żelazny <wz <at> freeshell.de>:
bug acknowledged by developer. (Thu, 15 Oct 2020 20:12:02 GMT) Full text and rfc822 format available.

Message #10 received at 43991-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Wiktor Żelazny <wz <at> freeshell.de>
Cc: 43991-done <at> debbugs.gnu.org
Subject: Re: [bug#43991] [PATCH] gnu: r-sf: Use proj instead of proj.4.
Date: Thu, 15 Oct 2020 21:11:19 +0100
[Message part 1 (text/plain, inline)]
Wiktor Żelazny <wz <at> freeshell.de> writes:

> From: Wiktor Żelazny <wzelazny <at> vurv.cz>
>
> * gnu/packages/cran.scm (r-sf)[inputs]: Replace proj.4 with proj, and
> add sqlite.
>
> This addresses segfaults while loading vector GIS data from a file.
> ---
>  gnu/packages/cran.scm | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
> index 59a409f8e9..252699c691 100644
> --- a/gnu/packages/cran.scm
> +++ b/gnu/packages/cran.scm
> @@ -17,7 +17,7 @@
>  ;;; Copyright © 2018 Marius Bakke <mbakke <at> fastmail.com>
>  ;;; Copyright © 2018, 2019 Brett Gilio <brettg <at> gnu.org>
>  ;;; Copyright © 2019 Nicolò Balzarotti <anothersms <at> gmail.com>
> -;;; Copyright © 2019 Wiktor Żelazny <wzelazny <at> vurv.cz>
> +;;; Copyright © 2019, 2020 Wiktor Żelazny <wzelazny <at> vurv.cz>
>  ;;; Copyright © 2019 Arne Babenhauserheide <arne_bab <at> web.de>
>  ;;; Copyright © 2019, 2020 Efraim Flashner <efraim <at> flashner.co.il>
>  ;;; Copyright © 2020 Todor Kondić <tk.code <at> protonmail.com>
> @@ -90,6 +90,7 @@
>    #:use-module (gnu packages pulseaudio)  ;libsndfile
>    #:use-module (gnu packages python)
>    #:use-module (gnu packages python-xyz)
> +  #:use-module (gnu packages sqlite)
>    #:use-module (gnu packages statistics)
>    #:use-module (gnu packages tcl)
>    #:use-module (gnu packages tls)
> @@ -13957,7 +13958,8 @@ tessellation.")
>      (inputs
>       `(("gdal" ,gdal)
>         ("geos" ,geos)
> -       ("proj" ,proj.4)
> +       ("proj" ,proj)
> +       ("sqlite" ,sqlite)
>         ("zlib" ,zlib)))
>      (propagated-inputs
>       `(("r-classint" ,r-classint)

Looks good :) I tweaked the commit message slightly, just because I'd
normally put the changelog at the end, but I've pushed to master as
ae6a61d7311cde7ccb863bcff57e26f7674ebc18. Thanks!
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Nov 2020 12:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 277 days ago.

Previous Next


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