From unknown Sun Aug 10 00:42:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18754: tests/t0251-gpt-unicode.sh depends on C.UTF-8 locale Resent-From: Adam Sampson Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Fri, 17 Oct 2014 19:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18754 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 18754@debbugs.gnu.org X-Debbugs-Original-To: bug-parted@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.141357285832427 (code B ref -1); Fri, 17 Oct 2014 19:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Oct 2014 19:07:38 +0000 Received: from localhost ([127.0.0.1]:47659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfCsD-0008Qw-Kt for submit@debbugs.gnu.org; Fri, 17 Oct 2014 15:07:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47007) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfCsB-0008Qo-MO for submit@debbugs.gnu.org; Fri, 17 Oct 2014 15:07:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfCs6-0006CG-AL for submit@debbugs.gnu.org; Fri, 17 Oct 2014 15:07:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfCs6-0006CC-8S for submit@debbugs.gnu.org; Fri, 17 Oct 2014 15:07:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfCs1-00076N-IG for bug-parted@gnu.org; Fri, 17 Oct 2014 15:07:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfCrw-0006Aj-Te for bug-parted@gnu.org; Fri, 17 Oct 2014 15:07:25 -0400 Received: from auth.b.painless.aa.net.uk ([90.155.4.48]:34026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfCrw-0006AW-Nq for bug-parted@gnu.org; Fri, 17 Oct 2014 15:07:20 -0400 Received: from cartman.offog.org ([2001:8b0:83b:b53f::a]) by b.painless.aa.net.uk with esmtps (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1XfCrt-0002Pp-Iz for bug-parted@gnu.org; Fri, 17 Oct 2014 20:07:17 +0100 Received: from ats by cartman.offog.org with local (Exim 4.84) (envelope-from ) id 1XfCrs-0007Hs-LU for bug-parted@gnu.org; Fri, 17 Oct 2014 20:07:16 +0100 Date: Fri, 17 Oct 2014 20:07:16 +0100 From: Adam Sampson Message-ID: <20141017190716.GE1125@cartman.at.offog.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Homepage: http://offog.org/ User-Agent: Mutt/1.5.23+7 (375ba5ce358c) (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi parted maintainers, In parted 3.2, tests/t0251-gpt-unicode.sh needs the C.UTF-8 locale. However, this isn't provided by stock glibc, and it's not available on all systems (only ones like Debian where they've patched it in). I guess the test only really needs *some* UTF-8 locale, so a potential fix would be to grep the output of "locale -a" for a UTF-8 locale to use -- and not run the test at all if there isn't one. Thanks, -- Adam Sampson From unknown Sun Aug 10 00:42:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18754: tests/t0251-gpt-unicode.sh depends on C.UTF-8 locale Resent-From: "Brian C. Lane" Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Fri, 17 Oct 2014 21:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18754 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: Adam Sampson Cc: 18754@debbugs.gnu.org Received: via spool by 18754-submit@debbugs.gnu.org id=B18754.141358092615534 (code B ref 18754); Fri, 17 Oct 2014 21:23:01 +0000 Received: (at 18754) by debbugs.gnu.org; 17 Oct 2014 21:22:06 +0000 Received: from localhost ([127.0.0.1]:47729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfEyL-00042T-BJ for submit@debbugs.gnu.org; Fri, 17 Oct 2014 17:22:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11720) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfEyI-00042L-Pl for 18754@debbugs.gnu.org; Fri, 17 Oct 2014 17:22:03 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9HLM13U031598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 17 Oct 2014 17:22:01 -0400 Received: from lister.brianlane.com (ovpn-113-53.phx2.redhat.com [10.3.113.53]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9HLLxG6005790 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Fri, 17 Oct 2014 17:22:01 -0400 Date: Fri, 17 Oct 2014 14:21:59 -0700 From: "Brian C. Lane" Message-ID: <20141017212159.GT4002@lister.brianlane.com> References: <20141017190716.GE1125@cartman.at.offog.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141017190716.GE1125@cartman.at.offog.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On Fri, Oct 17, 2014 at 08:07:16PM +0100, Adam Sampson wrote: > Hi parted maintainers, > > In parted 3.2, tests/t0251-gpt-unicode.sh needs the C.UTF-8 locale. > However, this isn't provided by stock glibc, and it's not available on > all systems (only ones like Debian where they've patched it in). > > I guess the test only really needs *some* UTF-8 locale, so a potential > fix would be to grep the output of "locale -a" for a UTF-8 locale to > use -- and not run the test at all if there isn't one. I have a patch to fix this by trying en_US.UTF-8 first and then C.UTF-8 if that doesn't exist. http://lists.alioth.debian.org/pipermail/parted-devel/2014-July/004568.html -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)