From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.0.0.0/16 X-Spam-Status: No, score=-2.9 required=3.0 tests=AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YIUei-0008Vz-E8 for mharc-bug-gnulib@gnu.org; Mon, 02 Feb 2015 23:00:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIUef-0008Vb-ML for bug-gnulib@gnu.org; Mon, 02 Feb 2015 23:00:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIUec-0004BA-Hc for bug-gnulib@gnu.org; Mon, 02 Feb 2015 23:00:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIUec-0004AX-Af for bug-gnulib@gnu.org; Mon, 02 Feb 2015 22:59:58 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t133xqD9015817 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 2 Feb 2015 22:59:53 -0500 Received: from localhost.localdomain.com (ovpn-116-142.ams2.redhat.com [10.36.116.142]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t133xoP7014145; Mon, 2 Feb 2015 22:59:52 -0500 From: =?UTF-8?q?P=C3=A1draig=20Brady?= To: bug-gnulib@gnu.org Subject: [PATCH] bootstrap: exit immediately upon gnulib-tool failure Date: Tue, 3 Feb 2015 03:59:47 +0000 Message-Id: <1422935987-31869-1-git-send-email-P@draigBrady.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2015 04:00:02 -0000 * build-aux/bootstrap: Exit immediately if gnulib-tool fails. This was noticed when gnulib-tool exited early due to failure to apply a patch in coreutils at http://hydra.nixos.org/eval/1172233, but various confusing errors were then given as the build proceeded. --- build-aux/bootstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-aux/bootstrap b/build-aux/bootstrap index 2fdf267..e72894c 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -915,7 +915,8 @@ if test $use_libtool = 1; then esac fi echo "$0: $gnulib_tool $gnulib_tool_options --import ..." -$gnulib_tool $gnulib_tool_options --import $gnulib_modules && +$gnulib_tool $gnulib_tool_options --import $gnulib_modules \ + || die "gnulib-tool failed" for file in $gnulib_files; do symlink_to_dir "$GNULIB_SRCDIR" $file \ -- 2.1.0