Bug 197827 - media-plugins/audacious-plugins fail because of automagic projectm dependency
Bug#: 197827 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: chainsaw@gentoo.org Reported By: eprparadocs@gmail.com
Component: Ebuilds
URL: 
Summary: media-plugins/audacious-plugins fail because of automagic projectm dependency
Keywords:  
Status Whiteboard: 
Opened: 2007-11-01 23:09 0000
Description:   Opened: 2007-11-01 23:09 0000
I did the lastest email and installed the latest projectm. It was followed by
the emerge of audacious-plugins, which failed.

Reproducible: Always

Steps to Reproduce:
1.emerge audacious-plugins
2.
3.

Actual Results:  
main.c:48:31: error: projectM/projectM.h: No such file or directory
main.c:49:40: error: projectM/console_interface.h: No such file or directory
In file included from main.c:50:
sdltoprojectM.h:21:28: error: projectM/event.h: No such file or directory
In file included from main.c:50:
sdltoprojectM.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'sdl2pmEvent'
sdltoprojectM.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'sdl2pmKeycode'
sdltoprojectM.h:144: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'sdl2pmModifier'
main.c:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*'
token
main.c: In function 'get_xmms_title':
main.c:149: error: 'globalPM' undeclared (first use in this function)
main.c:149: error: (Each undeclared identifier is reported only once
main.c:149: error: for each function it appears in.)
main.c: In function 'worker_func':
main.c:180: error: 'globalPM' undeclared (first use in this function)
main.c:180: error: 'projectM_t' undeclared (first use in this function)
main.c:180: error: expected expression before ')' token
main.c:215: error: 'projectMEvent' undeclared (first use in this function)
main.c:215: error: expected ';' before 'evt'
main.c:216: error: 'projectMKeycode' undeclared (first use in this function)
main.c:216: error: expected ';' before 'key'
main.c:217: error: 'projectMModifier' undeclared (first use in this function)
main.c:217: error: expected ';' before 'mod'
main.c:223: error: 'evt' undeclared (first use in this function)
main.c:224: error: 'key' undeclared (first use in this function)
main.c:225: error: 'mod' undeclared (first use in this function)
main.c:227: error: 'PROJECTM_KEYDOWN' undeclared (first use in this function)
main.c:247: error: 'PROJECTM_VIDEORESIZE' undeclared (first use in this
function)
main.c:255: error: 'PROJECTM_VIDEOQUIT' undeclared (first use in this function)
make[3]: *** [main.o] Error 1
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 1695:  Called dyn_compile
 *                        ebuild.sh, line 1033:  Called qa_call 'src_compile'
 *                        ebuild.sh, line   44:  Called src_compile
 *   audacious-plugins-1.3.5.ebuild, line   95:  Called die
 * The specific snippet of code:
 *      emake || die "make failed"
 *  The die message:
 *   make failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/media-plugins/audacious-plugins-1.3.5/temp/build.log'.
 *


Expected Results:  
To work would have been really nice.

emerge --info
Portage 2.1.3.16 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-gentoo i686)
=================================================================
System uname: 2.6.23-gentoo i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Timestamp of tree: Thu, 01 Nov 2007 22:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r6, 2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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="/opt/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility addbookmarks aim alias alsa arts artswrappersuid
asf automount autoreplace avahi berkdb bitmap-fonts bluetooth bonjour bzip2
cairo cdparanoia cdr cli connectionstatus contactnotes cracklib crypt cups dbus
divx doc dri dvd dvdr dvdread eds emboss encode esd fam firefox foomaticdb gcj
gdbm gif gmedia gnutls gphoto2 gpm gstreamer gtk gtk2 hal highlight history
iconv ieee1394 ipv6 irc isdnlog jingle jpeg jpeg2k kde kdepim kdm kexi kipi
libnotify mad mdnsresponder-compat midi mikmod mp3 mpeg mplayer msn mudflap
mysql ncurses netmeeting nls nowlistening nptl nptlonly nsplugin ntfs ogg
opengl openmp oss pam pcre pdf perl png postgres ppds pppd python qt3 qt4
quicktime rdesktop readline real realmedia reflection reiser4 reiserfs samba
sdl session silc slp sms spell spl sql sqlite3 ssl startup-notification
statistics subversion svg symlink tcpd texteffect tiff translator truetype
truetype-fonts type1-fonts unicode usb v4l2 vorbis webpresence win32codecs
winpopup wmp x86 xine xinerama xml xorg xscreensaver xv yahoo zeroconf zlib"
ALSA_CARDS="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="fglrx radeon
vesa fbdev vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Chuck Wegrzyn 2007-11-01 23:11:10 0000 -------
Created an attachment (id=134976) [details]
Build log from emerge...

------- Comment #2 From Chuck Wegrzyn 2007-11-01 23:12:54 0000 -------
This was done before the emerge of the audacious-plugins.

emerge -pv libprojectm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/libprojectm-1.01  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

------- Comment #3 From Jakub Moc (RETIRED) 2007-11-01 23:17:13 0000 -------
emerge --sync; projectm support was completely removed.

------- Comment #4 From Chuck Wegrzyn 2007-11-02 00:56:32 0000 -------
I ran emerge --sync this evening before I did all this. When I did emerge -pv
--deep --update world is showed libprojectm and audacious-plugins. 

Are you telling me in the last 2 hours or so that projectm support was removed?
Do I do emerge --unmerge libprojectm; emerge audacious-plugins or what?

------- Comment #5 From Jakub Moc (RETIRED) 2007-11-02 05:52:44 0000 -------
Post the output of `head -n 3
/usr/portage/media-plugins/audacious-plugins/audacious-plugins-1.3.5.ebuild |
grep Exp`

------- Comment #6 From Chuck Wegrzyn 2007-11-02 19:10:32 0000 -------
 head -n 3
/usr/portage/media-plugins/audacious-plugins/audacious-plugins-1.3.5.ebuild |
grep Exp
# $Header:
/var/cvsroot/gentoo-x86/media-plugins/audacious-plugins/audacious-plugins-1.3.5.ebuild,v
1.8 2007/10/31 17:06:26 chainsaw Exp $

------- Comment #7 From Jakub Moc (RETIRED) 2007-11-02 19:18:31 0000 -------
Looks like this projectm junk must be explicitely disabled, bleh...

------- Comment #8 From Chuck Wegrzyn 2007-11-02 19:44:42 0000 -------
Do I unmerge libprojectm and then emerge audacious-plugins? Is there something
else I need to do?

------- Comment #9 From Jakub Moc (RETIRED) 2007-11-02 19:53:50 0000 -------
(In reply to comment #8)
> Do I unmerge libprojectm and then emerge audacious-plugins?

Yes, that should work around this.

------- Comment #10 From Tony Vroon 2007-11-03 17:00:59 0000 -------
Thank you Chuck, your bug report is appreciated. If you wait an hour then sync,
you will receive ebuilds that are guaranteed to disable all projectm
functionality in Audacious.
Sorry for how messy this has been, as projectm can not be slotted it is nearly
impossible to deal with their ABI/API breakage in a sane way.