View Issue Details

IDProjectCategoryView StatusLast Update
0002015XdebugInstallationpublic2021-09-07 08:58
Reporterdinu Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.1.0beta1 
Summary0002015: Cannot pecl install 3.1.0beta1
Description

Trying to install 3.1.0beta1 via PECL.

As a side note, I'm trying to do this as I've ran into a segfault with xdebug w/composer segfaulting. I remember I saw a bug about this here, but it seems gone, so I was hoping in 3.1 it's fixed... is it? If not, I have a 100% reproducibility on it.

Steps To Reproduce

pecl install xdebug-3.1.0beta1
downloading xdebug-3.1.0beta1.tgz ...
Starting to download xdebug-3.1.0beta1.tgz (225,326 bytes)
................................................done: 225,326 bytes
ERROR: file /var/tmp/tmpG45tjc/xdebug-3.1.0beta1/php_xdebug.h does not exist

TagsNo tags attached.
Operating SystemCentOS8
PHP Version7.2.30-7.2.39

Activities

dinu

2021-09-06 13:28

reporter   ~0006000

Trying to build from source:

phpize
Configuring for:
PHP Api Version: 20170718
Zend Module Api No: 20170718
Zend Extension Api No: 320170718
/usr/bin/m4:config.m4:12: cannot open `build/pkg.m4': No such file or directory
autom4te: /usr/bin/m4 failed with exit status: 1

derick

2021-09-06 14:19

administrator   ~0006001

Thanks for testing the beta! It seems I forgot to include some files in the package.xml file which didn't therefore make it in to the .tgz file. I've now updated the packages both on the web site as well as on PECL, so they should work now.

I don't know whether this fixes the segmentation fault with composer, as this was never reported, so I don't that a problem existed. So if it still does then please file a report here.

dinu

2021-09-07 08:58

reporter   ~0006003

I can confirm building works now.
Will try to reproduce the segfault and file a bug if I can get a minimal TC. It may not be 100% xdebug related though, the scenario is this: infinite recursion inside a composer plugin. With xdebug I get a segfault, but I noticed without xdebug php also crashes, no segfault but also no error or shutdown sequence.

Issue History

Date Modified Username Field Change
2021-09-06 13:20 dinu New Issue
2021-09-06 13:28 dinu Note Added: 0006000
2021-09-06 14:19 derick Assigned To => derick
2021-09-06 14:19 derick Status new => closed
2021-09-06 14:19 derick Resolution open => fixed
2021-09-06 14:19 derick Note Added: 0006001
2021-09-07 08:58 dinu Note Added: 0006003