/srv/irclogs.ubuntu.com/2015/12/29/#snappy.txt

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

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