Bug #79026 [Com]: change EXTRA_VERSION in 7.4 no longer works
Edit report at https://bugs.php.net/bug.php?id=79026&edit=1
ID: 79026
Comment by: bugreports at gmail dot com
Reported by: bugreports at gmail dot com
Summary: change EXTRA_VERSION in 7.4 no longer works
Status: Feedback
Type: Bug
Package: *Configuration Issues
Operating System: Linux
PHP Version: 7.4Git-2019-12-24 (Git)
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
well, i found at least a solutuin which works but it#s somehow hack to begin with wen we have
./configure and need to hack around in files
touch configure.ac
./buildconf --force
# add vendor-suffix to version and replace dev/rc/alpha/beta
sed -i -E
's/EXTRA_VERSION=".*"/EXTRA_VERSION="-%{versionsuffix}-fc%{fedora}"/'
configure
sed -i -E 's/PHP_EXTRA_VERSION=\$4/PHP_EXTRA_VERSION=-%{versionsuffix}-fc%{fedora}/'
configure
Previous Comments:
------------------------------------------------------------------------
[2019-12-24 10:35:31] cmb@php.net
Wouldn't it be an option for you to adjust the version number in
configure.ac[1] according to your needs?
[1] <https://github.com/php/php-src/blob/php-7.4.1/configure.ac#L20>
------------------------------------------------------------------------
[2019-12-24 08:48:42] bugreports at gmail dot com
Description:
------------
this works "fine" in 7.2/7.3 but no longer with 7.4 to get buildinfos into "php
-v"
sed -i -E
's/EXTRA_VERSION=".*"/EXTRA_VERSION="-%{versionsuffix}-fc%{fedora}"/'
configure
the configure (at least generated with "touch configure.ac; ./buildconf --force" is nearly
100k lines long with 20 or more functions called main which makes it a mess find out what changed
why can't that stuff not just read PHP_EXTRA_VERSION from a environment variable?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79026&edit=1
Thread (6 messages)