From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: [PATCH] Revert "libconfig: add ptest support"
Date: Wed, 4 Feb 2026 12:04:39 +0100 [thread overview]
Message-ID: <20260204110439.2688729-1-alex.kanavin@gmail.com> (raw)
From: Alexander Kanavin <alex@linutronix.de>
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 <alex@linutronix.de>
---
.../distro/include/ptest-packagelists.inc | 1 -
.../libconfig/libconfig/run-ptest | 16 ----------------
.../libconfig/libconfig_1.8.2.bb | 19 +------------------
3 files changed, 1 insertion(+), 35 deletions(-)
delete mode 100755 meta/recipes-extended/libconfig/libconfig/run-ptest
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<pver>\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
-}
--
2.47.3
reply other threads:[~2026-02-04 11:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260204110439.2688729-1-alex.kanavin@gmail.com \
--to=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox