Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69884 - kbuildsycoca fails and kdevelop fails to find plugins
Summary: kbuildsycoca fails and kdevelop fails to find plugins
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-02 13:50 UTC by Sugoi Asian
Modified: 2005-01-29 18:47 UTC (History)
1 user (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 Sugoi Asian 2004-11-02 13:50:27 UTC
emerge'd gentoo freshly a few machines, and kde from scratch at least 5 times now with no success.  I've followed the handbook as exactly as i could, and kdevelop will not work.  on all my machines tested i:

1) untar stage3
2) untar portage
3) sync portage
4) make user and set date
5) set use flags
`cat /etc/make.conf`
USE="doc kde qt tiff xinerama alsa 3dfx python -gnome -gtk -gtk2 sse -java -quicktime -mad -imlib -sdl matrox"

6)emerge gentoo-dev-sources;etc-update;env-update;modules-update
7)make menuconfig;make;make modules_install (from /usr/src/linux)
8)emerge grub;grub;...etc (setup grub)
9)reboot
7)emerge kde
8)rc-update add xdm default
9)configure XF86Config
10)/etc/init.d/xdm start
11)emerge kdevelop
12) -from konsole- kdevelop
13) .. try to fix with kbuildsycoca, no luck, reboot try again...no luck

and it fails -- everytime on every build, removed and re-emerge'd coutless times

here is the popup window error message i get from kdevelop

After emerging kdevelop (emerge -u kdevelop), any time I try to run kdevelop I get a window with the following error message:

Unable to find plugins, KDevelop won't work properly!
Please make sure that KDevelop is installed in your KDE directory, otherwise you have to add KDevelop's installation path to the environment variable KDEDIRS and run kbuildsycoca. Restart KDevelop afterwards.
Example for BASH users:
export KDEDIRS=/path/to/kdevelop:$KDEDIRS && kbuildsycoca

So I run kbuiildsycoca...using ALL the possible kde dirs on my system (i used find to populate a list of all dirs named kde in any way, tried all of them, and all fail to run kbuildsycoca correctly...here is the kbuildsycoca output each time)

kbuildsycoca running...
Reusing existing ksycoca
kio (KService*): WARNING: The desktop entry file Utilities/kfilereplacepart.desktop has Type=Service but is located under "apps" instead of "services"
kio (KService*): WARNING: Invalid Service : Utilities/kfilereplacepart.desktop
kio (KMimeType): WARNING: 'kdeveloplanguagesupport.desktop' specifies undefined mimetype/servicetype 'KDevelop/Part'
kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/english'
kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c'
kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++'
kbuildsycoca: WARNING: '/usr/kde/3.3/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'text/x-kvtml'
kbuildsycoca: WARNING: 'kdevjavadebugger.desktop' specifies undefined mimetype/servicetype 'KDevelop/Part'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/english'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/mathml'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/richtext'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/tab-separated-values'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-authors'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-c'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-c++'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-comma-separated-values'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-copying'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-credits'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-csh'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dcl'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dsl'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dtd'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-emacs-lisp'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-gtkrc'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-idl'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-install'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-perl'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-python'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-readme'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-scheme'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-setext'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-sh'
kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-sql'
kbuildsycoca: WARNING: '/usr/kde/3.3/share/applications/kde/kpovmodeler.desktop' specifies undefined mimetype/servicetype 'KPovModeler/Document'
kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined mimetype/servicetype 'application/binary-certificate'
kbuildsycoca: WARNING: '/usr/kde/3.3/share/applications/kde/kmid.desktop' specifies undefined mimetype/servicetype 'audio/midi'
kbuildsycoca: WARNING: 'Multimedia/xmms.desktop' specifies undefined mimetype/servicetype 'audio/mp3'
kbuildsycoca: WARNING: 'Multimedia/xmms.desktop' specifies undefined mimetype/servicetype 'audio/x-mpeg'
kbuildsycoca: WARNING: '/usr/share/applications/xmms.desktop' specifies undefined mimetype/servicetype 'audio/mp3'
kbuildsycoca: WARNING: '/usr/share/applications/xmms.desktop' specifies undefined mimetype/servicetype 'audio/x-mpeg'
kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/english'
kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c'
kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-csharp-src'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-csharp-hde'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-eiffel-src'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-ferite-src'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-ilerpg-src'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-javascript'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-kbasic-src'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/mfile'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-sather-src'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-scheme'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-sql'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-verilog-src'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-vhdl'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/book'
kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/english'
kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-c'
kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++'
kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-sql'
kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/servicetype 'KNotify'

All of these *.desktop files exist, and they exist in /usr/kde/3.3/share/services/ (i tried every level of this tree as well when running kbuildsycoca =P)..



Reproducible: Always
Steps to Reproduce:
1.new gentoo install
2.emerge kde
3.emerge kdevelop

Actual Results:  
The window with the error appears. I hit the OK button, and a kdevelop main
window is created, that looks more like a simple/barebones editor than an IDE.


Expected Results:  
To be able to run KDevelop and kbuildsycoca with errors



...if this works for someone else, and you use a similiar settup, plz give me
your USE list and/or explain what im doing wrong..and please email me at 
payonel _at _ hotmail.com with your suggestions.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-11-02 13:57:56 UTC
This is not a Developer Relations issue. Please file bugs under the "Gentoo Linux" product, not "Developer Relations" so that the bug wranglers receive this bug and send it to the correct place.
Comment 2 Kim Pedersen 2004-11-26 22:52:22 UTC
1) Log in to your system non-graphical (in the console)

2) You have to remove your dot kde folders the home directory for all users of KDE e.g.:

rm -rf $HOME/.kde*

3) Afterwards you have to run (still in the console):

export KDEDIRS=/usr:$KDEDIRS && kbuildsycoca

4) Now you can log in to kde again, and KDevelop works fine.

PS: doing rm -rf $HOME/.kde* will destroy you KDE personalization.

Regards Kim
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-12-02 04:10:56 UTC
Have you tried logging out and back in, or rebooting? You're probably just not picking up some of the necessary environment variables.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2005-01-29 18:47:24 UTC
Closing due to inactivity.