]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
gnupg: disable tests to avoid running target binaries at build time
authorGuocai He <guocai.he.cn@windriver.com>
Fri, 8 Aug 2025 09:00:09 +0000 (17:00 +0800)
committerSteve Sakoman <steve@sakoman.com>
Mon, 11 Aug 2025 17:09:09 +0000 (10:09 -0700)
By default, the tests are built and run at do_compile and we can see
errors like below in log.do_compile:

gnupg-2.3.7/tests/cms/inittests: line 99: ../../sm/gpgsm: cannot execute binary file: Exec format error

Note that the do_compile process still succeeds. However, we'd better avoid
executing these target binaries at build time.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(master rev: 74d48497470ce209bc6bdf49c2e2cfda67dce6ae)

Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-support/gnupg/gnupg_2.3.7.bb

index 461ec6687cf17375aea2cd18164108f55a9c2039..27b2d3682a9efd799a29c3d50787ae421524b1b8 100644 (file)
@@ -37,6 +37,7 @@ EXTRA_OECONF = "--disable-ldap \
                --with-readline=${STAGING_LIBDIR}/.. \
                --with-mailprog=${sbindir}/sendmail \
                --enable-gpg-is-gpg2 \
+               --disable-tests \
                "
 
 # A minimal package containing just enough to run gpg+gpgagent (E.g. use gpgme in opkg)