kivy / kivy/python-for-android

enaml recipe build fail

未关闭
#2,804 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug recipe
主要语言
Python
星标
8.9k
派生
2k
平均合并
12 小时 20 分钟
30 天内合并 PR
9

描述

### Logs

```
[1m[INFO][0m: [36m-> directory context /home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/atom/arm64-v8a__ndk_target_21/atom[39m
[1m[90m[DEBUG][39m[0m: [90m->[0m running python3 setup.py build_ext -v[0m
[1m[90m[DEBUG][39m[0m: Traceback (most recent call last):
[1m[90m[DEBUG][39m[0m: File "/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/atom/arm64-v8a__ndk_target_21/atom/setup.py", line 13, in
[1m[90m[DEBUG][39m[0m: from cppy import CppyBuildExt
[1m[90m[DEBUG][39m[0m: ImportError: cannot import name 'CppyBuildExt' from 'cppy' (/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/cppy/__init__.py)
[1m[90m[DEBUG][39m[0m:
[1m[90m[DEBUG][39m[0m: The above exception was the direct cause of the following exception:
[1m[90m[DEBUG][39m[0m:
[1m[90m[DEBUG][39m[0m: Traceback (most recent call last):
[1m[90m[DEBUG][39m[0m: File "/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/atom/arm64-v8a__ndk_target_21/atom/setup.py", line 15, in
[1m[90m[DEBUG][39m[0m: raise RuntimeError(
[1m[90m[DEBUG][39m[0m: RuntimeError: Missing setup required dependencies: cppy. Installing through pip as recommended ensure one never hits this issue.
```

贡献指南

打开贡献指南

调研方向

Start by examining the enaml recipe's setup.py and reproducing the Android build failure shown in the logs. Investigate why cppy does not provide CppyBuildExt in the host Python environment; done means the recipe builds without the reported ImportError.

由索引模型根据 Issue 内容生成。

评估

技术栈
android, python
领域
build-system, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。