Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137145 - media-video/vlc-0.8.5-r2 fails w/ confcache - undefined reference to `dlsym', `dlopen', `dlerror'
Summary: media-video/vlc-0.8.5-r2 fails w/ confcache - undefined reference to `dlsym',...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-18 00:34 UTC by Alexander Skwar
Modified: 2006-06-18 06:31 UTC (History)
0 users

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


Attachments
vlc-0.8.5-r2-error.log (media-video_vlc-0.8.5-r2-error.log,25.49 KB, text/plain)
2006-06-18 06:31 UTC, Rumen Yotov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-06-18 00:34:07 UTC
Tried to compile:

[ebuild     U ] media-video/vlc-0.8.5-r2 [0.8.5-r1] USE="-3dfx X -a52 -aalib alsa -arts -avahi -bidi cdda cddb -corba -daap -debug -directfb -dts -dvb dvd esd -fbcon ffmpeg -flac -ggi -gnutls hal -httpd -libcaca -lirc -live matroska -mod mp3 mpeg ncurses nls nsplugin ogg -opengl -oss -png rtsp -samba -screen -sdl -shout -skins -speex -stream -svg -svga -theora -truetype -upnp -v4l -vcd vlm vorbis win32codecs wxwindows -xinerama xml -xosd xv" 0 kB

fails:

i686-pc-linux-gnu-gcc -Wsign-compare -Wall -O2 -mtune=pentium-m -pipe -fomit-frame-pointer -pipe -Wl,-O1 -o vlc vlc-vlc.o -Wl,-O1  src/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a ./modules/mux/mpeg/libmux_ts.a -L/usr/lib /usr/lib/libhal.so /usr/lib/libdbus-1.so -lnsl -lrt -lpthread -lm /usr/lib/libdvbpsi.so
src/libvlc.a(libvlc_a-modules.o): In function `_module_getsymbol':
modules.c:(.text+0x31b): undefined reference to `dlsym'
src/libvlc.a(libvlc_a-modules.o): In function `CloseModule':
modules.c:(.text+0x337): undefined reference to `dlclose'
src/libvlc.a(libvlc_a-modules.o): In function `AllocatePlugin':
modules.c:(.text+0x379): undefined reference to `dlopen'
modules.c:(.text+0x392): undefined reference to `dlopen'
modules.c:(.text+0x4a1): undefined reference to `dlerror'
modules.c:(.text+0x52c): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Fehler 1
make[2]: Leaving directory `/Gentoo/Portage/build/portage/vlc-0.8.5-r2/work/vlc-0.8.5'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/Gentoo/Portage/build/portage/vlc-0.8.5-r2/work/vlc-0.8.5'
make: *** [all] Fehler 2

!!! ERROR: media-video/vlc-0.8.5-r2 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  vlc-0.8.5-r2.ebuild, line 220:   Called die

0.8.5-r1 got compiled just fine a few days ago.

alexander@blatt ~ $ emerge --info
Portage 2.1.1_pre1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-suspend2-r8.044.no-kernel-alsa i686)
=================================================================
System uname: 2.6.16-suspend2-r8.044.no-kernel-alsa i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/   http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     http://distro.ibiblio.org/pub/linux/distributions/gentoo/     ftp://distro.ibiblio.org/pub/linux/distributions/gentoo      http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/Gentoo/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'"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc /usr/portage/local/layman/vmware /usr/portage/local/layman/nx /usr/portage/local/layman/gentoo-de"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X acpi alsa amd apache2 apm arts artswrappersuid async avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash cairo caps cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cle266 cli crypt css curlwrappers dbus devmap dillo divx4linux dlloader dri dvd dvdread emoticon esd exif fam fbcon fbdev firefox fping freetype gdbm gif gnokii gnome gstreamer gtk gtk2 hal hpn icc id3 idn imap imlib imlib2 insecure-drivers insecure-savers isdnlog javascript jikes jpeg kde kdeenablefinal kdehiddenvisibility libedit libwww linuxthreads-tls logrotate lynxkeymap mad madwifi maildir matroska mbox mmx mmxext mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses netboot network new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch nojython nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel nptl nsplugin offensive ogg opengl openssh pam_console pam_timestamp passfile password patented pccts pcmcia pcre perl perlsuid pic player png pnp pppd qt quicktime rar readline real recode reflection reiserfs sdl sendfile sensord session sftp sms spell spf spl sse sse2 ssl startup-notification stream subp subtitles suid symlink sysfs syslog tiff transcode truetype truetype-fonts trusted type1-fonts udev underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm vorbis wifi win32codecs wma123 x11vnc xinetd xml xmms xorg xpm xprint xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_-synaptics kernel_linux linguas_de userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-18 01:12:02 UTC
Try w/o confcache or clean the confcache cache (/var/tmp/confcache) before emerge.
Comment 2 Alexander Skwar 2006-06-18 02:21:24 UTC
I now did:

FEATURES=-confcache sudo emerge -1v vlc

and compilation worked. So it's rather a bug in confcache?

alexander@blatt ~ $ ls -lad /var/db/pkg/*/*confcach*
drwxr-xr-x 2 root root 720 26. May 16:17 /var/db/pkg/dev-util/confcache-0.4.2-r1
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-18 05:00:46 UTC
VLC now restricted from using confcache.
Comment 4 Rumen Yotov 2006-06-18 06:30:30 UTC
Hi,
Had the same issues (with confcache) solved using FEATURES="-confcache" emerge ...
But also have same kind of error with xine-lib (Bug-137166) & kdm (Bug-137167).
For completeness will attach my config.log (here).
Thanks.Rumen
Comment 5 Rumen Yotov 2006-06-18 06:31:36 UTC
Created attachment 89467 [details]
vlc-0.8.5-r2-error.log