Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254881 - [kde-testing] 43kdepaths-4.2 sould include KDEDIRS="/usr/kde/4.2"
Summary: [kde-testing] 43kdepaths-4.2 sould include KDEDIRS="/usr/kde/4.2"
Status: RESOLVED DUPLICATE of bug 267793
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-13 19:53 UTC by xiando
Modified: 2009-06-13 11:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
43kdepaths-4.2 + KDEDIRS="/usr/kde/4.2" (43kdepaths-4.2.patch,308 bytes, text/plain)
2009-01-13 20:00 UTC, xiando
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xiando 2009-01-13 19:53:46 UTC
KDE maintainer gang story is that "startkde takes care of setting KDEDIRS" and that /etc/env.d doesn't need to set it. This story, however, breaks KDE 4.2 (4.1.96) applications on ALL OTHER DESKTOPS as they do not run, and should not run, the startkde script.

Interesting backtraces after upgrading KDE-versions using kde-testing overlay before re-adding KDEDIRS to 43kdepaths-4.2 (I just put it in 40kdepaths-for-now, so I personally don't care that much anymore) include:

pplication: Konqueror (konqueror), signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".

Thread 1 (Thread 0xb615f6d0 (LWP 20748)):
[KCrash Handler]
#6  0xb80d4424 in __kernel_vsyscall ()
#7  0xb66d3c20 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb66d5478 in *__GI_abort () at abort.c:88
#9  0xb73ac34d in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbffed3c0 "!!!!!!! ERROR !!!!!!! - KHTML default stylesheet version mismatch. Aborting. Check your installation. File used was: /usr/kde/3.5/share/apps/khtml/css/html4.css. Expected STYLE_VERSION 1\n") at global/qglobal.cpp:2108
#10 0xb73ac426 in qFatal (msg=0xb4294af4 "!!!!!!! ERROR !!!!!!! - KHTML default stylesheet version mismatch. Aborting. Check your installation. File used was: %s. Expected STYLE_VERSION %d\n")
    at global/qglobal.cpp:2309
#11 0xb407213f in khtml::CSSStyleSelector::loadDefaultStyle (s=0x8272430, doc=0x84d1fd8) at /tmp/portage/kde-base/kdelibs-4.1.96/work/kdelibs-4.1.96/khtml/css/cssstyleselector.cpp:408

Reproducible: Always

Steps to Reproduce:
1. Layman -a kde-testing, emerge @kde-4.2
2. Login using GNOME, fluxbox, anything but KDE
3. Start some KDE application, watch it crash or misbehave
4. Fix it by adding KDEDIRS to 43kdepaths-4.2
5. Upgrade to the next RC/snapshot
6. Get the same problem again
7. Get annoyed
8. Stick KDEDIRS in some other /etc/env.d file
9. File bug
Actual Results:  
Crashes etc.

Expected Results:  
stuff works.

Thank you for reading all of this, your contributions (if any) to GNU/Gentoo and your consideration regarding KDEDIRS.
Comment 1 xiando 2009-01-13 20:00:23 UTC
Created attachment 178409 [details]
43kdepaths-4.2 + KDEDIRS="/usr/kde/4.2"

A patch with
+ KDEDIRS="/usr/kde/4.2"
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-06-13 11:32:25 UTC

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