Unable to build a *.flatpak for project
Alexander Larsson
alexl at redhat.com
Mon Aug 8 08:16:00 UTC 2016
On mån, 2016-08-01 at 20:18 -0400, Gage Morgan wrote:
> Originally posted at https://github.com/Christoffen-Corporation/logo-
> generator/issues/7.
>
> All files that were originally used are linked below, but if anyone
> is uncomfortable with direct links that automatically download the
> files to the Downloads folder, I'll attempt to attach them in the
> message as well (though I've never attached anything in a mailing
> list before).
>
> I'm having Flatpak troubles (I'm in Fedora 24):
>
> This is a project I've been working on to learn how different parts
> of a GNU/Linux system come together with each program. In this case,
> a Gtk+ application with a CLI backend, GNU Autotools, the works.
>
> So, I've tried thus far to get this repository to build locally using
> ``flatpak build``, but it gets through the process and then
> subsequently gives me:
>
> Failed to register:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown:
> org.freedesktop.DBus.Error.ServiceUnknown
This error message in general means that the app tried to talk to some
other process over dbus, which by default is prohibited for sandboxed
apps like flatpak. You need to figure out what its talking too, and
give it access to that.
However, given the particular error message "Failed to register", my
guess is that its not really talking to another instance, but to the
bus itself, trying to register itself with a know name. In flatpak, by
default an application can only own a name on the bus with the
application ID as the name. In you case that would be
"org.christoffen.Logogenerator3", but maybe the app is using a
different name.
Can you run the app outside the sandbox (or with flatpak run --
socket=session-bus) while at the same time running
"dbus-monitor --session". Then you should be able to see what the app
does on dbus.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alexander.larsson at gmail.com
He's an unconventional small-town boxer haunted by memories of 'Nam.
She's a hard-bitten insomniac soap star with the power to see death. They
fight crime!
More information about the xdg-app
mailing list