From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#24053: guix download file:// fails with a ~2 GB file on i686 Date: Sat, 30 Jul 2016 00:18:10 -0400 Message-ID: <87popvlpx9.fsf@netris.org> References: <87h9bhmvz3.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTLk1-00027q-04 for bug-guix@gnu.org; Sat, 30 Jul 2016 00:19:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTLjw-0007M8-Oh for bug-guix@gnu.org; Sat, 30 Jul 2016 00:19:11 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTLjq-0007Lg-2b for bug-guix@gnu.org; Sat, 30 Jul 2016 00:19:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bTLjp-0006b8-RP for bug-guix@gnu.org; Sat, 30 Jul 2016 00:19:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87h9bhmvz3.fsf@netris.org> (Mark H. Weaver's message of "Fri, 22 Jul 2016 13:19:28 -0400") 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: 24053@debbugs.gnu.org Mark H Weaver writes: > On my i686 GuixSD machine, the following command consistently fails: > > mhw@jojen:~$ guix download file:///home/mhw/texlive-20160523b-texmf.tar.xz > guix download: error: sendfile: Broken pipe > > The file is 2071190200 bytes, which is about 73 MiB less than 2 GiB. > I have 2 GiB of RAM and 4 GiB of swap. > > My guix client is v0.10.0-1899-g0f971a0. My guix-daemon is 0.10.0. I tried adding the same file using 'add-to-store' directly from the REPL. 'guile' exited with status code 141, without printing an error message: --8<---------------cut here---------------start------------->8--- mhw@jojen:~$ guix/pre-inst-env guile GNU Guile 2.0.11 Copyright (C) 1995-2014 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> ,use (guix) scheme@(guile-user)> (define s (open-connection)) scheme@(guile-user)> (add-to-store s "texlive-20160523b-texmf.tar.xz" #f "sha256" "texlive-20160523b-texmf.tar.xz") mhw@jojen:~$ echo $? 141 mhw@jojen:~$ ls -l texlive-20160523b-texmf.tar.xz -rw-r--r-- 1 mhw mhw 2071190200 Jul 20 01:08 texlive-20160523b-texmf.tar.xz --8<---------------cut here---------------end--------------->8--- Mark