Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189102 - audacious-plugins-1.3.5 fails to build with USE=-nls
Summary: audacious-plugins-1.3.5 fails to build with USE=-nls
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-16 12:52 UTC by Bernd Schmidt
Modified: 2007-12-08 16:42 UTC (History)
0 users

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


Attachments
build log (audacious-plugins.buildlog,39.18 KB, text/plain)
2007-08-16 13:34 UTC, Bernd Schmidt
Details
config.log from the portage work directory (config.log,74.94 KB, text/plain)
2007-08-16 13:36 UTC, Bernd Schmidt
Details
conflicting-libintl-defines.patch (lol-fix.patch,376 bytes, patch)
2007-08-16 15:09 UTC, Tony Vroon (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Schmidt 2007-08-16 12:52:34 UTC
Trying to build

[ebuild   R   ] media-plugins/audacious-plugins-1.3.5  USE="aac alsa flac mad opengl oss sid vorbis -adplug -arts -chardet -esd -jack -lirc -modplug -musepack -nls* -pulseaudio -sndfile -timidity -tta -wavpack -wma" 0 kB

fails with

/usr/include/libintl.h:40: error: expected unqualified-id before 'const'
/usr/include/libintl.h:40: error: expected `)' before 'const'
/usr/include/libintl.h:40: error: expected initializer before 'const'
/usr/include/libintl.h:45: error: expected unqualified-id before 'const'
/usr/include/libintl.h:45: error: expected `)' before 'const'
/usr/include/libintl.h:45: error: expected initializer before 'const'
/usr/include/libintl.h:52: error: expected unqualified-id before 'const'
/usr/include/libintl.h:52: error: expected `)' before 'const'
/usr/include/libintl.h:52: error: expected initializer before 'const'
/usr/include/libintl.h:83: error: expected unqualified-id before 'const'
/usr/include/libintl.h:83: error: expected `)' before 'const'
/usr/include/libintl.h:83: error: expected initializer before 'const'
/usr/include/libintl.h:87: error: expected unqualified-id before 'const'
/usr/include/libintl.h:87: error: expected `)' before 'const'
/usr/include/libintl.h:87: error: expected initializer before 'const'
make[3]: *** [xs_sidplay2.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [build] Error 2
make[1]: *** [build] Error 2
make: *** [build] Error 2

!!! ERROR: media-plugins/audacious-plugins-1.3.5 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  audacious-plugins-1.3.5.ebuild, line 97:   Called die


Adding back "nls" as a USE flag makes this go away.


Reproducible: Always

Steps to Reproduce:
1. USE=-nls emerge audacious-plugins
2.
3.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2007-08-16 13:27:24 UTC
Please supply:
1) emerge --info
2) the full build output: emerge audacious-plugins &> audacious-plugins.buildlog
3) configure.log

Without this information I will unfortunately be unable to assist you.
Comment 2 Bernd Schmidt 2007-08-16 13:33:53 UTC
beaker ~ # emerge --info
Portage 2.1.2.11 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 16 Aug 2007 11:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1, 2.16.1-r3, 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=k8 -march=prescott"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=k8 -march=prescott"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa asf audacious bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus de_tvtoday doc dri dts dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac gcj gdbm gif gpm gtk hal iconv ipv6 isdnlog ivtv jikes joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos kqemu lcms lm_sensors mad midi mikmod mmx mozilla mp3 mpeg mudflap mysql ncurses nptl nptlonly nsplugin nvidia ogg opengl openmp oss pcre pdf perl png povray pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session sid spl sse ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode v4l2 vorbis win32codecs x86 xine xml xorg xscreensaver xv zlib" ALSA_CARDS="hda-intel intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Bernd Schmidt 2007-08-16 13:34:27 UTC
Created attachment 128283 [details]
build log
Comment 4 Bernd Schmidt 2007-08-16 13:36:18 UTC
Created attachment 128284 [details]
config.log from the portage work directory
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2007-08-16 14:28:05 UTC
Reopening bug, submitter has provided info.
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2007-08-16 14:28:34 UTC
This bug has been reproduced upstream and is being investigated.
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2007-08-16 15:09:30 UTC
Created attachment 128287 [details, diff]
conflicting-libintl-defines.patch

Patch by Matti Hämäläinen (ccr/TNSP).
Please confirm that this fixes the problem for you. If so, it will be applied upstream and I'll do a 1.3.5-r1 ebuild for it.
Comment 8 Bernd Schmidt 2007-08-17 00:16:30 UTC
Looks like a pretty horrible hack, but it does seem to fix the problem.
Comment 9 Matti Hämäläinen 2007-08-17 08:21:19 UTC
Yes, it is a hack, and a nasty one indeed. However, this was the only working solution I could come up shortly, because the problematic libintl.h gets included by GNU stdlibc++ headers(!), and apparently unconditionally.

You can check it out with 'cpp -E' or 'gcc -E'. The chain goes somewhat like: fstream -> istream -> ios -> iosfwd -> c++locale.h -> libintl.h

If anyone has any a solution, I am naturally willing to listen.

- ccr
Comment 10 Tony Vroon (RETIRED) gentoo-dev 2007-11-26 16:45:56 UTC
Apologies, this got sidetracked. It should be fixed in the 1.4.1 plugin package, could you confirm that this is the case please?
Comment 11 Tony Vroon (RETIRED) gentoo-dev 2007-12-08 16:42:06 UTC
Newer plugin packages came out, this should be fixed. Could you reopen if this is still a problem on 1.4? (It will be pushed for stable soon because of a recent libxml2 version exposing problems in the XSPF playlist handling on 1.3)