Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578968 - app-arch/unzip-6.0_p20: fails to compile with -Werror=format-security
Summary: app-arch/unzip-6.0_p20: fails to compile with -Werror=format-security
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: format-security fortify-source
  Show dependency tree
 
Reported: 2016-04-04 00:29 UTC by Sam Jorna (wraeth) (RETIRED)
Modified: 2022-06-20 03:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,8.59 KB, text/plain)
2016-04-04 00:29 UTC, Sam Jorna (wraeth) (RETIRED)
Details
emerge --info (emerge.info,6.27 KB, text/plain)
2016-04-04 00:30 UTC, Sam Jorna (wraeth) (RETIRED)
Details
unzip-6.0-format-security.patch (unzip-6.0-format-security.patch,3.79 KB, patch)
2016-05-28 17:43 UTC, René Rhéaume
Details | Diff
unzip-6.0_p20.ebuild.patch (unzip-6.0_p20.ebuild.patch,856 bytes, patch)
2016-05-28 17:47 UTC, René Rhéaume
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Jorna (wraeth) (RETIRED) 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) (RETIRED) 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
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-20 03:39:46 UTC
commit 60abede81b5a84ea9a77e560e942a3ef330ec550
Author: Thomas Deutschmann <whissi@gentoo.org>
Date:   Sun Nov 26 02:37:23 2017 +0100

    app-arch/unzip: Rev bump to fix build with format-security

    Package-Manager: Portage-2.3.16, Repoman-2.3.6