4.9.3 AppImage issue

Paul Buxton paulbuxton.mail at googlemail.com
Mon Sep 23 08:46:53 PDT 2019


David,
If you want to test the Appimage linked to  at the bottom of this pull request
https://github.com/Subsurface-divelog/subsurface/pull/2300

I believe it should fix the issue you were seeing?



On Thu, Sep 19, 2019 at 6:59 PM Paul Buxton
<paulbuxton.mail at googlemail.com> wrote:
>
> So to summarise.
> Your machine-id is in /var/lib/dbus
> Our dbus library is looking in /usr/local/var/lib/dbus, and also /etc
>
> Just checking my local machine (Windows with WSL running Ubuntu 18,
> not exactly representative), and I appear to have /etc/machine-id,and
> /var/lib/dbus/machine-id but not /usr/local/lib/dbus.
> I can check a more realistic machine tomorrow.
> But looking at the Appimage build, we build dbus from source, and
> looking at the dbus project code, it looks like the path that is
> searched is a build time option.
> makefile.am:
> ..
> DDBUS_MACHINE_UUID_FILE=\""$(localstatedir)/lib/dbus/machine-id"\
> ..
>
> I am not 100% clear where localstatedir comes from, but I think
> perhaps we want to change the configuration of the dbus build to
> specify it to be /var instead of /usr/local/var
>
> I will poke around some more when I get some time.
>
> Paul
>
> On Thu, Sep 19, 2019 at 6:26 PM David Tillotson <david at acmelabs.co.uk> wrote:
> >
> > I did try that, and the machine-id file in /var/lib/dbus/ was updated, but the appimage doesn't use that. Whether this is an inherent appimage issue, or a local issue is currently unclear. I'll set up fresh Devuan and Debian installs on VMs when I have the time, and see what that shows.
> >
> > David Tillotson
> > On 19 Sep 2019, at 16:00, Paul Buxton <paulbuxton.mail at googlemail.com> wrote:
> >>
> >> So maybe try the dbus-uuidgen --ensure?
> >>
> >> On Thu, Sep 19, 2019 at 10:29 AM David Tillotson <david at acmelabs.co.uk> wrote:
> >>>
> >>>
> >>>  On Thu, 19 Sep 2019 09:02:36 +0100
> >>>  Paul Buxton <paulbuxton.mail at googlemail.com> wrote:
> >>>
> >>>>  Hmm, when googling stuff I did come across an appimage script that
> >>>>  looked to be modifying a path in a packaged dbus library..
> >>>>  https://fossies.org/diffs/digikam/6.0.0_vs_6.1.0/project/bundles/appimage/04-build-appimage.sh-diff.html
> >>>>  Do you know what library is actually failing to find the file?
> >>>
> >>>
> >>>  I should really have grabbed this sooner:
> >>>  dbus[2410]: D-Bus library appears to be incorrectly set up: see the
> >>>  manual page for dbus-uuidgen to correct this issue. (Failed to open
> >>>  "/usr/local/var/lib/dbus/machine-id": No such file or directory; Failed
> >>>  to open "/etc/machine-id": No such file or
> >>>  directory) /tmp/.mount_SubsurOd39gI/usr/bin/../lib/libdbus-1.so.3(_dbus_print_backtrace+0x1f)
> >>>  [0x7f7e1c495721] /tmp/.mount_SubsurOd39gI/usr/bin/../lib/libdbus-1.so.3(_dbus_abort+0xd)
> >>>  [0x7f7e1c48ff42] /tmp/.mount_SubsurOd39gI/usr/bin/../lib/libdbus-1.so.3(_dbus_warn_check_failed+0xf2)
> >>>  [0x7f7e1c47bb52] /tmp/.mount_SubsurOd39gI/usr/bin/../lib/libdbus-1.so.3(dbus_get_local_machine_id+0x78)
> >>>  [0x7f7e1c45aeb9] /tmp/.mount_SubsurOd39gI/usr/bin/../lib/libQt5DBus.so.5(_ZN15QDBusConnection14localMachineIdEv+0xe)
> >>>  [0x7f7e23f7c0ae] /tmp/.mount_SubsurOd39gI/usr/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so(+0x8671)
> >>>  [0x7f7e120af671] /tmp/.mount_SubsurOd39gI/usr/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so(+0xcd68)
> >>>  [0x7f7e120b3d68] /tmp/.mount_SubsurOd39gI/usr/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so(+0xd5a3)
> >>>  [0x7f7e120b45a3] /tmp/.mount_SubsurOd39gI/usr/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so(+0xdc21)
> >>>  [0x7f7e120b4c21] /tmp/.mount_SubsurOd39gI/usr/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so(+0x12e65)
> >>>  [0x7f7e120b9e65] /tmp/.mount_SubsurOd39gI/usr/bin/../lib/libQt5Gui.so.5(_ZN28QPlatformInputContextFactory6createERK7QString+0x16e)
> >>>  [0x7f7e2b423f9e] /tmp/.mount_SubsurOd39gI/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5(_ZN15QXcbIntegration10initializeEv+0x2d)
> >>>  [0x7f7e13ca407d] /tmp/.mount_SubsurOd39gI/usr/bin/../lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate20eventDispatcherReadyEv+0x19)
> >>>  [0x7f7e2b4358c9] /tmp/.mount_SubsurOd39gI/usr/bin/../lib/libQt5Core.so.5(_ZN23QCoreApplicationPrivate4initEv+0x9be)
> >>>  [0x7f7e2a08880e] /tmp/.mount_SubsurOd39gI/usr/bin/../lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate4initEv+0x1c)
> >>>  [0x7f7e2b43723c] /tmp/.mount_SubsurOd39gI/usr/bin/../lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate4initEv+0x9)
> >>>  [0x7f7e2c336489] ./Subsurface-4.9.3-x86_64.AppImage(main+0x9c)
> >>>  [0x4ce69c] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)
> >>>  [0x7f7e291f22e1] ./Subsurface-4.9.3-x86_64.AppImage() [0x4d3a2d] Aborted
> >>
> >>


More information about the subsurface mailing list