Bug 2165230 - gstreamermm: FTBFS in Fedora Rawhide with gtest-1.13.0
Summary: gstreamermm: FTBFS in Fedora Rawhide with gtest-1.13.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gstreamermm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-28 17:25 UTC by Ben Beasley
Modified: 2023-02-01 10:00 UTC (History)
2 users (show)

Fixed In Version: gstreamermm-1.10.0-18.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-01 10:00:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ben Beasley 2023-01-28 17:25:07 UTC
Description of problem:
Package gstreamermm fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
1.10.0-17.fc38

Steps to Reproduce:
koji build --scratch f38 gstreamermm-1.10.0-17.fc38.src.rpm

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

Since 1.13.0, gtest requires C++14 or later. Possible solutions include:

- Patch gstreamermm to build with C++14 or later.
- Stop building the tests.
- Bundle a gtest 1.12.1 source archive and compile and link against that instead.

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 ../../tests/mmtest.h:4,
                 from ../../tests/test-bufferlist.cc:8:
/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.
      |  ^~~~~

Comment 1 Dominik 'Rathann' Mierzejewski 2023-02-01 08:56:23 UTC
Thanks for the pointers. I'm looking into it.

Comment 2 Dominik 'Rathann' Mierzejewski 2023-02-01 09:35:02 UTC
Ok, it looks like dropping the hard-coded -std=c++11 and -std=c++0x did the trick.

Comment 3 Fedora Update System 2023-02-01 09:56:39 UTC
FEDORA-2023-83dda7c388 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-83dda7c388

Comment 4 Fedora Update System 2023-02-01 10:00:15 UTC
FEDORA-2023-83dda7c388 has been pushed to the Fedora 38 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.