GNU bug report logs - #72346
dbus session daemon fail to start kdeconnectd

Previous Next

Package: guix;

Reported by: 宋文武 <iyzsong <at> envs.net>

Date: Mon, 29 Jul 2024 03:13:01 UTC

Severity: normal

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72346 in the body.
You can then email your comments to 72346 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#72346; Package guix. (Mon, 29 Jul 2024 03:13:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 宋文武 <iyzsong <at> envs.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 29 Jul 2024 03:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: bug-guix <at> gnu.org
Cc: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Subject: dbus session daemon fail to start kdeconnectd
Date: Mon, 29 Jul 2024 11:11:57 +0800
Hello, kdeconnect-app fail to start 'kdeconnectd' automatically.

It reports:
2024-07-29 11:06:12 dbus-daemon[293]: [session uid=1000 pid=293 pidfd=4] Activated service 'org.kde.kdeconnect' failed: Failed to execute program org.kde.kdeconnect: No such file or directory

And we have org.kde.kdeconnect.service:
[D-BUS Service]
Name=org.kde.kdeconnect
Exec=kdeconnectd

Maybe the 'Exec=' must have an absolute path?




Information forwarded to bug-guix <at> gnu.org:
bug#72346; Package guix. (Tue, 30 Jul 2024 05:36:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 宋文武 via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 72346 <at> debbugs.gnu.org, 宋文武 <iyzsong <at> envs.net>
Subject: Re: bug#72346: dbus session daemon fail to start kdeconnectd
Date: Tue, 30 Jul 2024 13:34:43 +0800
[Message part 1 (text/plain, inline)]
宋文武 via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> Hello, kdeconnect-app fail to start 'kdeconnectd' automatically.
>
> It reports:
> 2024-07-29 11:06:12 dbus-daemon[293]: [session uid=1000 pid=293
> pidfd=4] Activated service 'org.kde.kdeconnect' failed: Failed to
> execute program org.kde.kdeconnect: No such file or directory
>
> And we have org.kde.kdeconnect.service:
> [D-BUS Service]
> Name=org.kde.kdeconnect
> Exec=kdeconnectd
>
> Maybe the 'Exec=' must have an absolute path?

[0001-gnu-kdeconnect-Fix-dbus-autostart.patch (text/x-patch, inline)]
From e8176e7919436a2ff1bf0ef764c2e08c67bc4d60 Mon Sep 17 00:00:00 2001
Message-ID: <e8176e7919436a2ff1bf0ef764c2e08c67bc4d60.1722317638.git.zhengjunjie <at> iscas.ac.cn>
From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Date: Tue, 30 Jul 2024 13:06:22 +0800
Subject: [PATCH] gnu: kdeconnect: Fix dbus autostart.

* gnu/packages/kde.scm (kdeconnect)[phases]: Add fix-dbus-autostart phase.

Change-Id: I27ac61e41f15f9ff2de658fbd04633820f5e0966
---
 gnu/packages/kde.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 59f3b1052b..0e51e3e230 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1326,6 +1326,12 @@ (define-public kdeconnect
                    "-DKDE_INSTALL_LIBEXECDIR=libexec"
                    ;; So kdeconnect.so isn't installed to lib/plugins
                    "-DPLUGIN_INSTALL_DIR=lib/qt6/plugins")
+           #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'fix-dbus-autostart
+                          (lambda _
+                            (substitute* "daemon/org.kde.kdeconnect.service.in"
+                              (("kdeconnectd")
+                               (string-append #$output "/bin/kdeconnectd"))))))
            #:tests? #f)) ; tests fail hard in our build environment
     (native-inputs
      (list extra-cmake-modules

base-commit: fdc6274de5b1d617fcabb3f3af9d2c0dd2a6520d
prerequisite-patch-id: 9429d31c7fc951f1c90d8df0d4c1d5655f38287f
prerequisite-patch-id: 8aba1f6e2d202562de36cf70cb0cb0a4eaa76de7
-- 
2.45.2

[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#72346; Package guix. (Tue, 30 Jul 2024 05:36:02 GMT) Full text and rfc822 format available.

Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Tue, 30 Jul 2024 23:59:01 GMT) Full text and rfc822 format available.

Notification sent to 宋文武 <iyzsong <at> envs.net>:
bug acknowledged by developer. (Tue, 30 Jul 2024 23:59:02 GMT) Full text and rfc822 format available.

Message #16 received at 72346-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: 72346-done <at> debbugs.gnu.org
Subject: Re: bug#72346: dbus session daemon fail to start kdeconnectd
Date: Wed, 31 Jul 2024 07:58:14 +0800
Zheng Junjie <zhengjunjie <at> iscas.ac.cn> writes:

> [...]
> Subject: [PATCH] gnu: kdeconnect: Fix dbus autostart.
>
> * gnu/packages/kde.scm (kdeconnect)[phases]: Add fix-dbus-autostart phase.
>
> Change-Id: I27ac61e41f15f9ff2de658fbd04633820f5e0966
> ---
>  gnu/packages/kde.scm | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
> index 59f3b1052b..0e51e3e230 100644
> --- a/gnu/packages/kde.scm
> +++ b/gnu/packages/kde.scm
> @@ -1326,6 +1326,12 @@ (define-public kdeconnect
>                     "-DKDE_INSTALL_LIBEXECDIR=libexec"
>                     ;; So kdeconnect.so isn't installed to lib/plugins
>                     "-DPLUGIN_INSTALL_DIR=lib/qt6/plugins")
> +           #:phases #~(modify-phases %standard-phases
> +                        (add-after 'unpack 'fix-dbus-autostart
> +                          (lambda _
> +                            (substitute* "daemon/org.kde.kdeconnect.service.in"
> +                              (("kdeconnectd")
> +                               (string-append #$output "/bin/kdeconnectd"))))))
>             #:tests? #f)) ; tests fail hard in our build environment
>      (native-inputs
>       (list extra-cmake-modules
>
> base-commit: fdc6274de5b1d617fcabb3f3af9d2c0dd2a6520d
> prerequisite-patch-id: 9429d31c7fc951f1c90d8df0d4c1d5655f38287f
> prerequisite-patch-id: 8aba1f6e2d202562de36cf70cb0cb0a4eaa76de7

Pushed to master, thank you!





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 28 Aug 2024 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 346 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.