=== chihchun_afk is now known as chihchun === shuduo_ is now known as shuduo [10:31] 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] easy way I can build a C-based snap for armhf is? [10:32] you casn either do it on real hardware or in a qemu-user-static chroot built by qemu-debootstrap [10:32] snapcraft doesnt support cross building yet [10:35] ogra_: hmm, seems it's only way i can take now. thanks. [11:11] ogra_: do you know where the config hook for ubuntu-core stuff like network interfaces is? [11:40] asac, you mean in the snappy code ? no idea, i just know how to use it [11:42] http://paste.ubuntu.com/14258119/ is a script i use for setting up my hosts ... [12:25] ogra_: nevermind. found it in snappy code [15:24] 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] shuduo, go has issues with the qemu chroot (broken syscalls in qemu iirc) ... you said C code above ... [15:26] (i wouldnt have suggested it for a go project) [15:32] 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] hm. then you are likely doomed to do a native build for now [15:33] then i tried to install golang-go package but it even can't be installed [16:50] ogra_: i submit it as a bug https://bugs.launchpad.net/snapcraft/+bug/1529904 [16:50] Launchpad bug 1529904 in Snapcraft "downloader-with-wiki-parts build fails in armhf chroot" [Undecided,New] === shuduo is now known as shuduo_afk