php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72311 Imagick Build Error on PHP 7.1.0
Submitted: 2016-06-01 21:02 UTC Modified: 2016-06-09 21:55 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: joe dot bylund at moat dot com Assigned: danack (profile)
Status: Closed Package: imagick (PECL)
PHP Version: 7.1.0-dev OS: Ubuntu Linux
Private report: No CVE-ID: None
 [2016-06-01 21:02 UTC] joe dot bylund at moat dot com
Description:
------------
Using a recent php from git (7.1.0-dev).

"pecl install magick" exited with:

/home/ubuntu/imagick-3.4.2/imagick_helpers.c: In function ‘php_imagick_progress_monitor_callable’:
/home/ubuntu/imagick-3.4.2/imagick_helpers.c:111:5: error: ‘zend_fcall_info {aka struct _zend_fcall_info}’ has no member named ‘symbol_table’
  fci.symbol_table = NULL;
     ^
Makefile:204: recipe for target 'imagick_helpers.lo' failed
make: *** [imagick_helpers.lo] Error 1


Expected result:
----------------
Expected imagick to build & install.

Actual result:
--------------
Build failed with:
‘zend_fcall_info {aka struct _zend_fcall_info}’ has no member named ‘symbol_table’
  fci.symbol_table = NULL;

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-02 12:17 UTC] cmb@php.net
-PHP Version: 7.0.7 +PHP Version: 7.1.0-dev
 [2016-06-03 08:39 UTC] danack@php.net
-Assigned To: +Assigned To: danack
 [2016-06-04 22:46 UTC] danack@php.net
Thanks, this will be fixed in the next release.
 [2016-06-09 20:31 UTC] danack@php.net
-Status: Assigned +Status: Feedback
 [2016-06-09 20:31 UTC] danack@php.net
This should be fixed in Imagick 3.4.3 - please can you try it.

https://pecl.php.net/package/imagick/3.4.3RC1
 [2016-06-09 20:56 UTC] joe dot bylund at moat dot com
Seems to work great, thanks for the quick fix.

With php on: 33f6fc1790358883873b2b894d2b4af801f374fc
PHP 7.1.0-dev


$ sudo pecl install imagick
downloading imagick-3.4.3RC1.tgz ...
Starting to download imagick-3.4.3RC1.tgz (245,140 bytes)
...................................................done: 245,140 bytes
19 source files, building
running: phpize
...snip...
install ok: channel://pecl.php.net/imagick-3.4.3RC1
configuration option "php_ini" is not set to php.ini location
You should add "extension=imagick.so" to php.ini
 [2016-06-09 21:54 UTC] danack@php.net
> thanks for the quick fix.

No problem.

*waits 6 months to tag non-RC release*.
 [2016-06-09 21:55 UTC] danack@php.net
-Status: Feedback +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 20:01:45 2024 UTC