Skip to content
Back to formatted view

Raw Message

Message-ID: <CAA0dk0Gst5e-BtGT=bE+c0OxwygQzwk9Ret9kXs_Df6K9oAGkw@mail.gmail.com>
Date: 2026-01-31T19:21:29Z
From: Elias T. Krainski
Subject: [R-pkg-devel] gcc-san fail with s2 package

I am trying to get a new version of a package; however, the gcc-san test
failed:

/usr/include/absl/container/internal/raw_hash_set.h:4052:56:   in
?constexpr? expansion of
?absl::debian7::container_internal::hash_policy_traits<absl::debian7::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>,
void>::get_hash_slot_fn<absl::debian7::hash_internal::Hash<s2shapeutil::ShapeEdgeId>
>()?
/usr/include/absl/container/internal/hash_policy_traits.h:163:54:
error: ?(absl::debian7::container_internal::TypeErasedApplyToSlotFn<absl::debian7::hash_internal::Hash<s2shapeutil::ShapeEdgeId>,
s2shapeutil::ShapeEdgeId> == 0)? is not a constant expression
  163 |     return Policy::template get_hash_slot_fn<Hash>() == nullptr
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
make[1]: *** [/home/hornik/tmp/R-d-gcc-xtra/etc/Makeconf:201:
s2-cell-union.o] Error 1
make[1]: Leaving directory
'/home/hornik/tmp/scratch/RtmpVRwpdp/R.INSTALL260db63d7805ba/s2/src'
ERROR: compilation failed for package ?s2?
* removing ?/home/hornik/tmp/CRAN_special_gcc-san/Library/s2?

Since my package isn't directly dependent on this one (it's fourth order),
I'm not sure how to proceed. Actually, I was surprised by this ERROR with a
package that is on CRAN.

Elias

	[[alternative HTML version deleted]]