Bug 1103592

Summary: wxsqlite3 3.1.0-1 not built with $RPM_OPT_FLAGS
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: wxsqlite3Assignee: MartinKG <mgansser>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mgansser
Target Milestone: ---Keywords: Patch, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: wxsqlite3-3.1.0-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-12 06:24:37 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:
Bug Depends On:    
Bug Blocks: 496968    
Attachments:
Description Flags
Don't discard $RPM_OPT_FLAGS none

Description Ville Skyttä 2014-06-02 07:25:12 UTC
Created attachment 901354 [details]
Don't discard $RPM_OPT_FLAGS

wxsqlite3 3.1.0-1 is not built with $RPM_OPT_FLAGS. The reason for this is incorrectly setting CXXFLAGS.

Why is -Wno-unused-local-typedefs being added to CXXFLAGS in the first place? It's not our business to mute warnings unless they cause actual problems. I suggest reverting to the standard 

    %configure
    make %{?_smp_mflags}

...which will also fix this issue, or if you insist on adding -Wno-unused-local-typedefs, please document the rationale for doing so in the specfile ("avoid compiler warnings" is not enough!), and do it properly for example like in the attached patch.

Comment 1 Fedora Update System 2014-06-02 16:56:41 UTC
wxsqlite3-3.1.0-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/wxsqlite3-3.1.0-2.fc20

Comment 2 Fedora Update System 2014-06-04 07:51:52 UTC
Package wxsqlite3-3.1.0-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing wxsqlite3-3.1.0-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7016/wxsqlite3-3.1.0-2.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-06-12 06:24:37 UTC
wxsqlite3-3.1.0-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.