Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557132 - media-sound/mpg321 fails to build with -Werror=format-security
Summary: media-sound/mpg321 fails to build with -Werror=format-security
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: fortify-source
  Show dependency tree
 
Reported: 2015-08-09 13:22 UTC by René Rhéaume
Modified: 2015-08-12 21:43 UTC (History)
1 user (show)

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


Attachments
mpg321-0.3.1-format-security.patch (mpg321-0.3.1-format-security.patch,1.20 KB, patch)
2015-08-09 13:23 UTC, René Rhéaume
Details | Diff
mpg321-0.3.1.ebuild.patch (mpg321-0.3.1-r1.ebuild.patch,368 bytes, patch)
2015-08-09 13:39 UTC, René Rhéaume
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume 2015-08-09 13:22:20 UTC
mpg321 does not build with -Werror=format-security . This is an easy fix though.

Reproducible: Always

Steps to Reproduce:
1. echo 'CFLAGS="${CFLAGS} -Werror=format-security"' >> /etc/portage/make.conf
2. emerge -1 media-sound/mpg321
3.
Actual Results:  
mpg321 installed on system

Expected Results:  
emake failed (compile phase)
Comment 1 René Rhéaume 2015-08-09 13:23:08 UTC
Created attachment 408620 [details, diff]
mpg321-0.3.1-format-security.patch
Comment 2 René Rhéaume 2015-08-09 13:39:04 UTC
Created attachment 408622 [details, diff]
mpg321-0.3.1.ebuild.patch
Comment 3 Michael Weber (RETIRED) gentoo-dev 2015-08-12 21:43:10 UTC
commit b8c6db7e6b2033dc1d30bca8ba8edd8fc6f4c8c1
Author: Michael Weber <xmw@gentoo.org>
Date:   Wed Aug 12 23:39:47 2015 +0200

    media-sound/mpg321: Version bump (bug 444418), USE=alsa (bug 475620), format-security (bug 557132, thanks René Rhéaume).
    
    Package-Manager: portage-2.2.20.1

media-sound/mpg321/Manifest
media-sound/mpg321/files/mpg321-0.3.2-format-security.patch
media-sound/mpg321/mpg321-0.3.2.ebuild