Skip to content

XtOffsetOf is removed in 8.6, use standard C offsetof - #795

Merged
bukka merged 1 commit into
Imagick:masterfrom
NattyNarwhal:offset
Jul 20, 2026
Merged

bukka merged 1 commit into
Imagick:masterfrom
NattyNarwhal:offset

Conversation

@NattyNarwhal

Copy link
Copy Markdown
Contributor

No description provided.

@remicollet

Copy link
Copy Markdown
Contributor

Fix confirmed with 8.6.0alpha2

@bukka

bukka commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

This is like super annoying - we should keep XtOffsetOf and just deprecate it.

@bukka
bukka merged commit b580a70 into Imagick:master Jul 20, 2026
desrosj added a commit to desrosj/docker-library-wordpress that referenced this pull request Nov 5, 2026
No imagick release compiles against PHP 8.6: 3.8.1 still uses zval_dtor()
and XtOffsetOf(), both removed in PHP 8.6 (see php-src UPGRADING.INTERNALS).
The XtOffsetOf fix (Imagick/imagick#795) is merged but unreleased, and the
zval_dtor fix (Imagick/imagick#768) is still open. Installing imagick
without pecl is also pending docker-library#1001 (pie).

Until then, PHP 8.6 images skip imagick and its build-only -dev packages;
WordPress falls back to GD for image processing. The PHP 8.2-8.5 output
is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
desrosj added a commit to desrosj/docker-library-wordpress that referenced this pull request Nov 5, 2026
No imagick release compiles against PHP 8.6: 3.8.1 still uses zval_dtor()
and XtOffsetOf(), both removed in PHP 8.6 (see php-src UPGRADING.INTERNALS).
The XtOffsetOf fix (Imagick/imagick#795) is merged but unreleased, and the
zval_dtor fix (Imagick/imagick#768) is still open. Installing imagick
without pecl is also pending docker-library#1001 (pie).

Until then, PHP 8.6 images skip imagick and its build-only -dev packages;
WordPress falls back to GD for image processing. The PHP 8.2-8.5 output
is unchanged.
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.

3 participants