Order of PHP_MODULES on Alpine (musl) causes testing failures
未关闭
还没有人认领这个 Issue。
Bug
Status: Needs Triage
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.1k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
Description
Across multiple PHP versions (7.2.x, 7.3.x, 7,4.x, 8.x), when building on Alpine Linux I have had to edit the Makefile and reorder the libraries in the PHP_MODULES variable so the tests run, otherwise all tests fail because a library relied on a prerequisite that was loaded out of order.
I'm guessing this doesn't occur on distributions that don't use something like musl libc, which might be somewhat maliciously compliant when it comes to handling libraries at runtime like this.
PHP Version
8.1.11
Operating System
Alpine Linux
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
先从 Makefile 和报告中提到的 PHP_MODULES 变量入手,然后在受支持的 PHP 版本上,在 Alpine Linux 中复现测试失败。追踪是哪种模块加载顺序导致失败,并通过运行测试套件验证调整后的顺序;完成的标准是在 Alpine 上无需手动编辑 Makefile 即可通过测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- linux, php
- 领域
- build-system, operating-systems, testing-qa
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 32/100