Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 578968

Summary: app-arch/unzip-6.0_p20: fails to compile with -Werror=format-security
Product: Gentoo Linux Reporter: Sam Jorna (wraeth) <wraeth>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal    
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713576, 259417    
Attachments: build.log
emerge --info
unzip-6.0-format-security.patch
unzip-6.0_p20.ebuild.patch

Description Sam Jorna (wraeth) gentoo-dev 2016-04-04 00:29:42 UTC
Created attachment 429594 [details]
build.log

> list.c: In function ‘list_files’:
> list.c:183:110: error: format not a string literal and no format arguments [-Werror=format-security]
> list.c:510:106: error: format not a string literal and no format arguments [-Werror=format-security]
> list.c: In function ‘get_time_stamp’:
> list.c:593:110: error: format not a string literal and no format arguments [-Werror=format-security]
> list.c:677:102: error: format not a string literal and no format arguments [-Werror=format-security]
> cc1: some warnings being treated as errors
> Makefile:232: recipe for target 'list.o' failed
> make[1]: *** [list.o] Error 1

> extract.c: In function ‘extract_or_test_files’:
> extract.c:477:114: error: format not a string literal and no format arguments [-Werror=format-security]
> extract.c:757:102: error: format not a string literal and no format arguments [-Werror=format-security]
> extract.c:758:102: error: format not a string literal and no format arguments [-Werror=format-security]
> cc1: some warnings being treated as errors
> Makefile:232: recipe for target 'extract.o' failed
> make[1]: *** [extract.o] Error 1
Comment 1 Sam Jorna (wraeth) gentoo-dev 2016-04-04 00:30:27 UTC
Created attachment 429596 [details]
emerge --info
Comment 2 René Rhéaume 2016-05-28 17:43:44 UTC
Created attachment 435654 [details, diff]
unzip-6.0-format-security.patch
Comment 3 René Rhéaume 2016-05-28 17:47:05 UTC
Created attachment 435656 [details, diff]
unzip-6.0_p20.ebuild.patch