Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123569 - faad2 xmms plugin fails to load - undefined symbol MP4GetTrackAudioType
Summary: faad2 xmms plugin fails to load - undefined symbol MP4GetTrackAudioType
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
: 141338 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-20 19:45 UTC by Robin Johnson
Modified: 2006-07-22 15:38 UTC (History)
3 users (show)

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


Attachments
patch to fix xmms plugin (faad-2.0-xmms.patch,1.04 KB, patch)
2006-02-26 20:37 UTC, Olivier Crete (RETIRED)
Details | Diff
faad2 with patch support (faad2-2.0-r11.ebuild,1.50 KB, application/octet-stream)
2006-04-18 19:24 UTC, Lee Trager
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-02-20 19:45:25 UTC
The xmms plugin from faad2 fails to load due to undefined symbol.

~ $ xmms
/usr/lib/xmms/Input/libmp4.so: undefined symbol: MP4GetTrackAudioType

# emerge --info
Portage 2.1_pre4-r1 (!/usr/portage/profiles/default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -pipe"
DISTDIR="/home/gentoo/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache collision-protect confcache cvs digest distlocks parallel-fetch sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/home/gentoo/packages"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/devel/gentoo-cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/overlays/migration-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acl acpi aio alsa amd apache2 apm ares async automount avi berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo calendar caps cdb cdda cdr cgi clamav clearpasswd cpdflib crypt cscope ctype cups curl curlwrappers daap divx4linux doc dri dts dv dvd dvdr dvdread dynagraph emboss encode ethereal examples exif expat f77 fam fame fastcgi ffmpeg fftw flac flash foomaticdb fortran fpx frxp gcj gd gdbm geoip gif glitz glx gmp gnokii gnults gnuplot gnutls gpm graphviz gs gstreamer gzip hpn ical imap imlib innodb insecure-savers ipalias ipv6 irda java javadoc jbig joystick jpeg jpeg2k lcms ldap libwww linuxthreads-tls lirc live logitech-mouse lzo mad maildir mailwrapper mbox mcal md5sum mikmod mjpeg mmx mmxext mod motif mozilla mozplugin mp3 mpeg mpm-prefork multicall musicbrainz mysql ncurses network nptl nsplugin numeric nvidia objc offensive ogg oggvorbis openexr opengl osd pam pcap pda pdf pdflib perl pic plotutils png pnp ppds python qmail quicktime quotas rdesktop readline real rtc ruby samba scanner screen sdl shout skins slang slp sms snmp socks5 speex spell sqlite sse ssl stream svg swat syslog t1lib tcltk tetex theora tiff truetype truetype-fonts type1 type1-fonts ungif unicode usb userlocales utf8 v4l v4l2 vcd vhosts vidix vlm vorbis win32codecs winbind wmf wxwindows xanim xcomposite xinerama xml xml2 xmms xosd xrandr xscreensaver xv xvid xvmc yv12 zeroconf zlib elibc_glibc input_devices_dmc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_void input_devices_wacom kernel_linux userland_GNU video_cards_apm video_cards_ati video_cards_dummy video_cards_fbdev video_cards_gflrx video_cards_mga video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vga video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2006-02-26 16:03:13 UTC
which version of faad2 (and libmp4v2) are you using ?
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-02-26 16:06:03 UTC
# emerge -pv libmp4v2 faad2

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-libs/libmp4v2-1.4.1  0 kB 
[ebuild   R   ] media-libs/faad2-2.0-r11  USE="xmms" 0 kB 

Total size of downloads: 0 kB
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2006-02-26 16:17:35 UTC
tried re-emerging both ? This is strange... 
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-02-26 16:30:16 UTC
yes, it still occurs after re-merging.
# readelf -s /usr/lib/xmms/Input/libmp4.so |grep MP4GetTrackAudioType
    59: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND MP4GetTrackAudioType
# ldd /usr/lib/xmms/Input/libmp4.so
	linux-gate.so.1 =>  (0xffffe000)
	libxmms.so.1 => /usr/lib/libxmms.so.1 (0xb7f3e000)
	libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0xb7e33000)
	libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0xb7e04000)
	libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0xb7e01000)
	libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7de3000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0xb7ddc000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb7dd1000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d03000)
	libm.so.6 => /lib/tls/libm.so.6 (0xb7ce0000)
	libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7ccd000)
	libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6 (0xb7bff000)
	libfaad.so.0 => /usr/lib/libfaad.so.0 (0xb7bc9000)
	libmp4v2.so.0 => /usr/lib/libmp4v2.so.0 (0xb7b30000)
	libc.so.6 => /lib/tls/libc.so.6 (0xb7a17000)
	libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0xb7a14000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7a10000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb7a0d000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7a08000)
	/lib/ld-linux.so.2 (0x80000000)
	libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libgcc_s.so.1 (0xb79fe000)

# for i in `ldd /usr/lib/xmms/Input/libmp4.so  | awk '/\//{print $3}' `; do 
readelf -s $i | grep MP4GetTrackAudioType ; done ;
( no output );
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2006-02-26 20:37:48 UTC
Created attachment 80810 [details, diff]
patch to fix xmms plugin

ok, here is a patch to fix the xmms plugin
Comment 6 Olivier Crete (RETIRED) gentoo-dev 2006-02-26 20:39:45 UTC
why was this assigned to metalgod?

I could reproduce the problem and I've added a patch.

sound: can you check/add the patch to faad2 ?
Comment 7 Zhang Le (RETIRED) gentoo-dev 2006-02-28 08:26:33 UTC
(In reply to comment #5)
> Created an attachment (id=80810) [edit]
> patch to fix xmms plugin
> 
> ok, here is a patch to fix the xmms plugin
> 
I encountered the same problem today
I also wrote a patch
Same as yours, :)
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-18 11:11:03 UTC
Because the xmms part of faad2 is handled by MetalGOD.
Comment 9 Lee Trager 2006-04-18 19:24:25 UTC
Created attachment 84935 [details]
faad2 with patch support

The patch works but I noticed that it was not patching the sources so I edited the ebuild to make this patch work. Basicly all I did was add  epatch "${FILESDIR}/faad-2.0-xmms.patch" to source_unpack.
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-13 02:01:34 UTC
I don't know where metalgod is, but this fix works, so I've applied it now, bumping the revision.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-07-21 19:37:50 UTC
*** Bug 141338 has been marked as a duplicate of this bug. ***
Comment 12 kari.kaski 2006-07-22 15:38:10 UTC
faad2-2.0-r11.ebuild  is stable on AMD64, 
unfortunately it is missing line:
epatch "${FILESDIR}/faad-2.0-xmms.patch"
which is in r12 and r13 but they are ~AMD64 (not stable).
This bug will be really resolved when r12 or newer becomes stable (or missing epatch added to r11 too).