View Issue Details

IDProjectCategoryView StatusLast Update
0001821XdebugInstallationpublic2020-07-16 18:05
ReporterGrahamCampbellAssigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionsuspended 
Product Version 
Target VersionFixed in Version 
Summary0001821: xdebug master compile broken on php master
DescriptionWas working 5 days ago, but now PHP have made further internal changes resulting in:

/xdebug/src/lib/var.c: In function 'xdebug_get_zval_with_opline':
/xdebug/src/lib/var.c:183:9: error: too many arguments to function 'zend_get_zval_ptr'
  return zend_get_zval_ptr(opline, node_type, node, zdata, BP_VAR_IS);
         ^~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend_API.h:29,
                 from /usr/local/include/php/main/php.h:35,
                 from /xdebug/src/lib/var.c:20:
/usr/local/include/php/Zend/zend_execute.h:330:16: note: declared here
 ZEND_API zval *zend_get_zval_ptr(const zend_op *opline, int op_type, const znode_op *node, const zend_execute_data *execute_data);
                ^~~~~~~~~~~~~~~~~
make: *** [Makefile:269: src/lib/var.lo] Error 1
TagsNo tags attached.
Operating System
PHP Version8.0-dev

Activities

derick

2020-07-16 11:34

administrator   ~0005429

Hi,

thanks for the report, but they are not necessary. I actively monitor changes to PHP 8 through https://xdebug.org/ci — and you can see that the compile indeed started failing (for the first time this morning) by seeing the purple star.

I haven't gotten to addressing this one yet today.

cheers,
Derick

GrahamCampbell

2020-07-16 18:05

reporter   ~0005430

I suppose https://github.com/php/php-src/commit/f60cf0cfe7fd335718ba5c24bbd824f157e9ea49 is the offending commit. ;)

Issue History

Date Modified Username Field Change
2020-07-16 08:48 GrahamCampbell New Issue
2020-07-16 11:34 derick Assigned To => derick
2020-07-16 11:34 derick Status new => resolved
2020-07-16 11:34 derick Resolution open => suspended
2020-07-16 11:34 derick Note Added: 0005429
2020-07-16 18:05 GrahamCampbell Note Added: 0005430