From owner-freebsd-bugs Mon Nov 18 14:20: 4 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A11F437B401 for ; Mon, 18 Nov 2002 14:20:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8572643E75 for ; Mon, 18 Nov 2002 14:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAIMK1x3045511 for ; Mon, 18 Nov 2002 14:20:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAIMK1b3045510; Mon, 18 Nov 2002 14:20:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 802B737B401 for ; Mon, 18 Nov 2002 14:11:02 -0800 (PST) Received: from pohoda.cz (pohoda.pohoda.cz [194.228.111.151]) by mx1.FreeBSD.org (Postfix) with SMTP id 0918343E91 for ; Mon, 18 Nov 2002 14:11:01 -0800 (PST) (envelope-from plusik@pohoda.cz) Received: (qmail 25514 invoked from network); 18 Nov 2002 22:11:07 -0000 Received: from plusik@pohoda.cz by pohoda.cz by uid 513 with qmail-scanner-1.15 ( Clear:. Processed in 0.051769 secs); 18 Nov 2002 22:11:07 -0000 Received: from saturn.netcore.cz (HELO localhost.localdomain) (212.67.74.6) by pohoda.pohoda.cz with SMTP; 18 Nov 2002 22:11:07 -0000 Received: by localhost.localdomain (Postfix, from userid 1000) id 1E0061CB9C5; Mon, 18 Nov 2002 23:10:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 1C1C31CB99F for ; Mon, 18 Nov 2002 23:10:59 +0100 (CET) Message-Id: <20021118230944.W438-100000@localhost.localdomain> Date: Mon, 18 Nov 2002 23:10:59 +0100 (CET) From: Tomas Pluskal To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/45460: buildworld fails with Czech locales set Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45460 >Category: misc >Synopsis: buildworld fails with Czech locales set >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 18 14:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Tomas Pluskal >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD eddie 4.7-STABLE FreeBSD 4.7-STABLE #3: Mon Nov 18 10:27:06 CET 2002 plusik@eddie:/usr/src/sys/compile/PLUSIK i386 >Description: Buildworld fails with locales set to cs_CZ.ISO8859-2, because in src/usr.bin/getconf it is using awk incorrectly. It is invoking 'awk '/^[_A-Z]/ { print; }'' to list all lines beginning with _ or uppercase letter, but in Czech locale (according to Czech national normative), the order of characters is 'AaBbCc...Zz' (including accented letters). It means the range [A-Z] contains both upper and lower case letters (with exception of lower 'z' and accented Zz). >How-To-Repeat: 1) Set LC_ALL to cs_CZ.ISO8859-2 2) cd /usr/src/usr.bin/getconf 3) make The result is: Name conflicts found! *** Error code 1 >Fix: Awk (in Makefile) should use [:upper:], not [A-Z]: awk '/^[_[:upper:]]/ { print; }' Perhaps buildworld should automatically unset locales (it is likely that there will be more problems like this). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message