Bug 1030239

Summary: brasero fails to build with GCC 7
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dimstar, zaitor
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1030236    

Description Martin Liška 2017-03-21 08:48:40 UTC
[  111s] burn-plugin.c: In function 'brasero_plugin_test_app':
[  111s] burn-plugin.c:280:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
[  111s]   if ((standard_output && sscanf (standard_output, version_format, &major, &minor, &sub) == i)
[  111s]   ^~
[  111s] burn-plugin.c:281:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
[  111s]   ||  (standard_error && sscanf (standard_error, version_format, &major, &minor, &sub) == i)) {
[  111s]   ^~

Can be tested in openSUSE:Factory:Staging:Gcc7 project.
Comment 1 Dominique Leuenberger 2017-03-22 13:13:17 UTC
https://git.gnome.org/browse/brasero/commit/?id=55f4f7267612d2977b470b2b20e5802fbb1ef019

build: Use -Wno-error=format-nonliteral
Let's get Brasero building for another year.
Comment 2 Bjørn Lie 2017-03-23 11:03:10 UTC
Suggested fix

https://build.opensuse.org/request/show/482181
Comment 3 Dominique Leuenberger 2017-05-16 14:19:24 UTC
(In reply to Bjørn Lie from comment #2)
> Suggested fix
> 
> https://build.opensuse.org/request/show/482181

Fix had been merged and brasero should thus be fixed

With GCC7 being the default compiler in current staging C, this is confirmed:

osc jobhist openSUSE:Factory:Staging:C:DVD brasero standard x86_64

=> 

2017-05-09 03:56:20  brasero                                            meta change      succeeded                6m 45s   lamb53:6