codrsquad / codrsquad/portable-python

possible incorrectness in libffi include dir assignment, doesn't seem impactful

未关闭
#61 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
86
派生
13
PR 合并指标
30 天内没有已合并 PR

描述

This looks like an obvious mistake but I don't think it matters because the pkgconfig files are correct and provide the path ultimately:

https://github.com/codrsquad/portable-python/blob/89a620140f6f7bb066f77774c23187d78cf96275/src/portable_python/cpython.py#L142

            if self.active_module(LibFFI):
                yield f"LIBFFI_INCLUDEDIR={self.deps_lib}"

I'll refrain from opening a PR because I'm not sure... it's possible that this is necessary due to libffi nuances and just looks wrong, but there's no comment or commit message to indicate if thats the case.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

阅读 src/portable_python/cpython.py 第 142 行,并将 LIBFFI_INCLUDEDIR 赋值与 issue 中提到的 libffi pkg-config 路径进行比较。检查该赋值是否会在 pkg-config 文件正确的情况下影响构建。如果仓库提供了针对性测试,则确认行为并使用该测试记录或修正差异后即视为完成。

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

评估

技术栈
python
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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