Bug 1055048

Summary: hornetq 2.4.0-3 not built with $RPM_OPT_FLAGS
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: hornetqAssignee: Marek Goldmann <mgoldman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mgoldman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hornetq-2.4.0-4.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-23 11:14:26 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: 1055482, 1056049    
Bug Blocks: 496968    

Description Ville Skyttä 2014-01-18 09:56:42 UTC
I guess hornetq 2.4.0-3's native bits are not being built with $RPM_OPT_FLAGS. Guess, because the build doesn't log the c++ compiler flags it uses, doesn't seem anything would use $RPM_OPT_FLAGS or other envifonment variables, and that -debuginfo contains no sources.

Comment 1 Marek Goldmann 2014-01-20 10:11:36 UTC
I'll disable the debuginfo package since it does not make sense when using the nar maven plugin. But I need to wait for the qpid-proton-java package to become available since it was dropped from qpid-proton main package.

Comment 2 Ville Skyttä 2014-01-20 13:58:47 UTC
Aren't the generated executables/shared libraries/objects ordinary ones? If yes, they should be built with $RPM_OPT_FLAGS being honored, no matter what builds them.

http://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags

Comment 3 Marek Goldmann 2014-01-21 13:28:20 UTC
(In reply to Ville Skyttä from comment #2)
> Aren't the generated executables/shared libraries/objects ordinary ones? If
> yes, they should be built with $RPM_OPT_FLAGS being honored, no matter what
> builds them.
> 
> http://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags

This is an issue in nar-maven-plugin then, I opened bug 1056049.

Comment 4 Fedora Update System 2014-01-23 11:20:23 UTC
hornetq-2.4.0-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/hornetq-2.4.0-4.fc20

Comment 5 Fedora Update System 2014-02-06 03:55:26 UTC
hornetq-2.4.0-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.