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

Bug 493940

Summary: media-sound/twolame-0.3.12 fails because of -Werror
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 648076    
Bug Blocks: 260867    

Description Agostino Sarubbo gentoo-dev 2013-12-11 13:32:33 UTC
make[1]: Entering directory `/tmp/portage/media-sound/twolame-0.3.12/work/twolame-0.3.12/libtwolame'
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build    -I ../build/ -march=core2 -O2 -std=c99 -Wunused -Wall -g -Werror -pedantic -c -o ath.lo ath.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build    -I ../build/ -march=core2 -O2 -std=c99 -Wunused -Wall -g -Werror -pedantic -c -o availbits.lo availbits.c
mkdir .libs
mkdir .libs
mkdir: cannot create directory '.libs': File exists
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build -I ../build/ -march=core2 -O2 -std=c99 -Wunused -Wall -g -Werror -pedantic -c ath.c  -fPIC -DPIC -o .libs/ath.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build -I ../build/ -march=core2 -O2 -std=c99 -Wunused -Wall -g -Werror -pedantic -c availbits.c  -fPIC -DPIC -o .libs/availbits.o
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build    -I ../build/ -march=core2 -O2 -std=c99 -Wunused -Wall -g -Werror -pedantic -c -o bitbuffer.lo bitbuffer.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build    -I ../build/ -march=core2 -O2 -std=c99 -Wunused -Wall -g -Werror -pedantic -c -o crc.lo crc.c
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build -I ../build/ -march=core2 -O2 -std=c99 -Wunused -Wall -g -Werror -pedantic -c bitbuffer.c  -fPIC -DPIC -o .libs/bitbuffer.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build -I ../build/ -march=core2 -O2 -std=c99 -Wunused -Wall -g -Werror -pedantic -c crc.c  -fPIC -DPIC -o .libs/crc.o
In file included from crc.c:31:0:
bitbuffer.h:47:29: error: inline function 'buffer_sstell' declared but never defined [-Werror]
bitbuffer.h:46:20: error: inline function 'buffer_putbits' declared but never defined [-Werror]
bitbuffer.h:45:20: error: inline function 'buffer_put1bit' declared but never defined [-Werror]
bitbuffer.h:47:29: error: inline function 'buffer_sstell' declared but never defined [-Werror]
bitbuffer.h:46:20: error: inline function 'buffer_putbits' declared but never defined [-Werror]
bitbuffer.h:45:20: error: inline function 'buffer_put1bit' declared but never defined [-Werror]
cc1: all warnings being treated as errors
make[1]: *** [crc.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/tmp/portage/media-sound/twolame-0.3.12/work/twolame-0.3.12/libtwolame'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: media-sound/twolame-0.3.12::gentoo failed (compile phase):
 *   emake failed
Comment 1 Sergey Popov gentoo-dev 2013-12-13 07:50:36 UTC
Can not reproduce it, unless manually add EXTRA_ECONF="--enable-debug" (there is not 'debug' USE-flag in twolame ebuilds). '-Werror' is present at configure scripts only in debug mode.
Comment 2 Sergey Popov gentoo-dev 2013-12-13 07:54:04 UTC
Hm, actually 0.3.13 has no --enable-debug option, -Werror is moved into 'maintainer mode', so probably stabilizing 0.3.13-r1 would be better option.

@maintainers, your thoughts?
Comment 3 David Seifert gentoo-dev 2016-02-13 19:54:23 UTC
commit 89d25b343e0b8632ccfdfb73557b6982ac463bd8
Author: David Seifert <soap@gentoo.org>
Date:   Sat Feb 13 20:53:00 2016 +0100

    media-sound/twolame: Prevent configure adding -Werror to CFLAGS
    
    Gentoo-Bug: 493940
    * EAPI=6
    * Convert 'autotools-multilib' -> 'multilib-minimal'