我不确定这是否是问这个问题的最合适的地方,但我还是尝试了。我必须将Python aiortc库集成到一个嵌入式系统中,该系统使用Yocto构建整个环境。
因为没有这样的库,所以我在this教程之后使用pipoe生成了一个库。
使用命令:pipoe --package aiortc --version 0.9.28 --python python3
我在自定义层中生成了几个bb文件,例如:python3-aioice_xx.xx.bb、python3-aiortc_xx.xx.bb、python3-cffi_xx.xx.bb等等(我认为这些是依赖项)
现在我想编译这个配方来检查是否所有东西都用命令进行了排序:bitbake python3-aiortc
,它似乎进行得很好,找到了所有需要的文件,直到this错误发生,我不知道如何解决它。有人能帮我吗
我认为一些相关的方面是:
ERROR: python3-aiortc-0.9.28-r0 do_configure: Function failed: do_configure
ERROR: Do not try to fetch `cffi>=1.0.0' for building. Please add its native recipe to DEPENDS.
ERROR: python3-pyee-7.0.1-r0 do_configure: Function failed: do_configure
查看我链接的完整日志以获取更多信息
==编辑===
添加了python3 aiortc配方内容
SUMMARY = "An implementation of WebRTC and ORTC"
HOMEPAGE = "https://github.com/aiortc/aiortc"
AUTHOR = "Jeremy Lainé <jeremy.laine@m4x.org>"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=907b5e856b2e6bcd8a3cc8d338a6166f"
SRC_URI = "https://files.pythonhosted.org/packages/1a/34/d9c8e19b4d5157721a5b77750116c6bb6355f1d85b92e7de491269b9ee51/aiortc-0.9.28.tar.gz"
SRC_URI[md5sum] = "50dc651d643b16c95b0e1ad259baeb51"
SRC_URI[sha256sum] = "4a41122e043a75c93a80dbb6d884b6f7cf27b774ebdef226d819a2c3a997c550"
S = "${WORKDIR}/aiortc-0.9.28"
RDEPENDS_${PN} = "python3-aioice python3-av python3-cffi python3-crc32c python3-cryptography python3-pyee python3-pylibsrtp"
inherit setuptools3
你的食谱取决于其他食谱。我猜你没有
如果您有它们,您可能需要将它们添加到local.conf中的IMAGE\u INSTALL\u append中
如果没有,可以尝试在OpenEmbedded索引中搜索,例如: https://layers.openembedded.org/layerindex/branch/master/recipes/?q=cffi
相关问题 更多 >
编程相关推荐