From patchwork Fri Aug 22 05:17:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 69016 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2033CA0EEB for ; Fri, 22 Aug 2025 05:17:31 +0000 (UTC) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mx.groups.io with SMTP id smtpd.web11.1980.1755839850401827647 for ; Thu, 21 Aug 2025 22:17:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dKov/697; spf=pass (domain: gmail.com, ip: 209.85.215.182, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-b47174b3429so1149191a12.2 for ; Thu, 21 Aug 2025 22:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1755839849; x=1756444649; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rmXzRbaWlI2MentMmNb08B26rzXCatww2rKamwbkjTQ=; b=dKov/697sucdO6nVFK54TiPtzPW8EX+H3Cb2556zHV4lWCEoBKU/9krvxOeko4kSPJ RqApAFQI40GttY4Wf44LyH6AiJ5jtDp1hpYYav5Yx9jBuQaP8CjvaruGSauv7uXydrdT dOc8WU+TkH/wPRhMPRf6x+qSn7y0lzAmRhRA4OLbL5VzehOJzopTAoIqhv2Y3cUdq+ld OWLCcwB4n37wg898ATbri2MTDdLXhyu748ex48kw98TySIlo+mGIdTHK4UfucaeI4azg S9LKlqpbu7HUP/f4maslJPfDJOsJefYtbNPN/y2YZdbHdUgkY5oSTerB6nxel9GkcwKi 5SYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755839849; x=1756444649; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rmXzRbaWlI2MentMmNb08B26rzXCatww2rKamwbkjTQ=; b=eE5SQEpmML6Xh9/LPbqCCHaF8e28/jtFByMU0yvKvGLulBRbWYTScp+r9a37p3wVpx QFNCi10hmtJJsu99FVeUqPNi/SWSZrySCuJTkaYRgfbOSvEgbDt23VVFS8OKipcowDQd pJFuNpvMAWd5WhuMLC4ofBxVJ9Jr8+e5CofTvuhQ5cWRSZuaANHYMKg4Q8rnnoL+pIaZ TrfirAXoRBsGdo3mX6PUL4A5B4sWfIwvHSF69oz4Zfq3MAww86ytpqJmMzpLbr2aIUAO R7P2MKo9gZcwkfCaHyCzQKu1x/yEV0b76KWR5fK2JGFISjII7epIOUiDgJqZ+170gLr3 BCOQ== X-Gm-Message-State: AOJu0Yx9UDXc42NJS3fsCQHyHVMRPEBfh/pDtA479zTtk2ZD+rM0WGl+ uyRIelxt9+rPuDkeJTBlXxtD5ztAvUUwPdMBJVzxH+44ZrTorevpxEi/1c7FoOEt X-Gm-Gg: ASbGncvSKepQ/wihVt3ds4m30hWm9UkqxUet1+W+YA4ktFtROTnOjuT4h2nsmqg9JJV yIgSwggiHmDEqpCZEXBuC63q94AHz/nkGZNsGYFF9eUsQE3y4BnBTF5af8+Q5IrGC3Yuo463XuY Wgx6OfO0+iVs/3K0JKx+UptPfRtjQms7U4PKrjgwH39VLHK7rWl9F0YDU7MTWUE3GwFRSvmK/oq kaI8LoHvR2llOz6v1oRRw9/uDr+8zgUJDh0lvGU8N2MJIz9pzvNkLnm5q7b7ozQVfdawgJQfUTf yHvQ3s6WS1jtkyV+y3AspXS5+VYDrDX8fbCD8Uwvm6V/f3LjiaN5O/7WusMdK3R7S85W1xjqp5j j6S6756ifjcRW1Art7O0SUO2AMl+muT2EVh9VqD3nz2IJ8xuGK51XwNcqP8D1T6S7Th+EXgUDJ3 NHsI178SiamzPMjo0axq6v7E/Z8rzBRX3ZVmG7gL0= X-Google-Smtp-Source: AGHT+IFABDIcokph2r1ksziCkTKdVr51Iy9xugW4/Z3s0tavOAaSKt1QFhiCjKnAFo12Prxog3Vcdw== X-Received: by 2002:a17:902:e542:b0:240:2eae:aecb with SMTP id d9443c01a7336-2462ef872cemr28338075ad.43.1755839849339; Thu, 21 Aug 2025 22:17:29 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::adc2]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-245ed4ebf7dsm71631015ad.120.2025.08.21.22.17.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Aug 2025 22:17:28 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 1/3] elfutils: Remove run-backtrace-dwarf from musl ptest XFAILs list Date: Thu, 21 Aug 2025 22:17:23 -0700 Message-ID: <20250822051726.2429206-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.50.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 22 Aug 2025 05:17:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/222303 This is passing ok with gcc/libgcc on YP AB Signed-off-by: Khem Raj --- meta/recipes-devtools/elfutils/elfutils_0.193.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/elfutils/elfutils_0.193.bb b/meta/recipes-devtools/elfutils/elfutils_0.193.bb index 67ce3827827..29a8ee5af63 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.193.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.193.bb @@ -66,7 +66,7 @@ PTEST_PARALLEL_MAKE = "" PTEST_XFAILS ?= "" # See - https://sourceware.org/bugzilla/show_bug.cgi?id=32232 PTEST_XFAILS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' run-strip-strmerge.sh run-elflint-self.sh run-backtrace-data.sh run-reverse-sections-self.sh', '', d)}" -PTEST_XFAILS:append:libc-musl = " run-large-elf-file.sh run-backtrace-data.sh run-backtrace-dwarf.sh run-backtrace-native.sh run-stack-d-test.sh run-stack-i-test.sh run-stack-demangled-test.sh run-deleted.sh run-compress-test.sh" +PTEST_XFAILS:append:libc-musl = " run-large-elf-file.sh run-backtrace-data.sh run-backtrace-native.sh run-stack-d-test.sh run-stack-i-test.sh run-stack-demangled-test.sh run-deleted.sh run-compress-test.sh" do_install_ptest() { # copy the files which needed by the cases From patchwork Fri Aug 22 05:17:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 69018 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84941CA0EEB for ; Fri, 22 Aug 2025 05:17:41 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web10.2043.1755839851679556452 for ; Thu, 21 Aug 2025 22:17:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MCZmFbRk; spf=pass (domain: gmail.com, ip: 209.85.214.173, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-2460757107bso13371685ad.2 for ; Thu, 21 Aug 2025 22:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1755839851; x=1756444651; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Hr/t+crR8/KIqNdWr85/ksGbR6mRZa+Qqni9K9i9RVg=; b=MCZmFbRkri8qnjf3tuuaNL/zC5pnZqNbqNxaiuJYrRfepMAnQLsW9FPnzNyrNlnAMF n8VWSzLQ70HJi+iK+s1GYeQAqHz1rSWY4UsfaChx37J4FiPKDAF31xwAdKxSHLZbJ5Px p/vpKeyT0lrBdTuF+wfjr1q6LqE7NT+d9hrlLe45DbQ6rsTbslhZ8xjllCovy+QQBwXN U6F9OdAs8p6AqsH5Zw5TEw/3qJJexxxHF8gPC4M0F9HgB4fq12PKlQcjXOb+VTCNebgt 0rc+Sdi6tGRKowiNc5PTiAPvhGwRDaz6DmiMt1SECvb8+/IJcHfv8ZPi9oB4e3KSYMiY Z6Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755839851; x=1756444651; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Hr/t+crR8/KIqNdWr85/ksGbR6mRZa+Qqni9K9i9RVg=; b=ScUnEfVqK2sdb5cfLWxbpnUd+VjH/Ot5dlpfMCIWt4vNjmYNW0d6kY5j03Rb5q7vwR qWwRr1nL59eqST18ms4eE5Q/ygE9ioWC9APJ5XEcvc+qpgFZpCPzNIUeUdQwrQ0mKcEv +6re5d8+F/EO3p5M9UWqm0nFche3YFS8Wx8QZCq3thlTV9hEcyHO/GqErz9BKUHMJnvM n/6a/Uq/1zcqcnI7Nf3qxjkk3QwwozPGTp1cIlAfpLhyicJc//sNZz0AXsuxqf1Qk5ln SrG409lHyzoVOO02tSzLqWyP48HRPAo05ZXWGMyAsFgXI1zVz7bmC2OCNIMvslBusBrd Ew7Q== X-Gm-Message-State: AOJu0YwHwxx/Dqodqb93a6glZcBF1sQMTAvcsoaTAZDvyp7LcUA8HinO TR6Hx70T6Uyx4uMTy8vVsuqamSFIHhNxUBBWvJJqUEZDBZOVhwkH4+tZ7Fp/Zk6G X-Gm-Gg: ASbGncua4h5hAtGtjb2Pk2sPnFKkxm+LrD8ttTiIB+PikNXRJDWGJ4AYVsixEq8z3Sd Mzu1MfVCsiiTmAZAj6JYI3K8CccVP/A5r11ulw8QP8wAEPzvm3WhmXJDqy9ThwgYT5WlK/TymhJ oYoRM4UPdeC6maIKs4MmGoZ5BH7IsaTpuUBrsr1Fi/4QUNp0xZu5MHwCWDvPB/2EZSHM9LviGb7 704bWsKToT6YT7OBYP95wTUsA9xAoUvfH9pgcrRIxyAAq1xZLBTEkMLeewdNACzRvV5XuoNjE3z YItfpyeNSgRUvP0Ic5rA9bf5apR+Qi7mUr4jCKaEyouCiVmyJUykJ7wxfasCagDvmd93iZRt/Xf QHNtT5XbKC7gMxMcwJuj4LUPQyPGkn+VM6zD9S9Kuxz8zefhO3P0hwzb1PSuu2+9kh1YqPutC7V gqb3DPiRf9O74qz/BJXh9UEFSsuGbuQ6JOjYtmXa2ngV+JkkeTsg== X-Google-Smtp-Source: AGHT+IE1+AXxSi1w8SVnDLLINiCjfAJKlv4uaWA23LuZyU9d6HG5bLFYZr4udabrrFqZ2rdICXMZTw== X-Received: by 2002:a17:903:186:b0:23f:adfa:3a63 with SMTP id d9443c01a7336-2462edeea05mr29245935ad.16.1755839850593; Thu, 21 Aug 2025 22:17:30 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::adc2]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-245ed4ebf7dsm71631015ad.120.2025.08.21.22.17.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Aug 2025 22:17:29 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 2/3] gettext: Skip test known to fail on musl Date: Thu, 21 Aug 2025 22:17:24 -0700 Message-ID: <20250822051726.2429206-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250822051726.2429206-1-raj.khem@gmail.com> References: <20250822051726.2429206-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 22 Aug 2025 05:17:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/222304 * Use posix thread on musl and cache * Force using system posix complaint printf * Add coreutils to ptest dependencies Signed-off-by: Khem Raj --- ...-tests-needing-BIG5-encoding-on-musl.patch | 84 +++++++++++++++++++ meta/recipes-core/gettext/gettext_0.23.1.bb | 7 +- 2 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/gettext/gettext/0001-Ignore-failing-tests-needing-BIG5-encoding-on-musl.patch diff --git a/meta/recipes-core/gettext/gettext/0001-Ignore-failing-tests-needing-BIG5-encoding-on-musl.patch b/meta/recipes-core/gettext/gettext/0001-Ignore-failing-tests-needing-BIG5-encoding-on-musl.patch new file mode 100644 index 00000000000..481bcc0cb27 --- /dev/null +++ b/meta/recipes-core/gettext/gettext/0001-Ignore-failing-tests-needing-BIG5-encoding-on-musl.patch @@ -0,0 +1,84 @@ +From a6e95c626cd52423ca3ff75d47bb2f08b29ad5c8 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 21 Aug 2025 13:24:47 -0700 +Subject: [PATCH] Ignore failing tests needing BIG5 encoding on musl + +This test fails on Linux with musl libc +which does not support the BIG5 encoding in 'iconv'. + +Upstream-Status: Inappropriate [Musl-specific] + +Signed-off-by: Khem Raj +--- + gettext-tools/tests/msgcat-22 | 2 ++ + gettext-tools/tests/msgconv-2 | 2 ++ + gettext-tools/tests/msgconv-8 | 2 ++ + gettext-tools/tests/msgmerge-compendium-6 | 2 ++ + gettext-tools/tests/xgettext-python-3 | 2 ++ + 5 files changed, 10 insertions(+) + +diff --git a/gettext-tools/tests/msgcat-22 b/gettext-tools/tests/msgcat-22 +index 6047188..abe5877 100755 +--- a/gettext-tools/tests/msgcat-22 ++++ b/gettext-tools/tests/msgcat-22 +@@ -6,6 +6,8 @@ + # Note: This test fails on Linux with musl libc versions that don't support + # the GB18030 encoding in 'iconv'. + ++exit 77 ++ + cat <<\EOF > mcat-test22.po + msgid "" + msgstr "" +diff --git a/gettext-tools/tests/msgconv-2 b/gettext-tools/tests/msgconv-2 +index d286cda..b02e1be 100755 +--- a/gettext-tools/tests/msgconv-2 ++++ b/gettext-tools/tests/msgconv-2 +@@ -7,6 +7,8 @@ + # Note: This test fails on Linux with musl libc versions that don't support + # the BIG5 encoding in 'iconv'. + ++exit 77 ++ + cat <<\EOF > mco-test2.po + # Chinese translation for GNU gettext messages. + # +diff --git a/gettext-tools/tests/msgconv-8 b/gettext-tools/tests/msgconv-8 +index 207b0f0..618de0f 100755 +--- a/gettext-tools/tests/msgconv-8 ++++ b/gettext-tools/tests/msgconv-8 +@@ -6,6 +6,8 @@ + # Note: This test fails on Linux with musl libc versions that don't support + # the GB18030 encoding in 'iconv'. + ++exit 77 ++ + cat <<\EOF > mco-test8.po + msgid "" + msgstr "" +diff --git a/gettext-tools/tests/msgmerge-compendium-6 b/gettext-tools/tests/msgmerge-compendium-6 +index 59eb00e..d1d7f0d 100755 +--- a/gettext-tools/tests/msgmerge-compendium-6 ++++ b/gettext-tools/tests/msgmerge-compendium-6 +@@ -10,6 +10,8 @@ + # Note: This test fails on Linux with musl libc versions and on Solaris 11 + # (OpenIndiana, OmniOS) that don't support the EUC-KR encoding in 'iconv'. + ++exit 77 ++ + : ${MSGCONV=msgconv} + ${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.pot "$wabs_srcdir"/mm-ko.ascii.pot + +diff --git a/gettext-tools/tests/xgettext-python-3 b/gettext-tools/tests/xgettext-python-3 +index 1e13b57..ee1ffee 100755 +--- a/gettext-tools/tests/xgettext-python-3 ++++ b/gettext-tools/tests/xgettext-python-3 +@@ -6,6 +6,8 @@ + # Note: This test fails on Linux with musl libc versions that don't support + # the EUC-JP encoding in 'iconv'. + ++exit 77 ++ + cat <<\EOF > xg-py-3a.py + #!/usr/bin/env python + # TRANSLATORS: Fran���ois Pinard is a hero. diff --git a/meta/recipes-core/gettext/gettext_0.23.1.bb b/meta/recipes-core/gettext/gettext_0.23.1.bb index c704a3b6d7e..e160d4839dc 100644 --- a/meta/recipes-core/gettext/gettext_0.23.1.bb +++ b/meta/recipes-core/gettext/gettext_0.23.1.bb @@ -27,6 +27,7 @@ SRC_URI += " \ file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \ file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \ " +SRC_URI:append:libc-musl = " file://0001-Ignore-failing-tests-needing-BIG5-encoding-on-musl.patch" inherit autotools texinfo pkgconfig ptest @@ -51,6 +52,10 @@ EXTRA_OECONF:append:class-target = " \ gt_cv_locale_de=de_DE.ISO-8859-1 \ " +EXTRA_OECONF:append:libc-musl = "\ + --enable-threads=posix \ + gt_cv_func_printf_posix=yes \ +" PACKAGECONFIG ??= "glib libxml" PACKAGECONFIG:class-native = "" PACKAGECONFIG:class-nativesdk = "" @@ -174,7 +179,7 @@ do_install_ptest() { sed -i -e 's|${DEBUG_PREFIX_MAP}||g' ${D}${PTEST_PATH}/tests/init-env } -RDEPENDS:${PN}-ptest += "make xz bash gawk autoconf locale-base-de-de locale-base-fr-fr" +RDEPENDS:${PN}-ptest += "coreutils make xz bash gawk autoconf locale-base-de-de locale-base-fr-fr" RDEPENDS:${PN}-ptest:append:libc-glibc = "\ glibc-gconv-big5 \ glibc-charmap-big5 \ From patchwork Fri Aug 22 05:17:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 69017 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8365ACA0EED for ; Fri, 22 Aug 2025 05:17:41 +0000 (UTC) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.web10.2045.1755839852823969477 for ; Thu, 21 Aug 2025 22:17:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=H+4fc25J; spf=pass (domain: gmail.com, ip: 209.85.214.182, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-24626e06f04so6822045ad.2 for ; Thu, 21 Aug 2025 22:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1755839852; x=1756444652; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=L6C1OxrkABBf5Xy6RrIqfUAsVsRp3tbg/+8ph6r1Q6I=; b=H+4fc25JBFYz3SfFzRNTlNfGTEeO5cshm6QpHoOy4XrV1MCrQMdlohhpyHKWnC56mE ZuYnLhhxz7UJdQYxYs1v6Mp1jP962RHshwpK8Y9MSLfRWlMXFbbxbd1fnRtMrk995I2s mEQc5hFwhGRIQpu6TrJ4HdvL6JGkhMUf5aAVMyBEjExvtgWtF4aYqgdgceYIoBgtUcUu LXTn41V+AzVk+RnyffE5ssPzmuPzRYHOb3U3UcTFcHKgL7qPq7J/h3hotKDXMAZ5F7pU xIWINVHf2i4VSK0uXCFgPbHV8VKjFOsP+1XbBIWmuwB3e45aBan1nFb76rYx3ZAIadgL rYdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755839852; x=1756444652; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L6C1OxrkABBf5Xy6RrIqfUAsVsRp3tbg/+8ph6r1Q6I=; b=WkE7u3iVJgLS6fZPmsF4gwnXyNN+ujG+3c2fbuCaOKAojpez2ZQfkrnLeb/YKWgd82 6GFf6soDd0UyzSFcPI1uhM64vD8fN2T3KlV9FvvPsJkSizsAp5fwkAVR5W8J2zH0043O kBtGNIoJ8tS1VD2Rts7KAroer5BamFDXmdq++fGuAS/VD2CNLw4moFGWtwA66k7AxEoe gnmC8pfM+DrlJW3QevT+HULYQZIxlcN0pR/CLwmszj4dNoFZWVV9+JhT1d5qb6I5fA8j bXFT+R4WvYkhdtwv5tcuE7f4sNw873vs2zArphKLKT9qTZOJW+oRd7xnrbNf2GWURWIZ Ms7Q== X-Gm-Message-State: AOJu0YzyjFiswanoZo28207HS0crhRxhX9z4vbws0poCL24QTZX3oAXn zWVtjfW8sFm0sU7729jm9kxFvdR9QpVGgKIaxs6PDtOlyGOc4NQBvk2NEE9L0WdR X-Gm-Gg: ASbGncvanBTf3tMgyiADccjjP5/73hazTq8jCfcjG6XIt3y+h9lB0DAKZDniKF2m1rV 23RBQsOUvgSv7D+U0YvwJB7iXQU7pjShGIfPkv1bfhJQa5M6GlJml+1OkRz818vJCt97MQrSqHB RcKJ5Cmk+Sj0xVIqJ8cfoTaQeK6BR9jW7leatqvTaY8bWW3Nt6PnYCXSSlXhhcazZzjfMznq+4R lPvdOn7Nnvys2rcRyWBdTvQOS0SIaekCo0+/kxmhFH2eEqdhhSIB+2VKJOrK2hU0L0oPCMLgo7W CAeWRlBTd6pQg3/BJ3vOZPKUJWMeahDxHK9VmqocFKoGlysuT7nMrpoh+UtDBo10LI8SkfQvFT3 BQ1rf4+0xYAjCx4ilVzro1R3YUeVtrOiTfoF51wUC8lo0BgIuDyy5c7D+a+6GRKjyn3fuBX/mUz mB4rFCMsbBKg15Q9QY1KcUXmhnbA+V/inZ57E36s2jBQuO+8CgNQ== X-Google-Smtp-Source: AGHT+IHSeAsA3gk8JAzKSaZ0wjIqsmHuZxAP/C1Yr1/suAKCk50jqhfxrA67pD8kB0RdWRT3RCw0zQ== X-Received: by 2002:a17:903:3843:b0:240:44a6:5027 with SMTP id d9443c01a7336-2462ee86251mr25144895ad.15.1755839851863; Thu, 21 Aug 2025 22:17:31 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::adc2]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-245ed4ebf7dsm71631015ad.120.2025.08.21.22.17.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Aug 2025 22:17:30 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 3/3] gettext: Force UTF-8 runtime and skip requiring ISO-8859-1 Date: Thu, 21 Aug 2025 22:17:25 -0700 Message-ID: <20250822051726.2429206-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250822051726.2429206-1-raj.khem@gmail.com> References: <20250822051726.2429206-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 22 Aug 2025 05:17:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/222305 On musl, there is no real legacy (non-UTF-8) fr_FR locale. These tests are designed for libcs that ship both fr_FR (ISO-8859-1) and fr_FR.UTF-8. So the right thing will be to SKIP these tests Unsetting LOCALE_FR will ensure that it does not enable ISO-8859-1 path, so reset it in run-ptest but thats not enough because it is being set in the test's own init-env file as well so clear it in that file as well. Fixes Failed ptests: {'gettext': ['intl-2', 'intl-4', 'intl-thread-3', 'lang-sh', 'lang-bash']} Signed-off-by: Khem Raj --- meta/recipes-core/gettext/gettext_0.23.1.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meta/recipes-core/gettext/gettext_0.23.1.bb b/meta/recipes-core/gettext/gettext_0.23.1.bb index e160d4839dc..509438c2a7a 100644 --- a/meta/recipes-core/gettext/gettext_0.23.1.bb +++ b/meta/recipes-core/gettext/gettext_0.23.1.bb @@ -179,6 +179,16 @@ do_install_ptest() { sed -i -e 's|${DEBUG_PREFIX_MAP}||g' ${D}${PTEST_PATH}/tests/init-env } +do_install_ptest:append:libc-musl() { + # Force UTF-8 runtime and skip legacy fr_FR subcases + sed -i '3i export LANG=fr_FR.UTF-8; export LC_ALL=fr_FR.UTF-8' \ + ${D}${PTEST_PATH}/run-ptest + sed -i '3i export LOCALE_FR="none"; export LOCALE_FR_UTF8=fr_FR.UTF-8' \ + ${D}${PTEST_PATH}/run-ptest + sed -i -e 's|^LOCALE_FR="fr_FR.ISO-8859-1"|LOCALE_FR="none"|g' \ + ${D}${PTEST_PATH}/tests/init-env +} + RDEPENDS:${PN}-ptest += "coreutils make xz bash gawk autoconf locale-base-de-de locale-base-fr-fr" RDEPENDS:${PN}-ptest:append:libc-glibc = "\ glibc-gconv-big5 \