Skip to contentSkip to conversation

m4: Adjust ptest dependencies

PATCH Superseded Khem Raj 2 participants 2 messages Jun 4, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 m4: Adjust ptest dependencies

This ensures the dependencies match across musl and glibc additional deps on iso8859 gconv/locale seems to be not needed anymore for glibc tests

---
 meta/recipes-devtools/m4/m4-1.4.20.inc | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
meta/recipes-devtools/m4/m4-1.4.20.inc +1 -6
index 0640395050a..33b17f05194 100644
@@ -49,9 +49,4 @@ do_install_ptest:append:libc-glibc() {
                        -e  "s;LOCALE_FR_UTF8='none';LOCALE_FR_UTF8='fr_FR.utf8';g" ${D}${PTEST_PATH}/tests/Makefile
 }
 
-RDEPENDS:${PN}-ptest += "make coreutils diffutils bash"
-RDEPENDS:${PN}-ptest:append:libc-glibc = "\
-     locale-base-fr-fr \
-     locale-base-fr-fr.iso-8859-1 \
-     glibc-gconv-iso8859-1 \
-"
+RDEPENDS:${PN}-ptest += "make coreutils diffutils bash locale-base-fr-fr"
#1 lore raw
Quoted 6 lines · Khem Raj via lists.openembedded.org

This ensures the dependencies match across musl and glibc additional deps on iso8859 gconv/locale seems to be not needed anymore for glibc tests

---

Hi Khem,

It looks like this is breaking some ptests:

Failed ptests:
{'m4': ['test-btoc32-2.sh',

        'test-btowc-2.sh',
        'test-c-strcasecmp.sh',
        'test-c-strncasecmp.sh',
        'test-c32isalnum.sh',
        'test-c32isalpha.sh',
        'test-c32isblank.sh',
        'test-c32iscntrl.sh',
        'test-c32isdigit.sh',
        'test-c32isgraph.sh',
        'test-c32islower.sh',
        'test-c32isprint.sh',
        'test-c32ispunct.sh',
        'test-c32isspace.sh',
        'test-c32isupper.sh',
        'test-c32isxdigit.sh',
        'test-c32rtomb.sh',
        'test-c32tolower.sh',
        'test-iconv',
        'test-iswdigit.sh',
        'test-iswxdigit.sh',
        'test-mbrtoc32-2.sh',
        'test-mbrtowc-2.sh',
        'test-setlocale1.sh',
        'test-striconv',
        'test-strtod1.sh',
        'test-wcrtomb.sh']}

https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/1630
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/1629

Can you have a look at these please?

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com