Bug 1307721

Summary: libffado: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: libffadoAssignee: Brendan Jones <brendan.jones.it>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: brendan.jones.it, fdc, nphilipp, yselkowi
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libffado-2.2.1-8.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-07 22:08:51 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
Fix FTBFS with GCC 6 (#1307721) none

Description Fedora Release Engineering 2016-02-13 21:46:43 UTC
Your package libffado failed to build from source in current rawhide.

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

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

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

Comment 2 Fedora Release Engineering 2016-02-13 21:46:47 UTC
Created attachment 1125225 [details]
root.log

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

Comment 4 Jan Kurik 2016-02-24 14:52:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 5 Yaakov Selkowitz 2016-02-25 14:20:00 UTC
In file included from /usr/include/c++/6.0.0/math.h:36:0,
                 from src/libutil/TimestampedBuffer.cpp:182:
/usr/include/c++/6.0.0/cmath:101:37: error: '__is_integer' was not declared in this scope
     typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
                                     ^~~~~~~~~~~~

src/libutil/TimestampedBuffer.cpp has a #include <math.h> inside of a namespace; it needs to be moved to the head of the file.

Comment 6 Yaakov Selkowitz 2016-03-01 03:27:58 UTC
Created attachment 1131792 [details]
Fix FTBFS with GCC 6 (#1307721)

Scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=13183739