GNU bug report logs - #55844
Dbus bug for Chromium extensions

Previous Next

Package: guix;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Wed, 8 Jun 2022 10:13:02 UTC

Severity: normal

Done: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>

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 55844 in the body.
You can then email your comments to 55844 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#55844; Package guix. (Wed, 08 Jun 2022 10:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 08 Jun 2022 10:13:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: bug-guix <at> gnu.org
Cc: marius <at> gnu.org
Subject: Dbus bug for Chromium extensions
Date: Wed, 08 Jun 2022 12:12:32 +0200
Hi !

I was trying to package another chromium extension into Guix but I'm
getting stuck with these errors :

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
[10:28:0531/060100.449212:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket
/var/run/dbus/system_bus_socket: No such file or directory
[10:28:0531/060100.449297:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket
/var/run/dbus/system_bus_socket: No such file or directory
[10:26:0531/060100.452428:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[10:26:0531/060100.452827:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
Backtrace:
           2 (primitive-load "/gnu/store/5kz6ghy2js3mcdbkbb5a2js6hxv?")
In ice-9/eval.scm:
    619:8  1 (_ #(#<directory (guile-user) 7ffff5fdbc80> "/gnu/st?" ?))
In guix/build/utils.scm:
    762:6  0 (invoke "/gnu/store/jsglqylg94biv33jmnm1zfl0a9v0palh-u?" ?)

guix/build/utils.scm:762:6: In procedure invoke:
ERROR:
  1. &invoke-error:
      program: "/gnu/store/jsglqylg94biv33jmnm1zfl0a9v0palh-ungoogled-chromium-102.0.5005.61-1/bin/chromium"
      arguments: ("--user-data-dir=chromium-profile"
"--pack-extension=/tmp/guix-build-zotero-connectors-5.0.92.crx.drv-0/extension"
"--pack-extension-key=/gnu/store/8bj3i35kj9fwj4a3w1fv8skia1gh9b35-zotero-connectors-signing-key.pem")
      exit-status: 22
      term-signal: #f
      stop-signal: #f

So it seems that in my case, the browser is trying to connect to dbus
which is not a dependency.

Have you already run into these kind of errors ?
I'm running mainly under Sway implementation of wayland, does it have
something to do with it ?

I've tried adding dbus to the list of native-inputs, but only that
doesn't fix the issue. I've also tried adding a dbus deamon,

(invoke (string-append #$dbus "/bin/dbus-daemon")
                   "--fork" "--session")

but I still get the same errors as chromium is trying to connect to
system bus.

I don't have enough dbus understanding to try and address the
issue.

In my particular case, I was trying to package zotero connectors, see my
WIP/dirty package here :
https://git.sr.ht/~ngraves/guix-channel/tree/master/item/ngraves/packages/zotero.scm

Thanks for your help !

Nicolas





Information forwarded to bug-guix <at> gnu.org:
bug#55844; Package guix. (Wed, 20 Jul 2022 20:19:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 55844 <at> debbugs.gnu.org
Subject: fix upstreamed
Date: Wed, 20 Jul 2022 22:18:49 +0200
Hi !

This issue can also be closed as a result of successfully pushed
commits c8f33b613e..cda3de3b7d.

-- 
Best regards,
Nicolas Graves




bug closed, send any further explanations to 55844 <at> debbugs.gnu.org and Nicolas Graves <ngraves <at> ngraves.fr> Request was from Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at> to control <at> debbugs.gnu.org. (Fri, 22 Jul 2022 07:23:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 1 year and 251 days ago.

Previous Next


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