Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85852 - mplayer-1.0_pre6-r1 failed @ cannot find -ldha etc..
Summary: mplayer-1.0_pre6-r1 failed @ cannot find -ldha etc..
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-18 21:33 UTC by Fernando (likewhoa)
Modified: 2005-03-30 06:47 UTC (History)
1 user (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 Fernando (likewhoa) 2005-03-18 21:33:43 UTC
mplayer-1.0_pre6-r1 failed @ cannot find -ldha

last few error lines:

cc -shared -Wl,-soname -Wl,libdha.so.1.0  -o libdha.so.1.0  libdha.o mtrr.o pci.o pci_names.o
ar r libaf.a af.o af_mp.o af_dummy.o af_delay.o af_channels.o af_format.o af_resample.o window.o filter.o af_volume.o af_equalizer.o af_tools.o af_comp.o af_gate.o af_pan.o af_surround.o af_sub.o af_export.o af_volnorm.o af_extrastereo.o af_lavcresample.o af_sweep.o af_hrtf.o
ar: creating libaf.a
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldha
collect2: ld returned 1 exit status
make[2]: *** [cyberblade_vid.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/vidix/drivers'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/vidix'
make: *** [vidix/libvidix.a] Error 2
make: *** Waiting for unfinished jobs....
true libaf.a
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/libaf'
ln -sf libdha.so.1.0  libdha.so.1
ln -sf libdha.so.1.0  libdha.so
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/libdha'


Reproducible: Always
Steps to Reproduce:
1. emerge =mplayer-1.0_pre6-r1


Actual Results:  
failed.. read config.log for more info

Expected Results:  
emerge so i can play some tunes and fliks

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r1,
2.6.11-likewhoa i686)
=================================================================
System uname: 2.6.11-likewhoa i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 22 2005, 17:51:35)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse -maccumulate-outgoing-args
-fforce-addr -ftracer -fomit-frame-pointer -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/xdm/Xaccess /etc/X11/xdm/Xservers
/etc/X11/xdm/xdm-config /etc/X11/xorg.conf /etc/apache2/conf/apache2.conf
/etc/apf/conf.apf /etc/conf.d/rc /etc/fstab /etc/gconf /etc/init.d/bootmisc
/etc/init.d/localmount /etc/init.d/modules /etc/modules.autoload.d/kernel-2.6
/etc/security/limits.conf /etc/ssh/sshd_config /etc/terminfo
/etc/xinetd.d/xvncserver /opt/vmware/bin/vmware-config.pl /usr/X11R6/bin/startx
/etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse -maccumulate-outgoing-args
-fforce-addr -ftracer -fomit-frame-pointer -fprefetch-loop-arrays
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms userpriv
usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm avi bash-completion bcmath bitmap-fonts bzlib
calendar caps cdr crypt ctype cups curl curlwrappers directfb divx4linux dvb dvd
dvdr emboss encode exif fam fbcon flac font-server foomaticdb fortran ftp gd
gdbm gif gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 hardenedphp imagemagick
imap imlib ipv6 java jikes joystick jpeg lcms ldap libg++ libwww lirc mad
maildir mbox memlimit mhash mime ming mmx mng motif mozilla mp3 mpeg mpi msn
mysql mysqli ncursers ncurses nls nptl nptlonly nvidia objc opengl oscar oss pam
pam-mysql pcre pdflib perl php pie plotutils png pntl ppds prelude python qt
quicktime readline sasl sdk sdl session simplexml slcms sndfile snmp sockets
socks5 spell spl sqlite sse ssl stroke svg svga symlink tcltk tiff tokenizer
transcode truetype truetype-fonts type1-fonts unicode usb vhosts wddx wmf x86
xface xine xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvidinfo yahoo zlib
video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 1 Chris White (RETIRED) gentoo-dev 2005-03-18 21:49:23 UTC
Whoever told you to mess with LDFLAGS slap them for me please...

try unsetting LDFLAGS as well as taking your MAKEOPTS down to about -j1 and see what happens.
Comment 2 Fernando (likewhoa) 2005-03-18 21:58:31 UTC
n/m it suddenly emerged for me the second time around,.. only thing i did was erase the /var/tmp/portage/mplayer... folder.
Comment 3 Fernando (likewhoa) 2005-03-18 21:59:59 UTC
chris it wasn't the LDFLAGS.. it just emerged after running it twice, kind of weird..
Comment 4 Antek Grzymała (antoszka) 2005-03-19 02:10:55 UTC
Please reopen this bug. I'm getting the same error, and reemerging mplayer does not fix the problem. I'm not using any outrages flags or anything, here's my emerge info:

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 01:26:03)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.linux.no/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib acl alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bluetooth bootspla bootsplash bzip2 bzlib calendar caps cdparanoia cdr crypt cscope cups curl curlwrappers dba dvd dvdr eds encode ethereal evo faad flac foomaticdb gcj gd gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal howl iconv imagemagick imap imlib ipv6 irda irmc jabber jack java jpeg kdeenablefinal ladcca ladspa lcms ldap libg++ libgda libwww mad mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mysql ncurses net nls nptl objc offensive ogg oggvorbis opengl operanom2 pam pcmcia pcre pda pdf pdflib perl png pnp ppds python qt quicktime readline real samba sasl scanner sdl slang slp speex spell sse ssl svg svga tcltk tcpd tetex theora tidy tiff timidity truetype truetype-fonts trusted type1-fonts unicode usb userlocales wifi xine xinerama xml2 xmms xprint xrandr xv xvid zlib video_cards_rage128 linguas_pl"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

My error follows:

make[2]: Entering directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/vidix/drivers'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -march=pentium3 -O2 -pipe -frename-registers -fno-pie -fno-pie -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fPIC -I. -I.. -o cyberblade_vid.o cyberblade_vid.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -march=pentium3 -O2 -pipe -frename-registers -fno-pie -fno-pie -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fPIC -I. -I.. -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/ -o pci_names.o pci_names.c
cc -shared cyberblade_vid.o -L../../libdha -ldha -lm -Wl,-soname,cyberblade_vid.so -o cyberblade_vid.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldha
collect2: ld returned 1 exit status
make[2]: *** [cyberblade_vid.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/vidix/drivers'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/vidix'
make: *** [vidix/libvidix.a] Error 2
make: *** Waiting for unfinished jobs....
#cc -shared -Wl,-soname,libdha.so.1 -o libdha.so.1.0  libdha.o mtrr.o pci.o pci_names.o
cc -shared -Wl,-soname -Wl,libdha.so.1.0  -o libdha.so.1.0  libdha.o mtrr.o pci.o pci_names.o
ln -sf libdha.so.1.0  libdha.so.1
ln -sf libdha.so.1.0  libdha.so
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/libdha'
Comment 5 Antek Grzymała (antoszka) 2005-03-19 02:45:09 UTC
One more thing -- adding USE="-svga" for mplayer worked around the problem (I got it to compile), so it's something around that.

Best regards.
Comment 6 Fernando (likewhoa) 2005-03-19 23:33:43 UTC
Antek, did you run revdep-rebuild? bug reopened per request... or emerging svgalib?
Comment 7 Chris White (RETIRED) gentoo-dev 2005-03-20 00:18:44 UTC
And also did you take MAKEOPTS down to -j1?  It seems to not like -j2..
Comment 8 Chris White (RETIRED) gentoo-dev 2005-03-21 15:24:53 UTC
Resolving bug as TEST-REQUEST.  Please try the specified tests requested and re-open the bug if the issue persists.
Comment 9 Hans-Christian Armingeon 2005-03-30 06:47:40 UTC
Well, I'm a -j5 fan, but -j1 fixed the problem for me.

Mplayer Makefiles are known to be not -j safe.

Johnny