[yocto] Plain package isn't built for alsa-lib in Poky

Caglayan, Alinur alinur.caglayan at accenture.com
Thu Oct 19 01:45:00 PDT 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171019/f7916ed8/attachment.html>


More information about the yocto mailing list