Bug 1307733

Summary: libqmi: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: libqmiAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: dcbw, lkundrak, yselkowi
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libqmi-1.12.6-3.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-07 21:51:45 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 (#1307733) none

Description Fedora Release Engineering 2016-02-13 21:47:56 UTC
Your package libqmi failed to build from source in current rawhide.

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

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

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

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

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

Comment 4 Jan Kurik 2016-02-24 14:52:39 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 16:47:34 UTC
qmicli-helpers.c: In function 'qmicli_get_raw_data_printable':
qmicli-helpers.c:52:2: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
  new_str_length =  3 * data->len;
  ^~~~~~~~~~~~~~

New warning in GCC 6, and this package builds with -Werror.  Either fix the code, or if the warning is bogus, compile without -Werror.

Comment 6 Yaakov Selkowitz 2016-03-01 03:29:23 UTC
Created attachment 1131793 [details]
Fix FTBFS with GCC 6 (#1307733)

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