From: Nicolas Graves via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 55844@debbugs.gnu.org
Cc: marius@gnu.org
Subject: bug#55844: Dbus bug for Chromium extensions
Date: Wed, 08 Jun 2022 12:12:32 +0200 [thread overview]
Message-ID: <875ylb1n1r.fsf@ngraves.fr> (raw)
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
next reply other threads:[~2022-06-08 10:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-08 10:12 Nicolas Graves via Bug reports for GNU Guix [this message]
2022-07-20 20:18 ` bug#55844: fix upstreamed Nicolas Graves via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875ylb1n1r.fsf@ngraves.fr \
--to=bug-guix@gnu.org \
--cc=55844@debbugs.gnu.org \
--cc=marius@gnu.org \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).