Edit report at https://bugs.php.net/bug.php?id=70899&edit=1
ID: 70899
Updated by: reeze@php.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:
Hi bob,
The first patch is incorrect, I just updated it. I moved the macros: PHP_EXT_DIR from
configure.in to build/config-stubs so every time we include a m4 file from extension
the PHP_EXT_DIR is redefined to the proper one (the same as previous hehavior, but it
done in "autoconf-time", or we can only get the proper path at "configure time"
which triggered this bug report).
Yes the second patch looks better but I tested it with m4 1.4.6, it didn't work. (Mac shipped
1.4.6 with Xcode, so we might need to compatible with it).
@dunkleallianz could you please try the first patch?
Previous Comments:
------------------------------------------------------------------------
[2015-11-12 17:52:56] admin at dunkleallianz dot net
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
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=70899
--
Edit this bug report at https://bugs.php.net/bug.php?id=70899&edit=1