Bug #70899 [Asn]: php 7 RC 7 buildconf failure
| From: | admin at dunkleallianz dot net | Date: | Thu, 12 Nov 2015 17:52:56 +0000 |
| Subject: | Bug #70899 [Asn]: php 7 RC 7 buildconf failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197203@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70899&edit=1
ID: 70899
User updated by: admin at dunkleallianz dot net
Reported by: admin at dunkleallianz dot net
Summary: php 7 RC 7 buildconf failure
Status: Assigned
Type: Bug
Package: Compile Failure
Operating System: Debian 8.3
PHP Version: 7.0.0RC6
Assigned To: reeze
Block user comment: N
Private report: N
New Comment:
ah ok i find the version but this is a really old one (Version 1.4.6)
m4-1.4.17 2013-09-22 09:11
m4-1.4.9 2007-03-23 21:39
Previous Comments:
------------------------------------------------------------------------
[2015-11-12 17:43:12] admin at dunkleallianz dot net
reeze the newest version of m4 ist 1.4.17 i can't see something about 1.4.6
if you have Patch it ;) i can test it again
------------------------------------------------------------------------
[2015-11-12 17:19:38] bwoebi@php.net
I'm not an expert here⦠but where is PHP_EXT_CONFIG_M4_DIR and PHP_CURRENT_CONFIG_M4_DIR
defined? (the first diff)
Not sure what you did thereâ¦
Second patch looks more coherent, but what's PHP_CURRENT_CONFIG_M4_SRC doing?
------------------------------------------------------------------------
[2015-11-12 17:06:00] reeze@php.net
Hey bob.
This breaks start from this commit:
https://github.com/php/php-src/commit/82b73fd1e3c53228bb31b75a446114b5fd0cd240
After the diff PHP_EXT_DIR will not able to locate other extension's path, there should no one
that I think, but it is a break.
This patch (the first one of the gist) should fix the problem: https://gist.github.com/reeze/89fd045f1d0960d2add3
The second is working in m4 1.4.16 but not 1.4.6, so I have to take the dirty one.
------------------------------------------------------------------------
[2015-11-12 09:29:56] admin at dunkleallianz dot net
The problem has existed since the PHP 7 RC 2 version, there was this once a report and after that it
went again, but be the PHP7 in RC status is, it is no longer
------------------------------------------------------------------------
[2015-11-12 09:25:20] admin at dunkleallianz dot net
Description:
------------
I have the problem that I can not integrate Imagick from an RC version of php7
I used the Master Branch of Imagick an the phpseven
Test script:
---------------
wget https://github.com/mkoppanen/imagick/archive/phpseven.zip
wget https://downloads.php.net/~ab/php-7.0.0RC7.tar.gz
tar xvf php-7.0.0RC7.tar.gz
unzip phpseven.zip
mv imagick-phpseven imagick
cp imagick php-7.0.0RC7/ext/
rm php-7.0.0RC7/configure
./buildconf --force
autoconf (GNU Autoconf) 2.69
m4 (GNU M4) 1.4.17
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) )
#1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09)
Expected result:
----------------
This comes during rebuild of the conf
Forcing buildconf
Removing configure caches
buildconf: checking installation...
buildconf: autoconf version 2.69 (ok)
rebuilding configure
/usr/bin/m4:ext/imagick/config.m4:14: cannot open `$config_m4_dir/imagemagick.m4': No such file
or directory
autom4te: /usr/bin/m4 failed with exit status: 1
rebuilding main/php_config.h.in
/usr/bin/m4:ext/imagick/config.m4:14: cannot open `$config_m4_dir/imagemagick.m4': No such file
or directory
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: '/usr/bin/autom4te' failed with exit status: 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70899&edit=1