[10:31] <shuduo> any good way to build a piece of C code to snap for ARM platform? I tried to use snapcraft example downloader-with-wiki-parts but found just add architectures section does not make compiling with arm gcc automatically. even i modify gcc with arm-linux-gnueabihf-gcc but the dependencies still be compiled for amd64. I thought make plugin can do some magic for different architectures. now my question is what
[10:31] <shuduo> easy way I can build a C-based snap for armhf is?
[10:32] <ogra_> you casn either do it on real hardware or in a qemu-user-static chroot built by qemu-debootstrap
[10:32] <ogra_> snapcraft doesnt support cross building yet
[10:35] <shuduo> ogra_: hmm, seems it's only way i can take now. thanks.
[11:11] <asac> ogra_: do you know where the config hook for ubuntu-core stuff like network interfaces is?
[11:40] <ogra_> asac, you mean in the snappy code ? no idea, i just know how to use it
[11:42] <ogra_> http://paste.ubuntu.com/14258119/ is a script i use for setting up my hosts ...
[12:25] <asac> ogra_: nevermind. found it in snappy code
[15:24] <shuduo> ogra_: i managed to get an armhf wily chroot via qemu-debootstrap but apt-get install golang-go always failed. did you try arm chroot before?
[15:25] <ogra_> shuduo, go has issues with the qemu chroot (broken syscalls in qemu iirc) ... you said C code above ...
[15:26] <ogra_> (i wouldnt have suggested it for a go project)
[15:32] <shuduo> ogra_: yes, but i tried to compile C example and it also failed. and err msg show something go stack. i wonder snapcraft should not be related to golang.
[15:32] <ogra_> hm. then you are likely doomed to do a native build for now
[15:33] <shuduo> then i tried to install golang-go package but it even can't be installed
[16:50] <shuduo> ogra_: i submit it as a bug https://bugs.launchpad.net/snapcraft/+bug/1529904