From owner-freebsd-testing@freebsd.org Sun Nov 15 03:18:31 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C910AA2E465 for ; Sun, 15 Nov 2015 03:18:31 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A6C31115C for ; Sun, 15 Nov 2015 03:18:31 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id A3855A2E463; Sun, 15 Nov 2015 03:18:31 +0000 (UTC) Delivered-To: testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A3E1A2E462; Sun, 15 Nov 2015 03:18:31 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-yk0-x231.google.com (mail-yk0-x231.google.com [IPv6:2607:f8b0:4002:c07::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48FE7115B; Sun, 15 Nov 2015 03:18:31 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by ykfs79 with SMTP id s79so196970839ykf.1; Sat, 14 Nov 2015 19:18:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=TAJ0I/Zl/4wjXyYS5SYfaSFGg/NnfFIlXMVl0D9vhgw=; b=ix4fYSeukeMUq3pzBcKw7gJpfhWotBEe+d5OEV0LVaaf19d+hp1Ebxd0YYfntPh03y ozS4w6vvN2FJajMTDhRO6S5eFlWRq6LHeOg/z4e4Q52CqUwDBHWzSbbmqBGqr4EdHx8j OZj0pHwnRI3RX59biKk5l/kYcLabRbnoS4+xQY4Iox9OSltY/4HcqRh/aX0gHYFqH68v FuZ1eHx4p+7t90/B+gXYgTaydsHbOQ8CQfcBhCd0Ia6tIMTAUbXyUf/0tb6xmg5x91tZ xyS+dCDan8Ot0gzyHtElGb7Eo3ASi9EvMYf7BkbkSt3DRyWrYzLDxccVPpFJropwb+bs iV5w== MIME-Version: 1.0 X-Received: by 10.13.250.69 with SMTP id k66mr28978324ywf.107.1447557510558; Sat, 14 Nov 2015 19:18:30 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.37.95.9 with HTTP; Sat, 14 Nov 2015 19:18:30 -0800 (PST) In-Reply-To: References: Date: Sat, 14 Nov 2015 19:18:30 -0800 X-Google-Sender-Auth: XKc7k8CydAKvNWnDE8yUDOF1bHg Message-ID: Subject: Re: Need help fixing failing locale tests From: Craig Rodrigues To: Baptiste Daroussin , John Marino Cc: freebsd-current Current , "freebsd-testing@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2015 03:18:31 -0000 On Sat, Nov 14, 2015 at 7:05 PM, Craig Rodrigues wrote: > Hi, > > After the recent locale commits, some of the tests are failing: > > https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests/1675/testReport/ > > I can reproduce two failures quite easily by doing with a newly built > world: > > /bin/sh /usr/tests/bin/sh/builtins/case7.0 > /bin/sh /usr/tests/bin/sh/builtins/locale1.0 > > Can someone look into this and help fix this? > > I don't know much about locales, so don't know what to do. > I ran the two tests using bash, and got different error messages: /usr/local/bin/bash /usr/tests/bin/sh/builtins/case7.0 /usr/tests/bin/sh/builtins/case7.0: line 7: warning: setlocale: LC_CTYPE: cannot change locale (de_DE.ISO8859-1): Invalid argument /usr/tests/bin/sh/builtins/case7.0: line 9: warning: setlocale: LC_COLLATE: cannot change locale (de_DE.ISO8859-1): Invalid argument wrong at 18 wrong at 23 /usr/local/bin/bash /usr/tests/bin/sh/builtins/locale1.0 /usr/tests/bin/sh/builtins/locale1.0: line 45: warning: setlocale: LC_CTYPE: cannot change locale (nl_NL.ISO8859-1): Invalid argument Failed: $ok -eq 1 at 56 /usr/tests/bin/sh/builtins/locale1.0: line 64: warning: setlocale: LC_ALL: cannot change locale (nl_NL.ISO8859-1): No such file or directory Failed: $ok -eq 1 at 68 Failed: $ok -eq 1 at 74 /usr/tests/bin/sh/builtins/locale1.0: regel 82: waarschuwing: setlocale(): LC_ALL: kan niet van taalregio veranderen (nl_NL.ISO8859-1): No such file or directory Failed: $ok -eq 1 at 86 Failed: $ok -eq 1 at 99 /usr/tests/bin/sh/builtins/locale1.0: regel 107: waarschuwing: setlocale(): LC_ALL: kan niet van taalregio veranderen (nl_NL.ISO8859-1): No such file or directory Failed: $ok -eq 1 at 111 /usr/tests/bin/sh/builtins/locale1.0: regel 114: waarschuwing: setlocale(): LC_ALL: kan niet van taalregio veranderen (nl_NL.ISO8859-1): No such file or directory Failed: $ok -eq 1 at 118 /usr/tests/bin/sh/builtins/locale1.0: regel 122: waarschuwing: setlocale(): LC_ALL: kan niet van taalregio veranderen (nl_NL.ISO8859-1): No such file or directory /usr/tests/bin/sh/builtins/locale1.0: regel 128: waarschuwing: setlocale(): LC_ALL: kan niet van taalregio veranderen (nl_NL.ISO8859-1): No such file or directory Failed: $ok -eq 1 at 132 On my system, I did: ls -l /usr/share/locale/de_DE.ISO8859-1/* -r--r--r-- 1 root wheel 4642 Nov 6 12:53 /usr/share/locale/de_DE.ISO8859-1/LC_COLLATE lrwxr-xr-x 1 root wheel 27 Nov 6 12:53 /usr/share/locale/de_DE.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE -r--r--r-- 1 root wheel 18 Nov 6 12:53 /usr/share/locale/de_DE.ISO8859-1/LC_MESSAGES -r--r--r-- 1 root wheel 35 Nov 6 12:53 /usr/share/locale/de_DE.ISO8859-1/LC_MONETARY -r--r--r-- 1 root wheel 6 Nov 6 12:53 /usr/share/locale/de_DE.ISO8859-1/LC_NUMERIC -r--r--r-- 1 root wheel 367 Nov 6 12:53 /usr/share/locale/de_DE.ISO8859-1/LC_TIME ls -l /usr/share/locale/nl_NL.ISO8859-1/* lrwxr-xr-x 1 root wheel 29 Nov 6 12:53 /usr/share/locale/nl_NL.ISO8859-1/LC_COLLATE -> ../la_LN.ISO8859-1/LC_COLLATE lrwxr-xr-x 1 root wheel 27 Nov 6 12:53 /usr/share/locale/nl_NL.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE -r--r--r-- 1 root wheel 18 Nov 6 12:53 /usr/share/locale/nl_NL.ISO8859-1/LC_MESSAGES -r--r--r-- 1 root wheel 35 Nov 6 12:53 /usr/share/locale/nl_NL.ISO8859-1/LC_MONETARY -r--r--r-- 1 root wheel 6 Nov 6 12:53 /usr/share/locale/nl_NL.ISO8859-1/LC_NUMERIC -r--r--r-- 1 root wheel 376 Nov 6 12:53 /usr/share/locale/nl_NL.ISO8859-1/LC_TIME I saw that la_LN.ISO8859-1 does not exist, so the LC_CTYPE symlink is pointing to nothing. -- Craig