X-Loop: help-debbugs@HIDDEN Subject: bug#18754: tests/t0251-gpt-unicode.sh depends on C.UTF-8 locale Resent-From: Adam Sampson <ats@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Fri, 17 Oct 2014 19:08:02 +0000 Resent-Message-ID: <handler.18754.B.141357285832427 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 18754 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 18754 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-parted@HIDDEN Received: via spool by submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XfCsD-0008Qw-Kt for submit <at> 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 <ats@HIDDEN>) id 1XfCsB-0008Qo-MO for submit <at> 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 <ats@HIDDEN>) id 1XfCs6-0006CG-AL for submit <at> 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 <ats@HIDDEN>) id 1XfCs6-0006CC-8S for submit <at> 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 <ats@HIDDEN>) id 1XfCs1-00076N-IG for bug-parted@HIDDEN; Fri, 17 Oct 2014 15:07:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ats@HIDDEN>) id 1XfCrw-0006Aj-Te for bug-parted@HIDDEN; 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 <ats@HIDDEN>) id 1XfCrw-0006AW-Nq for bug-parted@HIDDEN; 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 <ats@HIDDEN>) id 1XfCrt-0002Pp-Iz for bug-parted@HIDDEN; Fri, 17 Oct 2014 20:07:17 +0100 Received: from ats by cartman.offog.org with local (Exim 4.84) (envelope-from <ats@HIDDEN>) id 1XfCrs-0007Hs-LU for bug-parted@HIDDEN; Fri, 17 Oct 2014 20:07:16 +0100 Date: Fri, 17 Oct 2014 20:07:16 +0100 From: Adam Sampson <ats@HIDDEN> Message-ID: <20141017190716.GE1125@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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 <ats@HIDDEN> <http://offog.org/>
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Adam Sampson <ats@HIDDEN> Subject: bug#18754: Acknowledgement (tests/t0251-gpt-unicode.sh depends on C.UTF-8 locale) Message-ID: <handler.18754.B.141357285832427.ack <at> debbugs.gnu.org> References: <20141017190716.GE1125@HIDDEN> X-Gnu-PR-Message: ack 18754 X-Gnu-PR-Package: parted Reply-To: 18754 <at> debbugs.gnu.org Date: Fri, 17 Oct 2014 19:08:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-parted@HIDDEN If you wish to submit further information on this problem, please send it to 18754 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 18754: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D18754 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#18754: tests/t0251-gpt-unicode.sh depends on C.UTF-8 locale Resent-From: "Brian C. Lane" <bcl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Fri, 17 Oct 2014 21:23:01 +0000 Resent-Message-ID: <handler.18754.B18754.141358092615534 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 18754 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: Adam Sampson <ats@HIDDEN> Cc: 18754 <at> debbugs.gnu.org Received: via spool by 18754-submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XfEyL-00042T-BJ for submit <at> 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 <bcl@HIDDEN>) id 1XfEyI-00042L-Pl for 18754 <at> 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" <bcl@HIDDEN> Message-ID: <20141017212159.GT4002@HIDDEN> References: <20141017190716.GE1125@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141017190716.GE1125@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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)
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.