<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><br>
# dnf install python-pyalsaaudio <br>
Last metadata expiration check: 0:00:44 ago on Wed Mar 14 11:15:23
2018.<br>
Error: <br>
Problem: conflicting requests<br>
- nothing provides alsa-lib needed by
python-pyalsaaudio-0.8.4-r0.1.core2_64<br>
<br>
---<br>
The python-pyalsaaudio recipe in question did the following:<br>
<br>
DEPENDS += "alsa-lib"<br>
<br>
RDEPENDS_${PN} += "\<br>
alsa-lib \<br>
"<br>
<br>
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. :-)<br>
<br>
I can reach out to the owner of the layer that provided the recipe
and you can drop this patch. <br>
<br>
Jason. <br>
<br>
On 03/14/2018 09:51 AM, Burton, Ross wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJTo0LYc-dw8EUdC7Zcv_o4WfcE82P9JmVjhRUgX_S4m40h6wA@mail.gmail.com">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<div dir="ltr">This sounds very odd. Can you give an example of
this happening?
<div><br>
</div>
<div>Ross</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 13 March 2018 at 03:08, Jason Wessel
<span dir="ltr"><<a
href="mailto:jason.wessel@windriver.com" target="_blank"
moz-do-not-send="true">jason.wessel@windriver.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote">There are a number of other
recipes outside oe-core that depend on<br>
alsa-lib and the rpm4 dependencies resolve sometimes to
include<br>
alsa-lib and the packages in the other layers fail to
install because<br>
the dependency cannot be resolved, despite the fact that
libasound is<br>
installed.<br>
<br>
The simple is to add an RPROVIDES for alsa-lib to libasound
which<br>
provides all the shared objects for alsa.<br>
<br>
Signed-off-by: Jason Wessel <<a
href="mailto:jason.wessel@windriver.com"
moz-do-not-send="true">jason.wessel@windriver.com</a>><br>
---<br>
meta/recipes-multimedia/alsa/<a
href="http://alsa-lib_1.1.5.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">a<wbr>lsa-lib_1.1.5.bb</a>
| 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/meta/recipes-multimedia/<wbr>alsa/<a
href="http://alsa-lib_1.1.5.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">alsa-lib_1.1.5.bb</a>
b/meta/recipes-multimedia/<wbr>alsa/<a
href="http://alsa-lib_1.1.5.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">alsa-lib_1.1.5.bb</a><br>
index c5bf107..f7f01e8 100644<br>
--- a/meta/recipes-multimedia/<wbr>alsa/<a
href="http://alsa-lib_1.1.5.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">alsa-lib_1.1.5.bb</a><br>
+++ b/meta/recipes-multimedia/<wbr>alsa/<a
href="http://alsa-lib_1.1.5.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">alsa-lib_1.1.5.bb</a><br>
@@ -25,6 +25,7 @@ FILES_alsa-server = "${bindir}/*"<br>
FILES_alsa-conf = "${datadir}/alsa/"<br>
<br>
RDEPENDS_libasound = "alsa-conf"<br>
+RPROVIDES_libasound = "alsa-lib"<br>
<br>
# alsa-lib gets automatically added to alsa-lib-dev
dependencies, but the<br>
# alsa-lib package doesn't exist. libasound is the real
library package.<br>
<span class="HOEnZb">--<br>
2.7.4<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org"
moz-do-not-send="true">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a
href="http://lists.openembedded.org/mailman/listinfo/openembedded-core"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</span></blockquote>
</div>
<br>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>