From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Build of attr fails with non-bash shell Date: Fri, 21 Dec 2012 12:00:14 +0100 Message-ID: <87k3sbisap.fsf@gnu.org> References: <201212202334.35082.andreas@enge.fr> <87ip7wgw35.fsf@gnu.org> <201212211144.10132.andreas@enge.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm0L8-0004TK-8m for bug-guix@gnu.org; Fri, 21 Dec 2012 06:00:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tm0L5-00013K-Gm for bug-guix@gnu.org; Fri, 21 Dec 2012 06:00:30 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:10954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm0L5-00013D-9l for bug-guix@gnu.org; Fri, 21 Dec 2012 06:00:27 -0500 In-Reply-To: <201212211144.10132.andreas@enge.fr> (Andreas Enge's message of "Fri, 21 Dec 2012 11:44:10 +0100") 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: bug-guix@gnu.org Andreas Enge skribis: > Am Freitag, 21. Dezember 2012 schrieb Ludovic Court=C3=A8s: >> For this and related issues, I=E2=80=99m attempting in the =E2=80=98core= -updates=E2=80=99 branch >> to allow builds without /bin/sh in the chroot. Instead, builds use the >> Bash binary that=E2=80=99s explicitly passed as an input. > > If it can be done, this would be a nice feature. I wondered if one could > simply add "bash" to the inputs, but this is clearly not enough since it > does not yet imply that bash is used during the build. Right. The difficulty is that many scripts use #!/bin/sh, and some programs (glibc, awk, etc.) have functions that explicitly launch /bin/sh. Ludo=E2=80=99.