* [Bug testsuite/29202] [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument.
2022-05-31 8:58 [Bug rust/29202] New: [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument vries at gcc dot gnu.org
@ 2022-05-31 8:59 ` vries at gcc dot gnu.org
2022-05-31 9:03 ` vries at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: vries at gcc dot gnu.org @ 2022-05-31 8:59 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29202
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|rust |testsuite
CC| |mliska at suse dot cz,
| |tromey at sourceware dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/29202] [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument.
2022-05-31 8:58 [Bug rust/29202] New: [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument vries at gcc dot gnu.org
2022-05-31 8:59 ` [Bug testsuite/29202] " vries at gcc dot gnu.org
@ 2022-05-31 9:03 ` vries at gcc dot gnu.org
2022-05-31 9:24 ` vries at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: vries at gcc dot gnu.org @ 2022-05-31 9:03 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29202
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
IWBN if for instance the test-case failed in a more verbose way, as in:
...
cannot convert from "ANSI_X3.4-1968" to "UTF-32LE"
...
Or perhaps skip the test as unsupported instead of failing.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/29202] [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument.
2022-05-31 8:58 [Bug rust/29202] New: [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument vries at gcc dot gnu.org
2022-05-31 8:59 ` [Bug testsuite/29202] " vries at gcc dot gnu.org
2022-05-31 9:03 ` vries at gcc dot gnu.org
@ 2022-05-31 9:24 ` vries at gcc dot gnu.org
2022-06-01 15:44 ` tromey at sourceware dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: vries at gcc dot gnu.org @ 2022-05-31 9:24 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29202
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Hmm, in ada-lang.c we have:
...
try
{
convert_between_encodings
(host_charset (), HOST_UTF32,
(const gdb_byte *) name.data (),
name.length (), 1,
&storage, translit_none);
}
catch (const gdb_exception &)
{
if (throw_on_error)
throw;
static bool warned = false;
/* Converting to UTF-32 shouldn't fail, so if it doesn't, we
might like to know why. */
if (!warned)
{
{
warned = true;
warning (_("could not convert '%s' from the host encoding (%s) to
UTF-32.\n"
"This normally should not happen, please file a bug
report."),
gdb::to_string (name).c_str (), host_charset ());
}
...
I suppose we could use something similar.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/29202] [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument.
2022-05-31 8:58 [Bug rust/29202] New: [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument vries at gcc dot gnu.org
` (2 preceding siblings ...)
2022-05-31 9:24 ` vries at gcc dot gnu.org
@ 2022-06-01 15:44 ` tromey at sourceware dot org
2022-06-03 10:39 ` vries at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tromey at sourceware dot org @ 2022-06-01 15:44 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29202
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
Catching the error in the unit test seems reasonable,
though on the other hand this is a kind of host configuration error.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/29202] [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument.
2022-05-31 8:58 [Bug rust/29202] New: [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument vries at gcc dot gnu.org
` (3 preceding siblings ...)
2022-06-01 15:44 ` tromey at sourceware dot org
@ 2022-06-03 10:39 ` vries at gcc dot gnu.org
2022-06-03 10:53 ` mark at klomp dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: vries at gcc dot gnu.org @ 2022-06-03 10:39 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29202
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at klomp dot org
--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
This is still failing in the latest build (
https://builder.sourceware.org/buildbot/#/builders/98/builds/78 ).
Will the glibc-locale package be installed?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/29202] [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument.
2022-05-31 8:58 [Bug rust/29202] New: [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument vries at gcc dot gnu.org
` (4 preceding siblings ...)
2022-06-03 10:39 ` vries at gcc dot gnu.org
@ 2022-06-03 10:53 ` mark at klomp dot org
2022-06-03 11:02 ` mark at klomp dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mark at klomp dot org @ 2022-06-03 10:53 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29202
--- Comment #5 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Tom de Vries from comment #4)
> This is still failing in the latest build (
> https://builder.sourceware.org/buildbot/#/builders/98/builds/78 ).
>
> Will the glibc-locale package be installed?
I will post a patch for the Container files to the buildbot mailinglist:
https://sourceware.org/mailman/listinfo/buildbot
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/29202] [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument.
2022-05-31 8:58 [Bug rust/29202] New: [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument vries at gcc dot gnu.org
` (5 preceding siblings ...)
2022-06-03 10:53 ` mark at klomp dot org
@ 2022-06-03 11:02 ` mark at klomp dot org
2022-06-03 11:12 ` mark at klomp dot org
2022-06-07 12:18 ` vries at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: mark at klomp dot org @ 2022-06-03 11:02 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29202
--- Comment #6 from Mark Wielaard <mark at klomp dot org> ---
https://sourceware.org/pipermail/buildbot/2022q2/000011.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/29202] [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument.
2022-05-31 8:58 [Bug rust/29202] New: [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument vries at gcc dot gnu.org
` (6 preceding siblings ...)
2022-06-03 11:02 ` mark at klomp dot org
@ 2022-06-03 11:12 ` mark at klomp dot org
2022-06-07 12:18 ` vries at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: mark at klomp dot org @ 2022-06-03 11:12 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29202
--- Comment #7 from Mark Wielaard <mark at klomp dot org> ---
https://builder.sourceware.org/buildbot/#/builders/98/builds/79
https://sourceware.org/pipermail/gdb-testers/2022q2/171523.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/29202] [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument.
2022-05-31 8:58 [Bug rust/29202] New: [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument vries at gcc dot gnu.org
` (7 preceding siblings ...)
2022-06-03 11:12 ` mark at klomp dot org
@ 2022-06-07 12:18 ` vries at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: vries at gcc dot gnu.org @ 2022-06-07 12:18 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29202
--- Comment #8 from Tom de Vries <vries at gcc dot gnu.org> ---
Patches submitted:
- [PATCH][gdb] Improve "Converting character sets: Invalid argument"
https://sourceware.org/pipermail/gdb-patches/2022-June/189864.html
- [PATCH][gdb] Handle NOT_SUPPORTED_ERROR in rust-lex selftest
https://sourceware.org/pipermail/gdb-patches/2022-June/189865.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread