Bug 2164924 - dtkcore: FTBFS in Fedora Rawhide
Summary: dtkcore: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dtkcore
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Deepin DE SIG
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-27 01:21 UTC by Ben Beasley
Modified: 2023-08-21 03:06 UTC (History)
4 users (show)

Fixed In Version: dtkcore-5.6.13-1.fc39
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-21 03:06:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ben Beasley 2023-01-27 01:21:08 UTC
Description of problem:
Package dtkcore fails to build from source in Fedora Rawhide.

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

Steps to Reproduce:
koji build --scratch f38 dtkcore-5.5.30-5.fc38.src.rpm

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

In file included from /usr/include/c++/13/x86_64-redhat-linux/bits/os_defines.h:39,
                 from /usr/include/c++/13/x86_64-redhat-linux/bits/c++config.h:2920,
                 from /usr/include/c++/13/cstddef:49,
                 from /usr/include/gtest/gtest.h:52,
                 from ut_dutil.h:20,
                 from main.cpp:18:
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
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:
/usr/include/gtest/internal/gtest-port.h:270:2: error: #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 deepin-network-utils with C++14 or later in order to use the system copy of gtest.

Comment 1 Ben Cotton 2023-02-07 15:06:38 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:40 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:44 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.


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