sysreqsdb icon indicating copy to clipboard operation
sysreqsdb copied to clipboard

use recent GDAL version

Open achubaty opened this issue 4 years ago • 5 comments

Ubuntu checks requiring rgdal and related packages fail because an older GDAL version is being installed:

#> checking GDAL version >= 1.11.4... no
#> configure: error: upgrade GDAL to 1.11.4 or later
#> ERROR: configuration failed for package ‘rgdal’

Ideally, GDAL >= 2 would be installed from the ubuntugis repo, e.g., using the following:

sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install libgdal-dev

achubaty avatar Sep 06 '19 16:09 achubaty

This would be great... I have several packages depending on sf, which seems to be unable to install because of this. I would be happy to try a PR, but I don't see a way of adding an additional apt repository in https://github.com/r-hub/sysreqsdb/blob/master/sysreqs/libgdal.json.

ateucher avatar Nov 20 '19 19:11 ateucher

Isn't gdal meanwhile at v2 in 18.04+? Even Travis supports 18.04 when setting dist: bionic.

pat-s avatar Jan 25 '20 21:01 pat-s

@pat-s just to followup: bionic doesn't work for travis. it will still use xenial:

Without going into too much detail, I will say that there is currently no Bionic image capable of building languages other than Perl, Python and Ruby. (These are arbitrary choices, and we will work on expanding the list.)

https://travis-ci.community/t/bionic-builds-fail-call-xenial-solved/4899/3 (not actually solved).

achubaty avatar Jun 27 '20 02:06 achubaty

Bionic and Focal are now officially supported.

pat-s avatar Aug 26 '20 14:08 pat-s

While I can get jobs to run using bionic, they fail when trying to install R:

curl: (22) The requested URL returned error: 403 
The command "eval curl -fLo /tmp/R-4.0.0-$(lsb_release -cs).xz https://travis-ci.rstudio.org/R-4.0.0-$(lsb_release -cs).xz " failed 3 times.

Looks like Rstudio does not provide bionic nor focal versions, so these are de facto unsupported still.

achubaty avatar Aug 26 '20 14:08 achubaty