Bug 296569 - graphics/pecl-imagick: update to 3.8.1, fix build with php86
Summary: graphics/pecl-imagick: update to 3.8.1, fix build with php86
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-07 01:48 UTC by Paavo-Einari Kaipila
Modified: 2026-07-11 21:39 UTC (History)
2 users (show)

See Also:
000.fbsd: maintainer-feedback+
vvd: merge-quarterly+


Attachments
0001-graphics-pecl-imagick-update-3.8.0-3.8.1-fix-build-w.patch (2.16 KB, patch)
2026-07-07 01:48 UTC, Paavo-Einari Kaipila
no flags Details | Diff
tests.txt (29.97 KB, text/plain)
2026-07-07 01:50 UTC, Paavo-Einari Kaipila
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paavo-Einari Kaipila 2026-07-07 01:48:27 UTC
Created attachment 272558 [details]
0001-graphics-pecl-imagick-update-3.8.0-3.8.1-fix-build-w.patch
Comment 1 Paavo-Einari Kaipila 2026-07-07 01:50:24 UTC
Created attachment 272559 [details]
tests.txt

runTests.sh output on 86
Comment 2 Miroslav Lachman 2026-07-10 15:53:33 UTC
Thanks for the heads up. I can approve update of port to 3.8.1 as it is always good to have the latest version. But I am not sure about PHP 8.6. Officially it is tested / fixed for PHP 8.5 - according to changelog
https://pecl.php.net/package-changelog.php?package=imagick&release=3.8.1

On the other hand, PHP 8.6 is alpha - not for production - we can enable pecl-imagick flavor for 8.6 too and if experimenting users will report problems, we can set IGNORE_WITH_PHP again.
Comment 3 Paavo-Einari Kaipila 2026-07-11 01:28:56 UTC
(In reply to Miroslav Lachman from comment #2)

Upstream seems to be on a long holiday or something, there's a 7-month backlog of unhandled PR:r, including same fixes that I am doing here.

https://github.com/Imagick/imagick/pulls
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2026-07-11 16:32:52 UTC
I'll add that similar patches had already been added to several other ports to support PHP 8.6 even before PHP 8.6 appeared in ports.

If Miroslav has no objections, then I would commit the whole patch.
Comment 5 Miroslav Lachman 2026-07-11 20:55:00 UTC
I have no objections. You can commit the whole patch.
Comment 6 commit-hook freebsd_committer freebsd_triage 2026-07-11 21:36:38 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2761152d28f6d746452b0ab2b71b558f4f720939

commit 2761152d28f6d746452b0ab2b71b558f4f720939
Author:     Paavo-Einari Kaipila <pkaipila@gmail.com>
AuthorDate: 2026-07-11 21:32:06 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-07-11 21:35:05 +0000

    graphics/pecl-imagick: Update 3.8.0 => 3.8.1

    Release Notes:
    https://pecl.php.net/package/imagick/3.8.1

    - Fix build with PHP 8.6.

    PR:             296569
    Approved by:    Miroslav Lachman <000.fbsd@quip.cz> (maintainer)
    Sponsored by:   UNIS Labs
    MFH:            2026Q3

 graphics/pecl-imagick/Makefile | 14 ++++++++------
 graphics/pecl-imagick/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 9 deletions(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2026-07-11 21:37:40 UTC
A commit in branch 2026Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35f6f54f830de15627094c9b70107c1b637c3ce5

commit 35f6f54f830de15627094c9b70107c1b637c3ce5
Author:     Paavo-Einari Kaipila <pkaipila@gmail.com>
AuthorDate: 2026-07-11 21:32:06 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-07-11 21:36:52 +0000

    graphics/pecl-imagick: Update 3.8.0 => 3.8.1

    Release Notes:
    https://pecl.php.net/package/imagick/3.8.1

    - Fix build with PHP 8.6.

    PR:             296569
    Approved by:    Miroslav Lachman <000.fbsd@quip.cz> (maintainer)
    Sponsored by:   UNIS Labs
    MFH:            2026Q3

    (cherry picked from commit 2761152d28f6d746452b0ab2b71b558f4f720939)

 graphics/pecl-imagick/Makefile | 14 ++++++++------
 graphics/pecl-imagick/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 9 deletions(-)
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2026-07-11 21:39:38 UTC
Since the change concerns only three files, I have listed them.