Bug 2225763 - dwgrep: FTBFS in Fedora rawhide/f39
Summary: dwgrep: FTBFS in Fedora rawhide/f39
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dwgrep
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Machata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F39FTBFS F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2023-07-25 17:27 UTC by Fedora Release Engineering
Modified: 2024-05-30 21:07 UTC (History)
2 users (show)

Fixed In Version: dwgrep-0.4-17.fc39 dwgrep-0.4-19.fc40
Clone Of:
Environment:
Last Closed: 2024-05-22 01:20:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2023-07-25 17:27 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2023-07-25 17:27 UTC, Fedora Release Engineering
no flags Details
state.log (1003 bytes, text/plain)
2023-07-25 17:28 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2023-07-25 17:27:49 UTC
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/

Comment 1 Fedora Release Engineering 2023-07-25 17:27:54 UTC
Created attachment 1977764 [details]
build.log

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

Comment 2 Fedora Release Engineering 2023-07-25 17:27:57 UTC
Created attachment 1977765 [details]
root.log

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

Comment 3 Fedora Release Engineering 2023-07-25 17:28:00 UTC
Created attachment 1977766 [details]
state.log

Comment 4 Fedora Release Engineering 2023-08-16 07:55:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 5 Fedora Release Engineering 2024-03-24 04:22:30 UTC
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

Comment 6 Fedora Release Engineering 2024-04-14 04:22:29 UTC
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

Comment 7 Mark Wielaard 2024-04-21 16:29:42 UTC
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 ..

Comment 8 Fedora Release Engineering 2024-05-05 04:22:25 UTC
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

Comment 9 Fedora Update System 2024-05-13 13:09:14 UTC
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

Comment 10 Fedora Update System 2024-05-13 13:09:17 UTC
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

Comment 11 Fedora Update System 2024-05-14 03:16:32 UTC
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.

Comment 12 Fedora Update System 2024-05-14 03:23:20 UTC
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.

Comment 13 Fedora Update System 2024-05-22 01:20:59 UTC
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.

Comment 14 Fedora Update System 2024-05-22 01:26:45 UTC
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.


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