Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74121 - arts and xine-lib link against installed esd despite -esd USE-Flag (esd unset -esd shown in emerge output)
Summary: arts and xine-lib link against installed esd despite -esd USE-Flag (esd unset...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 81966
  Show dependency tree
 
Reported: 2004-12-11 11:29 UTC by Volker Hemmann
Modified: 2005-06-07 06:53 UTC (History)
0 users

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 Volker Hemmann 2004-12-11 11:29:22 UTC
Hi,

when remerging xine-lib because of a suddenly missing xine-lib, I saw that xine was looking for esd in its ./configure run and compiling the esd related stuff later. I had not esd in my make.conf and later I even saw, that the ./configure-line included disable-esd, but it was still looking for it.

I have esd in ufed unset, emerge tells me that:
 emerge -aDv xine-lib

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

Calculating dependencies  ...done!
[ebuild  N    ] media-libs/xine-lib-1_rc7  +X +aalib +alsa (-altivec) +arts +avi -debug -directfb +dvd -esd -gnome -ipv6 +nls +oggvorbis +sdl +speex +theora

and for arts:
emerge -aDv arts

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

Calculating dependencies  ...done!
[ebuild   R   ] kde-base/arts-1.3.2  +alsa +arts -artswrappersuid -debug -esd -hardened +jack +mad +oggvorbis +xinerama

As you can see -esd in both cases, but esd-support was compiled in.

So I removed esd, and continued to emerge kde (I stopped it between two ebuilds)
Now I was really surprised to see a lot of probs in kdemultimedia, because arts was built against some esd stuff, now missing.

Yeah!

Sorry that I can not be more specific, this kde-packages had to rebuild: kdemultimedia, arts, kdeaddons failed because of missing esd, kdelibs. kdegames still has to rebuilt (it was built against the arts with esd). I did not watch arts configure run, but it was done after esd was removed, sorry again.. it was the middle of the night. After that, no more esd-related probs.

prelink was complainig about some more packages:
prelink -am
prelink: /usr/bin/k3b: Could not parse `/usr/bin/k3b: error while loading shared libraries: libesd.so.0: cannot open shared object file: No such file or directory'
(I suspect an additional arts victim, I am reemerging it later, when the other stuff went through).

for example

to spare you the rest of the monstrous output, I did some qpkg -f, this are the packages that complaint:

nvoption
gnome-base/gnome-libs
synaesthesia from media-sound/synaesthesia

and the civclient from 2.0.0_beta4 with a renamed 1.4 ebuild was complaining, too but it got not told not to use esd... 


For emerge info, I know my CFLAGS are considered stupid. You can be insulting, if you want. Actually I read man gcc and when something fails to compile, I usually retry with safe flags. And there is no -esd. I used ufed to unset esd and the emerge output tells me, that -esd is used, so this is a bug either way.

I do not know in which category this should be filled, but kde took the longest to recompile, so it was left here, please spank me, if it was wrong. If I made some errors, so this is not a bug, feel free to flame me..


Reproducible: Always
Steps to Reproduce:
1. have esd installed
2.emerge xine-lib.1-rc7 or arts-1.3.2
3.watch the ./configure run
4. remove esd
5.try to emerge any arts dependant package (like kdegames or multimedia, addons)
6 see esd related errors.
Actual Results:  
xine looks for and finds esd, than compiling the related parts, also does latest arts 

Expected Results:  
they should not look for esd. 

energy portage # emerge info 
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 
2.6.9-gentoo-r8 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r8 i686 AMD Athlon(tm) XP 2000+ 
Gentoo Base System version 1.6.7 
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Aug  1 2004, 
23:31:52)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.2.3-r5, 2.3.4 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.5.2-r7 
virtual/os-headers:  2.6.8.1-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -mfpmath=sse -ftracer 
-frename-registers -fweb -fomit-frame-pointer -Wdisabled-optimization -fprefetch-loop-arrays 
-pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -mfpmath=sse -ftracer 
-frename-registers -fweb -fomit-frame-pointer -Wdisabled-optimization -fprefetch-loop-arrays 
-pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig candy ccache distlocks notitles sandbox sfperms" 
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo 
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/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="16bit 3dnow 3dnowex 3ds S3TC X aalib acpi acpi4linux alsa arts avi berkdb 
bitmap-fonts bluetooth bzlib cairo caps cdparanoia cdr crypt dio divx4linuxdnd dvd dvdr editor 
emacs-w3 encode exif f77 faac faad fame fbcon ffmpeg fftw flac fortran freetype ftp gdbm 
gif gimp gnokii gtk gtk2 icq imagemagick imlib jack jack-caps jack-tmpfs java javascript 
joystick jpeg kde ladcca lesstif libg++ libwww mad maildir mikmod mmx mmx2 mng monkey 
motif mpeg mule music mysql ncurses nls nobcel nobeanutils nobsh nocd nowin nptl nvidia 
offensive oggvorbis ooo-kde openal opengl pam pdflib perl physfs pic png psyco python qt 
quicktime readline samba scanner sdl server slang snmp speex spell sqlite sse ssl 
stencil-buffer svg tcltk tcpd theora tiff timidity transcode truetype type1 usb v4l v4l2 vanilla 
videos wmf x86 xemacs xine xinerama xml2 xmlrpc xmms xosd xpm xrandr xv xvid xvmc zlib 
zvbi linguas_de"
Comment 1 Shawn Stricker 2004-12-11 23:18:42 UTC
i have the same problem infact i tried to force it to not use esd


#echo "media-libs/xine-lib -esd" >> /etc/portage/package.use


however when i try to compile xine-lib i get the following error:


i686-pc-linux-gnu-gcc -shared  .libs/audio_esd_out.o   -pthread -L/usr/lib -L/var/tmp/portage/xine-lib-1_rc7/image//usr/lib -lesd -laudiofile -lm -lasound -lxine  -mcpu=pentiumpro -mpreferred-stack-boundary=2 -march=pentium4 -mno-sse2 -mno-sse3 -Wl,-soname -Wl,xineplug_ao_out_esd -o .libs/xineplug_ao_out_esd
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lxine
collect2: ld returned 1 exit status
libtool-nofpic: install: error: relink `xineplug_ao_out_esd.la' with the above command before installing it
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc7/work/xine-lib-1-rc7/src/audio_out'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc7/work/xine-lib-1-rc7/src/audio_out'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc7/work/xine-lib-1-rc7/src'
make: *** [install-recursive] Error 1


what is even weirder about this is i have a p4 as seen by the -march=pentium4 being used but there is also the -mcpu being thrown?

here is the emerge info output :

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Mobile Intel(R) Pentium(R) 4     CPU 2.80GHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 11 2004, 05:54:22)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer"
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/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bluetooth bonobo bzlib cdr crypt cups dba divx4linux dvd encode esd evo exif f77 fam fftw flac flash foomaticdb fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml ieee1394 imap imlib java jpeg kde kdexdeltas libg++ libwww mad maildir mikmod mime ming mmx mono motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl php png pnp python qt quicktime readline samba sdl soap spell sse ssl svg svga tcltk tcpd tiff truetype trusted usb wmf x86 xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid zlib video_cards_nvidia"
Comment 2 Benoit Boissinot 2004-12-27 12:58:03 UTC
dup from #6920 ?
Comment 3 Volker Hemmann 2004-12-27 14:06:18 UTC
no, not a dupe.

#6920 is esound got installed despite -esd flag.

I had esound installed on purpose, but xine-lib and arts should honor the -esd flag and not built against it.
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-07 06:12:53 UTC
The problem with arts should be fixed with the latest revision, and I think 
also xine is not affected by this bug anymore. Closing. 
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-07 06:21:31 UTC
I can confirm xine-lib is no more affected by this in latest versions. 
 
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-07 06:35:56 UTC
(In reply to comment #5) 
> I can confirm xine-lib is no more affected by this in latest versions.  
 
Yes, I saw there's a custom patch for that. By the way, were all those 
xine-lib patches submitted upstream? 
 
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-07 06:53:58 UTC
Sent.. yes... approved.. not for now but i'll retry with next version :P