[OE-core] [question] rpm: nss problem on arm32be
Zheng, Ruoqin
zhengrq.fnst at cn.fujitsu.com
Fri Nov 23 07:54:54 UTC 2018
Hi All:
When I use rpm on arm32be, I found a Header SHA1 digest problem as follows:
# rpm -qpi test-manual-1.2.3-20181012.noarch.rpm
error: test-manual-1.2.3-20181012.noarch.rpm: Header SHA1 digest: BAD (Expected
f1deb7dc4a10742d88ccd1e967dbc62ae45095a5 !=4ad9d7dad6d70d6086eefec62612ad5d77f2fe81) => this value is wrong
error: test-manual-1.2.3-20181012.noarch.rpm: not an rpm package (or package manifest)
I found it is caused by the hash of nss, if I rebuild rpm with beecropt, this problem will be fix.
diff --git a/meta-ubinux/recipes-contrib/rpm/rpm_4.14.1.bb b/meta-ubinux/recipes-contrib/rpm/rpm_4.14.1.bb
EXTRA_OECONF_append = " --without-lua --enable-python"
+EXTRA_OECONF_append_armeb = " --with-crypto=beecrypt"
EXTRA_OECONF_append_libc-musl = " --disable-nls"
but I don't know why rpm with nss can't work well on arm32be, does anyone know the reason about it?
--------------------------------------------------
Zheng Ruoqin
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
Nanjing, 210012, China
MAIL : zhengrq.fnst at cn.fujistu.com
More information about the Openembedded-core
mailing list