Bug 1923435 - libpmemobj-cpp: FTBFS in Fedora rawhide/f34
Summary: libpmemobj-cpp: FTBFS in Fedora rawhide/f34
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libpmemobj-cpp
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luke
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F34FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-02-01 16:50 UTC by Fedora Release Engineering
Modified: 2021-02-15 15:26 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-02-15 15:26:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2021-02-01 16:50 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2021-02-01 16:50 UTC, Fedora Release Engineering
no flags Details
state.log (999 bytes, text/plain)
2021-02-01 16:50 UTC, Fedora Release Engineering
no flags Details
cmake success /Zc:cplusplus flag (1.07 KB, text/plain)
2021-02-03 16:23 UTC, Luke
no flags Details

Description Fedora Release Engineering 2021-02-01 16:50:46 UTC
libpmemobj-cpp failed to build from source in Fedora rawhide/f34

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Please fix libpmemobj-cpp at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
libpmemobj-cpp will be orphaned. Before branching of Fedora 35,
libpmemobj-cpp will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2021-02-01 16:50:49 UTC
Created attachment 1753319 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2021-02-01 16:50:50 UTC
Created attachment 1753320 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2021-02-01 16:50:51 UTC
Created attachment 1753321 [details]
state.log

Comment 4 Luke 2021-02-03 16:23:22 UTC
It seems like this is gcc 11 issue.

I've used latest rawhide docker to play with this issue and it seems like a test within CMake should not succeed on Unix/Linux system (see attached CMake test, a snippet from our build - from CMakeFiles/CMakeOutput.log ).

I've tried different cmake (3.18.3), I've checked on Fedora 33 & 32 (with previous gcc versions) and I used clang build. They all produce:
```
-- Performing Test CXX_HAS_/Zc:__cplusplus - Failed
```

Comment 5 Luke 2021-02-03 16:23:52 UTC
Created attachment 1754814 [details]
cmake success /Zc:cplusplus flag

Comment 6 Luke 2021-02-05 10:53:42 UTC
We've included a fix in our CMake to skip this check (on Linux) in our recent version (1.12-rc1: https://github.com/pmem/libpmemobj-cpp/tree/1.12-rc1).

Anyway I still believe this issue should be followed in gcc component.

Comment 7 Ben Cotton 2021-02-09 15:51:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 8 Adam Borowski 2021-02-15 15:26:23 UTC
Fixed version uploaded to rawhide and f34.


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