=== chihchun_afk is now known as chihchun | ||
=== RAOF is now known as Guest27115 | ||
AdamH | Hello, 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 missing | 12:44 |
---|---|---|
AdamH | as I have used mir-kiosk-apps as a guide. Any pointers as to how I debug this? | 12:44 |
AdamH | https://github.com/AdamHeavens/falconhelloworld/ | 12:44 |
alan_g | AdamH: sounds like you're missing the mir-libs content interface. | 13:04 |
alan_g | I'm not very familiar with the snaps error messages, but have you tried the example clients? | 13:04 |
AdamH | alan_g: I have the following interfaces mir-kiosk:mir falconhelloworld and mir-libs:mir-libs falconhelloworld,mir-kiosk | 13:08 |
AdamH | I have used mir-kiosk-apps and it works correctly. So must have something set wrong in snapcraft I assume | 13:09 |
alan_g | That would be my guess too. (But all the snapcraft I've done has been copy & change.) | 13:10 |
alan_g | When you say the directory doesn't exist do you mean /snap/mir-libs/28/mirlibs0/usr/lib or /snap/falconhelloworld/x1/mir-libs | 13:11 |
alan_g | ? | 13:11 |
AdamH | It is /snap/falconhelloworld/x1/mir-libs that does not exist | 13:12 |
alan_g | OK, you're just missing that directory in your snap. | 13:13 |
AdamH | Yes just not sure how I pull it in at the moment | 13:14 |
alan_g | Do you have the (empty) folder in github? | 13:16 |
AdamH | No 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_g | You need the empty folder for bind to work. | 13:20 |
AdamH | ha thanks... will give that a try now | 13:20 |
alan_g | My example uses this yaml: https://bazaar.launchpad.net/~alan-griffiths/mircade-snap/trunk/view/head:/snap/snapcraft.yaml | 13:20 |
alan_g | If that doesn't work, the folks on #snappy may know what the incantations mean. | 13:21 |
AdamH | Thank you will give it a go | 13: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!