View Issue Details

IDProjectCategoryView StatusLast Update
0001147XdebugInstallationpublic2015-08-26 12:18
Reporterbicatu Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformMacOSOS XOS Version10.10.3
Product Version2.3.2 
Summary0001147: Unable to compile for php7-dev
Description

I have today's build of php7-dev and I can't compile xdebug.

Steps To Reproduce

sudo pecl install xdebug

Additional Information

downloading xdebug-2.3.2.tgz ...
Starting to download xdebug-2.3.2.tgz (266,287 bytes)
........................................................done: 266,287 bytes

running: phpize
Configuring for:
PHP Api Version: 20131218
Zend Module Api No: 20141001
Zend Extension Api No: 320140815
building in /private/tmp/pear/temp/pear-build-rootueFTsM/xdebug-2.3.2
running: /private/tmp/pear/temp/xdebug/configure
checking for grep that handles long lines and -e... /usr/local/bin/ggrep
checking for egrep... /usr/local/bin/ggrep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-apple-darwin14.3.0
checking host system type... x86_64-apple-darwin14.3.0
checking target system type... x86_64-apple-darwin14.3.0
checking for PHP prefix... /usr/local/php5
checking for PHP includes... -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php5/lib/php/extensions/no-debug-non-zts-20141001
checking for PHP installed headers prefix... /usr/local/php5/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable eXtended debugging support... yes, shared
checking Check for supported PHP versions... supported (7.0.0-dev)
checking for gettimeofday... yes
checking for cos in -lm... yes
checking for ld used by cc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin14.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/tmp/pear/temp/pear-build-rootueFTsM/xdebug-2.3.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootueFTsM/xdebug-2.3.2/include -I/private/tmp/pear/temp/pear-build-rootueFTsM/xdebug-2.3.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug.c -o xdebug.lo
mkdir .libs
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootueFTsM/xdebug-2.3.2/include -I/private/tmp/pear/temp/pear-build-rootueFTsM/xdebug-2.3.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug.c -fno-common -DPIC -o .libs/xdebug.o
In file included from /private/tmp/pear/temp/xdebug/xdebug.c:52:
In file included from /private/tmp/pear/temp/xdebug/php_xdebug.h:36:
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:63:39: error: a parameter list without types is only allowed in a function definition
int xdebug_check_branch_entry_handler(ZEND_OPCODE_HANDLER_ARGS);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:64:36: error: a parameter list without types is only allowed in a function definition
int xdebug_common_override_handler(ZEND_OPCODE_HANDLER_ARGS);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:69:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:70:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_add);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:71:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_sub);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:72:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_mul);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:73:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_div);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:74:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_mod);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:76:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_pow);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:78:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_sl);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:79:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(assign_sr);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:80:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(pre_inc);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:81:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(post_inc);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:82:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(pre_dec);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:83:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(post_dec);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:84:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(pre_inc_obj);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:85:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(post_inc_obj);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:86:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(pre_dec_obj);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:87:1: error: a parameter list without types is only allowed in a function definition
XDEBUG_OPCODE_OVERRIDE_ASSIGN_DECL(post_dec_obj);
^
/private/tmp/pear/temp/xdebug/xdebug_code_coverage.h:67:27: note: expanded from macro 'XDEBUG_OPCODE_OVERRIDE_ASSIGNDECL'
int xdebug
##f##_handler(ZEND_OPCODE_HANDLER_ARGS)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [xdebug.lo] Error 1
ERROR: `make' failed

TagsNo tags attached.
Operating System
PHP Version5.6.0-5.6.4

Activities

derick

2015-04-28 23:12

administrator   ~0003075

Xdebug isn't compatible with PHP 7 yet. It's going to take some time.

Issue History

Date Modified Username Field Change
2015-04-28 22:50 bicatu New Issue
2015-04-28 23:12 derick Note Added: 0003075
2015-04-28 23:12 derick Status new => resolved
2015-04-28 23:12 derick Resolution open => no change required
2015-04-28 23:12 derick Assigned To => derick