archlinuxcn / repo

Arch Linux CN Repository
1.5k stars 290 forks source link

python-androguard 运行错误,缺少依赖 #3870

Closed dongfengweixiao closed 2 months ago

dongfengweixiao commented 2 months ago

问题类型 / Type of issues

受影响的软件包 / Affected packages


https://androguard.readthedocs.io/en/latest/intro/axml.html#decode-any-other-xml-file 链接给出的文档,执行命令,存在以下错误:

暂时只排除到这些依赖,其中 python-frida(aur)无法编译为 Arch Linux 下的安装包(同时验证了本地编译和 GitHub action 编译)。

Integral-Tech commented 2 months ago

I have added the following packages into archlinuxcn, but python-frida failed to build. The depends field of python-androguard has been updated.

oldherl commented 2 months ago

[archlinuxcn] should not contain a package that have a (non-optional) dependency outside of [core], [extra] and [archlinuxcn].

dongfengweixiao commented 2 months ago

I have added the following packages into archlinuxcn, but python-frida failed to build. The depends field of python-androguard has been updated.

python-frida 打包失败,之前在tg群中有询问过。

有趣的现象是,将https://files.pythonhosted.org/packages/source/f/${_pkgname}/${_pkgname}-${pkgver}.tar.gz源码直接下载解压后,进入源码目录执行python -m build --wheel --no-isolation可以生成whl格式的包。

oldherl commented 2 months ago

这是因为 python-frida 包的打包脚本中有在隔离环境下无法正常运行的命令,需要修正。在修正以前,应先将 python-androguard 从 [archlinuxcn] 中移除

dongfengweixiao commented 2 months ago

这是因为 python-frida 包的打包脚本中有在隔离环境下无法正常运行的命令,需要修正。在修正以前,应先将 python-androguard 从 [archlinuxcn] 中移除

+1,支持。python-androguard 包基本不可用,依赖不完整之前没有必要保留在仓库中。

Integral-Tech commented 2 months ago

已从 [archlinuxcn] 仓库中移除 python-fridapython-androguard https://github.com/archlinuxcn/repo/commit/5883b22ac4ce0212540ad05d14be0e463695d166 https://github.com/archlinuxcn/repo/commit/82cd64e4512f367a6765e01324fa2d7554bd504c