Skip to content

Build igbinary from unpatched upstream master on PHP 8.6 - #213

Merged
eiriksm merged 1 commit into
mainfrom
ccr-b7f1ef14-cm6hpo
Nov 30, 2026
Merged

eiriksm merged 1 commit into
mainfrom
ccr-b7f1ef14-cm6hpo

Conversation

@eiriksm

@eiriksm eiriksm commented Nov 30, 2026

Copy link
Copy Markdown
Member

The PHP 8.6 build on main is failing (and fail-fast cancels every other version) because php-install.sh clones igbinary master and cherry-picks igbinary/igbinary#419 on top. Upstream has since landed that fix in master itself, so the cherry-pick now ends in a merge conflict in src/php7/igbinary.c.

Change

  • Drop the cherry-pick and the -DXtOffsetOf=offsetof -Dzval_dtor=zval_ptr_dtor_nogc CFLAGS shims; upstream master no longer needs either.
  • Fold 8.6 into the existing 8.5 case, since both now just build upstream master.

Testing

  • Built current igbinary master against php:8.6-cli (PHP 8.6.0) with no patches: compiles cleanly, and its test suite passes (169 passed, 20 skipped, 0 failed).
  • Not run locally: the full Alpine docker build, so CI on this PR is the end-to-end check.

Generated by Claude Code

Upstream merged its own PHP 8.6 fix, so cherry-picking
igbinary/igbinary#419 on top of master now conflicts and fails the
8.6 build. Master builds cleanly on 8.6 without the cherry-pick or the
XtOffsetOf/zval_dtor CFLAGS shims, so share the 8.5 build path.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017xhPDFUoNbHNcrVEaPAzMw
@eiriksm
eiriksm enabled auto-merge (squash) November 30, 2026 21:31
@eiriksm
eiriksm merged commit ef3aac3 into main Nov 30, 2026
17 of 25 checks passed
@eiriksm
eiriksm deleted the ccr-b7f1ef14-cm6hpo branch November 30, 2026 23:21
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.

2 participants