[OE-core] [question] rpm: nss problem on arm32be

Alexander Kanavin alex.kanavin at gmail.com
Fri Nov 23 11:13:12 UTC 2018


On Fri, 23 Nov 2018 at 08:55, Zheng, Ruoqin <zhengrq.fnst at cn.fujitsu.com> wrote:
> 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?

Most likely because nss upstream doesn't test that configuration? You
should probably report it there.

Alex


More information about the Openembedded-core mailing list