From patchwork Sat May 16 06:14:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos O'Donell X-Patchwork-Id: 472995 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C50FD140B0D for ; Sat, 16 May 2015 16:14:47 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=sourceware.org header.i=@sourceware.org header.b=N7OCloUi; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=s+t zL7mFUWr9cQkOOLK0+Xq76UhqnXTF1lLESEi+oSVNzuD3b/0cwWBzHm2h834SSzY C2ZDGr4CCgxY5wXUeV1aLVrTphtO/BVVLmf2B4aNytLo7pNt/st32QvwEn6HcKEq yV0ekvvV6yosBAhrshS/rPg27dsP5iA7wN0cVIp4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=TkOK2wkvR LhfRqUSLwxtZPrvHj8=; b=N7OCloUiAIfghZkHGFPLIiIuoXRYxtREM9vBkS6Io 0QP632seUCPJnmZDnaVouj6ZERL4fKMTrDlGkfsU2pvQy+Vg4ubDU7N5DgkBPQLY 4JVwXjtCEXYAWSI6YM4dsEyBMi6i4Bwu7fmNAqUevMaa7TkUC0eERlpjCzuvR8eh rs= Received: (qmail 8600 invoked by alias); 16 May 2015 06:14:42 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 8589 invoked by uid 89); 16 May 2015 06:14:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <5556E04E.5050500@redhat.com> Date: Sat, 16 May 2015 02:14:38 -0400 From: "Carlos O'Donell" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: GNU C Library , Marko Myllynen Subject: [COMMITTED] localedata/Makefile: Fail install if a locale fails to build. Fail the installation of the locales if a locale fails to build. I expect everyone is in agreement that if a locale is bad it should either be removed from the SUPPORTED list or be made to compile. Checked in as obvious. Thanks to Marko who fixed the bo_* locale failures which means this passes now without failure. 2015-05-16 Carlos O'Donell * Makefile (INSTALL-SUPPORTED-LOCALES): Fail if localedef fails. --- Cheers, Carlos. diff --git a/localedata/Makefile b/localedata/Makefile index 03ec98c..305c87f 100644 --- a/localedata/Makefile +++ b/localedata/Makefile @@ -212,8 +212,8 @@ $(INSTALL-SUPPORTED-LOCALES): install-locales-dir input=`echo $$locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; \ $(LOCALEDEF) --alias-file=../intl/locale.alias \ -i locales/$$input -c -f charmaps/$$charset \ - $(addprefix --prefix=,$(install_root)) $$locale; \ - echo ' done'; \ + $(addprefix --prefix=,$(install_root)) $$locale \ + && echo ' done'; \ tst-setlocale-ENV = LC_ALL=ja_JP.EUC-JP tst-wctype-ENV = LC_ALL=ja_JP.EUC-JP