snapcraft qmldemo and xkbcommon segfault

Ted Gould ted at ubuntu.com
Wed Nov 11 15:24:57 UTC 2015


On Mon, 2015-11-09 at 06:44 -0500, Darren Landoll wrote:
> I've switched over to snapcraft for building my Mir client Qt snaps,
> but see the following error with both the qmldemo example and my own
> application snap based on that example. I can avoid the error and
> resulting segfault by manually creating a symlink from /usr/share/X11
> to the snap app path.
> 
> xkbcommon: ERROR: failed to add default include path
> /usr/share/X11/xkb
> 
> It looks like there is an existing bug for this, is this something
> that is currently being looked at for a stable 15.04 core release?
> 
> https://bugs.launchpad.net/mir/+bug/1432997
> 
Howdy Darren,
So we've patched libxkbcommon so that it can take an environment
variable for the path, which the qml plugin sets. So what you need is
to get that package into your build. If you want to build on Vivid the
easiest way to do that is to add the Snapcraft PPA to your local
sources and ask Snapcraft to build with that.
$ apt-add-repository ppa:snappy-dev/snapcraft-daily
$ SNAPCRAFT_LOCAL_SOURCES=1 snapcraft
This is not required for building on Wily or Xenial (or beyond).
Ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20151111/abde729d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20151111/abde729d/attachment.pgp>


More information about the snappy-app-devel mailing list