Plasma 5 is awesome...and some help required with build instructions

Bernhard Friedreich friesoft at gmail.com
Mon Mar 30 20:15:10 UTC 2015


Hi,

At first: thanks for the guide :) It's a nice addition to
https://community.kde.org/Frameworks/Building

I've got the following problems:
1.) on my fedora 23 (rawhide) I had to set selinux to permissive mode for
the custom dbus files to be read (otherwise it wouldn't let dbus access
them, maybe it is because I changed paths from /opt to /products?) (yeah I
know decreasing selinux security isn't a solution)
2.) I can start the session from sddm but plasmashell and krunner crash
instantly..

Any ideas? (attached the output/bt I got from gdb)

Thanks :)

Bye,
Bernhard Friedreich




2015-03-28 19:23 GMT+01:00 Siddhartha <sh.siddhartha at gmail.com>:

> Hi David,
>
> Thanks a lot for your comments!
>
> On 28 March 2015 at 20:23, David Edmundson <david at davidedmundson.co.uk>
> wrote:
> > I don't think we should tell people to download's  David Faure's
> > kdesrc-buildrc file. It has "/d" hardcoded a lot.
> >
> > If we make our own we don't need people to change it and can have the
> same
> > directories you use for the rest of this.
>
> Good point. I took this section from Frameworks/Building, didn't think
> too much :P
> Maybe we should update that page too?
>
> > That's installing to /opt/kde5 but we need to create those directories
> first
> > (as root and change permissions)
>
> Instructions already present :)
>
> > If this is about plasma change:
> >
> > include extragear/utils/kdesrc-build/kf5-qt5-build-include
> >
> > to
> > include extragear/utils/kdesrc-build/kf5-frameworks-build-include
> > include extragear/utils/kdesrc-build/kf5-workspace-build-include
> >
> > this way you won't build apps and pim
>
> Cool. Changed the whole section.
>
> > export XDG_CACHE_HOME=/home/user/.kde5/cache
> >
> > only works if you happen to be called user.
> > I'm pretty sure you can do export XDG_CACHE_HOME=$HOME/.whatever
>
> Ah right, fixed.
>
> > Personally I wouldn't change the paths, you lose your firefox settings,
> and
> > with the .xinitrc hack later you're only going to be loading this session
> > from now on anyway.
>
> Hmm. I preferred having clean Plasma 5 config paths. These lines are
> now commented out by default.
>
> > The setup is a bit broken, if you do the login manager way.
> > yet if you log into your distro session and then start anything dbus
> > activated it will load from /opt/kde/install which is at best a bit
> weird.
>
> Ah right. But logging in to a Plasma 4 seemed to work fine. Ideally
> one should remove the dbus config before starting the distro session,
> yes.
>
> > you need to say login manager way and the .xinit way are mutually
> exclusive
> > (well you can do both, but it'd be weird)
>
> Done.
>
> > add a line saying to log out and back in.
>
> Done
>
> Cheers!
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150330/b5ee8914/attachment.html>
-------------- next part --------------
(gdb) bt
#0  0x00007ffff6674520 in QQmlComponent::status() const ()
    at /lib64/libQt5Qml.so.5
#1  0x00007ffff723f832 in KDeclarative::QmlObject::completeInitialization(QHash<QString, QVariant> const&) (this=0xba4640, initialProperties=...)
    at /products/kde/sources/frameworks/kdeclarative/src/kdeclarative/qmlobject.cpp:264
#2  0x000000000040cfc5 in View::View(QWindow*) (this=0x7fffffffde50)
    at /products/kde/sources/kde/workspace/plasma-workspace/krunner/view.cpp:93
#3  0x000000000040bb58 in main(int, char**) (argc=1, argv=0x7fffffffe0c8)
    at /products/kde/sources/kde/workspace/plasma-workspace/krunner/main.cpp:66

-------------- next part --------------
Starting program: /products/kde/install/bin/plasmashell 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
kf5.kiconthemes: "Theme tree: (Breeze)"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/friedreb/.cache/ksycoca5"
populateAddPanelsMenu 1
Failed to load the OSD script file from ""
[New Thread 0x7fffd26bf700 (LWP 2216)]
"" has no desktop group, cannot construct a KPluginInfo object from it.
Detaching after fork from child process 2218.
kscreen: launcherDataAvailable: "org.kde.KScreen.Backend.XRandR"
kscreen: Launcher finished with exit code 1 , status 0
kscreen: Service for requested backend already running
kscreen: Primary output changed from KScreen::Output(Id: 118 , Name: "LVDS1" ) ( "LVDS1" ) to KScreen::Output(Id: 118 , Name: "LVDS1" ) ( "LVDS1" )
Error loading plugin "plasma_applet_timer" "Die dynamische Bibliothek konnte nicht gefunden werden." 
Plugin search paths are ("/usr/lib64/qt5/plugins", "/products/kde/install/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set
unversioned plugin detected, may result in instability
Error loading plugin "plasma_applet_timer" "Die dynamische Bibliothek konnte nicht gefunden werden." 
Plugin search paths are ("/usr/lib64/qt5/plugins", "/products/kde/install/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set
Could not load applet "org.kde.plasma.timer" ! reason given: "Die dynamische Bibliothek konnte nicht gefunden werden." Falling back to an empty one
Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "" instead of kservice_desktop_to_json() in your CMake code.
Warning: corona package invalid
last screen is < 0 so putting containment on screen  1
Invalid home screen package
[New Thread 0x7fff139e0700 (LWP 2231)]
Could not set containment property on rootObject
kscreen: Primary output changed from KScreen::Output(Id: 118 , Name: "LVDS1" ) ( "LVDS1" ) to KScreen::Output(Id: 118 , Name: "LVDS1" ) ( "LVDS1" )
Invalid home screen package
Invalid home screen package
ASSERT: "!themeMetadataPath.isEmpty() || themeName.isEmpty()" in file /products/kde/sources/frameworks/plasma-framework/src/plasma/private/theme_p.cpp, line 173
[New Thread 0x7fff0bda1700 (LWP 2232)]
[New Thread 0x7fffa0ffc700 (LWP 2230)]
[New Thread 0x7fffa1ffd700 (LWP 2229)]
[New Thread 0x7fffa2ffe700 (LWP 2228)]
[New Thread 0x7fffa3fff700 (LWP 2227)]
[New Thread 0x7fffb57fd700 (LWP 2226)]
[New Thread 0x7fffb67fe700 (LWP 2225)]
[New Thread 0x7fffb77ff700 (LWP 2224)]
[New Thread 0x7fffc8ffc700 (LWP 2223)]
[New Thread 0x7fffc9ffd700 (LWP 2222)]
[New Thread 0x7fffcaffe700 (LWP 2221)]
[New Thread 0x7fffcbfff700 (LWP 2220)]
[New Thread 0x7fffd10a7700 (LWP 2217)]
[New Thread 0x7fffd8b03700 (LWP 2215)]

Program received signal SIGABRT, Aborted.
0x00007fffefc50b28 in raise () from /lib64/libc.so.6










(gdb) bt
#0  0x00007fffefc50b28 in raise () at /lib64/libc.so.6
#1  0x00007fffefc527ba in abort () at /lib64/libc.so.6
#2  0x00007ffff090fa48 in  () at /lib64/libQt5Core.so.5
#3  0x00007ffff090abce in  () at /lib64/libQt5Core.so.5
#4  0x00007ffff5f9a9ce in Plasma::ThemePrivate::useCache() (this=0x8ec270) at /products/kde/sources/frameworks/plasma-framework/src/plasma/private/theme_p.cpp:173
#5  0x00007ffff5f946b7 in Plasma::Theme::findInRectsCache(QString const&, QString const&, QRectF&) const (this=0x2ccc110, image=..., element=..., rect=...)
    at /products/kde/sources/frameworks/plasma-framework/src/plasma/theme.cpp:345
#6  0x00007ffff5f8b347 in Plasma::SvgPrivate::elementRect(QString const&) (this=0x2cdc4c0, elementId=...)
    at /products/kde/sources/frameworks/plasma-framework/src/plasma/svg.cpp:517
#7  0x00007ffff5f8b929 in Plasma::SvgPrivate::checkColorHints() (this=0x2cdc4c0) at /products/kde/sources/frameworks/plasma-framework/src/plasma/svg.cpp:564
#8  0x00007ffff5f89303 in Plasma::SvgPrivate::setImagePath(QString const&) (this=0x2cdc4c0, imagePath=...)
    at /products/kde/sources/frameworks/plasma-framework/src/plasma/svg.cpp:230
#9  0x00007ffff5f8d329 in Plasma::Svg::setImagePath(QString const&) (this=0x6f8320 <(anonymous namespace)::Q_QGS_privateDialogShadowsSelf::innerFunction()::holder>, svgFilePath=...) at /products/kde/sources/frameworks/plasma-framework/src/plasma/svg.cpp:904
#10 0x0000000000483a49 in PanelShadows::PanelShadows(QObject*, QString const&) (this=0x6f8320 <(anonymous namespace)::Q_QGS_privateDialogShadowsSelf::innerFunction()::holder>, parent=0x0, prefix=...) at /products/kde/sources/kde/workspace/plasma-workspace/shell/panelshadows.cpp:108
#11 0x0000000000486430 in DialogShadowsSingleton::DialogShadowsSingleton() (this=0x6f8320 <(anonymous namespace)::Q_QGS_privateDialogShadowsSelf::innerFunction()::holder>) at /products/kde/sources/kde/workspace/plasma-workspace/shell/panelshadows.cpp:96
#12 0x000000000048393c in (anonymous namespace)::Q_QGS_privateDialogShadowsSelf::Holder::Holder() (this=0x6f8320 <(anonymous namespace)::Q_QGS_privateDialogShadowsSelf::innerFunction()::holder>) at /products/kde/sources/kde/workspace/plasma-workspace/shell/panelshadows.cpp:102
#13 0x00000000004839aa in (anonymous namespace)::Q_QGS_privateDialogShadowsSelf::innerFunction() ()
    at /products/kde/sources/kde/workspace/plasma-workspace/shell/panelshadows.cpp:102
#14 0x0000000000486147 in QGlobalStatic<DialogShadowsSingleton, (anonymous namespace)::Q_QGS_privateDialogShadowsSelf::innerFunction, (anonymous namespace)::Q_QGS_privateDialogShadowsSelf::guard>::operator->() (this=0x6f8310 <privateDialogShadowsSelf>) at /usr/include/qt5/QtCore/qglobalstatic.h:133
#15 0x0000000000483b3e in PanelShadows::self() () at /products/kde/sources/kde/workspace/plasma-workspace/shell/panelshadows.cpp:119
#16 0x0000000000478d48 in PanelView::PanelView(ShellCorona*, QScreen*, QWindow*) (this=0x2c21470, corona=0x7f0610, targetScreen=0x738cc0, parent=0x0)
    at /products/kde/sources/kde/workspace/plasma-workspace/shell/panelview.cpp:116
#17 0x000000000048f613 in ShellCorona::createWaitingPanels() (this=0x7f0610) at /products/kde/sources/kde/workspace/plasma-workspace/shell/shellcorona.cpp:955
#18 0x00000000004a37e4 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ShellCorona::*)()>::call(void (ShellCorona::*)(), ShellCorona*, void**) (f=(void (ShellCorona::*)(ShellCorona * const)) 0x48f46a <ShellCorona::createWaitingPanels()>, o=0x7f0610, arg=0x7fffffffd410)
    at /usr/include/qt5/QtCore/qobjectdefs_impl.h:500
#19 0x00000000004a2684 in QtPrivate::FunctionPointer<void (ShellCorona::*)()>::call<QtPrivate::List<>, void>(void (ShellCorona::*)(), ShellCorona*, void**) (f=(void (ShellCorona::*)(ShellCorona * const)) 0x48f46a <ShellCorona::createWaitingPanels()>, o=0x7f0610, arg=0x7fffffffd410) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:519
#20 0x000000000049f72d in QtPrivate::QSlotObject<void (ShellCorona::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x7f0180, r=0x7f0610, a=0x7fffffffd410, ret=0x0) at /usr/include/qt5/QtCore/qobject_impl.h:143
#21 0x00007ffff0b29dff in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#22 0x00007ffff0b37598 in QTimer::timerEvent(QTimerEvent*) () at /lib64/libQt5Core.so.5
#23 0x00007ffff0b2b3a3 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#24 0x00007ffff2081dec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#25 0x00007ffff2087370 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#26 0x00007ffff0afa7fb in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#27 0x00007ffff0b502ed in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#28 0x00007ffff0b50829 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#29 0x00007fffeb24c0ba in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#30 0x00007fffeb24c450 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#31 0x00007fffeb24c4fc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#32 0x00007ffff0b514cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#33 0x00007ffff0af827a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#34 0x00007ffff0affcdc in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#35 0x000000000046ade1 in main(int, char**) (argc=1, argv=0x7fffffffe0c8) at /products/kde/sources/kde/workspace/plasma-workspace/shell/main.cpp:154



More information about the Plasma-devel mailing list