Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128245 - kde paths are broken when using arts
Summary: kde paths are broken when using arts
Status: RESOLVED DUPLICATE of bug 104174
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-31 06:15 UTC by yardbird
Modified: 2006-03-31 08:13 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 yardbird 2006-03-31 06:15:00 UTC
From the kdelibs-3.5.2 ebuild:

----------------
              if ! use arts ; then 
                 dodir /etc/env.d 
 
                 # List all the multilib libdirs 
                 local libdirs 
                 for libdir in $(get_all_libdirs); do 
                         libdirs="${libdirs}:${PREFIX}/${libdir}" 
                 done 
 
                 cat <<EOF > ${D}/etc/env.d/45kdepaths-${SLOT} # number goes down with version upgrade 
 PATH=${PREFIX}/bin 
 ROOTPATH=${PREFIX}/sbin:${PREFIX}/bin 
 LDPATH=${libdirs:1} 
 CONFIG_PROTECT="${PREFIX}/share/config ${PREFIX}/env ${PREFIX}/shutdown" 
 EOF 
         fi 
 
 }
------------------

So, when arts _is_ enabled, the kdepaths file is not installed into env.d. As result, at least on my system, kdm won't start anymore. In fact I had to add the /usr/kde/3.5/bin path into the /etc/init.d/xdm script in order for it to find the kdm executable.

More generally the /usr/kde/3.5 path is broken whenever one is not running a kde session (I suspect the path is set inside the 'startkde' script).

I had the arts USE flag turned off until the upgrade to 3.5.2, so the bug was unnoticed. Actually it amazes me that no-one saw this problem. Could this be because I'm using a ~x86 version of baselayout?

emerge --info:

Portage 2.1_pre7-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.3.6-r3, 2.6.16-morph2 i686)
=================================================================
System uname: 2.6.16-morph2 i686 Mobile Intel(R) Pentium(R) 4     CPU 2.40GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium4 -march=pentium4 -O2 -pipe -mmmx -msse -msse2 -mfpmath=sse -ffast-math -floop-optimize2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=pentium4 -march=pentium4 -O2 -pipe -mmmx -msse -msse2 -mfpmath=sse -ffast-math -floop-optimize2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-s -Wl,--as-needed"
LINGUAS="en it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/powersave /usr/local/overlays/xgl-coffee"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac acpi alsa apache2 arts avahi avi bash-completion berkdb browserplugin cairo cdparanoia cdr cli crypt ctype cups curl dba dbus divx4linux dlloader dmi dri dvd emboss encode expat fastbuild fbcon ffmpeg flac fontconfig foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glitz glut gnokii gphoto2 gpm graphviz gs gstreamer gtk2 hal ieee1394 imagemagick imlib ipv6 irda jabber java javascript joystick jpeg jpeg2k kde kdeenablefinal kipi latex lcms libg++ libwww linuxthreads-tls lirc lm_sensors logitech-mouse logrotate mad matroska memlimit mjpeg mmx mmx2 mng mono motif moznocompose moznoirc moznomail mozsvg mp3 mpeg muse musepack musicbrainz mysql ncurses net network nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pam_console pcmcia pcre pdflib perl pic plotutils pmu png posix ppds python qt qtmt quicktime readline real rtc ruby samba scanner sdl session simplexml smime soap sockets spell spl sse sse2 ssl subversion svg tcpd tetex theora tiff timidity tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vcd vidix vorbis wifi win32codecs x86 xcomposite xine xinerama xml xml2 xsl xv xvid zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev input_devices_synaptics input_devices_joystick kernel_linux linguas_en linguas_it userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, MAKEOPTS
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-03-31 07:14:29 UTC
Look at the arts ebuild; it's supplied there as well.

My guess is you need to run env-update and source /etc/profile.env
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-31 08:13:22 UTC

*** This bug has been marked as a duplicate of 104174 ***