Bug 2164926

Summary: dwgrep: FTBFS in Fedora Rawhide (gtest-1.13.0)
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: dwgrepAssignee: Petr Machata <me>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: me, mjw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/dwgrep
Whiteboard:
Fixed In Version: dwgrep-0.4-17.fc39 dwgrep-0.4-19.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-21 14:26:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Beasley 2023-01-27 01:28:26 UTC
Description of problem:
Package dwgrep fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
0.4-15.fc38

Steps to Reproduce:
koji build --scratch f38 dwgrep-0.4-15.fc38.src.rpm

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

In file included from /usr/include/gtest/gtest-message.h:57,
                 from /usr/include/gtest/gtest-assertion-result.h:46,
                 from /usr/include/gtest/gtest.h:64,
                 from /builddir/build/BUILD/dwgrep-0.4/libzwerg/test-stub.cc:29:
/usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported.
  270 | #error C++ versions less than C++14 are not supported.
      |  ^~~~~

In gtest 1.13.0, support for C++ standards older than C++14 was dropped. You will have to build this package with C++14 or later in order to use the system copy of gtest.

Comment 1 Ben Beasley 2023-01-27 01:40:12 UTC
Candidate fix: https://src.fedoraproject.org/rpms/dwgrep/pull-request/1

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

Comment 3 Aoife Moloney 2024-05-07 15:56:12 UTC
This message is a reminder that Fedora Linux 38 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '38'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 38 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Fedora Update System 2024-05-13 13:09:11 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 5 Fedora Update System 2024-05-13 13:09:12 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 6 Fedora Update System 2024-05-14 03:16:30 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 7 Fedora Update System 2024-05-14 03:23:18 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 8 Aoife Moloney 2024-05-21 14:26:50 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 Fedora Update System 2024-05-22 01:20:57 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 10 Fedora Update System 2024-05-22 01:26:42 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.