[openbmc PATCH] poky/rpm: explicitly disable tomcrypt

Joel Stanley joel at jms.id.au
Tue Jun 28 21:07:25 AEST 2016


From: Andreas Oberritter <obi at opendreambox.org>

Configure autodetects libtomcrypt, but then it adds libtommath to
$LIBS and fails to link subsequent tests if it's unavailable.

| checking for pcre.h... yes
| checking for pcre_compile in -lpcre... no
| checking whether to build with PCRE library... no
| ++ executing failure action
| configure: error: unable to find usable PCRE library

(From OE-Core rev: 54665fb9e27ba1b0e4eddaf170303d4f2db66fae)

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
[upstream commit 71979b2ff7a0f78892435558e27bf0779367de55)
Signed-off-by: Joel Stanley <joel at jms.id.au>
---

This is required for building our current tree if your system has libtomcrypt
installed.

I sent a patch as I wasn't sure where we were with the Gerrit migration.


 yocto-poky/meta/recipes-devtools/rpm/rpm_5.4.16.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/yocto-poky/meta/recipes-devtools/rpm/rpm_5.4.16.bb b/yocto-poky/meta/recipes-devtools/rpm/rpm_5.4.16.bb
index cbdca88eaa8a..f2c12d2de1a6 100644
--- a/yocto-poky/meta/recipes-devtools/rpm/rpm_5.4.16.bb
+++ b/yocto-poky/meta/recipes-devtools/rpm/rpm_5.4.16.bb
@@ -328,6 +328,7 @@ EXTRA_OECONF += "--verbose \
 		--without-ruby \
 		--without-squirrel \
 		--without-sasl2 \
+		--without-tomcrypt \
 		--with-build-extlibdep \
 		--with-build-maxextlibdep \
 		--without-valgrind \
-- 
2.8.1



More information about the openbmc mailing list