[OE-core] [PATCH 1/3] alsa-lib: Add an RPROVIDES for alsa-lib

Jason Wessel jason.wessel at windriver.com
Wed Mar 14 15:24:16 UTC 2018


# dnf install python-pyalsaaudio
Last metadata expiration check: 0:00:44 ago on Wed Mar 14 11:15:23 2018.
Error:
  Problem: conflicting requests
   - nothing provides alsa-lib needed by python-pyalsaaudio-0.8.4-r0.1.core2_64

---
The python-pyalsaaudio recipe in question did the following:

DEPENDS += "alsa-lib"

RDEPENDS_${PN} += "\
         alsa-lib \
"

Obviously since nothing provides that, it isn't going to work. It is probably better in this case to change the python recipe to RDEPENDS on libasound which is what the alsa-lib recipe generates.  I can understand how the author of the python recipe might have been confused, but it begs the question of how it worked in the first place.  :-)

I can reach out to the owner of the layer that provided the recipe and you can drop this patch.

Jason.

On 03/14/2018 09:51 AM, Burton, Ross wrote:
> This sounds very odd.  Can you give an example of this happening?
>
> Ross
>
> On 13 March 2018 at 03:08, Jason Wessel <jason.wessel at windriver.com <mailto:jason.wessel at windriver.com>> wrote:
>
>     There are a number of other recipes outside oe-core that depend on
>     alsa-lib and the rpm4 dependencies resolve sometimes to include
>     alsa-lib and the packages in the other layers fail to install because
>     the dependency cannot be resolved, despite the fact that libasound is
>     installed.
>
>     The simple is to add an RPROVIDES for alsa-lib to libasound which
>     provides all the shared objects for alsa.
>
>     Signed-off-by: Jason Wessel <jason.wessel at windriver.com <mailto:jason.wessel at windriver.com>>
>     ---
>      meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb <http://alsa-lib_1.1.5.bb> | 1 +
>      1 file changed, 1 insertion(+)
>
>     diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb <http://alsa-lib_1.1.5.bb> b/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb <http://alsa-lib_1.1.5.bb>
>     index c5bf107..f7f01e8 100644
>     --- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb <http://alsa-lib_1.1.5.bb>
>     +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb <http://alsa-lib_1.1.5.bb>
>     @@ -25,6 +25,7 @@ FILES_alsa-server = "${bindir}/*"
>      FILES_alsa-conf = "${datadir}/alsa/"
>
>      RDEPENDS_libasound = "alsa-conf"
>     +RPROVIDES_libasound = "alsa-lib"
>
>      # alsa-lib gets automatically added to alsa-lib-dev dependencies, but the
>      # alsa-lib package doesn't exist. libasound is the real library package.
>     --
>     2.7.4
>
>     --
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core at lists.openembedded.org <mailto:Openembedded-core at lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180314/98440170/attachment-0002.html>


More information about the Openembedded-core mailing list