View Issue Details

IDProjectCategoryView StatusLast Update
0002082XdebugInstallationpublic2022-06-06 15:28
Reportermweinmayr Assigned Toderick  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.1.4 
Target Version3.1devFixed in Version3.1.5 
Summary0002082: phpize --clean removes required clocks.m4 file
Description

when i try to build i get the following error. With the version 3.0.3 this does not happen and everything is fine

www-data@4f8c0dafd5e0:~/xdebug$ sudo phpize8.1
Configuring for:
PHP Api Version: 20210902
Zend Module Api No: 20210902
Zend Extension Api No: 420210902
/usr/bin/m4:config.m4:13: cannot open `build/clocks.m4': No such file or directory
autom4te: /usr/bin/m4 failed with exit status: 1

Steps To Reproduce

sudo apt-get install -y php8.1-dev
cd /var/www
wget https://github.com/xdebug/xdebug/archive/refs/tags/3.1.4.zip
unzip 3.4.1.zip
mv xdebug-3.1.4 xdebug
cd /var/www/xdebug
sudo apt-get update
sudo phpize8.1 --clean
sudo phpize8.1

Additional Information

https://github.com/xdebug/xdebug/pull/831

TagsNo tags attached.
Operating Systemubuntu 20.04
PHP Version8.1-dev

Activities

mweinmayr

2022-04-07 11:39

reporter   ~0006269

3.0.4 works fine as also 3.0.3, every version after and including 3.1.0 throws the same error as described

derick

2022-04-11 08:41

administrator   ~0006270

I don't think anywhere in my instructions does it say to run:

 sudo phpize8.1 --clean

This removes a file that Xdebug needs to build. Don't run that command.

mweinmayr

2022-04-11 10:34

reporter   ~0006273

i only run this as i compile in a loop for every php version from 5.6 till 8.1 so i need to clean it otherwise i had other troubles in the past.

mweinmayr

2022-04-11 10:41

reporter   ~0006274

many thx for the hint, i have it running now for all versions!

Issue History

Date Modified Username Field Change
2022-04-07 09:00 mweinmayr New Issue
2022-04-07 11:39 mweinmayr Note Added: 0006269
2022-04-11 08:41 derick Assigned To => derick
2022-04-11 08:41 derick Status new => confirmed
2022-04-11 08:41 derick Note Added: 0006270
2022-04-11 08:41 derick Severity block => minor
2022-04-11 08:41 derick Target Version => 3.1dev
2022-04-11 10:34 mweinmayr Note Added: 0006273
2022-04-11 10:41 mweinmayr Note Added: 0006274
2022-04-12 15:51 derick Status confirmed => assigned
2022-04-12 15:51 derick Summary Can't build xdebug versions > 3.1 for php 8.1 => phpize --clean removes required clocks.m4 file
2022-04-12 15:51 derick Additional Information Updated
2022-04-13 15:01 derick Status assigned => closed
2022-04-13 15:01 derick Resolution open => fixed
2022-04-13 15:01 derick Fixed in Version => 3.1dev
2022-06-06 15:28 derick Fixed in Version 3.1dev => 3.1.5