snappy-go is now the default on devel-proposed

Michael Vogt mvo at ubuntu.com
Fri Mar 27 22:25:52 UTC 2015


On Fri, Mar 27, 2015 at 03:14:51PM -0700, Theo Julienne wrote:
> We just noticed this morning that the introduction of the Go version
> breaks ubuntu-device-flash and the "--install" option for armhf targets,
> since there seems to be a long-lasting incompatibility[1] between Go and
> qemu-arm-static (which is presumably used to run snappy install in the
> chroot). This isn't so much a bug in the Go version itself, just a general
> incompatibility, but it has broken all our builds.

Thanks for this feedback and sorry to hear about this issue.

> I haven't actually delved into the internals of ubuntu-device-flash, but I
> noticed this error in our own qemu arm chroots so imagine it is caused by
> the same (above) issue.

As far as I know (Sergio will correct me if I'm wrong :) there is a
new version of ubuntu-device-flash almost ready that avoids using
qemu-arm and uses a new feature in snappy-go instead that allows
setting alternative root dirs for working with snaps.

Hope this will fix your issue.

Cheers,
 Michael

 
> --- snip ---
> Installing ninjasphere_0.0.12_multi.snap
> unable to run chroot command: fatal error: rt_sigaction failure
> 
> runtime stack:
> runtime.throw(0x52887d)
> /usr/lib/go/src/pkg/runtime/panic.c:520 +0x5c
> runtime.setsig(0x40, 0x338c4, 0x53dc01)
> /usr/lib/go/src/pkg/runtime/os_linux.c:309 +0xbc
> runtime.initsig()
> /usr/lib/go/src/pkg/runtime/signal_unix.c:39 +0x94
> runtime.mstart()
> /usr/lib/go/src/pkg/runtime/proc.c:621 +0x80
> 
> goroutine 16 [runnable]:
> runtime.main()
> /usr/lib/go/src/pkg/runtime/proc.c:207
> runtime.goexit()
> /usr/lib/go/src/pkg/runtime/proc.c:1445
> 
> 
> [1] https://groups.google.com/forum/#!topic/golang-nuts/MqKTX_XIOKE
> 
> Kind Regards,
> Theo Julienne
> Ninja Blocks
> 
> On Fri, Mar 27, 2015 at 3:04 PM, Michael Vogt <mvo at ubuntu.com> wrote:
> 
> > Hello,
> >
> >
> > the latest snappy ubuntu-core/devel-proposed images now use the new
> > snappy-go as the default snappy! It's faster, more robust and has
> > more features. There are also some changes in the CLI as outlined in
> > [1].
> >
> > Please let us know if there is anything missing or if you encounter
> > problems with the new code. We also plan to move it into the snappy
> > tools PPAs to use for "snappy build" in the next couple of days.
> >
> >
> > Cheers,
> >  The snappy development team
> >
> >
> > [1] https://lists.ubuntu.com/archives/snappy-devel/2015-March/000334.html
> >
> > --
> > snappy-devel mailing list
> > snappy-devel at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/snappy-devel
> >



More information about the snappy-devel mailing list