/srv/irclogs.ubuntu.com/2017/04/12/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
=== RAOF is now known as Guest27115
AdamHHello, I am trying to understand Qt, mir and snaps. I have written a Hello World app using Qt which works on a Desktop. But when I install the Snap on Ubuntu Core I get the following error Apr 12 10:50:58 localhost snap[1292]: cannot perform operation: mount --bind -o ro,nosuid,nodev /snap/mir-libs/28/mirlibs0/usr/lib /snap/falconhelloworld/x1/mir-libs: No such file or directory. Directory doesn't exist but not sure what I am missing12:44
AdamH as I have used mir-kiosk-apps as a guide. Any pointers as to how I debug this?12:44
AdamHhttps://github.com/AdamHeavens/falconhelloworld/12:44
alan_gAdamH: sounds like you're missing the mir-libs content interface.13:04
alan_gI'm not very familiar with the snaps error messages, but have you tried the example clients?13:04
AdamHalan_g: I have the following interfaces mir-kiosk:mir             falconhelloworld and mir-libs:mir-libs         falconhelloworld,mir-kiosk13:08
AdamHI have used mir-kiosk-apps and it works correctly. So must have something set wrong in snapcraft I assume13:09
alan_gThat would be my guess too. (But all the snapcraft I've done has been copy & change.)13:10
alan_gWhen you say the directory doesn't exist do you mean /snap/mir-libs/28/mirlibs0/usr/lib or /snap/falconhelloworld/x1/mir-libs13:11
alan_g?13:11
AdamHIt is /snap/falconhelloworld/x1/mir-libs that does not exist13:12
alan_gOK, you're just missing that directory in your snap.13:13
AdamHYes just not sure how I pull it in at the moment13:14
alan_gDo you have the (empty) folder in github?13:16
AdamHNo but I have noticed in the mir-kiosk-apps demo there is an emtpy folder in glue, is that all I need to do?13:17
alan_gYou need the empty folder for bind to work.13:20
AdamHha thanks... will give that a try now13:20
alan_gMy example uses this yaml: https://bazaar.launchpad.net/~alan-griffiths/mircade-snap/trunk/view/head:/snap/snapcraft.yaml13:20
alan_gIf that doesn't work, the folks on #snappy may know what the incantations mean.13:21
AdamHThank you will give it a go13:21
=== chihchun is now known as chihchun_afk
=== Guest27115 is now known as RAOF

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!