Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301939 - media-plugins/audacious-plugins-2.2-r2: error during compilation
Summary: media-plugins/audacious-plugins-2.2-r2: error during compilation
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tony Vroon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-23 15:22 UTC by maar
Modified: 2010-01-25 18:12 UTC (History)
2 users (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 maar 2010-01-23 15:22:42 UTC
I discovered that audacious-plugins-2.2-r2 doesn't compile because of this error:

Leaving directory tonegen.
Entering directory console.
Audacious_Driver.cxx: In constructor 'ConsoleFileHandler::ConsoleFileHandler(const gchar*, VFSFile*)':
Audacious_Driver.cxx:70: error: 'aud_filename_split_subtune' was not declared in this scope
Failed to compile Audacious_Driver.cxx!
make[5]: *** [Audacious_Driver.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make: *** [all] Error 1

I discovered also why it happened. The reason why audacious-plugins doesn't want to compile is in installation of audacious-2.2. Installation script copy header files only to /usr/include/ but this headers are also needed in /usr/local/include/. 

I copied two catalogs /usr/include/audacious and /usr/include/libaudcore/ to /usr/local/include/

Fix:
cp -r /usr/include/audacious/ /usr/local/include/
cp -r /usr/include/libaudcore/ /usr/local/include/

After this solution installation of audacious-plugins finished successful.

Reproducible: Always

Steps to Reproduce:
1. emerge =media-plugins/audacious-plugins-2.2-r2
2.
3.




emerge --info

Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 23 Jan 2010 09:15:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r2, 2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=core2 -pipe -msse4.1 -fomit-frame-pointer"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -mtune=core2 -pipe -msse4.1 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://gentoo.mneisen.org/ http://gentoo.prz.rzeszow.pl http://mirror.mdfnet.se/mirror/gentoo http://gentoo.supp.name/ http://gentoo.virginmedia.com/ http://gentoo.tiscali.nl/ http://ftp.gentoo.bg/ http://distfiles.gentoo.bg/ http://mirrors.ludost.net/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
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.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amr bash-completion berkdb bluetooth bonjour bzip2 cli consolekit cracklib crypt custom-optimization cxx dbus dirac directfb divx dri dvb dvd dvdr dxr3 embedded encode esd exif extras faac faad fbcon ffmpeg flac fortran freesound fts3 fuse gdbm gif gimp glibc-omitfp gmplayer gnutls google google-gadgets gpm hal iceweasel iconv ieee1394 injection ipv6 jack java john jpeg jpeg2k kde kde4 lame laptop lash lcms libcaca madwifi mmx mng modules mp3 mudflap multicall musepack mysql nas ncurses network nls nptl nptlonly ntfs ogg openal openexr opengl openmp pam pcre pdf perl phonon png pppd pulseaudio python qt3support qt4 radio readline reflection restrict-javascript rss schroedinger session sndfile spl sql sqlite sqlite3 sse sse2 sse3 sse4 ssh ssl ssse3 startup-notification svg svga symlink sysfs tcpd tftp theora thinkpad tiff tk truetype unicode usb v4l v4l2 vorbis wavpack webkit win32codecs wmf wps x264 x86 xanim xinerama xorg xvid xvmc zlib" ALSA_CARDS="hda-intel" 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 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" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="synaptics evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" NETBEANS_MODULES=" enterprise webcommon apisupport harness ide java nb websvccommon profiler mobility ergonomics" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa i810" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rafał Mużyło 2010-01-23 20:18:59 UTC
That only means your system is broken
- nothing provided by portage should be found in /usr/local.

This will end up being INVALID, but leaving it open, till
either somebody gets annoyed by this or you'll figure out
what shouldn't have been in /usr/local in the first place.
Comment 2 Tony Vroon gentoo-dev 2010-01-25 15:15:55 UTC
Use the find command to delete any /usr/local installs of the Audacious core. This is neither an Audacious bug nor a Portage bug.
Comment 3 maar 2010-01-25 18:12:23 UTC
You are right. I deleted /usr/local/include/audacious and /usr/local/include/libaudcore. I emerged one more time audacious-plugins and installed without any problems.

Thanks a lot