From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#24220: "failed to unpack source code" on guix pull Date: Sun, 14 Aug 2016 12:21:23 -0400 Message-ID: <20160814162123.GB1197@jasmine> References: <20160814052735.GA13020@thebird.nl> <87r39rrajs.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYyAr-0002CQ-DL for bug-guix@gnu.org; Sun, 14 Aug 2016 12:22:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYyAl-0004S7-Me for bug-guix@gnu.org; Sun, 14 Aug 2016 12:22:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYyAk-0004Rn-Gw for bug-guix@gnu.org; Sun, 14 Aug 2016 12:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bYyAk-0002oq-9p for bug-guix@gnu.org; Sun, 14 Aug 2016 12:22:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87r39rrajs.fsf@we.make.ritual.n0.is> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: ng0 Cc: Harry Prevor , 24220@debbugs.gnu.org On Sun, Aug 14, 2016 at 08:59:03AM +0000, ng0 wrote: > Pjotr Prins 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.