From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCHES] Add 'file' to %final-inputs; patch /usr/bin/file Date: Fri, 22 Aug 2014 11:03:48 +0200 Message-ID: <87siko5217.fsf@gnu.org> References: <87mwazasyc.fsf@netris.org> <877g22978h.fsf@gnu.org> <87iollbzkm.fsf_-_@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKklH-0002J7-N2 for guix-devel@gnu.org; Fri, 22 Aug 2014 05:04:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKklB-0005Jm-OB for guix-devel@gnu.org; Fri, 22 Aug 2014 05:03:55 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:42066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKklB-0005JR-Hl for guix-devel@gnu.org; Fri, 22 Aug 2014 05:03:49 -0400 In-Reply-To: <87iollbzkm.fsf_-_@netris.org> (mhw@netris.org's message of "Thu, 21 Aug 2014 12:02:49 -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: mhw@netris.org Cc: guix-devel@gnu.org mhw@netris.org skribis: > I chose to add a 'file-boot0' to '%boot0-inputs' to make 'file' > available as early as possible in the bootstrap, on the theory that any > library could soon depend on 'file'. That makes sense. > I've successfully built 'hello' on i686 with these patches applied, but > I've not yet tested them on MIPS. If I test them on the Loongson 3A > machine, then when hydra offloads the same builds, the build logs on > hydra will be empty. It would be good if hydra would copy over the > saved build log in that case. Yes, that=E2=80=99s annoying. The crux of the problem is that the offload = hook just invokes =E2=80=98guix build=E2=80=99 on the remote machine, and =E2=80= =98guix build=E2=80=99 produces no output when the thing is already built. We could add a =E2=80=98--replay-log=E2=80=99 option to =E2=80=98guix build= =E2=80=99 to handle that case. Thoughts? Ludo=E2=80=99.