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
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.
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?
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'