Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780738 - dev-php/pecl-imagick should be rebuilt when media-gfx/imagemagick is upgraded
Summary: dev-php/pecl-imagick should be rebuilt when media-gfx/imagemagick is upgraded
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-07 07:07 UTC by Forza
Modified: 2021-06-18 10:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forza 2021-04-07 07:07:39 UTC
When you upgrade media-gfx/imagemagick thou should also rebuild dev-php/pecl-imagick or it can cause problems. Please add a hook/dependency to trigger a rebuild of pecl-imagick.
Comment 1 Forza 2021-04-07 07:09:56 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...
Comment 2 Ionen Wolkens gentoo-dev 2021-04-07 21:13:02 UTC
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).
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-07 22:27:47 UTC
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.
Comment 4 Larry the Git Cow gentoo-dev 2021-06-18 10:27:40 UTC
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(+)