dwgrep failed to build from source in Fedora rawhide/f39 https://koji.fedoraproject.org/koji/taskinfo?taskID=103569517 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Please fix dwgrep 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, dwgrep will be orphaned. Before branching of Fedora 40, dwgrep 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 1977764 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1977765 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1977766 [details] state.log
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.
Dear Maintainer, your package has an open Fails To Build From Source bug for Fedora 39. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. If you have already fixed this issue, please close this Bugzilla report. Following the policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks (not sooner than 2023-09-19). A week before the mass branching of Fedora 40 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 38 will be retired regardless of the status of this bug. [1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedorapeople.org/groups/schedule/f-40/f-40-key-tasks.html
The package uses gtest which can only be build with -std=c++14 but dwgrep explicitly uses -std=c++11. Simply replacing the check/flag in CMakeLists.txt makes it build again and all tests pass. diff --git a/dwgrep.spec b/dwgrep.spec index 2e697e96da0b..41f4204525b5 100644 --- a/dwgrep.spec +++ b/dwgrep.spec @@ -98,6 +98,7 @@ Boost web page (http://pmachata.github.io/dwgrep/). %build +sed -i "s/c++11/c++14/i" CMakeLists.txt mkdir build pushd build %cmake -B . -S ..
FEDORA-2024-2bc0e94c51 (dwgrep-0.4-17.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-2bc0e94c51
FEDORA-2024-e18175ea86 (dwgrep-0.4-19.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-e18175ea86
FEDORA-2024-e18175ea86 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e18175ea86` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e18175ea86 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-2bc0e94c51 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-2bc0e94c51` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-2bc0e94c51 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-2bc0e94c51 (dwgrep-0.4-17.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-e18175ea86 (dwgrep-0.4-19.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.