From: Alexander Kanavin Date: Wed, 4 Feb 2026 11:04:39 +0000 (+0100) Subject: Revert "libconfig: add ptest support" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bad92fd26cd6699156f863d9d7d386ba8c385e52;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git Revert "libconfig: add ptest support" This reverts commit 4c31a7b410fc9c14815c6853431c7bd56c0e173c. It is cauding package_qa and reproducibility issues: ERROR: lib32-libconfig-1.8.2-r0 do_package_qa: QA Issue: File /usr/lib/libconfig/ptest/tests/libconfig_tests in package lib32-libconfig-ptest contains reference to TMPDIR [buildpaths] ERROR: lib32-libconfig-1.8.2-r0 do_package_qa: QA Issue: /usr/lib/libconfig/ptest/tests/libconfig_tests contained in package lib32-libconfig-ptest requires /bin/bash, but no providers found in RDEPENDS:lib32-libconfig-ptest? [file-rdeps] https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3165 Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index df8b0eae8d..b9616e9bf4 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -29,7 +29,6 @@ PTESTS_FAST = "\ json-c \ json-glib \ libcheck \ - libconfig \ libconvert-asn1-perl \ libexif \ libgpg-error\ diff --git a/meta/recipes-extended/libconfig/libconfig/run-ptest b/meta/recipes-extended/libconfig/libconfig/run-ptest deleted file mode 100755 index d81fcf4def..0000000000 --- a/meta/recipes-extended/libconfig/libconfig/run-ptest +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -cd tests - -for t in libconfig_tests; do - if [ -x ./$t ]; then - ./$t - if [ $? -eq 0 ]; then - echo "PASS: $t" - else - echo "FAIL: $t" - fi - else - echo "SKIP: $t" - fi -done diff --git a/meta/recipes-extended/libconfig/libconfig_1.8.2.bb b/meta/recipes-extended/libconfig/libconfig_1.8.2.bb index f4319545f3..6e08a7b04b 100644 --- a/meta/recipes-extended/libconfig/libconfig_1.8.2.bb +++ b/meta/recipes-extended/libconfig/libconfig_1.8.2.bb @@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=17c8e32f0f72580cc2906b409d46b5ac" SRC_URI = " \ git://github.com/hyperrealm/libconfig.git;protocol=https;branch=master;tag=v${PV} \ - file://run-ptest \ " SRCREV = "a42cb47c1526a4f2ed025fcbb2289863375bc898" @@ -18,7 +17,7 @@ DEPENDS += "bison-native flex-native" UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)+)$" -inherit autotools pkgconfig ptest +inherit autotools pkgconfig PACKAGE_BEFORE_PN = "${PN}++" FILES:${PN}++ = "${libdir}/${BPN}++*${SOLIBS}" @@ -28,19 +27,3 @@ do_compile:prepend() { rm -f ${S}/lib/grammar.[ch] rm -f ${S}/lib/scanner.[ch] } - -do_compile_ptest() { - oe_runmake -C tests check TESTS= -} - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - - if [ -f ${B}/tests/libconfig_tests ]; then - libtool --mode=install install -m 0755 ${B}/tests/libconfig_tests ${D}${PTEST_PATH}/tests/libconfig_tests - fi - - if [ -d ${S}/tests/testdata ]; then - cp -r ${S}/tests/testdata ${D}${PTEST_PATH}/tests/ - fi -}