Bug 2236036 - re2 is polluting C++ compiler flags with -std=c++11
Summary: re2 is polluting C++ compiler flags with -std=c++11
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: re2
Version: epel9
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Denis Arnaud
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-30 07:52 UTC by Nicolas Le Scouarnec
Modified: 2023-09-09 02:11 UTC (History)
3 users (show)

Fixed In Version: re2-20211101-3.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-09 02:11:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2171864 0 unspecified CLOSED re2 is polluting C++ compiler flags with -std=c++11 2023-08-30 07:52:42 UTC

Description Nicolas Le Scouarnec 2023-08-30 07:52:43 UTC
Description of problem:
When using re2 , projects are polluted by a -std=c++11 compile flags that is pushed by pkg-config. The problem has been fixed on the upstream and in Fedora. See : 
Bug 2171864 - re2 is polluting C++ compiler flags with -std=c++11

Version-Release number of selected component (if applicable):
re2-20211101-2.el9.x86_64

How reproducible:
Run command : pkg-config --cflags re2
It shouldn't return "-std=c++11"

Steps to Reproduce:
1. Run command : pkg-config --cflags re2
2. Check if output contains -std=c++11 , it shouldn't


Actual results:
$ pkg-config --cflags re2
-pthread -std=c++11

Expected results:
$ pkg-config --cflags re2
-pthread

Additional info:

Comment 1 Denis Arnaud 2023-08-30 08:54:29 UTC
Thanks for reporting that issue!

Do not hesitate to submit a pull request (https://src.fedoraproject.org/rpms/re2), as I do not have much time to investigate that issue.

Comment 2 Troy Dawson 2023-08-30 13:52:47 UTC
The previous patch applies and complied with no problems.
Here is the pull request.
https://src.fedoraproject.org/rpms/re2/pull-request/5

Comment 3 Fedora Update System 2023-08-31 19:20:56 UTC
FEDORA-EPEL-2023-df39a25131 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-df39a25131

Comment 4 Fedora Update System 2023-09-01 02:31:19 UTC
FEDORA-EPEL-2023-df39a25131 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-df39a25131

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-09-09 02:11:20 UTC
FEDORA-EPEL-2023-df39a25131 has been pushed to the Fedora EPEL 9 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.