Topic: php-pecl-imagick rebuild failed
Hello,
I need recompile php-pecl-imagick by CentOS 6. I tried php-pecl-imagick-3.4.3-5.remi.src.rpm, but i got always error by imagick tests (i have latest ImageMagick version on server /ImageMagick6-libs-6.9.9.26-1.el6.remi.x86_64, ImageMagick6-6.9.9.26-1.el6.remi.x86_64 and ImageMagick6-devel-6.9.9.26-1.el6.remi.x86_64/)
Errors:
"
TEST 255/268 [tests/268_ImagickDraw_getDensity_basic.phpt]
========DIFF========
001+ Fatal error: Uncaught ImagickException: non-conforming drawing primitive definition `density' @ error/draw.c/DrawImage/3276 in /root/rpmbuild/BUILD/php71-php-pecl-imagick-3.4.3/NTS/tests/268_ImagickDraw_getDensity_basic.php:33
001- Ok
002+ Stack trace:
003+ #0 /root/rpmbuild/BUILD/php71-php-pecl-imagick-3.4.3/NTS/tests/268_ImagickDraw_getDensity_basic.php(33): Imagick->drawimage(Object(ImagickDraw))
004+ #1 {main}
005+ thrown in /root/rpmbuild/BUILD/php71-php-pecl-imagick-3.4.3/NTS/tests/268_ImagickDraw_getDensity_basic.php on line 33
========DONE========
XFAIL Test ImagickDraw, getDensity [tests/268_ImagickDraw_getDensity_basic.phpt] XFAIL REASON: Expected behaviour is not known :-p
...
=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
Test ImagickDraw, getDensity [tests/268_ImagickDraw_getDensity_basic.phpt] XFAIL REASON: Expected behaviour is not known :-p
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test Imagick, setRegistry and getRegistry [tests/150_Imagick_setregistry.phpt]
Test Tutorial, fxAnalyzeImage [tests/229_Tutorial_fxAnalyzeImage_case1.phpt]
"
I tried with latest php-pecl-imagick source package (php-pecl-imagick-3.4.3-7.remi.src.rpm), but i got same error ("Test ImagickDraw, getDensity [tests/268_ImagickDraw_getDensity_basic.phpt] XFAIL REASON: Expected behaviour is not known :-p")
Only "Failed Test Summary" contains one problem:
"Test Imagick, setRegistry and getRegistry [tests/150_Imagick_setregistry.phpt]"
History: i updated ImageMagick packages to latest today. Early server had old remi version (6.9.8.4-1) And i could rebuild pecl-imagick with this old ImageMagick version.
So i think, the problem is with this new ImageMagick version.
Please see this problem!
Thank you!
Regards,
Tamas Szabo