From mboxrd@z Thu Jan 1 00:00:00 1970 From: mhw@netris.org Subject: Unable to add large (1.74 GB) file to store on i686 Date: Thu, 28 Aug 2014 01:55:56 -0400 Message-ID: <87r40117kj.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMshZ-00081l-4C for guix-devel@gnu.org; Thu, 28 Aug 2014 01:57:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMshP-0003W9-1W for guix-devel@gnu.org; Thu, 28 Aug 2014 01:56:53 -0400 Received: from world.peace.net ([96.39.62.75]:39570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMshO-0003Vz-UQ for guix-devel@gnu.org; Thu, 28 Aug 2014 01:56:42 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org I'm currently staying at a place with a slow net connection, where it takes several hours to download texlive-20140525-texmf.tar.xz (1.74 GB). Several times in a row, the download has failed with: building of `/gnu/store/9cdy0640fxi0dr9fy29g6nr34qi79i81-texlive-20140525-texmf.tar.xz.drv' timed out after 3600 seconds of silence Finally I decided to use 'wget' to download it, so that I could resume partial transfers. I have the entire file now, but all of my attempts to add it to the store fail. "guix download file:///path/to/file" reports: guix download: error: sendfile: Broken pipe I also attempted to add it using 'add-to-store', which exited the process ungracefully without printing an error message: --8<---------------cut here---------------start------------->8--- mhw:~/guix-core-updates$ ./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 %store (open-connection)) scheme@(guile-user)> (add-to-store %store "texlive-20140525-texmf.tar.xz" #f "sha256" "/home/mhw/texlive-20140525-texmf.tar.xz") mhw:~/guix-core-updates$ echo $? 141 mhw:~/guix-core-updates$ --8<---------------cut here---------------end--------------->8--- Any ideas? Does adding files to the store entail mapping them into memory? Mark