Skip to content

Sprint 15: close-the-roadmap — macOS gmp build fix + known-limitation docs (v1.12.2)#25

Merged
devhardiyanto merged 4 commits into
mainfrom
sprint15-close-roadmap
Jul 23, 2026
Merged

Sprint 15: close-the-roadmap — macOS gmp build fix + known-limitation docs (v1.12.2)#25
devhardiyanto merged 4 commits into
mainfrom
sprint15-close-roadmap

Conversation

@devhardiyanto

@devhardiyanto devhardiyanto commented Jul 23, 2026

Copy link
Copy Markdown
Owner

What

Sprint 15 penutup — "close what's closeable". Menutup item backlog yang bisa dieksekusi bersih tanpa keputusan desain/produk: satu langkah build macOS + dua known-limitation doc. Bump 1.12.1 → 1.12.2.

Why

Menuntaskan sisa ROADMAP yang benar-benar actionable. Item lain (B8 split monolit, B11 FPM+nginx, B13 telemetry) sengaja ditunda karena butuh keputusan desain/produk terpisah, bukan effort.

How

  • B12 (macOS build): blocker CI terukur adalah gmp — keg-only di Homebrew dan tanpa file pkg-config, jadi PKG_CONFIG_PATH tak menemukannya dan configure gagal ("GNU MP Library version 4.2 or greater required"). Fix meniru pola --with-gettext yang sudah terbukti: pada Darwin+brew pakai --with-gmp=$(brew --prefix gmp). Linux tetap bare flag (system libgmp-dev) — tidak terpengaruh.
  • B3 / S10.5 (docs): dua entri known-limitation jujur supaya tidak dilaporkan sebagai bug.

Changes

  • linux/phpvm.sh — explicit gmp prefix pada macOS (Darwin-guarded)
  • README.md — entri troubleshooting sqlsrv/ODBC + section "Known limitations" (PECL hash won't-fix, macOS experimental)
  • version.txt + 4 sumber versi → 1.12.2

Paritas OS

Task kode (gmp) hanya menyentuh linux/phpvm.sh by-design: Windows memakai zip PHP prebuilt, tidak build-from-source, jadi tak ada counterpart Windows untuk flag configure. Bukan pelanggaran paritas 1:1.

Testing Done

  • bash -n linux/phpvm.sh OK
  • Version-consistency check (replika CI) PASS di 5 file
  • Build macOS penuh — hanya terverifikasi di macOS CI (non-gating); tidak bisa dibuild lokal

Tidak diambil (tetap di backlog)

  • B8 split monolit phpvm.ps1 — refactor berisiko, tipe improve (butuh preview+approval)
  • B11 PHP-FPM+nginx — L greenfield, butuh keputusan bentuk command phpvm fpm (kandidat v2.0)
  • B13 telemetry transport — blocked 4 keputusan endpoint

gmp is keg-only on Homebrew and ships no pkg-config file, so the
PKG_CONFIG_PATH prepend can't locate it and configure fails with
"GNU MP Library version 4.2 or greater required". Mirror the gettext
handling: on Darwin with brew, use --with-gmp=$(brew --prefix gmp).
Linux keeps the bare flag (system libgmp-dev).

devhardiyanto
Two honest known-limitation entries so users don't file them as bugs:
- Windows PECL DLLs aren't SHA-256 verified because windows.php.net
  publishes no checksums for PECL archives (B3, won't-fix upstream).
- ext install sqlsrv/pdo_sqlsrv needs the system-wide MS ODBC Driver;
  not a phpvm bug (S10.5).

devhardiyanto
Driver 18 defaults Encrypt=yes, so connections that worked on 17 fail
TLS against local/dev SQL Server with a self-signed cert. Document the
TrustServerCertificate/Encrypt workaround and the 2012+ requirement so
users don't blindly install 18.

devhardiyanto
@devhardiyanto
devhardiyanto merged commit ee81b55 into main Jul 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant