#5307: parted-3.2
-------------------------+---------------------
Reporter: fo | Owner: fo
Type: enhancement | Status: closed
Priority: normal | Milestone: 7.6
Component: BOOK | Version: SVN
Severity: normal | Resolution: fixed
Keywords: |
-------------------------+---------------------
Comment (by fo):
Found a better solution, but still don't like, because it modifies the
system and i don't know how to undo it.
{{{
$ locale -a | grep -i ^C.UTF
$
...
# localedef -c -i POSIX -f UTF-8 C.UTF-8
LC_MONETARY: value of field `int_curr_symbol' has wrong length
No definition for LC_PAPER category found
No definition for LC_NAME category found
No definition for LC_ADDRESS category found
No definition for LC_TELEPHONE category found
No definition for LC_MEASUREMENT category found
No definition for LC_IDENTIFICATION category found
...
$ locale -a | grep -i ^C.UTF
C.utf8
}}}
Now, the test passes:
{{{
$ cd parted-3.2/tests
$ make check TESTS=t0251-gpt-unicode.sh VERBOSE=yes
...
============================================================================
Testsuite summary for GNU parted 3.2
============================================================================
# TOTAL: 1
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
}}}
I have seen other discussions of tests or build needing this locale.
1. I think one such locale should bre added to LFS/BLFS (debian has
already done, IIRC, since 2009)
2. I cannot tell if the command I used (with POSIX, because just "C" does
not work) is correct, or if someone could please give me a better one.
3. Could, after 1. and 2., replace the instructions for the tests, which I
wrote yesterday, and am not happy with.
Reason I am not happy is that if this test fails, even with make -k check,
test suite stops closer to the start than to the end of all tests, which
would only allow in the book "there is no working test suite for this
package...".
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/5307#comment:6>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page