简体   繁体   English

Pulseaudio在yocto中构建问题

[英]Pulseaudio build issue in yocto

I am using Raspberry Pi 3 model B. I am facing build issue while building bitbake pulseaudio. 我正在使用Raspberry Pi 3模型B.我在构建bitbake pulseaudio时面临构建问题。 Please find my configuration details: 请查看我的配置详细信息:

  1. Yocto : Jethro branch Yocto:Jethro分支
  2. pulseaudio.inc RDEPENDS_pulseaudio-server += "alsa-plugins-pulseaudio-conf" pulseaudio.inc RDEPENDS_pulseaudio-server + =“alsa-plugins-pulseaudio-conf”
  3. we are using alsa-plugins_1.0.29.bb 我们正在使用alsa-plugins_1.0.29.bb
  4. bitbake pulseaudio 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) 错误:没有RPROVIDES'alsa-plugins-pulseaudio-conf'(但/home/guest/openembedded-core/meta/recipes-multimedia/pulseaudio/pulseaudio_6.0.bb RDEPENDS on或以其他方式要求)

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. 注意:运行时目标'alsa-plugins-pulseaudio-conf'是不可构建的,删除...缺少或不可构建的依赖链是:['alsa-plugins-pulseaudio-conf']错误:所需的构建目标'pulseaudio'没有可构建的提供者。 Missing or unbuildable dependency chain was: ['pulseaudio', 'alsa-plugins-pulseaudio-conf'] 缺失或不可建立的依赖链是:['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. 根据配方,如果alsa-plugins PACKAGECONFIG中有“pulseaudio”,则会生成包alsa-plugins-pulseaudio-conf。 By default that happens if your DISTRO_FEATURES includes "pulseaudio". 默认情况下,如果您的DISTRO_FEATURES包含“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). 所以检查你的DISTRO_FEATURES,确保“pulseaudio”在那里(并确保你不要以糟糕的方式修改alsa-plugins PACKAGECONFIG)。

To see what your DISTRO_FEATURES contains: 要查看您的DISTRO_FEATURES包含的内容:

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): 要添加pulseaudio,如果它现在不存在(您可以在本地或发行版配置中执行此操作):

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"): 要检查PACKAGECONFIG用于alsa-plugins的内容(这应该包含“pulseaudio”):

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM