Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2021 03:28:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257977] devel/glib20: unbreak machine-id lookup after 2.68 update
Message-ID:  <bug-257977-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257977

            Bug ID: 257977
           Summary: devel/glib20: unbreak machine-id lookup after 2.68
                    update
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
          Assignee: desktop@FreeBSD.org

Created attachment 227350
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D227350&action=
=3Dedit
v1

Regressed by https://gitlab.gnome.org/GNOME/glib/-/commit/05ff2f877ca3. glib
bindings for dbus no longer work without /etc/machine-id symlink.

$ pkg install gtk4
$ service dbus onestart
$ cat /var/lib/dbus/machine-id
123456789012345678901234567890123
$ gtk4-demo
Gdk-Message: Failed to get file transfer portal: Cannot spawn a message bus
without a machine-id: Unable to load /var/local/lib/dbus/machine-id or
/etc/machine-id: Failed to open file =E2=80=9C/var/local/lib/dbus/machine-i=
d=E2=80=9D: No such
file or directory
^C

$ pkg install squeekboard
$ squeekboard &
Can't connect to the bus: Cannot spawn a message bus without a machine-id:
Unable to load /var/local/lib/dbus/machine-id or /etc/machine-id: Failed to
open file =E2=80=9C/var/local/lib/dbus/machine-id=E2=80=9D: No such file or=
 directory.
Visibility switching unavailable.
** (squeekboard:1234): WARNING **: Could not connect to session manager: Ca=
nnot
spawn a message bus without a machine-id: Unable to load
/var/local/lib/dbus/machine-id or /etc/machine-id: Failed to open file
=E2=80=9C/var/local/lib/dbus/machine-id=E2=80=9D: No such file or directory
$ gdbus call --session \
             --dest=3Dsm.puri.OSK0 \
             --object-path=3D/sm/puri/OSK0 \
             --method=3Dsm.puri.OSK0.SetVisible \
             true
Error connecting: Cannot spawn a message bus without a machine-id: Unable to
load /var/local/lib/dbus/machine-id or /etc/machine-id: Failed to open file
=E2=80=9C/var/local/lib/dbus/machine-id=E2=80=9D: No such file or directory

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257977-7788>