Processed: Re: Bug#631671: Running a kommander script fails
Processing commands for cont...@bugs.debian.org: tags 631671 + upstream patch Bug #631671 [kommander] Running a kommander script fails. Added tag(s) upstream and patch. forwarded 631671 http://bugs.kde.org/show_bug.cgi?id=335327 Bug #631671 [kommander] Running a kommander script fails. Set Bug forwarded-to-address to 'http://bugs.kde.org/show_bug.cgi?id=335327'. thanks Stopping processing here. Please contact me if you need assistance. -- 631671: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631671 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/handler.s.c.14010129732005.transcr...@bugs.debian.org
Bug#631671: Running a kommander script fails
tags 631671 + upstream patch forwarded 631671 http://bugs.kde.org/show_bug.cgi?id=335327 thanks Patch forwarded upstream -- Jim Scadden -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140525101604.gb4...@wheezy.tsa.lan
Bug#631671: Running a kommander script fails
¡Hola Jim! El 2014-05-17 a las 15:11 +0100, Jim Scadden escribió: kommander(10045) KommanderFactory::loadPlugins: KommanderFactory::loadPlugins - Can't load Kommander plugin library libkommanderwidgets ... access(/usr/lib/kde4/libkommanderwidgets.so, R_OK) = -1 ENOENT (No such file or directory) Oh, it's a missing plugin. kde4 plugins should be installed in under the /usr/lib/kde4/ tree, and avoid poluting /usr/lib The debian package contains .so.4.2.0 and .so.4 but not .so The .4 and .4.2.0 files could probably be not-installed. The attached patch resolves the problem by including libkommanderwidgets.so back in to the package. Could you update the patch to install the plugins in /usr/lib/kde4/ ? Thanks, -- Haskell is faster than C++, more concise than Perl, more regular than Python, more flexible than Ruby, more typeful than C#, more robust than Java, and has absolutely nothing in common with PHP. -- Audrey Tang Saludos /\/\ /\ `/ signature.asc Description: Digital signature
Bug#631671: Running a kommander script fails
I tried to build this with the patch on the 4.12.3-2 Debian source and dh_install failed with: dh_install cp: cannot stat ‘debian/tmp/usr/lib/libcommanderwidgets.so’: No such file or directory dh_install: cp -a debian/tmp/usr/lib/libcommanderwidgets.so debian/kommander//usr/lib/ returned exit code 1 /usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:97: recipe for target 'pre_install_dh_install' failed make[1]: *** [pre_install_dh_install] Error 2 make[1]: Leaving directory '/pub/deb/kdewebdev-4.12.3' /usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:110: recipe for target 'debian/dhmk_install' failed make: *** [debian/dhmk_install] Error 2 so perhaps this patch needs more work? On Sun, May 18, 2014 at 6:15 PM, Maximiliano Curia m...@debian.org wrote: ¡Hola Jim! El 2014-05-17 a las 15:11 +0100, Jim Scadden escribió: kommander(10045) KommanderFactory::loadPlugins: KommanderFactory::loadPlugins - Can't load Kommander plugin library libkommanderwidgets ... access(/usr/lib/kde4/libkommanderwidgets.so, R_OK) = -1 ENOENT (No such file or directory) Oh, it's a missing plugin. kde4 plugins should be installed in under the /usr/lib/kde4/ tree, and avoid poluting /usr/lib The debian package contains .so.4.2.0 and .so.4 but not .so The .4 and .4.2.0 files could probably be not-installed. The attached patch resolves the problem by including libkommanderwidgets.so back in to the package. Could you update the patch to install the plugins in /usr/lib/kde4/ ? Thanks, -- Haskell is faster than C++, more concise than Perl, more regular than Python, more flexible than Ruby, more typeful than C#, more robust than Java, and has absolutely nothing in common with PHP. -- Audrey Tang Saludos /\/\ /\ `/ -- I love deadlines. I love the whooshing noise they make as they go by.
Bug#631671: Running a kommander script fails
On Sunday 18 May 2014 at 10:13:57, ewe2 wrote: I tried to build this with the patch on the 4.12.3-2 Debian source and dh_install failed with: dh_install cp: cannot stat ‘debian/tmp/usr/lib/libcommanderwidgets.so’: No such file or directory dh_install: cp -a debian/tmp/usr/lib/libcommanderwidgets.so debian/kommander//usr/lib/ returned exit code 1libcommanderwidgets.so /usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:97: recipe for target 'pre_install_dh_install' failed make[1]: *** [pre_install_dh_install] Error 2 make[1]: Leaving directory '/pub/deb/kdewebdev-4.12.3' /usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:110: recipe for target 'debian/dhmk_install' failed make: *** [debian/dhmk_install] Error 2 Did you apply the patch manually? The error shows dh_install was looking for libcommanderwidgets.so but the patch added libkommanderwidgets.so (with a k) to debian/kommander.install , so perhaps this was a typo? On Sun, May 18, 2014 at 6:15 PM, Maximiliano Curia m...@debian.org wrote: Oh, it's a missing plugin. kde4 plugins should be installed in under the /usr/lib/kde4/ tree, and avoid poluting /usr/lib The debian package contains .so.4.2.0 and .so.4 but not .so The .4 and .4.2.0 files could probably be not-installed. The attached patch resolves the problem by including libkommanderwidgets.so back in to the package. Could you update the patch to install the plugins in /usr/lib/kde4/ ? You're correct. I have modified the CMakeList.txt files so that it is built as a plugin with only a .so and installed to /usr/lib/kde4/ . There was also a runtime warning that plugins should not have a 'lib' prefix so I have also fixed this. I have attached a new patch for the upstream source and an updated patch for debian/not-installed and debian/kommander.install I have built packages using the patches on wheezy jessie and also used pbuilder to build against sid. Please let me know if any further modifications are necessary. If everything is ok then I would be happy to submit the upstream patch to the KDE BTS. Thanks -- Jim Scadden --- a/debian/kommander.install +++ b/debian/kommander.install @@ -1,6 +1,5 @@ usr/bin/kommander usr/lib/libkommandercore.so.4 usr/lib/libkommandercore.so.4.2.0 -usr/lib/libkommanderwidgets.so.4 -usr/lib/libkommanderwidgets.so.4.2.0 +usr/lib/kde4/kommanderwidgets.so usr/share/applnk/.hidden/kommander.desktop --- a/debian/not-installed +++ b/debian/not-installed @@ -5,6 +5,5 @@ ./usr/include/specials.h ./usr/lib/libklinkstatuscommon.so ./usr/lib/libkommandercore.so -./usr/lib/libkommanderwidgets.so ./usr/share/dbus-1/interfaces/org.kde.kdewebdev.klinkstatus.SearchManager.xml ./usr/share/dbus-1/interfaces/org.kde.kfilereplace.xml --- a/kommander/widgets/CMakeLists.txt +++ b/kommander/widgets/CMakeLists.txt @@ -13,7 +13,7 @@ ### next target ### -SET(kommanderwidgets_LIB_SRCS +SET(kommanderwidgets_PART_SRCS aboutdialog.cpp fontdialog.cpp buttongroup.cpp @@ -50,7 +50,7 @@ wizard.cpp ) -KDE4_ADD_LIBRARY(kommanderwidgets SHARED ${kommanderwidgets_LIB_SRCS}) +kde4_add_plugin(kommanderwidgets ${kommanderwidgets_PART_SRCS}) ### next target ### @@ -98,9 +98,7 @@ ${KDE4_KIO_LIBS} ) -SET_TARGET_PROPERTIES(kommanderwidgets PROPERTIES VERSION 4.2.0 SOVERSION 4 ) -INSTALL(TARGETS kommanderwidgets ${INSTALL_TARGETS_DEFAULT_ARGS}) - +install(TARGETS kommanderwidgets DESTINATION ${PLUGIN_INSTALL_DIR}) ### install files ### --- a/kommander/executor/CMakeLists.txt +++ b/kommander/executor/CMakeLists.txt @@ -24,7 +24,6 @@ TARGET_LINK_LIBRARIES( kommander kommandercore - kommanderwidgets ${KDE4_KDEUI_LIBS} ) --- a/kommander/lib/kommanderfactory.cpp +++ b/kommander/lib/kommanderfactory.cpp @@ -410,7 +410,7 @@ KConfig config ( kommanderrc ); KConfigGroup cfg ( config, plugins ); QStringList plugins; -plugins libkommanderwidgets; +plugins kommanderwidgets; plugins += cfg.readEntry ( plugins, QStringList() ); kDebug() Plugins: plugins; QStringList::Iterator it;
Bug#631671: Running a kommander script fails
On Mon, May 19, 2014 at 6:49 AM, Jim Scadden j...@silentasylum.co.ukwrote: On Sunday 18 May 2014 at 10:13:57, ewe2 wrote: Did you apply the patch manually? The error shows dh_install was looking for libcommanderwidgets.so but the patch added libkommanderwidgets.so (with a k) to debian/kommander.install , so perhaps this was a typo? Well spotted Jim, duh! Tested new patches with a local package and works fine, thanks! -- I love deadlines. I love the whooshing noise they make as they go by.
Bug#631671: Running a kommander script fails
I can confirmed that this bug is still present in the current versions for wheezy (4:4.8.4-1) and jessie (4:4.12.3-2) I am unable to run any of the example .kmdr files provided in the source package or any .kmdr files from kde-look.org $ kommander kommander/examples/tutorial/calc.kmdr kommander(10045)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: libkommanderwidgets.so kommander(10045) KommanderFactory::loadPlugins: KommanderFactory::loadPlugins - Can't load Kommander plugin library libkommanderwidgets An strace shows that kommander is trying to load libkommanderwidgets.so : access(/home/jim/.kde/lib/kde4/libkommanderwidgets.so, R_OK) = -1 ENOENT (No such file or directory) access(/usr/lib/kde4/libkommanderwidgets.so, R_OK) = -1 ENOENT (No such file or directory) access(/home/jim/.kde/lib/libkommanderwidgets.so, R_OK) = -1 ENOENT (No such file or directory) access(/usr/lib/libkommanderwidgets.so, R_OK) = -1 ENOENT (No such fileor directory) The debian package contains .so.4.2.0 and .so.4 but not .so The attached patch resolves the problem by including libkommanderwidgets.so back in to the package. -- Jim Scadden --- a/debian/kommander.install +++ b/debian/kommander.install @@ -1,6 +1,7 @@ usr/bin/kommander usr/lib/libkommandercore.so.4 usr/lib/libkommandercore.so.4.2.0 +usr/lib/libkommanderwidgets.so usr/lib/libkommanderwidgets.so.4 usr/lib/libkommanderwidgets.so.4.2.0 usr/share/applnk/.hidden/kommander.desktop --- a/debian/not-installed +++ b/debian/not-installed @@ -5,6 +5,5 @@ ./usr/include/specials.h ./usr/lib/libklinkstatuscommon.so ./usr/lib/libkommandercore.so -./usr/lib/libkommanderwidgets.so ./usr/share/dbus-1/interfaces/org.kde.kdewebdev.klinkstatus.SearchManager.xml ./usr/share/dbus-1/interfaces/org.kde.kfilereplace.xml
Bug#631671: Running a kommander script fails.
Subject: Running a kommander script fails. Package: kommander Version: 4:4.6.3-1 Severity: important Output from the test script mkv2avi-2.kmdr: $ kommander mkv2avi-2.kmdr kommander(26975)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: libkommanderwidgets.so kommander(26975) KommanderFactory::loadPlugins: KommanderFactory::loadPlugins - Can't load Kommander plugin library libkommanderwidgets -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages kommander depends on: ii kdebase-runtime 4:4.6.3-1runtime components from the offici ii libc6 2.13-7 Embedded GNU C Library: Shared lib ii libkde3support4 4:4.6.3-3KDE 3 Support Library for the KDE ii libkdecore5 4:4.6.3-3KDE Platform Core Library ii libkdeui5 4:4.6.3-3KDE Platform User Interface Librar ii libkio5 4:4.6.3-3Network-enabled File Management Li ii libqt4-dbus 4:4.7.3-1Qt 4 D-Bus module ii libqt4-qt3support 4:4.7.3-1Qt 3 compatibility library for Qt ii libqt4-xml 4:4.7.3-1Qt 4 XML module ii libqtcore4 4:4.7.3-1Qt 4 core module ii libqtgui4 4:4.7.3-1Qt 4 GUI module ii libstdc++6 4.6.0-10 The GNU Standard C++ Library v3 ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime kommander recommends no packages. kommander suggests no packages. -- no debconf information -- I love deadlines. I love the whooshing noise they make as they go by. -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktimbt5hk3cipchno+1vbb9dyojq...@mail.gmail.com