MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001204XdebugInstallationpublic2015-11-11 05:052015-11-18 22:33
Reporterjoshtaylor 
Assigned Toderick 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformAMD64OSUbuntuOS Version14.04
Product Version2.4.0beta1 
Target Version2.4.0rc1Fixed in Version2.4.0rc1 
Summary0001204: xdebug_code_coverage.c:542:21: error: 'zend_op_array' has no member named 'brk_cont_array'
DescriptionTrying to install with PHP7 & Ubuntu 14.04 results in the following:

/bin/bash /tmp/xdebug/libtool --mode=compile cc -I. -I/tmp/xdebug -DPHP_ATOM_INC -I/tmp/xdebug/include -I/tmp/xdebug/main -I/tmp/xdebug -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /tmp/xdebug/xdebug.c -o xdebug.lo
mkdir .libs
 cc -I. -I/tmp/xdebug -DPHP_ATOM_INC -I/tmp/xdebug/include -I/tmp/xdebug/main -I/tmp/xdebug -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /tmp/xdebug/xdebug.c -fPIC -DPIC -o .libs/xdebug.o
/bin/bash /tmp/xdebug/libtool --mode=compile cc -I. -I/tmp/xdebug -DPHP_ATOM_INC -I/tmp/xdebug/include -I/tmp/xdebug/main -I/tmp/xdebug -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /tmp/xdebug/xdebug_branch_info.c -o xdebug_branch_info.lo
 cc -I. -I/tmp/xdebug -DPHP_ATOM_INC -I/tmp/xdebug/include -I/tmp/xdebug/main -I/tmp/xdebug -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /tmp/xdebug/xdebug_branch_info.c -fPIC -DPIC -o .libs/xdebug_branch_info.o
/bin/bash /tmp/xdebug/libtool --mode=compile cc -I. -I/tmp/xdebug -DPHP_ATOM_INC -I/tmp/xdebug/include -I/tmp/xdebug/main -I/tmp/xdebug -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /tmp/xdebug/xdebug_code_coverage.c -o xdebug_code_coverage.lo
 cc -I. -I/tmp/xdebug -DPHP_ATOM_INC -I/tmp/xdebug/include -I/tmp/xdebug/main -I/tmp/xdebug -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /tmp/xdebug/xdebug_code_coverage.c -fPIC -DPIC -o .libs/xdebug_code_coverage.o
/tmp/xdebug/xdebug_code_coverage.c: In function 'xdebug_find_brk_cont':
/tmp/xdebug/xdebug_code_coverage.c:542:21: error: 'zend_op_array' has no member named 'brk_cont_array'
   jmp_to = &op_array->brk_cont_array[array_offset];
                     ^
make: *** [xdebug_code_coverage.lo] Error 1
Steps To Reproducegit clone git://github.com/xdebug/xdebug.git [^] /tmp/xdebug
cd /tmp/xdebug
git checkout XDEBUG_2_4_0beta1
phpize
./configure
make all
TagsNo tags attached.
Operating System
PHP Version7.1-dev
Attached Files

- Relationships

-  Notes
(0003224)
joshtaylor (reporter)
2015-11-11 05:08

This is caused by https://github.com/php/php-src/commit/baf97b1fcc0f8458955f33bcfd325e3130e1161f [^] I believe.
(0003225)
derick (administrator)
2015-11-11 15:26

This is *not* in 7.0-dev, only in 7.1-dev (master). However, the code was no longer necessary in 7.0-dev either, so I'm removing it.
(0003233)
derick (administrator)
2015-11-18 22:33

This got fixed (by mistake in a wrong PR) with:

https://github.com/xdebug/xdebug/commit/df4c8aca3dd84b94f92f9c6efde5fe051de25b82#diff-c23a49b975bde4591084a08c43ee6c45L529 [^]

Thanks for the report :-)

- Issue History
Date Modified Username Field Change
2015-11-11 05:05 joshtaylor New Issue
2015-11-11 05:08 joshtaylor Note Added: 0003224
2015-11-11 15:26 derick PHP Version 7.0-dev => 7.1-dev
2015-11-11 15:26 derick Note Added: 0003225
2015-11-11 15:26 derick Target Version => 2.4.0rc1
2015-11-18 22:33 derick Note Added: 0003233
2015-11-18 22:33 derick Status new => closed
2015-11-18 22:33 derick Assigned To => derick
2015-11-18 22:33 derick Resolution open => fixed
2015-11-18 22:33 derick Fixed in Version => 2.4.0rc1


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker