View Issue Details

IDProjectCategoryView StatusLast Update
0002171XdebugInstallationpublic2023-11-30 14:49
Reporterk0d3r1s Assigned Toderick  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
OSDebian 
Fixed in Version3.3.0 
Summary0002171: Build from master fails on php 8.3
Description

After php master PR https://github.com/php/php-src/pull/10954 building xdebug for php 8.3 (master branch) fails with error:

#0 24.40 /home/vairogs/extensions/xdebug/src/debugger/handler_dbgp.c: In function 'attach_context_vars':
#0 24.40 /home/vairogs/extensions/xdebug/src/debugger/handler_dbgp.c:1904:33: error: 'zend_constant' {aka 'struct _zend_constant'} has no member named 'name'
#0 24.40 1904 | if (!val->name) {
#0 24.40 | ^~
#0 24.40 /home/vairogs/extensions/xdebug/src/debugger/handler_dbgp.c:1914:57: error: 'zend_constant' {aka 'struct _zend_constant'} has no member named 'name'
#0 24.40 1914 | tmp_name = xdebug_str_create(val->name->val, val->name->len);
#0 24.40 | ^~
#0 24.40 /home/vairogs/extensions/xdebug/src/debugger/handler_dbgp.c:1914:73: error: 'zend_constant' {aka 'struct _zend_constant'} has no member named 'name'
#0 24.40 1914 | tmp_name = xdebug_str_create(val->name->val, val->name->len);
#0 24.40 | ^~
#0 24.44 make: *** [Makefile:336: src/debugger/handler_dbgp.lo] Error 1

TagsNo tags attached.
Operating System
PHP Version8.3-dev

Activities

derick

2023-04-05 13:41

administrator   ~0006547

I already had a patch on the way: https://github.com/xdebug/xdebug/pull/884

However, please don't send in bug reports for PHP 8.3 yet, as this is nowhere near ready, and neither will Xdebug 3.3 be ready to support it for a long time.

Issue History

Date Modified Username Field Change
2023-04-05 10:40 k0d3r1s New Issue
2023-04-05 13:41 derick Assigned To => derick
2023-04-05 13:41 derick Status new => resolved
2023-04-05 13:41 derick Resolution open => fixed
2023-04-05 13:41 derick Fixed in Version => 3.3dev
2023-04-05 13:41 derick Note Added: 0006547
2023-09-05 17:46 derick Fixed in Version 3.3dev => 3.3.0alpha1
2023-11-30 14:49 derick Fixed in Version 3.3.0alpha1 => 3.3.0