| Summary: | dev-php/pecl-imagick should be rebuilt when media-gfx/imagemagick is upgraded | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Forza <forza> |
| Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | forza, ionen, mjo |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Forza
2021-04-07 07:07:39 UTC
Example warning: PHP Warning: Version warning: Imagick was compiled against Image Magick version 1690 but version 1691 is loaded. Imagick will run but may behave surprisingly... As mentioned on IRC, pecl-imagick is already subscribed to imagemagick's subslot for rebuilds, but imagemagick's subslot doesn't change on minor versions and so won't auto-rebuild for those.
Not up to me but if the warning is benign it may be simpler to do nothing, auto-rebuild every versions would need to change imagemagick's subslot to ${PV} (which may be unwanted).
We will probably set "skip_version_check" option in extension by default.
The check was added because IM upstream has a long history for breaking stuff without changing SONAME. We had 'SLOT=0/${PV}' in media-gfx/imagemagick for a while but I am actively fighting against this bad practice.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef14a7ffc9bb2920ad78678a061f817dcdbaf60d commit ef14a7ffc9bb2920ad78678a061f817dcdbaf60d Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-06-18 10:27:25 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-06-18 10:27:33 +0000 dev-php/pecl-imagick: disable version check by default Closes: https://bugs.gentoo.org/780738 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-php/pecl-imagick/pecl-imagick-3.5.0.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) |