yocto 中的 Pulseaudio 构建问题 [英] Pulseaudio build issue in yocto

查看:316
本文介绍了yocto 中的 Pulseaudio 构建问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Raspberry Pi 3 B 型.我在构建 bitbake pulseaudio 时遇到了构建问题.请找到我的配置详细信息:

  1. Yocto:Jethro 分支
  2. pulseaudio.inc RDEPENDS_pulseaudio-server +=alsa-plugins-pulseaudio-conf"
  3. 我们使用的是 alsa-plugins_1.0.29.bb
  4. bitbake 脉冲音频

<块引用>

错误:没有提供'alsa-plugins-pulseaudio-conf'(但是/home/guest/openembedded-core/meta/recipes-multimedia/pulseaudio/pulseaudio_6.0.bb RDEPENDS on 或以其他方式要求它)

注意:运行时目标alsa-plugins-pulseaudio-conf"是不可构建的,删除...缺少或无法构建的依赖链是:['alsa-plugins-pulseaudio-conf']错误:所需的构建目标pulseaudio"没有可构建的提供程序.缺少或无法构建的依赖链是:['pulseaudio', 'alsa-plugins-pulseaudio-conf']

解决方案

如果pulseaudio"在 alsa-plugins PACKAGECONFIG 中,则会根据配方生成 alsa-plugins-pulseaudio-conf 包.默认情况下,如果您的 DISTRO_FEATURES 包含pulseaudio",就会发生这种情况.

因此请检查您的 DISTRO_FEATURES,确保pulseaudio"在其中(并确保您不会以错误的方式修改 alsa-plugins PACKAGECONFIG).

要查看您的 DISTRO_FEATURES 包含的内容:

bitbake -e pulseaudio |grep "^DISTRO_FEATURES="

如果现在不存在,则添加pulseaudio(您可以在本地或发行版配置中执行此操作):

DISTRO_FEATURES_append = " pulseaudio "

功能名称前的空格是必需的.

要检查什么 PACKAGECONFIG 用于 alsa 插件(这应该包含pulseaudio"):

bitbake -e alsa-plugins|grep "^PACKAGECONFIG="

I am using Raspberry Pi 3 model B. I am facing build issue while building bitbake pulseaudio. Please find my configuration details:

  1. Yocto : Jethro branch
  2. pulseaudio.inc RDEPENDS_pulseaudio-server += "alsa-plugins-pulseaudio-conf"
  3. we are using alsa-plugins_1.0.29.bb
  4. bitbake pulseaudio

ERROR: Nothing RPROVIDES 'alsa-plugins-pulseaudio-conf' (but /home/guest/openembedded-core/meta/recipes-multimedia/pulseaudio/pulseaudio_6.0.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'alsa-plugins-pulseaudio-conf' is unbuildable, removing... Missing or unbuildable dependency chain was: ['alsa-plugins-pulseaudio-conf'] ERROR: Required build target 'pulseaudio' has no buildable providers. Missing or unbuildable dependency chain was: ['pulseaudio', 'alsa-plugins-pulseaudio-conf']

解决方案

Based on the recipe the package alsa-plugins-pulseaudio-conf is generated if "pulseaudio" is in the alsa-plugins PACKAGECONFIG. By default that happens if your DISTRO_FEATURES includes "pulseaudio".

So check your DISTRO_FEATURES, ensure "pulseaudio" is in there (and make sure you don't modify the alsa-plugins PACKAGECONFIG in a bad way).

To see what your DISTRO_FEATURES contains:

bitbake -e pulseaudio |grep "^DISTRO_FEATURES="

To add pulseaudio if it's not there right now (you can do this in local or distro config):

DISTRO_FEATURES_append = " pulseaudio "

The whitespace preceding the feature name is required.

To check what PACKAGECONFIG is getting used for alsa-plugins (this should contain "pulseaudio"):

bitbake -e alsa-plugins|grep "^PACKAGECONFIG="

这篇关于yocto 中的 Pulseaudio 构建问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆