Bug #78788 [NEW]: ./configure generates invalid php_version.h
| From: | php at shyim dot de | Date: | Wed, 06 Nov 2019 12:39:33 +0000 |
| Subject: | Bug #78788 [NEW]: ./configure generates invalid php_version.h | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-223603@lists.php.net to get a copy of this message | ||
From: php at shyim dot de
Operating system: NixOs
PHP version: 7.4.0RC5
Package: Compile Failure
Bug Type: Bug
Bug description:./configure generates invalid php_version.h
Description:
------------
Before running ./configure
cat main/php_version.h
/* automatically generated by configure */
/* edit configure.ac to change version number */
#define PHP_MAJOR_VERSION 7
#define PHP_MINOR_VERSION 4
#define PHP_RELEASE_VERSION 0
#define PHP_EXTRA_VERSION "RC5"
#define PHP_VERSION "7.4.0RC5"
#define PHP_VERSION_ID 70400
After running ./configure
cat main/php_version.h
/* automatically generated by configure */
/* edit configure.ac to change version number */
#define PHP_MAJOR_VERSION linux
#define PHP_MINOR_VERSION gnu
#define PHP_RELEASE_VERSION
#define PHP_EXTRA_VERSION ""
#define PHP_VERSION "linux.gnu."
#define PHP_VERSION_ID
Should this file not readonly / fixed to version?
Test script:
---------------
cat main/php_version.h
./configure
cat main/php_version.h
Expected result:
----------------
./configure does not modify main/php_version.h
--
Edit bug report at https://bugs.php.net/bug.php?id=78788&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78788&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78788&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78788&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78788&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78788&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78788&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78788&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78788&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78788&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78788&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78788&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78788&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78788&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78788&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78788&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78788&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78788&r=mysqlcfg