GNU bug report logs - #70064
Error when loading r-sf and other spatial packages (gdal related)

Previous Next

Package: guix;

Reported by: Javier Vaquero Martínez <javier_vm <at> unex.es>

Date: Fri, 29 Mar 2024 04:08:04 UTC

Severity: normal

Done: Simon Tournier <zimon.toutoune <at> gmail.com>

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 70064 in the body.
You can then email your comments to 70064 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 bug-guix <at> gnu.org:
bug#70064; Package guix. (Fri, 29 Mar 2024 04:08:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Javier Vaquero Martínez <javier_vm <at> unex.es>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 29 Mar 2024 04:08:04 GMT) Full text and rfc822 format available.

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

From: Javier Vaquero Martínez <javier_vm <at> unex.es>
To: bug-guix <at> gnu.org
Subject: Error when loading r-sf and other spatial packages (gdal related)
Date: Thu, 28 Mar 2024 18:02:13 +0100
[Message part 1 (text/plain, inline)]
Dear guix community,

I am quite new to Guix so I apologize if I am doing something wrong.

I added channel guix-cran to get R packages. I installed r-sf r-terra, 
and other packages. However, I cannot load them in R.

Here, at the end of the message I show and example with r-rgdal but same 
thing happens with r-sf or r-terra.

Am I doing something wrong? Can you reproduce the bug?

Regards,

Javier.

|$ guix shell r r-rgdal -- R -e "library(rgdal)" R version 4.3.3 
(2024-02-29) -- "Angel Food Cake" Copyright (C) 2024 The R Foundation 
for Statistical Computing Platform: x86_64-unknown-linux-gnu (64-bit) R 
es un software libre y viene sin GARANTIA ALGUNA. Usted puede 
redistribuirlo bajo ciertas circunstancias. Escriba 'license()' o 
'licence()' para detalles de distribucion. R es un proyecto colaborativo 
con muchos contribuyentes. Escriba 'contributors()' para obtener más 
información y 'citation()' para saber cómo citar R o paquetes de R en 
publicaciones. Escriba 'demo()' para demostraciones, 'help()' para el 
sistema on-line de ayuda, o 'help.start()' para abrir el sistema de 
ayuda HTML con su navegador. Escriba 'q()' para salir de R. > 
library(rgdal) Loading required package: sp Error: package or namespace 
load failed for ‘rgdal’ in dyn.load(file, DLLpath = DLLpath, ...): 
unable to load shared object 
'/gnu/store/xjs26gdxwj2149rzxmq1rfikbly2i1yr-r-rgdal-1.6-7/site-library/rgdal/libs/rgdal.so': 
/gnu/store/71kgqypidg2ksvwm84ccqjwyzai9ay1i-gdal-3.6.1/lib/libgdal.so.32: 
undefined symbol: GEOSConcaveHull_r |

​
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#70064; Package guix. (Thu, 04 Apr 2024 16:10:03 GMT) Full text and rfc822 format available.

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

From: Javier Vaquero Martínez <javier_vm <at> unex.es>
To: 70064 <at> debbugs.gnu.org
Subject: Error when loading r-sf and other spatial packages (gdal related)
Date: Thu, 4 Apr 2024 18:04:10 +0200
So I managed to solve this. It turns out that some environment variables 
where making this error to happen. Running in an isolated environment 
with `guix shell -C r r-sf -- r` solves the problem.


Regards





Information forwarded to bug-guix <at> gnu.org:
bug#70064; Package guix. (Wed, 05 Jun 2024 17:11:02 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Javier Vaquero Martínez <javier_vm <at> unex.es>,
 70064 <at> debbugs.gnu.org
Subject: Re: bug#70064: Error when loading r-sf and other spatial packages
 (gdal related)
Date: Wed, 05 Jun 2024 18:54:57 +0200
Hi,

On Thu, 04 Apr 2024 at 18:04, Javier Vaquero Martínez <javier_vm <at> unex.es> wrote:

> So I managed to solve this. It turns out that some environment variables 
> where making this error to happen. Running in an isolated environment 
> with `guix shell -C r r-sf -- r` solves the problem.

Thanks for letting us know.  Therefore, can we close?

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#70064; Package guix. (Thu, 06 Jun 2024 05:06:03 GMT) Full text and rfc822 format available.

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

From: Javier Vaquero Martínez <javier_vm <at> unex.es>
To: Simon Tournier <zimon.toutoune <at> gmail.com>, 70064 <at> debbugs.gnu.org
Subject: Re: bug#70064: Error when loading r-sf and other spatial packages
 (gdal related)
Date: Wed, 5 Jun 2024 19:18:12 +0200
Yes, it can be closed.

Regards.

El 5/6/24 a las 18:54, Simon Tournier escribió:
> [No suele recibir correo electrónico de zimon.toutoune <at> gmail.com. Descubra por qué esto es importante en https://aka.ms/LearnAboutSenderIdentification ]
>
> Hi,
>
> On Thu, 04 Apr 2024 at 18:04, Javier Vaquero Martínez <javier_vm <at> unex.es> wrote:
>
>> So I managed to solve this. It turns out that some environment variables
>> where making this error to happen. Running in an isolated environment
>> with `guix shell -C r r-sf -- r` solves the problem.
> Thanks for letting us know.  Therefore, can we close?
>
> Cheers,
> simon




bug closed, send any further explanations to 70064 <at> debbugs.gnu.org and Javier Vaquero Martínez <javier_vm <at> unex.es> Request was from Simon Tournier <zimon.toutoune <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 18 Jun 2024 14:05:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 17 Jul 2024 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 9 days ago.

Previous Next


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