Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68098 - GDM emerge fail, depend on libgsf
Summary: GDM emerge fail, depend on libgsf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 23:03 UTC by John Nilsson
Modified: 2004-10-20 03:57 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 John Nilsson 2004-10-18 23:03:36 UTC
I'll admit that I have a rather extreme, minimal USE flags...

reemergeing the entire system broke gdm-2.6.0.4-r1 so I reemerged it. It failed because it couldn't find a file from libgsf.

Emergeing libgsf and then gdm worked.

"emerge -e world | grep gsf" gives nothing

Reproducible: Always
Steps to Reproduce:
1. USE="-* pam threads" emerge gdm



Portage 2.0.51_rc9 (default-linux/x86/2004.2/gcc34, gcc-3.4.2,
glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(TM) XP 1900+
Gentoo Base System version 1.5.3
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -fweb -ftracer -momit-leaf-frame-pointer
-fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo
/etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -fweb -ftracer -momit-leaf-frame-pointer
-fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ds.thn.htu.se/linux/gentoo http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j3"
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 pam threads linguas_en"



john@newkid ~ $ cat /etc/portage/package.use
sys-libs/glibc nptl nptlonly userlocales
sys-apps/module-init-tools no-old-linux
media-libs/win32codecs quicktime
media-video/mplayer mmx mmx2 3dnow 3dnowex sse rtc X xv xvmc alsa mpeg dvd
divx4linux xvid
x11-base/xorg-x11 3dnow mmx sse
dev-util/subversion berkdb apache2
net-www/mozilla gnome gtk2 moznocompose moznoirc moznomail
net-www/mozilla-firefox gnome gtk2
dev-php/mod_php session apache2 mysql mysqli pcre tidy simplexml xml2 xsl
net-www/mplayerplug-in gtk2
games-fps/enemy-territory opengl
net-im/gaim evo
app-editors/gvim gtk gtk2 gnome
media-gfx/gimp jpeg mmx png sse svg
gnome-base/gnome-applets gstreamer
media-libs/gst-plugins alsa
gnome-base/nautilus gstreamer
gnome-base/control-center alsa gstreamer
gnome-base/gnome cdr hal
x11-misc/xscreensaver gnome gtk gtk2 offensive opengl pam
media-sound/awesfx alsa
media-fonts/terminus-font X
sys-libs/ncurses unicode
Comment 1 Marc Hildebrand (RETIRED) gentoo-dev 2004-10-19 05:23:55 UTC
Considered the fact you want to use gdm I really think you shoul reevaluate your USE-flags strategy.
Anyway, reassigning to herd.
Comment 2 foser (RETIRED) gentoo-dev 2004-10-19 06:01:54 UTC
you fail to mention the error you got & gdm itself does not dep on libgsf, so with that this report is useless.
Comment 3 John Nilsson 2004-10-20 02:25:55 UTC
I'm sorry, the error got cleared from the screen buffer of the console after I fixed it.

I was hoping you'd have some ideas towards the dependencies. I'll try to reproduce it...

In the mean time, about the use flags: It's a test. I was wondering how hard it would be to make global USE flags obsolete.
Why? By removing global useflags, the global use-flag-namespace is unnecesary and that is an important step towards decentralizing portage. So far "pam" is the only useflag I didn't dare to remove from global. ("threads" is just the part in me who like to break stuff).
Also I think that packages that has useflags that should be enabled by default should state that in the ebuild.

From a administartion point of view it's no big deal. You can see that my pacakge.use isn't that big.

... AH! Reproduced, here:
/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc  -march=athlon-xp -O3 -fweb -ftracer -momit-leaf-frame-pointer -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes   -o gdmgreeter  greeter.o greeter_action_language.o greeter_canvas_item.o greeter_events.o greeter_geometry.o greeter_item.o greeter_item_timed.o greeter_item_capslock.o greeter_item_clock.o greeter_item_pam.o greeter_item_ulist.o greeter_item_customlist.o greeter_parser.o greeter_session.o greeter_system.o -L../../gui            -lgdmwm                         -lgdmcommon                     -L../../vicious-extensions              -lviciousui-minimal  -L/usr/X11R6/lib                 -lX11                                                                   -Wl,--export-dynamic -lgnomecanvas-2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lrsvg-2 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lxml2 -lpthread -lz -lm -lart_lgpl_2
mkdir .libs
libtool: link: cannot find the library `/usr/lib/libgsf-1.la'
make[4]: *** [gdmgreeter] Error 1
make[4]: Leaving directory `/var/tmp/portage/gdm-2.6.0.4-r1/work/gdm-2.6.0.4/gui/greeter'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gdm-2.6.0.4-r1/work/gdm-2.6.0.4/gui/greeter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gdm-2.6.0.4-r1/work/gdm-2.6.0.4/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdm-2.6.0.4-r1/work/gdm-2.6.0.4'
make: *** [all-recursive-am] Error 2


Steps to reproduce.
emerge unmerge libgsf && emerge gdm
Comment 4 Joe McCann (RETIRED) gentoo-dev 2004-10-20 02:43:14 UTC
"Steps to reproduce.
emerge unmerge libgsf && emerge gdm"

Those aren't really steps to reporduce your problem, they are the steps that cause it. When something has been linked against a lib, it will fail when you pull that lib from the system. That doesn't mean that libgsf is a required dep, because gdm will compile fine if it isn't there, but not if it has already linked against it. I guess its more of a user responsibility issue one you start uninstalling packages like that. 
Comment 5 foser (RETIRED) gentoo-dev 2004-10-20 03:57:22 UTC
see comment #4, the culprit here is probably librsvg.

And i think making global USE flags obsolete is a bad idea to begin with, but that's not something to discuss any further in this bug.