Tutorial: How to make use of QEMU to build armhf/arm64 snap on Ubuntu desktop 16.04

2016-12-05 Thread XiaoGuo Liu
Hi, Today, I made a tutorial on how to compile a armhf/arm64 snap on Ubuntu Destkop 16.04 desktop. It could be useful to those people who do not have a ARM board with you. The tutorial can be found at: http://blog.csdn.net/ubuntutouch/article/details/53482262 Thanks & best regards, -- XiaoGuo,

Re: sha3-384 mismatch

2016-12-05 Thread Seth Arnold
On Fri, Dec 02, 2016 at 05:50:06PM +0100, Didier Roche wrote: > However, as you can see in https://bugs.launchpad.net/bugs/1643893, I > can still reproduce pretty easily here this kind of error (nework > dropping and snapd disconnecting). While curl or wget can cope with the > download as expected.

Re: Ubuntu Testing Day, tomorrow

2016-12-05 Thread Leo Arias
Here's the summary of Friday's session, with a link to the recorded hang out: http://elopio.net/blog/ubuntu-testing-day-wrap-up-20161202/ If you have an interesting free software project, and want to join us in one of the following Fridays, send me and email. pura vida. -- Snapcraft mailing lis

Re: sha3-384 mismatch

2016-12-05 Thread Didier Roche
Le 05/12/2016 à 17:32, Gustavo Niemeyer a écrit : > Okay, so curl is not retrying. That means the problem is specific to > something snapd is doing with the server.. might still be a problem on > the client or the server under those particular conditions. > > Can I hand you a binary for you to try

Re: sha3-384 mismatch

2016-12-05 Thread Gustavo Niemeyer
Okay, so curl is not retrying. That means the problem is specific to something snapd is doing with the server.. might still be a problem on the client or the server under those particular conditions. Can I hand you a binary for you to try out? On Mon, Dec 5, 2016 at 1:44 PM, Didier Roche wrote:

Re: sha3-384 mismatch

2016-12-05 Thread Didier Roche
Le 05/12/2016 à 16:05, Gustavo Niemeyer a écrit : > Xavier posted the exact URL of the failing snap in this thread: Note it's not *the* failing snap but *a* failing snap. Every "snap install" here is failing on my setup when they are more than a couple of MB. This is why I posted as such in the ins

Re: sha3-384 mismatch

2016-12-05 Thread Gustavo Niemeyer
Yeah, -L is the flag that makes it follow the redirect, IIRC. On Mon, Dec 5, 2016 at 1:03 PM, Bret A. Barker wrote: > On Mon, Dec 05, 2016 at 03:52:32PM +0100, Didier Roche wrote: > > Le 05/12/2016 à 15:38, Gustavo Niemeyer a écrit : > > > > > > > > > On Mon, Dec 5, 2016 at 12:23 PM, Didier Roch

Re: sha3-384 mismatch

2016-12-05 Thread Gustavo Niemeyer
Xavier posted the exact URL of the failing snap in this thread: "[1] - https://public.apps.ubuntu.com/anon/download-snap/ rFpKbTdZ31LyAxWF6RpcerZov1TdtDly_24.snap (extracted from the log file)" Bret also posted another one above (thanks!). On Mon, Dec 5, 2016 at 12:52 PM, Didier Roche wrote:

Re: sha3-384 mismatch

2016-12-05 Thread Bret A. Barker
On Mon, Dec 05, 2016 at 03:52:32PM +0100, Didier Roche wrote: > Le 05/12/2016 à 15:38, Gustavo Niemeyer a écrit : > > > > > > On Mon, Dec 5, 2016 at 12:23 PM, Didier Roche > > wrote: > > > > I did though write on the bug: "contrary to curl or wget which > > both

Re: sha3-384 mismatch

2016-12-05 Thread Didier Roche
Le 05/12/2016 à 15:38, Gustavo Niemeyer a écrit : > > > On Mon, Dec 5, 2016 at 12:23 PM, Didier Roche > wrote: > > I did though write on the bug: "contrary to curl or wget which > both supports large downloads." > The feedback thread mentioned as well "while

Re: sha3-384 mismatch

2016-12-05 Thread Bret A. Barker
On Mon, Dec 05, 2016 at 12:38:04PM -0200, Gustavo Niemeyer wrote: > On Mon, Dec 5, 2016 at 12:23 PM, Didier Roche wrote: > > > > I did just try a verbose download in curl (here, an ubuntu 300M image). > > Here is the output: http://paste.ubuntu.com/23583568/. It seems that curl > > doesn't complai

Re: sha3-384 mismatch

2016-12-05 Thread Gustavo Niemeyer
On Mon, Dec 5, 2016 at 12:23 PM, Didier Roche wrote: > I did though write on the bug: "contrary to curl or wget which both > supports large downloads." > The feedback thread mentioned as well "while same assets can be > successfully downloaded via curl or wget". > I thought that was really obviou

Re: sha3-384 mismatch

2016-12-05 Thread Didier Roche
Le 05/12/2016 à 13:57, Gustavo Niemeyer a écrit : > > > On Mon, Dec 5, 2016 at 5:23 AM, Didier Roche > wrote: > > Le 03/12/2016 à 16:01, Gustavo Niemeyer a écrit : >> Hi Xavier, >> >> There's definitely a problem interrupting the connection with the >> s

Re: sha3-384 mismatch

2016-12-05 Thread Gustavo Niemeyer
On Mon, Dec 5, 2016 at 5:23 AM, Didier Roche wrote: > Le 03/12/2016 à 16:01, Gustavo Niemeyer a écrit : > > Hi Xavier, > > There's definitely a problem interrupting the connection with the server. > The fact it works sometimes means it's inconsistent. > > Can you please try to download such files

Re: snapd debug without systemd activation

2016-12-05 Thread John Lenton
ah! then maybe the easiest way is indeed to create the sockets yourself. We had meant to add that support at some point but the need was never present. If your patch works for you for now, feel free to continue using it; I'll look into this at some point this week. On 5 December 2016 at 09:30, Bor

Re: snapd debug without systemd activation

2016-12-05 Thread Boris Rybalkin
John, I am new to go language (coming from Java world) I want to debug with breakpoints from IDE (and I was able aftet adding socket creation code). Maybe I should run it with systemd and then attach to it from IDE? On 5 Dec 2016 09:23, "John Lenton" wrote: On 5 December 2016 at 08:58, Boris R

Re: snapd debug without systemd activation

2016-12-05 Thread Boris Rybalkin
Disabling systemd socket (snapd.socket) is just half a task. You do not really want systemd to run your service (snapd.service) as you are running it already in debug mode from IDE. Another thing, activation library expects systemd env variables (LISTEN_PID, LISTEN_FDS) to be set, so there should

Re: snapd debug without systemd activation

2016-12-05 Thread John Lenton
On 5 December 2016 at 08:58, Boris Rybalkin wrote: > > Is it possible to run snapd for debugging without systemd socket activation? depends on what you mean. At the end of HACKING.md in the root of the project there are instructions for how to run snapd by hand, using systemd-activate: https://g

Re: snapd debug without systemd activation

2016-12-05 Thread Didier Roche
Le 05/12/2016 à 09:58, Boris Rybalkin a écrit : > Hello, > > Is it possible to run snapd for debugging without systemd socket > activation ? > > There is a check here: > https://github.com/snapcore/snapd/blob/master/daemon/daemon.go#L198 > > Which seems to expect socket from systemd. > > I was able

snapd debug without systemd activation

2016-12-05 Thread Boris Rybalkin
Hello, Is it possible to run snapd for debugging without systemd socket activation ? There is a check here: https://github.com/snapcore/snapd/blob/master/daemon/daemon.go#L198 Which seems to expect socket from systemd. I was able to run and debug without systemd by adding explicit socket creati

Re: sha3-384 mismatch

2016-12-05 Thread Didier Roche
Le 05/12/2016 à 09:13, Madper Xie a écrit : > I would say the cdn that we are using correctly is not friendly to me. > (China telecom 200M fiber.) > Downloading slowly(20KB/s) and unstable. > > Hi @Didier, I noticed that you mentioned > https://bugs.launchpad.net/bugs/1643893 >

Re: sha3-384 mismatch

2016-12-05 Thread Madper Xie
I would say the cdn that we are using correctly is not friendly to me. (China telecom 200M fiber.) Downloading slowly(20KB/s) and unstable. Hi @Didier, I noticed that you mentioned https://bugs.launchpad.net/ bugs/1643893 twice in this thread. However I'm not able to access it... Is the project pr