Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153533 - kde-3.5.5 could not create folder /usr/share/apps/kdm/faces.
Summary: kde-3.5.5 could not create folder /usr/share/apps/kdm/faces.
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:
 
Reported: 2006-10-31 03:24 UTC by Peter Volkov (RETIRED)
Modified: 2007-04-28 10:04 UTC (History)
4 users (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 Peter Volkov (RETIRED) gentoo-dev 2006-10-31 03:24:22 UTC
I experience small problem. When I do control center -> System administration -> Login manager -> administrator mode -> insert pasword, I receive popup with the following error:
"Unable to create folder /usr/share/apps/kdm/faces"

I've tryied to run from user with clean ~/.directories.

BTW. There is a small indent typo in kdm-3.5.5.ebuild. in line
if [ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" ];tthen
there is a tab between ; and then. Yea not functional, but may be you'll fix that.
Comment 1 Davide Cendron (RETIRED) gentoo-dev 2006-10-31 05:12:24 UTC
I confirm the issue.

Some info:

Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 29 Oct 2006 03:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/var/tmp/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/var/tmp/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/gechi-testing"
SYNC="rsync://172.16.61.65/gentoo-portage"
USE="x86 X alsa apache2 apm berkdb bitmap-fonts bzip2 cli cracklib crypt cups dlloader dri eds elibc_glibc emboss encode foomaticdb fortran gdbm gif gpm gtk2 iconv imlib input_devices_keyboard input_devices_mouse input_devices_penmount isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ libwww linguas_it mad mikmod mmx motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre perl png pppd python qt3 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd theora truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa vorbis xine xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2006-11-14 09:48:45 UTC
a workaroudn for this is to edit /usr/kde/3.5/config/kdm/kdmrc, and find the value "FaceDir", remove the # comment and set it to:

FaceDir=/usr/kde/3.5/share/apps/kdm/faces
Comment 3 Sebastiaan 2006-11-15 00:57:58 UTC
I also have this problem. FaceDir is not present in my kdmrc, and adding it changes nothing. Strangely, the icons show up in the login manager, but the configuration centre tries to look in the wrong directory.
Comment 4 Eggert 2006-11-19 02:32:53 UTC
I confirm the issue too. As a workaround, I set a symlink:
ln -s /usr/kde/3.5/share/apps/kdm /usr/share/apps/kdm
That works so far.
Comment 5 Piotrek 2006-12-03 14:19:55 UTC
I also confirm workaround From Eggert works fine
Comment 6 cosmos 2007-01-26 15:31:14 UTC
still repros in kde-3.5.6
Comment 7 cosmos 2007-01-26 20:52:13 UTC
here's the problem.
the kdm control module gets the last entry of the list of "data" dirs. This list is apparently generated from the $KDEDIRS variable. By default, Gentoo, has /usr/kde/3.x first and then /user. So, the module is getting /usr/share/apps as its directory instead of /usr/kde/3.x/share/apps.
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-25 08:52:55 UTC
Fixed with kdelibs-3.5.6-r6.
Comment 9 Anton Bolshakov 2007-04-25 11:05:28 UTC
there are a lot of other kde files and directories in the same directory.
For example,
/usr/share/apps/konqueror/servicemenus/
amarok_addaspodcast.desktop  digikam-download.desktop            k3b_create_audio_cd.desktop  k3b_write_bin_image.desktop
amarok_append.desktop        digikam-gphoto2-camera.desktop      

which looks not in the right place either because another /usr/kde/3.5/share/apps/konqueror/servicemenus exist too.
How about these files? Is it fixed too?..
Comment 10 Matěj Laitl 2007-04-28 10:04:31 UTC
(In reply to comment #9)
> there are a lot of other kde files and directories in the same directory.
> For example,
> /usr/share/apps/konqueror/servicemenus/
> amarok_addaspodcast.desktop  digikam-download.desktop           
> k3b_create_audio_cd.desktop  k3b_write_bin_image.desktop
> amarok_append.desktop        digikam-gphoto2-camera.desktop      
> 
> which looks not in the right place either because another
> /usr/kde/3.5/share/apps/konqueror/servicemenus exist too.
> How about these files? Is it fixed too?..
> 

This is not a problem, since all kde apps parse both directories (they parse all colon-delimitered entries from $KDEDIRS). At time of writing, portage installs stuff from kde-base to /usr/kde/<version>/ while stuff from kde-misc and other categories to /usr/. This is correct behaviour, since it allows you to have multiple slots of kde (eg. 3.5 and 3.6), while apps distributed outside of kde can be used in any kde (or non-kde) session.