unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 39204@debbugs.gnu.org
Subject: bug#39204: r-rgdal: Reading of vector GIS data causes segfault
Date: Sun, 23 Feb 2020 01:12:17 +0530	[thread overview]
Message-ID: <cu7sgj2quhy.fsf@systemreboot.net> (raw)
In-Reply-To: <CAJ3okZ0y2yAoFR-tXgqbAQ08DCnqqrRd=6RmMwXJ7szQ0c0L5Q@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 481 bytes --]


Let's try to debug the problem you are facing. After applying the
attached patch, please provide the complete outputs of the following
commands. If the output is too long, feel free to send it as an email
attachment.

$ ./pre-inst-env guix build r-gdal

$ ./pre-inst-env guix environment --container --ad-hoc r r-rgdal -- Rscript -e 'library(rgdal); dsn <- system.file("vectors", package = "rgdal")[1]; ogrInfo(dsn=dsn, layer="cities")'

Thank you for your patience! Cheers! :-)


[-- Attachment #1.2: 0001-gnu-r-rgdal-Replace-proj.4-with-proj.patch --]
[-- Type: text/x-patch, Size: 1105 bytes --]

From 7b2430788c2d168bd2a8a848e488a0e03140057b Mon Sep 17 00:00:00 2001
From: Arun Isaac <arunisaac@systemreboot.net>
Date: Sun, 23 Feb 2020 00:46:32 +0530
Subject: [PATCH] gnu: r-rgdal: Replace proj.4 with proj.

* gnu/packages/cran.scm (r-rgdal)[inputs]: Replace proj.4 with proj.
---
 gnu/packages/cran.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b731ddc29e..05759459af 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2018, 2019 Brett Gilio <brettg@gnu.org>
 ;;; Copyright © 2019 Nicolò Balzarotti <anothersms@gmail.com>
 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
+;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -15907,7 +15908,7 @@ effect size.")
     (build-system r-build-system)
     (inputs
      `(("gdal" ,gdal)
-       ("proj.4" ,proj.4)
+       ("proj" ,proj)
        ("zlib" ,zlib)))
     (propagated-inputs
      `(("r-sp" ,r-sp)))
-- 
2.23.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2020-02-22 19:43 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-20 15:43 bug#39204: r-rgdal: Reading of vector GIS data causes segfault Wiktor Żelazny
2020-01-20 19:50 ` zimoun
2020-02-20 10:35   ` zimoun
2020-02-20 17:10     ` Arun Isaac
2020-02-21 11:19       ` zimoun
2020-02-21 12:12         ` Arun Isaac
2020-02-21 12:30           ` zimoun
2020-02-21 18:54           ` zimoun
2020-02-21 21:35             ` Arun Isaac
2020-02-21 22:14               ` zimoun
2020-02-21 18:53       ` zimoun
2020-02-21 21:40         ` Arun Isaac
2020-02-21 22:19           ` zimoun
2020-02-22 19:42             ` Arun Isaac [this message]
2020-02-24 11:33               ` zimoun
2020-02-24 19:09                 ` Arun Isaac
2020-02-25 15:49                   ` zimoun
2020-10-12 10:22                     ` Arun Isaac
2020-10-12 16:23                       ` Wiktor Żelazny
2020-10-13  4:21                         ` Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cu7sgj2quhy.fsf@systemreboot.net \
    --to=arunisaac@systemreboot.net \
    --cc=39204@debbugs.gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).