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

Bug 557132

Summary: media-sound/mpg321 fails to build with -Werror=format-security
Product: Gentoo Linux Reporter: René Rhéaume <rene.rheaume>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: xmw
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 259417    
Attachments: mpg321-0.3.1-format-security.patch
mpg321-0.3.1.ebuild.patch

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