[yocto] do_rootfs failure: no package provides [required library].so()(64bit)
Ben Randall
ben.randall.2011 at gmail.com
Wed Mar 25 16:45:17 PDT 2015
Hello friends,
I'm trying to put together a recipe for the Ceph stack since I
couldn't find one in the wild. Right now I have Ceph and all of its
dependencies compiling, however the build process fails during
do_rootfs. Here is the relevant build output:
Warning during do_package_write_rpm:
"WARNING: QA Issue: ceph requires libcryptopp.so()(64bit), but no
providers in its RDEPENDS [file-rdeps]"
Error during do_rootfs:
"ERROR: Unable to install packages. Command [path]/smart --quiet
--data-dir=[path]/smart install -y [packages listed in
IMAGE_INSTALL]@[core2_64 OR genericx86_64] returned 1:
error: Can't install ceph-0.93-40 at core2_64: no package provides
libcryptopp.so()(64bit)"
I believe the issue involves Ceph not identifying or linking against
the required library libcryptopp/crypto++. I'm including libcryptopp
via a recipe found here:
https://github.com/coldnew/meta-coldnew/tree/master/recipes-support/cryptopp.
I added additional pkg-config .pc files and aliases to cryptopp's
RPROVIDES to accommodate the variety of naming conventions that
surround it (cryptopp, crypto++, libcryptopp, libcrypto++), but other
than that the recipe is stock.
I can confirm that libcryptopp is being built and staged (in
package/usr/lib/, packages-split/libcryptopp/usr/lib/,
sysroot-destdir/usr/lib/, and image/usr/lib/). Also, I will note that
this package and its dependencies are building for core2_64 while my
MACHINE target is genericx86_64. I don't think that should be a
problem though...
Thanks for your time!
Ben
More information about the yocto
mailing list