#1145666 abseil: autopkgtest fails with googletest 1.18.0

#1145666#5
Date:
2026-08-26 13:28:00 UTC
From:
To:
abseil's autopkgtest fails when run with googletest 1.18.0 which is
currently in Unstable.

https://ci.debian.net/packages/a/abseil/testing/amd64/

Thank you,
Jeremy Bícha

#1145666#10
Date:
2026-08-30 11:51:07 UTC
From:
To:
162s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libabsl_scoped_mock_log.a(scoped_mock_log.cc.o): in function `absl::debian10::ScopedMockLog::ScopedMockLog(absl::debian10::MockLogDefault)':
162s (.text+0xabf): undefined reference to `testing::internal::GetWithoutMatchers()'

googletest does not have a stable ABI.

It is only shipped as a static library, and both this and the ABI
instability are usually not a problem where googletest is only used
for build tests and nothing that gest shipped.

But a static library from abseil using static libraries from googletest
runs into the ABI issues.

libabsl-dev needs a dependency on the exact upstream version of
libgmock-dev it was built with, something like
  Depends: libgmock-dev (>= 1.17.0), libgmock-dev (<< 1.17.0.1~)

cu
Adrian

#1145666#15
Date:
2026-09-03 04:14:54 UTC
From:
To:
fixed in 20260817.0-1~exp2
#1145666#20
Date:
2026-09-25 18:03:50 UTC
From:
To:
Control: reopen -1

Nothing seems fixed there, the rebuild only hides the problem until the
next googletest update.

cu
Adrian

#1145666#29
Date:
2026-09-26 14:25:41 UTC
From:
To:
Control: notfound -1 20260817.0-1~exp2
Control: severity -1 wishlist

Adrian,

maybe you don't like the ways this is currently fixed by a binNMU, or an
upload of a new version.  But it's fixed.  But then, please spend your
time to implement a patch to your liking.  It may be a better use of
your time, instead of constantly fiddling with the build priorities on
the buildds.

Thanks, Matthias