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/
Created attachment 1753319 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1753320 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1753321 [details] state.log
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 ```
Created attachment 1754814 [details] cmake success /Zc:cplusplus flag
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.
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
Fixed version uploaded to rawhide and f34.