Bug #72987 [Opn->Csd]: configure: sed problem with "clean_configure_args"
| From: | krakjoe@php.net | Date: | Mon, 09 Jan 2017 05:12:15 +0000 |
| Subject: | Bug #72987 [Opn->Csd]: configure: sed problem with "clean_configure_args" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206414@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72987&edit=1
ID: 72987
Updated by: krakjoe@php.net
Reported by: lzsiga at freemail dot c3 dot hu
Summary: configure: sed problem with "clean_configure_args"
-Status: Open
+Status: Closed
Type: Bug
Package: Compile Warning
Operating System: unix
PHP Version: 7.0.10
-Assigned To:
+Assigned To: krakjoe
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
I think this was resolved, in any case, the patch should not target configure script ;)
Previous Comments:
------------------------------------------------------------------------
[2016-12-12 11:54:29] lzsiga at freemail dot c3 dot hu
Oh, I see, it is (almost-)solved in 7.0.14
------------------------------------------------------------------------
[2016-08-31 08:47:25] lzsiga at freemail dot c3 dot hu
Description:
------------
Hi,
For some reason, script 'configure' tries to clean its command-line with 'sed'
(line 3451). Doing that, character /slash is used as sed-separator. Problem is variables CPPFLAGS,
LDFLAGS and others might legally contain /slashes, so 'sed' will fail.
I suggest using sed once more: s;/;\\/;g (see the patch)
Test script:
---------------
CPPFLAGS='-I/usr/local/include'
./configure
Expected result:
----------------
lines like this should not be printed:
sed: Function s/'CPPFLAGS=-I/usr/local/include'// cannot be parsed.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72987&edit=1