|  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
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: bugreports at gmail dot com Assigned:
Status: Closed 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.
Block user comment
Status: Assign to:
Bug Type:
From: bugreports at gmail dot com
New email:
PHP Version: OS:


 [2019-12-24 08:48 UTC] bugreports at gmail dot com
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; ./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?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-24 10:35 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2019-12-24 10:35 UTC]
Wouldn't it be an option for you to adjust the version number in[1] according to your needs?

[1] <>
 [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

./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]
-Status: Feedback +Status: Open -Type: Bug +Type: Feature/Change Request -Assigned To: cmb +Assigned To:
 [2019-12-24 10:47 UTC]
Well, then switching to feature request, since I don't think this
qualifies as bug.
 [2023-07-14 13:54 UTC] athoscribeiro at gmail dot com
I filed a PR with a fix proposal for this one at
 [2023-07-19 10:15 UTC]
Automatic comment on behalf of athos-ribeiro (author) and petk (committer)
Log: Fix #79026: Allow PHP_EXTRA_VERSION overrides
 [2023-07-19 10:15 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 14:01:29 2024 UTC