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

Bug 352010

Summary: media-libs/libid3tag-0.15.1b-r2 et_EE locale - genre.dat:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
Product: Gentoo Linux Reporter: Priit Laes (IRC: plaes) <plaes>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: CONFIRMED ---    
Severity: normal CC: dschridde+gentoobugs, jstein
Priority: Normal Keywords: NeedPatch
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Priit Laes (IRC: plaes) 2011-01-18 11:49:25 UTC
This ebuild builds fine if I force LC_ALL=C, but under et_EE locale it fails like this:
[snip]
if /bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -ggdb -pipe  -mtune=core2 -O2 -fomit-frame-pointer -MT frame.lo -MD -MP -MF ".deps/frame.Tpo" -c -o frame.lo frame.c; \
then mv -f ".deps/frame.Tpo" ".deps/frame.Plo"; else rm -f ".deps/frame.Tpo"; exit 1; fi
In file included from genre.c:32:0:
genre.dat:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
genre.dat:84:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
genre.dat:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
genre.dat:129:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
genre.dat:146:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
genre.dat:166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
genre.dat:169:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
genre.dat:253:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
genre.dat:286:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
genre.dat:312:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Metal'
genre.dat:339:3: error: 'genre_IND_S_RIAL' undeclared here (not in a function)
genre.dat:347:3: error: 'genre_JAZZ_F_NK' undeclared here (not in a function)
genre.dat:349:3: error: 'genre_CLASSICAL' undeclared here (not in a function)
genre.dat:368:3: error: 'genre_ELEC_RONIC' undeclared here (not in a function)
genre.dat:376:3: error: 'genre_CHRIS_IAN_RAP' undeclared here (not in a function)
genre.dat:385:3: error: 'genre_LO_FI' undeclared here (not in a function)
genre.dat:386:3: error: 'genre_ACID_P_NK' undeclared here (not in a function)
genre.dat:426:3: error: 'genre_SAMBA' undeclared here (not in a function)
genre.dat:442:3: error: 'genre_INDIE' undeclared here (not in a function)
genre.dat:455:3: error: 'genre_ANIME' undeclared here (not in a function)
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -ggdb -pipe -mtune=core2 -O2 -fomit-frame-pointer -MT compat.lo -MD -MP -MF .deps/compat.Tpo -c compat.c -o compat.o >/dev/null 2>&1
make[2]: *** [genre.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
[/snip]


(chroot) sol / # emerge --info
Portage 2.1.9.33 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-rc4 x86_64)
=================================================================
System uname: Linux-2.6.37-rc4-x86_64-Intel-R-_Core-TM-2_CPU_6320_@_1.86GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 18 Jan 2011 07:30:02 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.4-r2, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=core2 -O2 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=core2 -O2 -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="et_EE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en et"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 avahi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus device-mapper djvu dri dts dvd dvdr dvi eds emboss encode evo exif faac fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif gnome gnome-keyring gphoto2 gstreamer gtk iconv ipv6 jpeg lcms libnotify lzma lzo mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pcsc-lite pdf png policykit ppds pppd pulseaudio python qt3support readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype udev unicode usb v4l2 vorbis vpx x264 xcb xml xmp xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en et" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY