Bug 23217 - php-imagick needs a rebuild
Summary: php-imagick needs a rebuild
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: feedback
Depends on:
Blocks:
 
Reported: 2018-06-22 11:16 CEST by José Jorge
Modified: 2019-04-29 16:25 CEST (History)
4 users (show)

See Also:
Source RPM: php-imagick
CVE:
Status comment:


Attachments

Description José Jorge 2018-06-22 11:16:09 CEST
PHP Warning:  Version warning: Imagick was compiled against Image Magick version 1689 but version 1690 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
Comment 1 Marc Krämer 2018-06-22 11:33:16 CEST
Suggested advisory:
========================

Rebuild of php-imagick for compatibility to Image Magick 1690

========================

Updated packages in core/updates_testing:
========================
php-imagick-3.4.1-6.3.mga6

Source RPMs: 
php-imagick-3.4.1-6.3.mga6.src.rpm
Marc Krämer 2018-06-22 11:33:30 CEST

Assignee: mageia => qa-bugs

Comment 2 José Jorge 2018-06-22 14:00:35 CEST
Tested 3.4.1-6.3 in the same system, now he is happy ;-)

Whiteboard: (none) => MGA6-64-OK
Status: NEW => ASSIGNED

Comment 3 David Walser 2018-06-22 21:05:31 CEST
I thought we had previously fixed php-imagick to remove this useless warning so rebuilds were needed.  Or was that just ruby-rmagick?

Anyway, we should fix this and not just rebuild it for this update.

Keywords: (none) => feedback

David Walser 2018-06-27 21:28:11 CEST

CC: (none) => mageia

Comment 4 Len Lawrence 2018-07-14 21:09:11 CEST
Mageia 6, x86_64
Checked this before the update and saw the message.
Functionality was OK.

The update shows php-imagick-3.4.1-7.3.mga6.
Going along with that.
Restarted apache and the php server.
$ php -S localhost:8000 -t php
PHP 5.6.36 Development Server started at Sat Jul 14 20:01:10 2018
Listening on http://localhost:8000
Document root is /home/lcl/dev/php
Press Ctrl-C to quit.

The version message had vanished.

Ran some of the test examples from the php-magick/examples directory using
localhost:8000/<example>.php where example was thumbnail, polygon and watermark.
Working fine.  Assuming that we can remove the feedback marker.

OK for 64-bits

CC: (none) => tarazed25
Keywords: feedback => (none)

Comment 5 David Walser 2018-07-15 17:18:05 CEST
No, the reason for the feedback marker was not addressed.  We need to actually fix the package and not just hide the error until the next ImageMagick update.

Whiteboard: MGA6-64-OK => (none)
CC: (none) => qa-bugs
Assignee: qa-bugs => pkg-bugs
Keywords: (none) => feedback

Comment 6 Thomas Backlund 2018-07-15 18:22:36 CEST
Something like this should work:

Index: php-imagick.spec
===================================================================
--- php-imagick.spec	(revision 1243786)
+++ php-imagick.spec	(arbetskopia)
@@ -62,6 +62,7 @@
 
 [imagick]
 imagick.locale_fix = 0
+skip_version_check = 1
 EOF
 
 %files



Trouble of course is that it would also hide issues the time it actually would need a rebuild...

CC: (none) => tmb

Comment 7 David Walser 2018-07-16 21:10:52 CEST
Well it actually needs a rebuild with the library major changes, and we already catch that.
Comment 8 José Jorge 2019-04-29 16:25:07 CEST
Updates have fixed the bug

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.