GNU bug report logs - #18754
tests/t0251-gpt-unicode.sh depends on C.UTF-8 locale

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: parted; Reported by: Adam Sampson <ats@HIDDEN>; dated Fri, 17 Oct 2014 19:08:02 UTC; Maintainer for parted is bug-parted@HIDDEN.

Message received at 18754 <at> debbugs.gnu.org:


Received: (at 18754) by debbugs.gnu.org; 17 Oct 2014 21:22:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 17 17:22:06 2014
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>
To: Adam Sampson <ats@HIDDEN>
Subject: Re: bug#18754: tests/t0251-gpt-unicode.sh depends on C.UTF-8 locale
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-Debbugs-Envelope-To: 18754
Cc: 18754 <at> debbugs.gnu.org
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)




Information forwarded to bug-parted@HIDDEN:
bug#18754; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Oct 2014 19:07:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 17 15:07:38 2014
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>
To: bug-parted@HIDDEN
Subject: tests/t0251-gpt-unicode.sh depends on C.UTF-8 locale
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-Debbugs-Envelope-To: submit
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/>




Acknowledgement sent to Adam Sampson <ats@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#18754; Package parted. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.