Hello,

On Fri, 15 Mar 2024 13:53:18 +0100 =?UTF-8?Q?Sebastian_Sp=C3=A4th?= 
<sebast...@sspaeth.de> wrote:
This is fixed in the next release 0.11.1. However, I fail to build a package (due to my unexperience I guess).

When I try to build a package from
https://salsa.debian.org/DebianOnMobile-team/s2geometry

I get the error:

CMake Error at CMakeLists.txt:204 (target_link_libraries):
   Target "s2" links to:
     absl::check
   but the target was not found.  Possible reasons include:
     * There is a typo in the target name.
     * A find_package call is missing for an IMPORTED target.
     * An ALIAS target is missing.

So something seems to be missing in the abseil library that it depends on. I am a bit at a loss about how to fix this. With a working package I could upload a new version...

http://debomatic-amd64.debian.net/distribution#unstable/s2geometry/0.11.1-1/buildlog

Looks like now that newer abseil is in sid, this issue is gone (maybe the cmake 
was fixed in abseil side)

(however, one test looks failing)
78: [ RUN      ] S2PolygonTestBase.Area
111: .........WARNING: All log messages before absl::InitializeLog() is called 
are written to STDERR
111: F0000 00:00:1712046075.956008 1262963 s2edge_distances.cc:405] Check failed: 
tolerance.radians() > 0 (0 vs. 0)
111: *** Check failure stack trace: ***
110/111 Test #111: s2geometry_test ................................Subprocess 
aborted***Exception:   1.52 sec
...................................................................Index 
terms/doc: 13.00, Query terms/doc: 0.00


G.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to