r-hub/rhub-linux-builders

sf no longer compiling because of missing gdal 2.0

edzer opened this issue · 8 comments

edzer commented

See e.g. https://builder.r-hub.io/status/sf_0.5-3.tar.gz-3fe6276b76344c54a92dea161f54836f

This used to work; several reverse dependencies experience the same problem, see #20

To make this work on ubuntu, add ppa:ubuntugis/ubuntugis-unstable, see e.g. here

This is happening for me as well on a couple of packages. I am happy to try a PR, but wondering if that should be here, or in sysreqsdb?

is this still an issue?

I think so @maelle - my package slga is passing on travis but failing on r-hub. sf won't install because "configure: error: gdal-config not found or not executable."

Thanks @obrl-soil! I think I got that error locally on Ubuntu, and installed packages using the first Google search link. 🙈 What do you experts recommend in such cases?

@gaborcsardi the fix should happen in sysreqsdb I think?

Kind of looks like gdal.json is used where libgdal.json should be?

The original issue is fixed in r-hub/sysreqsdb@1a05909

rgeos does not compile, at least on our Debian, though, so still not at a happy place.