Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113611 - xscreensaver fails at compiling since it needs libXmu (masked in package.mask)
Summary: xscreensaver fails at compiling since it needs libXmu (masked in package.mask)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-26 01:28 UTC by andromede
Modified: 2005-11-26 15:20 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 andromede 2005-11-26 01:28:33 UTC
xscreensaver-4.22-r4 fails at compiling with emerge. Obviously, it needs libxmu,
but libxmu is masked in /usr/portage/profile/package.mask.

Reproducible: Always
Steps to Reproduce:
1. emerge xscreensaver

Actual Results:  
i686-pc-linux-gnu-gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs
-std=c89 -U__STRICT_ANSI__ -Wl,-O1 -L/usr/lib -o xscreensaver xscreensaver.o
windows.o timers.o subprocs.o exec.o xset.o splash.o setuid.o stderr.o prefs.o
dpms.o lock.o passwd.o passwd-pam.o passwd-pwent.o ../utils/fade.o
../utils/overlay.o ../utils/logo.o ../utils/yarandom.o ../utils/resources.o
../utils/usleep.o ../utils/visual.o    -L/usr/lib -lXmu     -lXt -lX11 -lXext 
-lpam -ldl -lcrypt
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lXmu
collect2: ld returned 1 exit status
make[1]: *** [xscreensaver] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xscreensaver-4.22-r4/work/xscreensaver-4.22/driver'
make: *** [default] Error 5

Expected Results:  
maybe consider libxmu as a dependence and not having let me start this emerge
since libxmu is masked in package.mask

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.3-r1, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r10
sys-devel/libtool:   1.4.3-r4, 1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=i686 -march=i686 -fomit-frame-pointer"
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/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.isu.edu.tw/pub/Linux/Gentoo
http://gentoo.seren.com/gentoo
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://gentoo.ITDNet.net/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/bmg-main"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts audiofile automount avi bash-completion
berkdb bitmap-fonts bzip2 cdr chroot crypt cups curl dba doc dri dvd eds emboss
encode esd ethereal exif expat fam fat ffmpeg firefox flac foomaticdb fortran gd
gdbm gimp gimpprint glut gmail gmp gnome gpm gstreamer gtk gtk2 idn imagemagick
imlib ipv6 java jpeg kde lcms ldap libg++ libwww mad madwifi maildir mhash
mikmod mng mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mysql mysqli
nautilus ncurses nls ogg oggvorbis opengl openssh oss pam pcre pdf pdfkit pdflib
perl php pic png postgres pppd python qt quicktime readline reiserfs samba sasl
scp sdl session slang speex spell sqlite ssl svga tcltk tcpd tiff truetype
truetype-fonts type1-fonts udev vorbis win32codecs wmf xine xinerama xml2 xmms
xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-11-26 05:34:46 UTC
/usr/lib/libXmu.so is provided by x11-base/xorg-x11. libxmu ebuild is for
modular X.Org, which is masked.
Comment 2 andromede 2005-11-26 05:51:56 UTC
there is the path of libXmu.so on my machine :

/usr/X11R6/lib/libXmu.so

and the command that fails is :

i686-pc-linux-gnu-gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs
-std=c89 -U__STRICT_ANSI__ -Wl,-O1 -L/usr/lib -o xscreensaver xscreensaver.o
windows.o timers.o subprocs.o exec.o xset.o splash.o setuid.o stderr.o prefs.o
dpms.o lock.o passwd.o passwd-pam.o passwd-pwent.o ../utils/fade.o
../utils/overlay.o ../utils/logo.o ../utils/yarandom.o ../utils/resources.o
../utils/usleep.o ../utils/visual.o    -L/usr/lib -lXmu     -lXt -lX11 -lXext 
-lpam -ldl -lcrypt

saying :

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lXmu

if making a symlink into /usr/lib, it fails again on Xt lib. fixing the
-L/usr/lib in the makefile/ebuild may fix the problem?

of course we could make all the symlinks into /usr/lib/ but ... sounds weird
since all Xorg libs are located in /usr/X11R6/lib/

Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-11-26 05:55:08 UTC
/usr/X11R6 should be a symlink:

0 lrwxrwxrwx  1 root root 6 Oct  7 19:17 /usr/X11R6 -> ../usr
Comment 4 andromede 2005-11-26 05:58:22 UTC
(In reply to comment #3)
> /usr/X11R6 should be a symlink:
> 
> 0 lrwxrwxrwx  1 root root 6 Oct  7 19:17 /usr/X11R6 -> ../usr

$ ls -l /usr/ | grep X11R6
drwxr-xr-x    7 root  root    168 Oct  7  2004 X11R6
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2005-11-26 10:22:47 UTC
equery list xorg-x11, please
Comment 6 andromede 2005-11-26 10:27:22 UTC
[ Searching for package 'xorg-x11' in all categories among: ]
 * installed packages
[I--] [M ] x11-base/xorg-x11-6.7.0-r1 (0)
Comment 7 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-11-26 11:01:17 UTC
Again: this issue has nothing to do with modular X.
Comment 8 andromede 2005-11-26 11:40:59 UTC
yeah I agree, but why don't we have a symlinked /usr/X11R6  ?
Comment 9 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-11-26 11:45:33 UTC
x11-base/xorg-x11-6.7.0-r1 is quite old. Please try to upgrade to current stable
- that means x11-base/xorg-x11-6.8.2-r6. 6.7.0-r1 was removed from the tree at
29 Sep 2004.
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2005-11-26 15:20:35 UTC
Please upgrade to a supported release of xorg-x11 (i.e., anything currently in
the tree), then reopen if it's still an issue.