On Wed, Feb 22, 2012 at 7:12 AM, Richard Purdie <[email protected]> wrote: > > On Tue, 2012-02-21 at 18:50 -0500, Brandon Stafford wrote: > > In trying to build core-image-basic, it seems that libusb-compat > > cannot be found: > > > > | Collected errors: > > | * satisfy_dependencies_for: Cannot satisfy the following > > dependencies for task-core-basic: > > | * libusb-compat (>= 0.1.3) * > > | * opkg_install_cmd: Cannot install package task-core-basic. > > NOTE: package core-image-basic-1.0-r0: task do_rootfs: Failed > > > > However, it seems like libusb-compat should be findable: > > > > :~/oe-core/build$ ls ../meta/recipes-support/libusb/ > > libusb1_1.0.8.bb libusb-compat-0.1.3 libusb-compat_0.1.3.bb > > > > Do I need to tell bitbake to look in recipes-support explicitly? > > The above error looks like its from the rootfs generation and not from > bitbake itself. > > The first question is did it build libusb-compat at all? Are there any > stamps for this in tmp/stamps/*/libusb-compat* or files in > tmp/work/*/libusb-compat* that would suggest that it did?
Thanks for the suggestions, Richard. Answers below. Yes, some stamps exist, but fewer than I would expect. I don't see a do_compile step. :~/oe-core/build/tmp-eglibc/stamps$ find . -name libusb-compat* ./armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3.do_package_write ./armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3.do_populate_lic_setscene ./armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3.do_package_setscene.qemuarm ./armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3.do_package_write_ipk_setscene ./armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3.do_populate_sysroot_setscene.qemuarm However, it does look like binaries were created. For example, here is a 13 kB ELF file: tmp-eglibc/work/armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3/packages-split/libusb-compat/lib/libusb-0.1.so.4.4.4 :~/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3$ ls -lh packages-split/libusb-compat/lib total 16K lrwxrwxrwx 1 rascal rascal 19 2012-02-14 09:03 libusb-0.1.so.4 -> libusb-0.1.so.4.4.4 -rwxr-xr-x 1 rascal rascal 13K 2012-02-14 09:03 libusb-0.1.so.4.4.4 :~/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3$ file packages-split/libusb-compat/lib/libusb-0.1.so.4.4.4 packages-split/libusb-compat/lib/libusb-0.1.so.4.4.4: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, stripped > Secondly, did it place any libusb-compat package into tmp/deploy/ipk/* ? It did not: :~/oe-core/build/tmp-eglibc/deploy/ipk$ find . -name libusb-compat* However, there are a bunch of libusb packages: :~/oe-core/build/tmp-eglibc/deploy/ipk$ find . -name libusb* ./armv5te/libusb-0.1-dbg_0.1.3-r3_armv5te.ipk ./armv5te/libusb-1.0-0_1.0.8-r3_armv5te.ipk ./armv5te/libusb-1.0-dbg_1.0.8-r3_armv5te.ipk ./armv5te/libusb-1.0-dev_1.0.8-r3_armv5te.ipk ./armv5te/libusb-1.0-staticdev_1.0.8-r3_armv5te.ipk ./armv5te/libusb-0.1-dev_0.1.3-r3_armv5te.ipk ./armv5te/libusb-0.1-4_0.1.3-r3_armv5te.ipk ./armv5te/libusb-0.1-staticdev_0.1.3-r3_armv5te.ipk If I understand how do_rootfs works from http://docs.openembedded.org/usermanual/usermanual.html#rootfs_ipkg_class, it seems like the ipk is not being built correctly, so do_rootfs can't pull it into the filesystem image. I'm not sure where to go from here. It looks like at least some code was compiled, but somehow it's not getting packaged right. Brandon _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
