From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: tests/packages.scm fails with make check Date: Tue, 22 Jan 2013 00:22:14 +0100 Message-ID: <8738xu5dg9.fsf@gnu.org> References: <201301192315.50429.andreas@enge.fr> <877gn8x8cq.fsf@gnu.org> <201301201555.27773.andreas@enge.fr> <87pq0zqzew.fsf@gnu.org> 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]:42578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxQh0-0002GX-52 for bug-guix@gnu.org; Mon, 21 Jan 2013 18:22:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxQgy-0003qM-D9 for bug-guix@gnu.org; Mon, 21 Jan 2013 18:22:18 -0500 Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:25697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxQgy-0003qH-6d for bug-guix@gnu.org; Mon, 21 Jan 2013 18:22:16 -0500 In-Reply-To: <87pq0zqzew.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 20 Jan 2013 23:09:59 +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: Alen Skondro , bug-guix@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Andreas Enge skribis: > >> But building the automake package fails with an enormous number of error= s=20 >> in the check phase: > > Oh, that's most likely related to the /bin/sh change: I suppose the test > suite generates a many scripts with #!/bin/sh. Commit 7cd1d7b fixes Automake=E2=80=99s test suite. If you want to burn CPU cycles, please test. :-) This turned out to be trickier than expected, because =E2=80=98autoconf=E2= =80=99 generates shell scripts, and it=E2=80=99s the shebang of those scripts that should be patched to refer to our Bash instead of /bin/sh. Yet, users who install Autoconf must get the real one, which emits #!/bin/sh. This commit addresses that by using an =E2=80=98autoconf=E2=80=99 wrapper t= hat does the shebang patching, and is used for the sole purpose of running Automake=E2= =80=99s test suite. Ludo=E2=80=99.