php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #79026 change EXTRA_VERSION in 7.4 no longer works
Submitted: 2019-12-24 08:48 UTC Modified: 2019-12-24 10:47 UTC
From: bugreports at gmail dot com Assigned:
Status: Open Package: *Configuration Issues
PHP Version: 7.4Git-2019-12-24 (Git) OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bugreports at gmail dot com
New email:
PHP Version: OS:

 

 [2019-12-24 08:48 UTC] 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?




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-24 10:35 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2019-12-24 10:35 UTC] 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 10:40 UTC] bugreports at gmail dot com
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
 [2019-12-24 10:47 UTC] cmb@php.net
-Status: Feedback +Status: Open -Type: Bug +Type: Feature/Change Request -Assigned To: cmb +Assigned To:
 [2019-12-24 10:47 UTC] cmb@php.net
Well, then switching to feature request, since I don't think this
qualifies as bug.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Jul 14 14:01:25 2020 UTC