php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73649 compile error PHP 7.1
Submitted: 2016-12-04 09:10 UTC Modified: 2016-12-07 07:45 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: webmaster at bertololy dot de Assigned: danack (profile)
Status: Closed Package: imagick (PECL)
PHP Version: 7.1.0 OS: Debian
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: webmaster at bertololy dot de
New email:
PHP Version: OS:

 

 [2016-12-04 09:10 UTC] webmaster at bertololy dot de
Description:
------------
ImageMagick-7.0.3-8
imagick-3.4.3RC1

copied imagick source-folder into "ext" of PHP
touch ac*
rm -f configure
./buildconf --force

./configure --with-imagick ...

configure ok.
but make:

/usr/src/php7/ext/imagick/imagick_helpers.c:96:5: error: ‘zend_fcall_info’ has no member named ‘function_table’
  fci.function_table = EG(function_table);

Works with PHP php-5.6.28 !



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-04 13:09 UTC] cmb@php.net
-Assigned To: +Assigned To: danack
 [2016-12-04 13:09 UTC] cmb@php.net
This issue is supposed to have been already been fixed (see bug #72311).

Dan, can you please have a look at this issue?
 [2016-12-07 01:05 UTC] danack@php.net
-Status: Assigned +Status: Feedback
 [2016-12-07 01:05 UTC] danack@php.net
I cannot reproduce this issue. It works fine on Travis https://travis-ci.org/mkoppanen/imagick/builds/181825527

Also, the lines don't match up. Lines 96 to 98 of imagick_helpers.c in imagick-3.4.3RC1 are:

#if PHP_VERSION_ID < 70100
	fci.function_table = EG(function_table);
#endif

i.e. the line of code that could error is line 97. Line 96 is an ifdef line. aka I suspect the reporter is actually compiling a different version rather than the alleged imagick-3.4.3RC1 version.

I'm going to do a new RC imminently btw.
 [2016-12-07 07:45 UTC] webmaster at bertololy dot de
-Status: Feedback +Status: Closed
 [2016-12-07 07:45 UTC] webmaster at bertololy dot de
I had to compile both versions of PHP: 5 and 7.
Now I've double-checked my documentation and I have to say: your're terrible right.

It is very, very embarrassing to me: when updating the data from one document (PHP 5) to the other (PHP 7), I've overlooked the one little line with the updated copy-statement and compiled PHP 7 with the "old" imagick-3.4.1. Mistake eliminated and PHP 7 compiles as expected.

Thank you for your help and I deeply apologize for the wrong alarm. (and my bad, rosty English)

Best, you delete the whole bug-message... (please!)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun May 10 03:00:01 2026 UTC