GNU bug report logs - #24220
"failed to unpack source code" on guix pull

Previous Next

Package: guix;

Reported by: Harry Prevor <habs <at> sdf.org>

Date: Sat, 13 Aug 2016 22:06:01 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24220 in the body.
You can then email your comments to 24220 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#24220; Package guix. (Sat, 13 Aug 2016 22:06:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Harry Prevor <habs <at> sdf.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 13 Aug 2016 22:06:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Harry Prevor <habs <at> sdf.org>
To: bug-guix <at> gnu.org
Subject: "failed to unpack source code" on guix pull
Date: Sat, 13 Aug 2016 18:05:17 -0400
Hey all,

I'm running GuixSD on a Thinkpad X200. I typically run 'guix pull' 
almost every day without any troubles, but about two days ago I started 
getting this error every time I ran the command leaving me unable to 
update my system:

> Starting download of /tmp/guix-file.JNdnA7
> From 
> http://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
>  ….tar.gz                                   1.4MiB/s 00:07 | 10.4MiB 
> transferred
> unpacking 
> '/gnu/store/q4zzpxpbbhwmwh4snisymlpf0p24ddk7-guix-latest.tar.gz'...
> guix pull: error: failed to unpack source code

What's odd about this, is the actual file 
/gnu/store/q4z...-guix-latest.tar.gz, appears to be a valid targz 
archive, and I'm able to unpack and repack that using tar manually just 
fine. 'realpath $(which tar)' returns 
'/gnu/store/ggmmcw327ny831gqd7zvi3hpl5fm23mn-tar-1.28/bin/tar', and I've 
done some basic tests which do confirm that binary seems to work. I'm 
not having any network problems otherwise.

What can I do to further debug / fix this?

P.S. I'm not subscribed to bug-guix, so please CC me in any responses to 
this thread!

Thanks,

-- 
Harry Prevor




Information forwarded to bug-guix <at> gnu.org:
bug#24220; Package guix. (Sun, 14 Aug 2016 05:28:02 GMT) Full text and rfc822 format available.

Message #8 received at 24220 <at> debbugs.gnu.org (full text, mbox):

From: Pjotr Prins <pjotr.public12 <at> thebird.nl>
To: Harry Prevor <habs <at> sdf.org>
Cc: 24220 <at> debbugs.gnu.org
Subject: Re: bug#24220: "failed to unpack source code" on guix pull
Date: Sun, 14 Aug 2016 07:27:35 +0200
On Sat, Aug 13, 2016 at 06:05:17PM -0400, Harry Prevor wrote:
> Hey all,
> 
> I'm running GuixSD on a Thinkpad X200. I typically run 'guix pull'
> almost every day without any troubles, but about two days ago I
> started getting this error every time I ran the command leaving me
> unable to update my system:
> 
> >Starting download of /tmp/guix-file.JNdnA7
> >From
> >http://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
> > ….tar.gz                                   1.4MiB/s 00:07 |
> >10.4MiB transferred
> >unpacking
> >'/gnu/store/q4zzpxpbbhwmwh4snisymlpf0p24ddk7-guix-latest.tar.gz'...
> >guix pull: error: failed to unpack source code
> 
> What's odd about this, is the actual file
> /gnu/store/q4z...-guix-latest.tar.gz, appears to be a valid targz
> archive, and I'm able to unpack and repack that using tar manually
> just fine. 'realpath $(which tar)' returns
> '/gnu/store/ggmmcw327ny831gqd7zvi3hpl5fm23mn-tar-1.28/bin/tar', and
> I've done some basic tests which do confirm that binary seems to
> work. I'm not having any network problems otherwise.
> 
> What can I do to further debug / fix this?
> 
> P.S. I'm not subscribed to bug-guix, so please CC me in any
> responses to this thread!

I also saw this bug yesterday. Reminds me how luxurious GNU Guix
normally is - for several things to fail at the same time is rare.





Information forwarded to bug-guix <at> gnu.org:
bug#24220; Package guix. (Sun, 14 Aug 2016 09:00:02 GMT) Full text and rfc822 format available.

Message #11 received at 24220 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> we.make.ritual.n0.is>
To: Pjotr Prins <pjotr.public12 <at> thebird.nl>, Harry Prevor <habs <at> sdf.org>
Cc: 24220 <at> debbugs.gnu.org
Subject: Re: bug#24220: "failed to unpack source code" on guix pull
Date: Sun, 14 Aug 2016 08:59:03 +0000
Hi Harry,

Pjotr Prins <pjotr.public12 <at> thebird.nl> writes:

> On Sat, Aug 13, 2016 at 06:05:17PM -0400, Harry Prevor wrote:
>> Hey all,
>> 
>> I'm running GuixSD on a Thinkpad X200. I typically run 'guix pull'
>> almost every day without any troubles, but about two days ago I
>> started getting this error every time I ran the command leaving me
>> unable to update my system:
>> 
>> >Starting download of /tmp/guix-file.JNdnA7
>> >From
>> >http://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
>> > ….tar.gz                                   1.4MiB/s 00:07 |
>> >10.4MiB transferred
>> >unpacking
>> >'/gnu/store/q4zzpxpbbhwmwh4snisymlpf0p24ddk7-guix-latest.tar.gz'...
>> >guix pull: error: failed to unpack source code
>> 
>> What's odd about this, is the actual file
>> /gnu/store/q4z...-guix-latest.tar.gz, appears to be a valid targz
>> archive, and I'm able to unpack and repack that using tar manually
>> just fine. 'realpath $(which tar)' returns
>> '/gnu/store/ggmmcw327ny831gqd7zvi3hpl5fm23mn-tar-1.28/bin/tar', and
>> I've done some basic tests which do confirm that binary seems to
>> work. I'm not having any network problems otherwise.
>> 
>> What can I do to further debug / fix this?

This was caused by a patch I sent which was applied on master.
Guix error messages could be more natural, as for me the error output I
got seemed just verbose and I decided it was okay to send this in. The
commit has since then be reverted and I will send in an updated patch.

Simpler explanation: a license I added was already inherited by another
loaded module, this caused some "hick up" and make broke (while it did
not break locally on my side).

>> P.S. I'm not subscribed to bug-guix, so please CC me in any
>> responses to this thread!

Can you please close this bug (see the message you got from
debbugs.gnu.org with instructions) when it is done.
For me master builds again, so I assume this bug is done?

> I also saw this bug yesterday. Reminds me how luxurious GNU Guix
> normally is - for several things to fail at the same time is rare.
>
>
>
>

-- 
♥Ⓐ  ng0
For non-prism friendly talk find me on http://www.psyced.org




Information forwarded to bug-guix <at> gnu.org:
bug#24220; Package guix. (Sun, 14 Aug 2016 13:03:02 GMT) Full text and rfc822 format available.

Message #14 received at 24220 <at> debbugs.gnu.org (full text, mbox):

From: Harry Prevor <habs <at> sdf.org>
To: 24220 <at> debbugs.gnu.org
Subject: Re: bug#24220: "failed to unpack source code" on guix pull
Date: Sun, 14 Aug 2016 09:02:37 -0400
Hi ng0,

On 2016-08-14 04:59, ng0 wrote:
> This was caused by a patch I sent which was applied on master.
> Guix error messages could be more natural, as for me the error output I
> got seemed just verbose and I decided it was okay to send this in. The
> commit has since then be reverted and I will send in an updated patch.
> 
> Simpler explanation: a license I added was already inherited by another
> loaded module, this caused some "hick up" and make broke (while it did
> not break locally on my side).
> 
>>> P.S. I'm not subscribed to bug-guix, so please CC me in any
>>> responses to this thread!
> 
> Can you please close this bug (see the message you got from
> debbugs.gnu.org with instructions) when it is done.
> For me master builds again, so I assume this bug is done?

I can do that once I get a message (I haven't yet), but for me I'm still 
having the guix pull issue. Are there any steps that need to be done by 
me to ensure I'm getting the latest master branch with the fix? If not, 
when would the fix be applied?

Thanks,

---
Harry Prevor




Information forwarded to bug-guix <at> gnu.org:
bug#24220; Package guix. (Sun, 14 Aug 2016 14:28:01 GMT) Full text and rfc822 format available.

Message #17 received at 24220 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> we.make.ritual.n0.is>
To: Harry Prevor <habs <at> sdf.org>, 24220 <at> debbugs.gnu.org
Subject: Re: bug#24220: "failed to unpack source code" on guix pull
Date: Sun, 14 Aug 2016 14:27:27 +0000
Harry Prevor <habs <at> sdf.org> writes:

> Hi ng0,
>
> On 2016-08-14 04:59, ng0 wrote:
>> This was caused by a patch I sent which was applied on master.
>> Guix error messages could be more natural, as for me the error output I
>> got seemed just verbose and I decided it was okay to send this in. The
>> commit has since then be reverted and I will send in an updated patch.
>> 
>> Simpler explanation: a license I added was already inherited by another
>> loaded module, this caused some "hick up" and make broke (while it did
>> not break locally on my side).
>> 
>>>> P.S. I'm not subscribed to bug-guix, so please CC me in any
>>>> responses to this thread!
>> 
>> Can you please close this bug (see the message you got from
>> debbugs.gnu.org with instructions) when it is done.
>> For me master builds again, so I assume this bug is done?
>
> I can do that once I get a message (I haven't yet), but for me I'm still 
> having the guix pull issue. Are there any steps that need to be done by 
> me to ensure I'm getting the latest master branch with the fix? If not, 
> when would the fix be applied?
>
> Thanks,
>
> ---
> Harry Prevor
>
>
>
Curious, I thought the normal behavior of debbugs was to send
instructions with how bugs are closed etc. Sometimes there's a very long
delay (I noticed 1-2 days delay with bugs being opened).

Can you describe your problem more in detail and how to reproduce? I've
just run a `guix pull` and the build succeeded for amd64.
-- 
♥Ⓐ  ng0
For non-prism friendly talk find me on http://www.psyced.org




Information forwarded to bug-guix <at> gnu.org:
bug#24220; Package guix. (Sun, 14 Aug 2016 16:22:02 GMT) Full text and rfc822 format available.

Message #20 received at 24220 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: ng0 <ng0 <at> we.make.ritual.n0.is>
Cc: Pjotr Prins <pjotr.public12 <at> thebird.nl>, Harry Prevor <habs <at> sdf.org>,
 24220 <at> debbugs.gnu.org
Subject: Re: bug#24220: "failed to unpack source code" on guix pull
Date: Sun, 14 Aug 2016 12:21:23 -0400
On Sun, Aug 14, 2016 at 08:59:03AM +0000, ng0 wrote:
> Pjotr Prins <pjotr.public12 <at> thebird.nl> writes:
> > On Sat, Aug 13, 2016 at 06:05:17PM -0400, Harry Prevor wrote:
> >> Hey all,
> >> 
> >> I'm running GuixSD on a Thinkpad X200. I typically run 'guix pull'
> >> almost every day without any troubles, but about two days ago I
> >> started getting this error every time I ran the command leaving me
> >> unable to update my system:
> >> 
> >> >Starting download of /tmp/guix-file.JNdnA7
> >> >From
> >> >http://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
> >> > ….tar.gz                                   1.4MiB/s 00:07 |
> >> >10.4MiB transferred
> >> >unpacking
> >> >'/gnu/store/q4zzpxpbbhwmwh4snisymlpf0p24ddk7-guix-latest.tar.gz'...
> >> >guix pull: error: failed to unpack source code
> >> 
> >> What's odd about this, is the actual file
> >> /gnu/store/q4z...-guix-latest.tar.gz, appears to be a valid targz
> >> archive, and I'm able to unpack and repack that using tar manually
> >> just fine. 'realpath $(which tar)' returns
> >> '/gnu/store/ggmmcw327ny831gqd7zvi3hpl5fm23mn-tar-1.28/bin/tar', and
> >> I've done some basic tests which do confirm that binary seems to
> >> work. I'm not having any network problems otherwise.
> >> 
> >> What can I do to further debug / fix this?
> 
> This was caused by a patch I sent which was applied on master.
> Guix error messages could be more natural, as for me the error output I
> got seemed just verbose and I decided it was okay to send this in. The
> commit has since then be reverted and I will send in an updated patch.
> 
> Simpler explanation: a license I added was already inherited by another
> loaded module, this caused some "hick up" and make broke (while it did
> not break locally on my side).

I don't think this is the cause of this bug.

If I remember correctly, Harry mentioned this bug on IRC before the
"expat" problem. Also, this problem appears to happen while unpacking
the tarball, and I _think_ that should be possible independent of bugs
in Guix code.

Since nobody has suggested a more precise debugging method, I recommend
you try running the guix-daemon with `strace -f -o logfile` to see
precisely what fails.




Information forwarded to bug-guix <at> gnu.org:
bug#24220; Package guix. (Mon, 22 Aug 2016 15:50:01 GMT) Full text and rfc822 format available.

Message #23 received at 24220 <at> debbugs.gnu.org (full text, mbox):

From: Harry Prevor <habs <at> sdf.org>
To: 24220 <at> debbugs.gnu.org
Subject: Re: bug#24220: "failed to unpack source code" on guix pull
Date: Mon, 22 Aug 2016 11:49:39 -0400
[Message part 1 (text/plain, inline)]
Thanks for the help guys, I'm still having this issue. Leo is right that 
I did ask about this on IRC earlier. I've attached the logfile when I do 
"sudo strace -f -o logfile -p 170" and then a "guix pull", where 170 is 
the guix-daemon PID with these arguments: 
"/gnu/store/3g6zn8y5sfwywr4pqiwqrab735a0x4zl-guix-0.10.0/bin/guix-daemon 
--build-users-group guixbuild --substitute-urls 
https://mirror.hydra.gnu.org https://hydra.gnu.org".

I'm pretty sure PID 1516 is the actual "guix pull" command. What seems 
to be the problem based on this log? What can be done to fix it?

---
Harry Prevor
[logfile (text/plain, attachment)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Wed, 13 Feb 2019 00:30:02 GMT) Full text and rfc822 format available.

Notification sent to Harry Prevor <habs <at> sdf.org>:
bug acknowledged by developer. (Wed, 13 Feb 2019 00:30:02 GMT) Full text and rfc822 format available.

Message #28 received at 24220-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Harry Prevor <habs <at> sdf.org>
Cc: 24220-done <at> debbugs.gnu.org
Subject: Re: bug#24220: "failed to unpack source code" on guix pull
Date: Tue, 12 Feb 2019 19:29:23 -0500
[Message part 1 (text/plain, inline)]
`guix pull` has been completely overhauled since the bug was filed so
I'm closing it.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Mar 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.