r-spatial/s2

Installation fails on latest Alpine 3.19.0

Closed this issue · 5 comments

In file included from absl/base/internal/low_level_alloc.cc:26:
../src/absl/base/internal/direct_mmap.h:75:25: error: 'off64_t' has not been declared
   75 |                         off64_t offset) noexcept {
      |                         ^~~~~~~

See abseil/abseil-cpp#1473 for the corresponding upstream issue.

This can be fixed by porting Commit abseil/abseil-cpp@4500c2f from upstream. I have confirmed that s2 1.1.4 installs and checks successfully on Alpine 3.19.0 if that patch is applied.

I need to upload a new version to CRAN Today or tomorrow; is this something you'd want to work in, @paleolimbot, or shall I, or do you want to wait?

I can look at this tonight (Halifax time!)

Thanks, now submitted.

On CRAN now!

That was quick. Thank you!