/srv/irclogs.ubuntu.com/2017/04/14/#snappy.txt

lutostagI can't seem to see any sinks/sources besides dummy after I $ snap install pulseaudio # on the rpi3 according to https://developer.ubuntu.com/core/get-started/developer-setup#pulseaudio01:41
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== robertliu_ is now known as robertliu
=== gavinlin is now known as Guest24562
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
zygajdstrand: FYI, now that snap-confine can run from core we need to re-introduce all the extra security fixes and features we had ready08:13
=== koza|away is now known as koza
AdamHHello, trying to teach myself to Qt, mir-kiosk running on Ubuntu Core. I have a basic hello world app using the mir-kiosk-apps as an example. But snapcraft fails unless I manually copy the executable from qt into the stage directory, which then allows the package to be created but when I install the snap I get the error message "cannot execute binary file: Exec format error" I get the feeling I am missing something basic. Any pointers ap10:16
AdamHpreciated as I have spend days trying to get this to work without success10:16
AdamHhttps://github.com/AdamHeavens/falconhelloworld/10:16
qenghoAdamH: When you "install" the app, you get that error message?10:42
AdamHqengho: No there are no errors I just see the error "/snap/falconhelloworld/x1/bin/falconhelloworld: cannot execute binary file: Exec format error" in syslog10:43
qenghoThat's when you run it, or when systemd runs it on your behalf, then.10:44
qengho...a service/daemon.10:44
AdamHYes10:44
qengho"file /snap/falconhelloworld/x1/bin/falconhelloworld"10:44
AdamHI think I need to get the snapcraft process to build the app and place in /bin but not sure whats wrong with my yaml10:48
qenghoRun that. Tell me what it says.10:48
AdamHI just get -bash: file: command not found10:49
qenghoUgh. "ls -ld /snap/falconhelloworld/x1/bin/falconhelloworld"10:51
AdamH-rwxr-xr-x 1 root root 14584 Apr 14 09:49 /snap/falconhelloworld/x1/bin/falconhelloworld10:51
qenghoAdamH: And where you create that snap, I want to know "file prime/bin/falconhelloworld"10:51
AdamHI am creating the snap on an armhf lxc container, you want the results of the same command on prime/bin...10:53
qenghoAdamH: I want it on some rich system that has the "file" program. I don't have opinions about where you do that.10:55
mikeb_Hi.  Can someone help me with a snapcraft cmake plugin problem?  In my cmake, I have 'find_package(libsystemd-dev REQUIRED)'. In my part, I have 'build-packages: [ libsystemd-dev]'.  When I try to build, CMake complains that it can't find the package.  What am I missing?10:56
AdamHqengho: root@arm1:~/falconhelloworld/prime/bin# ls -ld falconhelloworld-rwxr-xr-x 2 root root 14584 Apr 14 09:49 falconhelloworld10:59
qengho"file prime/bin/falconhelloworld"11:04
qenghoAdamH: is it a secret?11:07
AdamH-rwxr-xr-x 2 root root 14584 Apr 14 09:49 falconhelloworld11:08
AdamHroot@arm1:~/falconhelloworld/prime/bin# file falconhelloworld11:08
AdamHfalconhelloworld: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=24061357469c24dda38ff15bc2b1af69a9ba470c, not stripped11:08
qenghoAdamH: Right, it looks to me like youre building a program for amd64 and trying to run it on armhf.11:09
AdamHqengho: Yes useful command to know, thanks I will look at Qt settings, although I am copying this in manually as snapcraft will not build it dynamically. Thanks for your time11:10
qenghoAdamH: The first problem is the one to fix. "snapcraft fails".11:10
qenghoAdamH: Use "--debug" on snapcraft. Fix that problem first.11:11
AdamHok thanks11:11
=== chihchun is now known as chihchun_afk
jdstrandzyga: oh! that's all landed?12:14
jdstrand(snap-confine)12:14
jdstrandzyga: and hi! :)12:14
=== JanC_ is now known as JanC
wahbwahb1Hi! I'm trying to build emacs using snapcraft and I'm running into this issue: https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1611505 - where 'loaders.cache' doesn't get copied into the snapcraft container. I was wondering if anyone can help. Here's my snapcraft.yaml: https://gist.github.com/benwah/7f027dbb50ec2279ba3d60314504054614:58
mupBug #1611505: gdk-pixbuf cache is missing from snap <bot-comment> <snap-desktop-issue> <snapcraft (Ubuntu):Confirmed> <https://launchpad.net/bugs/1611505>14:58
wahbwahb1After I build the snap, I seem to find this `loaders.cache` file in the expected location, under ./prime ./stage ./parts/emacs/install14:58
stokachustill hitting that 502 proxy error trying to upload my snap15:14
stokachubasically takes 3 times before it accepts it15:15
kyrofajdstrand, got a minute to hop into rocket?16:32
jdstrandkyrofa: yeah :)16:47
kyrofaThanks jdstrand. I pushed it as far as I could :P16:48
jdstrandkyrofa: thanks for that and np16:48
kyrofapedronis, are you around?19:16

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