Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
When emerging lame-3.98 this error occurs : x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -O -g -Wall -Wall -pipe -march=native -O3 -pipe -msse3 -MT lametime.o -MD -MP -MF .deps/lametime.Tpo -c -o lametime.o lametime.c mv -f .deps/get_audio.Tpo .deps/get_audio.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -O -g -Wall -Wall -pipe -march=native -O3 -pipe -msse3 -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c mv -f .deps/lametime.Tpo .deps/lametime.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -O -g -Wall -Wall -pipe -march=native -O3 -pipe -msse3 -MT portableio.o -MD -MP -MF .deps/portableio.Tpo -c -o portableio.o portableio.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -O -g -Wall -Wall -pipe -march=native -O3 -pipe -msse3 -MT timestatus.o -MD -MP -MF .deps/timestatus.Tpo -c -o timestatus.o timestatus.c mv -f .deps/portableio.Tpo .deps/portableio.Po mv -f .deps/timestatus.Tpo .deps/timestatus.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -O -g -Wall -Wall -pipe -march=native -O3 -pipe -msse3 -MT brhist.o -MD -MP -MF .deps/brhist.Tpo -c -o brhist.o brhist.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -O -g -Wall -Wall -pipe -march=native -O3 -pipe -msse3 -MT mp3rtp.o -MD -MP -MF .deps/mp3rtp.Tpo -c -o mp3rtp.o mp3rtp.c parse.c: In function 'lame_version_print': parse.c:518: warning: field width should have type 'int', but argument 5 has type 'long unsigned int' parse.c:520: warning: field width should have type 'int', but argument 4 has type 'long unsigned int' mv -f .deps/parse.Tpo .deps/parse.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -O -g -Wall -Wall -pipe -march=native -O3 -pipe -msse3 -MT rtp.o -MD -MP -MF .deps/rtp.Tpo -c -o rtp.o rtp.c mv -f .deps/brhist.Tpo .deps/brhist.Po /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O -g -Wall -Wall -pipe -march=native -O3 -pipe -msse3 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-zdynsort,-z,--sort-common -s -lsndfile -lsndfile -o lame main.o console.o get_audio.o lametime.o parse.o portableio.o timestatus.o brhist.o ../libmp3lame/libmp3lame.la -lncurses -lsndfile -lm In file included from rtp.h:6, from mp3rtp.c:47: /usr/include/netinet/in.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'in_port_t' /usr/include/netinet/in.h:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'in_addr_t' /usr/include/netinet/in.h:140: error: expected specifier-qualifier-list before 'in_addr_t' /usr/include/netinet/in.h:198: error: expected specifier-qualifier-list before 'uint8_t' /usr/include/netinet/in.h:224: error: expected specifier-qualifier-list before 'in_port_t' /usr/include/netinet/in.h:238: error: expected specifier-qualifier-list before 'in_port_t' /usr/include/netinet/in.h:286: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:295: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:315: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:330: error: expected specifier-qualifier-list before 'uint32_t' In file included from rtp.h:6, from mp3rtp.c:47: /usr/include/netinet/in.h:361: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ntohl' /usr/include/netinet/in.h:362: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ntohs' /usr/include/netinet/in.h:364: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'htonl' /usr/include/netinet/in.h:366: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'htons' In file included from rtp.h:6, from mp3rtp.c:47: /usr/include/netinet/in.h:477: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:487: error: expected ';', ',' or ')' before '*' token /usr/include/netinet/in.h:489: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/netinet/in.h:493: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:496: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:503: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:503: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:510: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:513: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:534: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:535: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:540: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:541: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:547: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:549: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:550: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:554: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:556: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:557: error: expected declaration specifiers or '...' before 'uint32_t' mp3rtp.c: In function 'main': mp3rtp.c:258: warning: pointer targets in passing argument 1 of 'rtp_output' differ in signedness mp3rtp.c:264: warning: pointer targets in passing argument 1 of 'rtp_output' differ in signedness make[2]: *** [mp3rtp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from rtp.c:48: /usr/include/netinet/in.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'in_port_t' /usr/include/netinet/in.h:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'in_addr_t' /usr/include/netinet/in.h:140: error: expected specifier-qualifier-list before 'in_addr_t' /usr/include/netinet/in.h:198: error: expected specifier-qualifier-list before 'uint8_t' /usr/include/netinet/in.h:224: error: expected specifier-qualifier-list before 'in_port_t' /usr/include/netinet/in.h:238: error: expected specifier-qualifier-list before 'in_port_t' /usr/include/netinet/in.h:286: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:295: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:315: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:330: error: expected specifier-qualifier-list before 'uint32_t' In file included from rtp.c:48: /usr/include/netinet/in.h:361: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ntohl' /usr/include/netinet/in.h:362: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ntohs' /usr/include/netinet/in.h:364: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'htonl' /usr/include/netinet/in.h:366: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'htons' In file included from rtp.c:48: /usr/include/netinet/in.h:477: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:487: error: expected ';', ',' or ')' before '*' token /usr/include/netinet/in.h:489: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/netinet/in.h:493: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:496: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:503: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:503: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:510: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:513: error: expected declaration specifiers or '...' before 'uint8_t' /usr/include/netinet/in.h:534: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:535: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:540: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:541: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:547: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:549: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:550: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:554: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:556: error: expected declaration specifiers or '...' before 'uint32_t' /usr/include/netinet/in.h:557: error: expected declaration specifiers or '...' before 'uint32_t' In file included from rtp.c:49: /usr/include/arpa/inet.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_addr' /usr/include/arpa/inet.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_lnaof' /usr/include/arpa/inet.h:42: error: expected ')' before '__net' /usr/include/arpa/inet.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_netof' /usr/include/arpa/inet.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_network' /usr/include/arpa/inet.h:78: error: expected ')' before '__net' rtp.c: In function 'makesocket': rtp.c:125: warning: implicit declaration of function 'inet_addr' rtp.c:127: error: 'struct sockaddr_in' has no member named 'sin_port' rtp.c:127: error: 'struct sockaddr_in' has no member named 'sin_port' rtp.c:128: error: 'struct sockaddr_in' has no member named 'sin_addr' make[2]: *** [rtp.o] Error 1 libtool: link: x86_64-pc-linux-gnu-gcc -O -g -Wall -Wall -pipe -march=native -O3 -pipe -msse3 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-zdynsort -Wl,-z -Wl,--sort-common -s -o .libs/lame main.o console.o get_audio.o lametime.o parse.o portableio.o timestatus.o brhist.o -L/usr/lib ../libmp3lame/.libs/libmp3lame.so -lncurses /usr/lib64/libsndfile.so /usr/lib64/libFLAC.so -logg -lm make[2]: Leaving directory `/var/tmp/paludis/media-sound-lame-3.98/work/lame-398/frontend' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/paludis/media-sound-lame-3.98/work/lame-398' make: *** [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in media-sound/lame-3.98: !!! In src_compile at line 4444 !!! emake failed Reproducible: Always
Created an attachment (id=160159) [edit] paludis --info
my USE flag for lame : * media-sound/lame [U 3.97-r1 -> 3.98] <target> debug mp3rtp sndfile
(In reply to comment #2) > my USE flag for lame : > > * media-sound/lame [U 3.97-r1 -> 3.98] <target> > debug mp3rtp sndfile > USE flag mp3rtp is the compilation failure cause. Without it the compilation works fine.
Can this be a glibc 2.8 problem, cause it seems to reject uint16_t ? See if 'append-flags -D_GNU_SOURCE' helps.
(In reply to comment #4) > Can this be a glibc 2.8 problem, cause it seems to reject > uint16_t ? > See if 'append-flags -D_GNU_SOURCE' helps. > No improvement when putting append-flags -D_GNU_SOURCE in src_compile section of the ebuild.
OK, it may be a bit more complicated. It still looks like it is a glibc 2.8 thing, only a bit more complicated. lame create a rather impressive config.h and it seems that it conflicts now with standard glibc headers. They decided not to use (now) standard glibc headers with inttypes definitions and it seems that they somehow undefine uint16_t with the way they done config.h (unless there's simply something wrong with your system).
Can't fully confirm/deny, cause still on 2.7.
Same compile issue here, glibc 2.8. mp3rtp is the only use flag I have enabled. Also confirm disabling it also works.
confirmed ! disabling mp3rtp flag "fixes" it, ~amd64, gcc-4.3.1 hardened pie,ssp, glibc-2.7
should be fixed now, thanks for reporting.
*** Bug 231697 has been marked as a duplicate of this bug. ***