Bug 2164154 - abseil-cpp: FTBFS in Fedora Rawhide
Summary: abseil-cpp: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: abseil-cpp
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rich Mattes
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-24 18:16 UTC by Ben Beasley
Modified: 2023-02-17 23:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-17 23:04:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Build log from failing scratch build (5.20 MB, text/plain)
2023-01-24 18:45 UTC, Ben Beasley
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github abseil abseil-cpp issues 1369 0 None open [Bug]: Failures in absl_str_format_convert_test with gtest 1.13.0 and GCC 13 2023-01-24 21:00:50 UTC

Description Ben Beasley 2023-01-24 18:16:38 UTC
Description of problem:
Package abseil-cpp fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
20220623.1-2.fc38

Steps to Reproduce:
koji build --scratch f38 abseil-cpp-20220623.1-2.fc38.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/abseil-cpp

This succeeded in the F38 mass rebuild, but there is a regression with gtest 1.13.0 (which is currently in the koji buildroot but hasn’t yet hit a compose).

[  FAILED  ] 12 tests, listed below:
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/0.AllIntsWithFlags, where TypeParam = int
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/1.AllIntsWithFlags, where TypeParam = unsigned int
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/2.AllIntsWithFlags, where TypeParam = int
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/3.AllIntsWithFlags, where TypeParam = short
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/4.AllIntsWithFlags, where TypeParam = unsigned short
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/5.AllIntsWithFlags, where TypeParam = long
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/6.AllIntsWithFlags, where TypeParam = unsigned long
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/7.AllIntsWithFlags, where TypeParam = long long
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/8.AllIntsWithFlags, where TypeParam = unsigned long long
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/9.AllIntsWithFlags, where TypeParam = signed char
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/10.AllIntsWithFlags, where TypeParam = unsigned char
[  FAILED  ] TypedFormatConvertTestWithAllIntTypes/TypedFormatConvertTest/11.AllIntsWithFlags, where TypeParam = char

Most or all of these appear to be some kind of whitespace issue, like:

Google Test trace:
/builddir/build/BUILD/abseil-cpp-20220623.1/absl/strings/internal/str_format/convert_test.cc:447:  old_fmt: "%#04.hho"' new_fmt: "%#04.o"
/builddir/build/BUILD/abseil-cpp-20220623.1/absl/strings/internal/str_format/convert_test.cc:403: \0xfd
/builddir/build/BUILD/abseil-cpp-20220623.1/absl/strings/internal/str_format/convert_test.cc:452: Failure
Expected equality of these values:
  old_result
    Which is: " 0375"
  FormatPack(format, absl::MakeSpan(args))
    Which is: "0375"

The WIP PR[1] for 20230117.rc1 also FTBFS with gtest-1.13.0. It seems to have some additional issues, which I haven’t had time to dig through.

[1] https://src.fedoraproject.org/rpms/abseil-cpp/pull-request/10

Comment 1 Ben Beasley 2023-01-24 18:45:36 UTC
Created attachment 1940274 [details]
Build log from failing scratch build

https://koji.fedoraproject.org/koji/taskinfo?taskID=96625186

Comment 2 Ben Beasley 2023-01-24 21:00:51 UTC
Reported upstream at https://github.com/abseil/abseil-cpp/issues/1369.

Comment 3 Ben Cotton 2023-02-07 15:06:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 4 Ben Beasley 2023-02-17 23:04:21 UTC
This seems to work (with 20220623.1 and with 20230125.0) since the development versions of Fedora upgraded from glibc 2.36.9000 to 2.37.


Note You need to log in before you can comment on or make changes to this bug.