From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 6BDE91F8C6 for ; Mon, 21 Jun 2021 08:52:32 +0000 (UTC) Received: from localhost ([::1]:50660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvFfS-0005L6-Sg for normalperson@yhbt.net; Mon, 21 Jun 2021 04:52:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvFfP-0005Kw-HL for bug-gnulib@gnu.org; Mon, 21 Jun 2021 04:52:27 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.21]:13022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvFfN-0005sJ-7K for bug-gnulib@gnu.org; Mon, 21 Jun 2021 04:52:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1624265542; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=zI/uYHqYMXlwRYUBcKrIj1oNWqWj8A2kvwEm9cv1nDI=; b=s1Hb4xUvVVD+YxvLEr+z3e5MbwuSB6+6oASu8uKo/0MYD/eP6eUrFdk0iovHd3lbBt 0/w7ZLW0AXHzbCwOjfd9OCfTpL7WkRCp9LcdiPqnLCIBWBichft7QViAd4BIRj3DxawT 6NJavQ+jr9ANzXTKNC7wHQ+ml/3sjVgUrQ13D4zQl1xo2HDlesJZcZK2eL8c/gr+ZsXK 4z+J09mvkFgugE02j4gwWcoa1EkaitzWv6u5JP0+CbecfT5SxZ5M9zKKgSBX4s8uaO7J m4gEHZHZ5Sr0hLwfTw3S+glDl6q6pxZP97zQX6dDBrGfBbYrTDe8pXn/CJ+EcgxFCS5c PY6Q== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGKf9yfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 47.27.3 DYNA|AUTH) with ESMTPSA id 401b97x5L8qLBsO (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Mon, 21 Jun 2021 10:52:21 +0200 (CEST) From: Bruno Haible To: Paul Eggert Subject: Re: two ill effects of maint.mk Date: Mon, 21 Jun 2021 10:52:20 +0200 Message-ID: <1774436.G5qatzfP1X@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <304f777f-e77c-6708-f414-b8cd59160d8c@cs.ucla.edu> References: <2220832.NeGGHjDtpa@omega> <2556971.l0lCn10PfJ@omega> <304f777f-e77c-6708-f414-b8cd59160d8c@cs.ucla.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.21; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Hi Paul, > > Can someone please deal with this? Simon? Akim? Berny? Not always me :-) > > Something like the attached patch perhaps? (I haven't tested or > installed it.) Thanks for working on this. Yes, this will revert the ill effects on "make" and "make check". > --- a/build-aux/gendocs.sh > +++ b/build-aux/gendocs.sh > @@ -34,6 +34,8 @@ scriptversion=2021-01-01.00 > # - images are not imported in the source tarball. All the needed > # formats (PDF, PNG, etc.) should be included. > > +export LC_ALL=C > + > prog=`basename "$0"` > srcdir=`pwd` To make it work in other shells than bash-compatible shells, I think it's better to write LC_ALL=C; export LC_ALL > --- a/build-aux/gnu-web-doc-update > +++ b/build-aux/gnu-web-doc-update > @@ -19,6 +19,8 @@ VERSION=2021-01-09.09; # UTC > # You should have received a copy of the GNU General Public License > # along with this program. If not, see . > > +export LC_ALL=C > + > ME=$(basename "$0") > warn() { printf '%s: %s\n' "$ME" "$*" >&2; } > die() { warn "$*"; exit 1; } Likewise. > --- a/build-aux/vc-list-files > +++ b/build-aux/vc-list-files > @@ -27,6 +27,8 @@ scriptversion=2018-03-07.03; # UTC > # If there's an argument, it must be a single, "."-relative directory name. > # cvsu is part of the cvsutils package: https://www.red-bean.com/cvsutils/ > > +export LC_ALL=C > + > postprocess= > case $1 in > --help) cat < @@ -111,7 +111,8 @@ ifeq ($(VC),$(GIT)) > this-vc-tag = v$(VERSION) > this-vc-tag-regexp = v$(VERSION_REGEXP) > else > - tag-package = $(shell echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]') > + tag-package = $(shell export LC_ALL=C; \ > + echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]') > tag-this-version = $(subst .,_,$(VERSION)) > this-vc-tag = $(tag-package)-$(tag-this-version) > this-vc-tag-regexp = $(this-vc-tag) Since 'echo' is not locale dependent, it's easier to write this as tag-package = $(shell echo "$(PACKAGE)" | LC_ALL=C tr '[:lower:]' '[:upper:]') > @@ -1652,6 +1669,7 @@ update-copyright-env ?= > # in the file .x-update-copyright. > .PHONY: update-copyright > update-copyright: > + export LC_ALL=C; \ > $(AM_V_GEN)$(GREP) -l -w Copyright \ > $$(export VC_LIST_EXCEPT_DEFAULT=COPYING && $(VC_LIST_EXCEPT)) \ > | $(update-copyright-env) xargs $(srcdir)/$(_build-aux)/$@ The $(AM_V_GEN) is the thing that turns off verbosity. Therefore the added statement should go after it, not before it. > diff --git a/build-aux/gnupload b/build-aux/gnupload > index e7822aed7..f70fe330a 100755 > --- a/build-aux/gnupload > +++ b/build-aux/gnupload > @@ -22,6 +22,7 @@ scriptversion=2021-04-11.09; # UTC > # The master copy of this file is maintained in the gnulib Git repository. > # Please send bug reports and feature requests to bug-gnulib@gnu.org. > > +export LC_ALL=C > set -e > > GPG=gpg gnupload works fine in non-English locales. (I use it occasionally in German locale.) Therefore this part can be omitted. Bruno