GNU bug report logs -
#17943
parted-3.1.90 alpha make check fails t0251-gpt-unicode on Debian 7
Previous Next
To reply to this bug, email your comments to 17943 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-parted <at> gnu.org
:
bug#17943
; Package
parted
.
(Sat, 05 Jul 2014 02:29:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Curtis Gedak <gedakc <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-parted <at> gnu.org
.
(Sat, 05 Jul 2014 02:29:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
First, thank you for working towards another parted release. It's been
quite a while since the last one so I appreciate your efforts.
To try to get this next parted release as bug free as possible I will
test it across a number of distros that we use for GParted testing. The
source tarball I am using is the parted-3.1.90 alpha release from
http://alpha.gnu.org/gnu/parted/
Following is some information from running "make check" both as a normal
user and as root:
DEBIAN 7 - 32 bit
=================
$ make check
<snip>
============================================================================
Testsuite summary for GNU parted 3.1.90
============================================================================
# TOTAL: 78
# PASS: 39
# SKIP: 38
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to bug-parted <at> gnu.org
============================================================================
$ grep FAIL tests/test-suite.log
# XFAIL: 0
# FAIL: 1
FAIL: t0251-gpt-unicode
# make check
<snip>
PASS: t8000-loop.sh
PASS: t8001-loop-blkpg.sh
t9010-big-sector.sh rmmod scsi_debug...
PASS: t9010-big-sector.sh
t9020-alignment.sh rmmod scsi_debug...
PASS: t9020-alignment.sh
PASS: t9021-maxima.sh
PASS: t9022-one-unit-snap.sh
PASS: t9023-value-lt-one.sh
t9030-align-check.sh /dev/sdc1 failed to disappear
t9030-align-check.sh /dev/sdc1 failed to disappear
t9030-align-check.sh /dev/sdc1 failed to disappear
....
This is report is from the first distro I used in testing
parted-3.1.90. If you need additional information then just let me know.
Regards,
Curtis Gedak
Information forwarded
to
bug-parted <at> gnu.org
:
bug#17943
; Package
parted
.
(Thu, 17 Jul 2014 19:36:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 17943 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Phillip,
In my Debian 7 VM I ran 'apt-get update' and 'apt-get upgrade' to ensure
that I had the latest packages.
Next I removed the entire parted-3.1.90 directory, rebuilt parted, and
then ran 'make check' as root again. The same error occurs.
Attached is the log (t0251-gpt-unicode.log) as requested in:
[parted-devel] [PATCH] Bump library REVISION number for release
http://lists.alioth.debian.org/pipermail/parted-devel/2014-July/004549.html
Regards,
Curtis
On 14-07-04 07:46 PM, Curtis Gedak wrote:
> Following is some information from running "make check" both as a
> normal user and as root:
>
> DEBIAN 7 - 32 bit
> =================
>
> $ make check
> <snip>
> ============================================================================
>
> Testsuite summary for GNU parted 3.1.90
> ============================================================================
>
> # TOTAL: 78
> # PASS: 39
> # SKIP: 38
> # XFAIL: 0
> # FAIL: 1
> # XPASS: 0
> # ERROR: 0
> ============================================================================
>
> See tests/test-suite.log
> Please report to bug-parted <at> gnu.org
> ============================================================================
>
>
> $ grep FAIL tests/test-suite.log
> # XFAIL: 0
> # FAIL: 1
> FAIL: t0251-gpt-unicode
>
>
> # make check
> <snip>
> PASS: t8000-loop.sh
> PASS: t8001-loop-blkpg.sh
> t9010-big-sector.sh rmmod scsi_debug...
> PASS: t9010-big-sector.sh
> t9020-alignment.sh rmmod scsi_debug...
> PASS: t9020-alignment.sh
> PASS: t9021-maxima.sh
> PASS: t9022-one-unit-snap.sh
> PASS: t9023-value-lt-one.sh
> t9030-align-check.sh /dev/sdc1 failed to disappear
> t9030-align-check.sh /dev/sdc1 failed to disappear
> t9030-align-check.sh /dev/sdc1 failed to disappear
> ....
[t0251-gpt-unicode.log (text/plain, attachment)]
Reply sent
to
Phillip Susi <psusi <at> ubuntu.com>
:
You have taken responsibility.
(Mon, 21 Jul 2014 13:34:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Curtis Gedak <gedakc <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 21 Jul 2014 13:34:05 GMT)
Full text and
rfc822 format available.
Message #13 received at 17943-done <at> debbugs.gnu.org (full text, mbox):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/17/2014 3:35 PM, Curtis Gedak wrote:
> Hi Phillip,
>
> In my Debian 7 VM I ran 'apt-get update' and 'apt-get upgrade' to
> ensure that I had the latest packages.
>
> Next I removed the entire parted-3.1.90 directory, rebuilt parted,
> and then ran 'make check' as root again. The same error occurs.
>
> Attached is the log (t0251-gpt-unicode.log) as requested in:
You have a bunch of errors like this:
warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No
such file or directory
So it looks like something is broken in your vm that is preventing
apps from using UTF-8.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTzRZ5AAoJEI5FoCIzSKrwY2oH/AiU3tiIf0SHSptUtrjVdaEQ
SHu/qrWDAgQaVquBHXbgdyg492S3WZQu2DI2DDwyBH4jl1cWs4yZ/qFiFxTWZ/yI
vkDRmhSBTjoe2KTTCVYtq7Zl5iqt0DFPnZuRltSHD6uGE9ECAA1JTax2B+Y953ca
FP8t9l4LZwbkgV2V7UAwG6MF8UCndDXzNUO8payWppZfBvA0SDZHSmnLCNlRl6Bf
AV82clN2GzvIO6fMMuPSaqqzZZMRXvcw8ao769J9eCxVBZuPH9Tjn8RDiBt1kv+h
RB5HbZm3ibe1fFfh9bsNE4FjWUTn01Xy2k4az11vBmvJGfUws9eCMh4KJbpQPkk=
=Dikf
-----END PGP SIGNATURE-----
Information forwarded
to
bug-parted <at> gnu.org
:
bug#17943
; Package
parted
.
(Mon, 21 Jul 2014 16:34:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 17943-done <at> debbugs.gnu.org (full text, mbox):
On 14-07-21 07:32 AM, Phillip Susi wrote:
> You have a bunch of errors like this:
>
> warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No
> such file or directory
>
> So it looks like something is broken in your vm that is preventing
> apps from using UTF-8.
Hi Phillip,
This error is likely not a great concern, though I should mention that
this is a stock install of Debian 7 from the
debian-7.0.0-i386-xfce-CD-1.iso where I selected "Canada" as the
country. I suspect that not all locales are installed by default (e.g.,
en_US.UTF-8). Hence the test might fail on any default non-US installation.
Curtis
Information forwarded
to
bug-parted <at> gnu.org
:
bug#17943
; Package
parted
.
(Tue, 22 Jul 2014 13:42:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 17943 <at> debbugs.gnu.org (full text, mbox):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
reopen 17943
thanks
On 7/21/2014 12:32 PM, Curtis Gedak wrote:
> This error is likely not a great concern, though I should mention
> that this is a stock install of Debian 7 from the
> debian-7.0.0-i386-xfce-CD-1.iso where I selected "Canada" as the
> country. I suspect that not all locales are installed by default
> (e.g., en_US.UTF-8). Hence the test might fail on any default
> non-US installation.
I had assumed you were using en_US.UTF-8 and so something was broken
with your install, but since you said you were using Canada, I looked
at the script again and realized that I did explicitly select
en_US.UTF-8. I'm not sure why I did that now and will need to take
another look at it; perhaps I should have used C.UTF-8...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTzmnpAAoJEI5FoCIzSKrw/tgH/if5WaswusmRcq1OF7eRRkhf
UhaU9HNEWLdt8GxKX6tCX/b+W/7b5sQwIhAPq51q4slbV9q2kxqAPzGHSUYqqxog
szXae1tZGbCHuAXXJTZXwLlohWjKal7DOgwCN1q2EFx5pm8LYPULp0q4RfGvhPod
+lH3nwyNA5EQNREZ+YhRKJ9g6G5uFZtT2GopDKXkwMb8oS8141At1+ioxbYpAFot
BdFuJVuF0aYJ2NZxmA/6lYahLVhD2Ah0p3aasB5bgfpxhYbhfFbT1BWatuUP4dPA
ViNWhLz33r9cGxEB3i08V9ACkJTM00S4TLyJHiiOnUwbAJyC0ELeXvLqdRJ73a0=
=HBwB
-----END PGP SIGNATURE-----
Did not alter fixed versions and reopened.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 22 Jul 2014 13:42:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-parted <at> gnu.org
:
bug#17943
; Package
parted
.
(Sun, 03 Aug 2014 22:55:02 GMT)
Full text and
rfc822 format available.
Message #24 received at 17943 <at> debbugs.gnu.org (full text, mbox):
Phillip Susi <psusi <at> ubuntu.com> writes:
> On 7/21/2014 12:32 PM, Curtis Gedak wrote:
>> This error is likely not a great concern, though I should mention
>> that this is a stock install of Debian 7 from the
>> debian-7.0.0-i386-xfce-CD-1.iso where I selected "Canada" as the
>> country. I suspect that not all locales are installed by default
>> (e.g., en_US.UTF-8). Hence the test might fail on any default
>> non-US installation.
>
> I had assumed you were using en_US.UTF-8 and so something was broken
> with your install, but since you said you were using Canada, I looked
> at the script again and realized that I did explicitly select
> en_US.UTF-8. I'm not sure why I did that now and will need to take
> another look at it; perhaps I should have used C.UTF-8...
parted-3.2 fails the same test when built on GNU Guix because the
"C.UTF-8" locale is not available (see below). Changing
t0251-gpt-unicode.sh to use "en_US.UTF-8" fixes the problem.
--8<---------------cut here---------------start------------->8---
mhw:~$ cat test.c
#include <locale.h>
#include <stdio.h>
int
main (int argc, char *argv[])
{
char *desired_locale = argv[1];
char *result = setlocale (LC_ALL, desired_locale);
printf ("setlocale (LC_ALL, \"%s\") => ", desired_locale);
if (result)
printf ("\"%s\"\n", result);
else
printf ("NULL\n");
return 0;
}
mhw:~$ gcc -o test test.c
mhw:~$ ./test C.UTF-8
setlocale (LC_ALL, "C.UTF-8") => NULL
mhw:~$ ./test en_US.UTF-8
setlocale (LC_ALL, "en_US.UTF-8") => "en_US.UTF-8"
--8<---------------cut here---------------end--------------->8---
GNU Guix uses glibc-2.19 with almost no modifications, and includes the
default set of locales installed by "make localedata/install-locales".
See <http://hydra.gnu.org/job/gnu/master/glibc-2.19.x86_64-linux> for
build logs of our glibc.
Regards,
Mark
Information forwarded
to
bug-parted <at> gnu.org
:
bug#17943
; Package
parted
.
(Tue, 19 Aug 2014 14:38:03 GMT)
Full text and
rfc822 format available.
Message #27 received at 17943 <at> debbugs.gnu.org (full text, mbox):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 8/3/2014 6:53 PM, Mark H Weaver wrote:
> parted-3.2 fails the same test when built on GNU Guix because the
> "C.UTF-8" locale is not available (see below). Changing
> t0251-gpt-unicode.sh to use "en_US.UTF-8" fixes the problem.
What? It should not be possible to not have the C locale; it is the
native, untranslated locale and is the fallback locale used whenever
the chosen locale is missing or incomplete.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJT82EPAAoJEI5FoCIzSKrwcWcH/3+/qIWTcjotOgbtw5SxAuiB
9edWOPZQum2SetOfSWjXTxz0SAgTvsPySP3GJbB7TIzOfDGvJTFgQPZdCrcNkji0
kuvNDWfbmcsy5QTFDvqIjhZpzuKL7OBwfnqR29hdTlk6bZOo2XgrcuUsjNHfjQXA
zHRom7kCXp0FUQfMEs6Osa611jv4ehE87bRka+n7VTwLL2ZyIvEYGRsY3Uf6KquM
fn3KaWBPyQmEuGxoji7SHDMOVNQ27bkRsONXuJQ8eNOk0YftPFfRupyr75DzN+9a
HwjMz1Aju9IIkCobJTRz9PW4EdSa7GT7PbPdZPjLYaOrz6Xlh1qyqRHvc1u4naI=
=gPOx
-----END PGP SIGNATURE-----
Information forwarded
to
bug-parted <at> gnu.org
:
bug#17943
; Package
parted
.
(Tue, 19 Aug 2014 16:12:01 GMT)
Full text and
rfc822 format available.
Message #30 received at 17943 <at> debbugs.gnu.org (full text, mbox):
Phillip Susi <psusi <at> ubuntu.com> writes:
> On 8/3/2014 6:53 PM, Mark H Weaver wrote:
>> parted-3.2 fails the same test when built on GNU Guix because the
>> "C.UTF-8" locale is not available (see below). Changing
>> t0251-gpt-unicode.sh to use "en_US.UTF-8" fixes the problem.
>
> What? It should not be possible to not have the C locale; it is the
> native, untranslated locale and is the fallback locale used whenever
> the chosen locale is missing or incomplete.
Upstream GNU libc includes a "C" locale which is limited to ASCII.
However, it does not include a "C.UTF-8" locale. See this discussion:
https://bugzilla.redhat.com/show_bug.cgi?id=902094
GNU Guix uses upstream GNU libc, so it doesn't have "C.UTF-8" either.
Regards,
Mark
Information forwarded
to
bug-parted <at> gnu.org
:
bug#17943
; Package
parted
.
(Tue, 19 Aug 2014 16:23:02 GMT)
Full text and
rfc822 format available.
Message #33 received at 17943 <at> debbugs.gnu.org (full text, mbox):
Mark H Weaver <mhw <at> netris.org> writes:
> Phillip Susi <psusi <at> ubuntu.com> writes:
>
>> On 8/3/2014 6:53 PM, Mark H Weaver wrote:
>>> parted-3.2 fails the same test when built on GNU Guix because the
>>> "C.UTF-8" locale is not available (see below). Changing
>>> t0251-gpt-unicode.sh to use "en_US.UTF-8" fixes the problem.
>>
>> What? It should not be possible to not have the C locale; it is the
>> native, untranslated locale and is the fallback locale used whenever
>> the chosen locale is missing or incomplete.
>
> Upstream GNU libc includes a "C" locale which is limited to ASCII.
> However, it does not include a "C.UTF-8" locale. See this discussion:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=902094
>
> GNU Guix uses upstream GNU libc, so it doesn't have "C.UTF-8" either.
More details: Debian added "C.UTF-8" to their glibc package starting
with 2.13-1, and that was picked up by Ubuntu. However, it is not in
upstream glibc, and it appears that many other popular distros including
Fedora and Arch don't have "C.UTF-8" either.
https://bugs.archlinux.org/task/32296
Mark
This bug report was last modified 10 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.