Note that the alsa-lib package doesn't actually put the library alsa-lib but the libasound package, the alsa-lib package could not exist (or for most recent releases, it exists but only contains card data files). So if you're depending on alsa-lib to get the library then that's not the right name.
Ross On 19 October 2017 at 09:45, Caglayan, Alinur <alinur.cagla...@accenture.com > wrote: > Hello, > > > > I am trying to build a custom image. Alsa-lib is being compiled and > packaged successfully, so Bitbake says. However, it only generates -dbg and > -dev packages. So while in function do_rootfs, I get “Unable to install > packages, Collected errors: opkg_prepare_url_for_install: Couldn't find > anything to satisfy 'alsa-lib'.” error. I’ve done some research and found > this: https://lists.yoctoproject.org/pipermail/yocto/2013-July/014975.html > > > > I tried to add FILES_${PN} to alsa-lib.bb since it doesn’t have it, but > it didn’t work out. In > /build/tmp/work/machine/alsa-lib/version/pkgdata/runtime/, > there are informations about packages. Even though FILES_* and FILES_INFO > are filled with file information for -dbg and -dev, plain doesn’t contain > anything. > > > > Here’s my package data for plain package: > > PN: alsa-lib > > PV: 1.1.3 > > PR: r0 > > PKGV: 1.1.3 > > PKGR: r0 > > LICENSE: LGPLv2.1 & GPLv2+ > > DESCRIPTION: ALSA sound library. > > SUMMARY: ALSA sound library > > SECTION: libs/multimedia > > PKG_alsa-lib: alsa-lib > > FILES_alsa-lib: /usr/bin/* /usr/sbin/* > > FILES_INFO: {} > > PKGSIZE_alsa-lib: 0 > > > > Here’s my package data for debug package: > > PN: alsa-lib > > PV: 1.1.3 > > PR: r0 > > PKGV: 1.1.3 > > PKGR: r0 > > LICENSE: LGPLv2.1 & GPLv2+ > > DESCRIPTION_alsa-lib-dbg: ALSA sound library. This package contains ELF > symbols and related sources for debugging purposes. > > SUMMARY_alsa-lib-dbg: ALSA sound library - Debugging files > > RRECOMMENDS_alsa-lib-dbg: glibc-dbg libasound-dbg > > SECTION_alsa-lib-dbg: devel > > PKG_alsa-lib-dbg: alsa-lib-dbg > > ALLOW_EMPTY_alsa-lib-dbg: 1 > > FILES_alsa-lib-dbg: /usr/lib/debug /usr/src/debug > > FILES_INFO: > {"/usr/src/debug/alsa-lib/1.1.3-r0/alsa-lib-1.1.3/src/seq/seq_hw.c": > 15085, ...} # It’s pretty long > > PKGSIZE_alsa-lib-dbg: 6174238 > > > > Thanks. > > ------------------------------ > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise confidential information. If you have > received it in error, please notify the sender immediately and delete the > original. Any other use of the e-mail by you is prohibited. Where allowed > by local law, electronic communications with Accenture and its affiliates, > including e-mail and instant messaging (including content), may be scanned > by our systems for the purposes of information security and assessment of > internal compliance with Accenture policy. > ____________________________________________________________ > __________________________ > > www.accenture.com > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto