Version: 3.3.x (using KDE KDE 3.3.0) Installed from: Gentoo Packages Compiler: gcc-3.3.4 CFLAGS="-march=i386 -Os" OS: Linux I was including KDE 3.3.1 (and 3.3.0 before 3.3.1 shows up) in my LiveCD (Gentoo RR4 LiveCD 2.0). Everything emerged fine, no problems at all. So i started to make the ISO image, after this easy step, now I had to test KDE on my CD. X started and kde 3.3 too. I didn't know why kicker and K menu were so ugly until I've started kcontrol. No items at all. After some investigation, I've discovered that the problem was in kbuildsycoca, that if running from a CD, cretes some problems. Kcontrol reported this if started from a shell: * kcontrol: WARNING: No K menu group with X-KDE-BaseGroup=settings found ! Defaulting to Settings/ If I copy ksycoca and ksycocastamp from my HD to the LiveCD directory (/var/tmp/kdecache-user/ that is rw), kcontrol works great. KDE 3.2.3 doesn't have this bug. KDE 3.3.0 and 3.3.1 are affected. Anyone can help me?
I think this got fixed with the following patch to kdelibs/kdecore/kconfigbackend.cpp: --- kconfigbackend.cpp 27 Sep 2004 22:11:36 -0000 1.99 +++ kconfigbackend.cpp 27 Dec 2004 10:27:30 -0000 1.100 @@ -448,7 +448,7 @@ void KConfigINIBackEnd::parseSingleConfi map = ( const char* ) mmap(0, rFile.size(), PROT_READ, MAP_PRIVATE, rFile.handle(), 0); - if (map) + if ( map != MAP_FAILED ) { s = (const char*) map; eof = s + rFile.size(); Please reopen this bugreport if the problem persists after applying this patch.
*** Bug 232976 has been marked as a duplicate of this bug. ***