Bug #78788 [Com]: ./configure generates invalid php_version.h

From: Date: Wed, 06 Nov 2019 15:04:38 +0000
Subject: Bug #78788 [Com]: ./configure generates invalid php_version.h
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223610@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78788&edit=1 ID: 78788 Comment by: php at shyim dot de Reported by: php at shyim dot de Summary: ./configure generates invalid php_version.h Status: Open Type: Bug Package: Compile Failure Operating System: NixOs PHP Version: 7.4.0RC5 Block user comment: N Private report: N New Comment: I guess I have found the issue checking for a sed that does not truncate output... /nix/store/5bzp9gfa14j4a1rbxxf6d574a4qgmqi9-gnused-4.7/bin/sed ./configure: line 3832: /nix/store/5bzp9gfa14j4a1rbxxf6d574a4qgmqi9-gnused-4: No such file or directory Line 3842: set $(echo 7.4.0RC5 | $SED 's/\([0-9\.]*\)\(.*\)/\1\.\2/') I have outputted the $SED it contains "/nix/store/5bzp9gfa14j4a1rbxxf6d574a4qgmqi9-gnused-4 7/bin/sed" The dot is missing in path Previous Comments: ------------------------------------------------------------------------ [2019-11-06 14:56:31] cmb@php.net 2.69 should be good. ------------------------------------------------------------------------ [2019-11-06 14:52:00] php at shyim dot de autoconf --version autoconf (GNU Autoconf) 2.69 ------------------------------------------------------------------------ [2019-11-06 14:03:43] cmb@php.net What's you autoconf version? ------------------------------------------------------------------------ [2019-11-06 13:02:50] php at shyim dot de I just did wget https://downloads.php.net/~derick/php-7.4.0RC5.tar.bz2 tar xf php-7.4.0RC5.tar.bz2 cd php-7.4.0RC5 ./configure and that file is so wrong generated. configure.ac content AC_INIT([PHP],[7.4.0RC5],[https://bugs.php.net],[php],[https://www.php.net]) ------------------------------------------------------------------------ [2019-11-06 12:50:08] requinix@php.net Did you make any changes to your configure.ac? What does the AC_INIT (line ~20) say? ------------------------------------------------------------------------ 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=78788 -- Edit this bug report at https://bugs.php.net/bug.php?id=78788&edit=1

« previous php.bugs (#223610) next »