Bug#1071505: Resolve kconfig@x32 build failure
Package: kconfig
Version: 5.115.0
In https://buildd.debian.org/status/fetch.php?pkg=kconfig&arch=x32&ver=5.115.0-2&stamp=1714911041&raw=0
we find:
15: ********* Start testing of KStandardShortcutWatcherTest *********
15: Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-ilp32 shared (dynamic) release build; by GCC 13.2.0), debian unknown
15: PASS : KStandardShortcutWatcherTest::initTestCase()
15: QWARN : KStandardShortcutWatcherTest::testSignal() QDBusMarshaller::appendVariantInternal: Found unknown D-BUS type ''
15: FAIL! : KStandardShortcutWatcherTest::testSignal() Compared values are not the same
15: Actual (((signalSpy.count()))): 0
15: Expected (1) : 1
15: Loc: [/<<PKGBUILDDIR>>/autotests/kstandardshortcutwatchertest.cpp(52)]
I can reproduce this in a local unchrooted build I have just set up with
debotstrap. The testsuite problem goes away when I add en_US.UTF-8 to
/etc/locale.gen. Indeed, kconfig seems to hard-depend on the
availability of en_US.UTF-8:
autotests/kstandardshortcuttest.cpp: setenv("LC_ALL", "en_US.utf-8", 1);
autotests/kconfigtest.cpp: setenv("LC_ALL", "en_US.utf-8", 1);
(it might also be possible to replace that with C.UTF-8, haven't tried)
Reply to: