php / php/php-src

Order of PHP_MODULES on Alpine (musl) causes testing failures

オープン
#9,727 コメント 19 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Bug Status: Needs Triage
主要言語
C
スター
40.4k
フォーク
8.1k
平均マージ
2日 13時間
マージ済み PR(30日)
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。