Order of PHP_MODULES on Alpine (musl) causes testing failures
未關閉
還沒有人認領這個 Issue。
Bug
Status: Needs Triage
- 主要語言
- C
- 星號
- 40.4k
- 分支
- 8.2k
- 平均合併
- 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