| Summary: | mplayer-1.0_pre6-r4 has trouble linking when X was installed but isn't anymore. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
| Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Jeroen Roovers (RETIRED)
2005-07-18 15:07:06 UTC
Removing the /usr/X11R6 symlink apparently did it. I have no idea how wrong this is going to turn out otherwise. > Removing the /usr/X11R6 symlink apparently did it
Bad idea. A lot of apps still expect to find X there.
(In reply to comment #2) > > Removing the /usr/X11R6 symlink apparently did it > > Bad idea. A lot of apps still expect to find X there. Good debugging exercise, I guess: This system is supposed to stay X-less from now on, so any non-X package still looking in that directory would need a good flogging. :) I'm afraid that you have some libraries using X, try USE=-* emerge mplayer to see if the problem persists or revdep rebuild everything before. Reopen if I'm wrong (In reply to comment #4) > I'm afraid that you have some libraries using X, try USE=-* emerge mplayer to > see if the problem persists or revdep rebuild everything before. > > Reopen if I'm wrong These are the use flags it compiled properly with last time (still with the previously mentioned symlink removed): --------------------------------------------------------------- henke ~ # genlop -i mplayer * media-video/mplayer Total builds: 6 Global build time: 6 hours, 50 minutes and 27 seconds. Average merge time: 1 hour, 8 minutes and 24 seconds. Info about currently installed ebuild: * media-video/mplayer-1.0_pre6-r4 Install date: Wed Jul 20 14:48:26 2005 USE="3dnow avi encode gif ipv6 jpeg lzo mad matroska mpeg mmx nls oggvorbis oss png samba theora truetype xvid -3dfx -3dnowext -aalib -alsa -altivec -arts - bidi -debug -dga -divx4linux -doc -dts -dvb -cdparanoia -directfb -dvd -dv - dvdread -edl -esd -fbcon -ggi -gtk -i8x0 -jack -joystick -libcaca -lirc -live - matrox -mmxext -mythtv -nas -nvidia -opengl -real -rtc -sdl -sse -sse2 -svga - tga -v4l -v4l2 -X -xanim -xinerama -xmms -xv -xvmc" CFLAGS="-march=i586 -pipe -O2 -frename-registers -fno-pie -fno-pie" --------------------------------------------------------------- If you see any X-dependent use flags in there, please tell. Otherwise, I regularly use revdep-rebuild after library updates, and I must have done that many times since I uninstalled X and certainly a couple of times since I remerged mplayer. I am not very familiar with all the bug status options, but RESOLVED it is certainly not, I'd say, and INVALID sounds wrong as well. Obviously (?) mplayer's configure checks for certain library paths and enables certain features despite the efforts to make USE=[-]X work as expected. Maybe it's this:
In the media-video/mplayer/mplayer-1.0_pre6-r4.ebuild, it says on line 498:
--enable-menu \
and on line 501:
--with-x11incdir=/usr/X11R6/include \
The same lines also appear in media-video/mplayer/mplayer-1.0_pre7.ebuild (line
numbers 476 and 479).
It seems the configure script for both versions does not properly check
libmenu's dependencies. Apparently --disable-x11 and --enable-menu do not go
together very well. I still haven't found out why the configure script found
these:
Checking for X11 headers presence ... yes (using -I/usr/X11R6/include)
Checking for X11 libs presence ... not found (check if the dev(el) packages are
installed)
because /usr/X11R6/include/X11/Xlib.h shouldn't have existed at the time.
I guess line 489 (line 468 in mplayer-1.0_pre7.ebuild):
# it *will* be removed asap; in the meantime, doesn't hurt anything.
isn't the whole truth.
Is there any pressing reason (say, for the benefit of the majority of users) to
still set these options when USE=-X is set, instead of only setting them when
USE=X?
Cleaning out old bugs, please reopen if still present in newer versions. Thanks Jeroen |