Bug 1307507

Summary: flrig: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: flrigAssignee: Richard Shaw <hobbes1069>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hobbes1069, rc040203
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-17 17:04:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1305208    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
proposed patch none

Description Fedora Release Engineering 2016-02-13 21:22:09 UTC
Your package flrig failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=12815733

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Comment 1 Fedora Release Engineering 2016-02-13 21:22:11 UTC
Created attachment 1124585 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-13 21:22:12 UTC
Created attachment 1124586 [details]
root.log

Comment 3 Fedora Release Engineering 2016-02-13 21:22:13 UTC
Created attachment 1124587 [details]
state.log

Comment 4 Ralf Corsepius 2016-02-17 12:26:56 UTC
Created attachment 1127928 [details]
proposed patch

This FTBFS is caused by a symbol clash between a file-local variable "ignore" and std::ignore, which is exposed by this package using "using namespace std;" in its files.

A proper fix would be to eliminate all "using namespace std;" or to rename the offending variable.

The patch (against Fedora's spec in git master) implements the latter, because it's less intrusive and therefore seems more appropriate as a sort term work-around for a package to me.

Comment 5 Richard Shaw 2016-02-17 17:04:05 UTC
Thanks for the quick fix. Applied and built. I have reported it upstream as well.

http://koji.fedoraproject.org/koji/taskinfo?taskID=13024283