I dug as far as I could on sra-sdk before hitting a block on time available.

1. abseil is introduced with `d/p/support_libre2-11.patch`
2. it's possible to remove the references, however it'll need something to deal
with the string comparisons.
  * we can fall back to substring checks in most of the diff things like
`suffix.subtr(0,2) == "/1" || suffix.substr(0,2) == "/2"`
  * find something in `re2` for matching, as used in other places.

All the subtr matching or literal matching leads to "indeterminate
behaviour" so running it through static analysis to figure things out would
be better. But I can't see a drop-in replacement for absl::Starts_With().



On Fri, 23 Jan 2026 03:35:28 +0100 Matthias Klose <[email protected]> wrote:
> Package: src:sra-sdk
> Version: 3.2.1+dfsg-5
> Severity: important
> Tags: ftbfs sid forky
> User: [email protected]>
> Usertags: abseil20260107
>
> sra-sdk ftbfs with abseil 20260107, absl_string_view is not available
> anymore.
>
> [...]
> /usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -labsl_string_view: No
> such file or directory
> collect2: error: ld returned 1 exit status
> /usr/bin/c++ -Wall -g -O2 -fno-omit-frame-pointer
> -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -fcf-protection
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/sra-sdk-3.2.1+dfsg-4ubuntu6
> -fsigned-char -Wdate-time -D_FORTIFY_SOURCE=3 -DH5_USE_110_API
> -Wno-unused-function  -Wl,-Bsymbolic-functions
>
-Wl,--package-metadata=%7B%22type%22:%22deb%22%2C%22os%22:%22ubuntu%22%2C%22name%22:%22sra-sdk%22%2C%22version%22:%223.2.1+dfsg-4ubuntu6%22%2C%22architecture%22:%22amd64%22%7D

> -Wl,-z,relro -Wl,-z,now
> -Wl,--dependency-file=CMakeFiles/test-regexpr.dir/link.d
> "CMakeFiles/test-regexpr.dir/test-regexpr.cpp.o" -o
> ../../../test-bin/test-regexpr  /usr/lib/x86_64-linux-gnu/libkapp.a
> ../../../ilib/libtk-version.a /usr/lib/x86_64-linux-gnu/libktst.a
> /usr/lib/x86_64-linux-gnu/libncbi-vdb.so -lpthread -ldl -lm -lmbedx509
> -lmbedtls -lmbedcrypto -lre2 -labsl_string_view
> make[3]: ***
> [test/loaders/sharq/CMakeFiles/test-regexpr.dir/build.make:108:
> test-bin/test-regexpr] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
>
>
>

Reply via email to