Bug 2164925

Summary: dtkwidget: FTBFS in Fedora Rawhide (gtest-1.13.0)
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: dtkwidgetAssignee: Deepin DE SIG <deepinde-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: deepinde-sig, felixonmars, robinlee.sysu, sztsian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/dtkwidget
Whiteboard:
Fixed In Version: dtkwidget-5.6.12-1.fc39 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-21 03:06:47 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:23:01 UTC
Description of problem:
Package dtkwidget fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
5.5.41-5.fc38

Steps to Reproduce:
koji build --scratch f38 dtkwidget-5.5.41-5.fc38.src.rpm

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

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 testcases/widgets/ut_daboutdialog.cpp:22:
/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 dtkwidget with C++14 or later in order to use the system copy of gtest.

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

Comment 2 Fedora Update System 2023-08-21 02:56:43 UTC
FEDORA-2023-6f85635fe1 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6f85635fe1

Comment 3 Fedora Update System 2023-08-21 03:06:47 UTC
FEDORA-2023-6f85635fe1 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.