From: Alexander Kanavin <[email protected]> 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 <[email protected]> --- .../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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#230509): https://lists.openembedded.org/g/openembedded-core/message/230509 Mute This Topic: https://lists.openembedded.org/mt/117632270/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
