From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D660F395A061; Tue, 31 May 2022 08:58:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D660F395A061 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug rust/29202] New: [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument. Date: Tue, 31 May 2022 08:58:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: rust X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2022 08:58:53 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29202 Bug ID: 29202 Summary: [gdb/rust] Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument. Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: rust Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Here ( https://builder.sourceware.org/buildbot/#/builders/98/builds/10 ) we have: ... Running selftest rust-lex. Self test failed: Converting character sets: Invalid argument. ... Ran 147 unit tests, 1 failed (gdb) PASS: gdb.gdb/unittest.exp: no executable loaded: maintenance selftes= t, ran some tests FAIL: gdb.gdb/unittest.exp: no executable loaded: maintenance selftest, fai= led none ... I managed to reproduce this in a container helpfully set up by Martin Li=C5= =A1ka. The root cause turned out to be this call failing: ... (gdb) fin Run till exit from #0 0x00007f0c2e11668e in iconv_open () from /lib64/libc.so.6 iconv_wrapper::iconv_wrapper (from=3D0x11946e0 "ANSI_X3.4-1968", to=3D0x96d= e99 "UTF-32LE", this=3D) at ../../gdb/charset.c:476 ... because the support for UTF-32LE was not installed. Adding the package glibc-locale made the test pass. --=20 You are receiving this mail because: You are on the CC list for the bug.=