Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493940 - media-sound/twolame-0.3.12 fails because of -Werror
Summary: media-sound/twolame-0.3.12 fails because of -Werror
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on: 648076
Blocks: werror
  Show dependency tree
 
Reported: 2013-12-11 13:32 UTC by Agostino Sarubbo
Modified: 2018-02-18 23:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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'