View Issue Details

IDProjectCategoryView StatusLast Update
0001706XdebugInstallationpublic2019-10-01 18:27
Reporterpeterdd Assigned Toderick  
PriorityhighSeverityblockReproducibilityhave not tried
Status resolvedResolutionno change required 
PlatformLaptopOSmacOS HighSierraOS Version10.13.6
Product Version2.7.2 
Summary0001706: cannot install Xdebug with pecl on macOS High Sierra
Description

I tried following Install instructions for mac on xdebug.org, but the suggested solution using pecl does not work.

Usually I do not use php on the mac directly, but use vagrant boxes or remote servers. But to try Xdebug as totally Xdebug noob thought it would be easier to setup the local before fiddling with remote debugging setup from mac with vscode/otherIDE <---> virtualbox vagrant boxes

Steps To Reproduce

I tried this as user peter (and when failed also as root without success):

peter:~/test/phplocal>pecl install xdebug
downloading xdebug-2.7.2.tgz ...
Starting to download xdebug-2.7.2.tgz (230,987 bytes)
.................................................done: 230,987 bytes
69 source files, building
running: phpize
Configuring for:
PHP Api Version: 20180731
Zend Module Api No: 20180731
Zend Extension Api No: 320180731
building in /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2
running: /private/tmp/pear/temp/xdebug/configure --with-php-config=/usr/local/opt/php/bin/php-config
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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-darwin17.7.0
checking host system type... x86_64-apple-darwin17.7.0
checking target system type... x86_64-apple-darwin17.7.0
checking for PHP prefix... /usr/local/Cellar/php/7.3.4_1
checking for PHP includes... -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/Cellar/php/7.3.4_1/pecl/20180731
checking for PHP installed headers prefix... /usr/local/Cellar/php/7.3.4_1/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... gawk
checking whether to enable Xdebug support... yes, shared
checking whether to enable Xdebug developer build flags... no
checking Check for supported PHP versions... supported (7.3.4)
checking for gettimeofday... yes
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 netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... 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 -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 -B 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... darwin17.7.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-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/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-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/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
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_branch_info.c -o xdebug_branch_info.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_branch_info.c -fno-common -DPIC -o .libs/xdebug_branch_info.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_code_coverage.c -o xdebug_code_coverage.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_code_coverage.c -fno-common -DPIC -o .libs/xdebug_code_coverage.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_com.c -o xdebug_com.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_com.c -fno-common -DPIC -o .libs/xdebug_com.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_compat.c -o xdebug_compat.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_compat.c -fno-common -DPIC -o .libs/xdebug_compat.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_gc_stats.c -o xdebug_gc_stats.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_gc_stats.c -fno-common -DPIC -o .libs/xdebug_gc_stats.o
/private/tmp/pear/temp/xdebug/xdebug_gc_stats.c:175:4: warning: format specifies type 'unsigned long' but the argument has type 'zend_long' (aka 'long long') [-Wformat]
run->collected,
^~~~~~
/private/tmp/pear/temp/xdebug/xdebug_gc_stats.c:178:4: warning: format specifies type 'unsigned long' but the argument has type 'zend_long' (aka 'long long') [-Wformat]
run->memory_before,
^~~~~~
/private/tmp/pear/temp/xdebug/xdebug_gc_stats.c:179:4: warning: format specifies type 'unsigned long' but the argument has type 'zend_long' (aka 'long long') [-Wformat]
run->memory_after,
^~~~~
/private/tmp/pear/temp/xdebug/xdebug_gc_stats.c:185:4: warning: format specifies type 'unsigned long' but the argument has type 'zend_long' (aka 'long long') [-Wformat]
run->collected,
^~~~~~
/private/tmp/pear/temp/xdebug/xdebug_gc_stats.c:188:4: warning: format specifies type 'unsigned long' but the argument has type 'zend_long' (aka 'long long') [-Wformat]
run->memory_before,
^~~~~~
/private/tmp/pear/temp/xdebug/xdebug_gc_stats.c:189:4: warning: format specifies type 'unsigned long' but the argument has type 'zend_long' (aka 'long long') [-Wformat]
run->memory_after,
^~~~~
/private/tmp/pear/temp/xdebug/xdebug_gc_stats.c:196:4: warning: format specifies type 'unsigned long' but the argument has type 'zend_long' (aka 'long long') [-Wformat]
run->collected,
^~~~~~
/private/tmp/pear/temp/xdebug/xdebug_gc_stats.c:199:4: warning: format specifies type 'unsigned long' but the argument has type 'zend_long' (aka 'long long') [-Wformat]
run->memory_before,
^~~~~~
/private/tmp/pear/temp/xdebug/xdebug_gc_stats.c:200:4: warning: format specifies type 'unsigned long' but the argument has type 'zend_long' (aka 'long long') [-Wformat]
run->memory_after,
^~~~~
9 warnings generated.
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_filter.c -o xdebug_filter.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_filter.c -fno-common -DPIC -o .libs/xdebug_filter.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_handler_dbgp.c -o xdebug_handler_dbgp.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_handler_dbgp.c -fno-common -DPIC -o .libs/xdebug_handler_dbgp.o
/private/tmp/pear/temp/xdebug/xdebug_handler_dbgp.c:929:21: warning: incompatible pointer types initializing 'jmp_buf ' (aka 'int ()[37]') with an expression of type 'sigjmp_buf ' (aka 'int ()[38]') [-Wincompatible-pointer-types]
jmp_buf original_bailout = EG(bailout);
^ ~~~
/private/tmp/pear/temp/xdebug/xdebug_handler_dbgp.c:962:14: warning: incompatible pointer types assigning to 'sigjmp_buf
' (aka 'int ()[38]') from 'jmp_buf ' (aka 'int (*)[37]') [-Wincompatible-pointer-types]
EG(bailout) = original_bailout;
^ ~~~~
2 warnings generated.
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_handlers.c -o xdebug_handlers.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_handlers.c -fno-common -DPIC -o .libs/xdebug_handlers.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_llist.c -o xdebug_llist.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_llist.c -fno-common -DPIC -o .libs/xdebug_llist.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_monitor.c -o xdebug_monitor.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_monitor.c -fno-common -DPIC -o .libs/xdebug_monitor.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_hash.c -o xdebug_hash.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_hash.c -fno-common -DPIC -o .libs/xdebug_hash.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_private.c -o xdebug_private.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_private.c -fno-common -DPIC -o .libs/xdebug_private.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_profiler.c -o xdebug_profiler.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_profiler.c -fno-common -DPIC -o .libs/xdebug_profiler.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_set.c -o xdebug_set.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_set.c -fno-common -DPIC -o .libs/xdebug_set.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_stack.c -o xdebug_stack.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_stack.c -fno-common -DPIC -o .libs/xdebug_stack.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_str.c -o xdebug_str.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_str.c -fno-common -DPIC -o .libs/xdebug_str.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_superglobals.c -o xdebug_superglobals.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_superglobals.c -fno-common -DPIC -o .libs/xdebug_superglobals.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_tracing.c -o xdebug_tracing.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_tracing.c -fno-common -DPIC -o .libs/xdebug_tracing.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_trace_textual.c -o xdebug_trace_textual.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_trace_textual.c -fno-common -DPIC -o .libs/xdebug_trace_textual.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_trace_computerized.c -o xdebug_trace_computerized.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_trace_computerized.c -fno-common -DPIC -o .libs/xdebug_trace_computerized.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_trace_html.c -o xdebug_trace_html.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_trace_html.c -fno-common -DPIC -o .libs/xdebug_trace_html.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_var.c -o xdebug_var.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_var.c -fno-common -DPIC -o .libs/xdebug_var.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_xml.c -o xdebug_xml.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/xdebug_xml.c -fno-common -DPIC -o .libs/xdebug_xml.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/usefulstuff.c -o usefulstuff.lo
cc -I. -I/private/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdebug/usefulstuff.c -fno-common -DPIC -o .libs/usefulstuff.o
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=link cc -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/include -I/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/main -I/private/tmp/pear/temp/xdebug -I/usr/local/Cellar/php/7.3.4_1/include/php -I/usr/local/Cellar/php/7.3.4_1/include/php/main -I/usr/local/Cellar/php/7.3.4_1/include/php/TSRM -I/usr/local/Cellar/php/7.3.4_1/include/php/Zend -I/usr/local/Cellar/php/7.3.4_1/include/php/ext -I/usr/local/Cellar/php/7.3.4_1/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o xdebug.la -export-dynamic -avoid-version -prefer-pic -module -rpath /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/modules xdebug.lo xdebug_branch_info.lo xdebug_code_coverage.lo xdebug_com.lo xdebug_compat.lo xdebug_gc_stats.lo xdebug_filter.lo xdebug_handler_dbgp.lo xdebug_handlers.lo xdebug_llist.lo xdebug_monitor.lo xdebug_hash.lo xdebug_private.lo xdebug_profiler.lo xdebug_set.lo xdebugstack.lo xdebug
str.lo xdebug_superglobals.lo xdebug_tracing.lo xdebug_trace_textual.lo xdebug_trace_computerized.lo xdebug_trace_html.lo xdebug_var.lo xdebug_xml.lo usefulstuff.lo -lm
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/xdebug.so -bundle .libs/xdebug.o .libs/xdebug_branch_info.o .libs/xdebug_code_coverage.o .libs/xdebug_com.o .libs/xdebug_compat.o .libs/xdebug_gc_stats.o .libs/xdebug_filter.o .libs/xdebug_handler_dbgp.o .libs/xdebug_handlers.o .libs/xdebug_llist.o .libs/xdebug_monitor.o .libs/xdebug_hash.o .libs/xdebug_private.o .libs/xdebug_profiler.o .libs/xdebug_set.o .libs/xdebug_stack.o .libs/xdebug_str.o .libs/xdebug_superglobals.o .libs/xdebug_tracing.o .libs/xdebug_trace_textual.o .libs/xdebug_trace_computerized.o .libs/xdebug_trace_html.o .libs/xdebug_var.o .libs/xdebug_xml.o .libs/usefulstuff.o -lm
dsymutil .libs/xdebug.so || :
creating xdebug.la
(cd .libs && rm -f xdebug.la && ln -s ../xdebug.la xdebug.la)
/bin/sh /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/libtool --mode=install cp ./xdebug.la /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/modules
cp ./.libs/xdebug.so /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/modules/xdebug.so
cp ./.libs/xdebug.lai /private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/modules/xdebug.la

Libraries have been installed in:
/private/tmp/pear/temp/pear-build-peterEAO0Gq/xdebug-2.7.2/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:

  • add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
    during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

Build complete.
Don't forget to run 'make test'.

running: make INSTALL_ROOT="/private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2" install
Installing shared extensions: /private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2/usr/local/Cellar/php/7.3.4_1/pecl/20180731/

+----------------------------------------------------------------------+ INSTALLATION INSTRUCTIONS =========================
See https://xdebug.org/install.php#configure-php for instructions
on how to enable Xdebug for PHP.
Documentation is available online as well:
- A list of all settings: https://xdebug.org/docs-settings.php
- A list of all functions: https://xdebug.org/docs-functions.php
- Profiling instructions: https://xdebug.org/docs-profiling2.php
- Remote debugging: https://xdebug.org/docs-debugger.php
NOTE: Please disregard the message
You should add "extension=xdebug.so" to php.ini
that is emitted by the PECL installer. This does not work for
Xdebug.

+----------------------------------------------------------------------+

running: find "/private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2" | xargs ls -dils
4319700431 0 drwxr-xr-x 3 peter wheel 96 1 Okt 12:46 /private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2
4319700983 0 drwxr-xr-x 3 peter wheel 96 1 Okt 12:46 /private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2/usr
4319700984 0 drwxr-xr-x 3 peter wheel 96 1 Okt 12:46 /private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2/usr/local
4319700985 0 drwxr-xr-x 3 peter wheel 96 1 Okt 12:46 /private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2/usr/local/Cellar
4319700986 0 drwxr-xr-x 3 peter wheel 96 1 Okt 12:46 /private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2/usr/local/Cellar/php
4319700987 0 drwxr-xr-x 3 peter wheel 96 1 Okt 12:46 /private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2/usr/local/Cellar/php/7.3.4_1
4319700988 0 drwxr-xr-x 3 peter wheel 96 1 Okt 12:46 /private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2/usr/local/Cellar/php/7.3.4_1/pecl
4319700989 0 drwxr-xr-x 3 peter wheel 96 1 Okt 12:46 /private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2/usr/local/Cellar/php/7.3.4_1/pecl/20180731
4319700990 576 -rwxr-xr-x 1 peter wheel 294592 1 Okt 12:46 /private/tmp/pear/temp/pear-build-peterEAO0Gq/install-xdebug-2.7.2/usr/local/Cellar/php/7.3.4_1/pecl/20180731/xdebug.so

Build process completed successfully
Installing '/usr/local/Cellar/php/7.3.4_1/pecl/20180731/xdebug.so'

Warning: mkdir(): File exists in System.php on line 294
PHP Warning: mkdir(): File exists in /usr/local/Cellar/php/7.3.4_1/share/php/pear/System.php on line 294

Warning: mkdir(): File exists in /usr/local/Cellar/php/7.3.4_1/share/php/pear/System.php on line 294
ERROR: failed to mkdir /usr/local/Cellar/php/7.3.4_1/pecl/20180731
peter:~/test/phplocal>

Additional Information

Here some more environment info:

peter:~>php --version
PHP 7.3.4 (cli) (built: Apr 19 2019 01:39:52) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.4, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.4, Copyright (c) 1999-2018, by Zend Technologies

peter:~>brew list |grep php
php
php72
php72-tideways

peter:~/test/phplocal>brew list php
/usr/local/Cellar/php/7.3.4_1/.bottle/etc/ (4 files)
/usr/local/Cellar/php/7.3.4_1/.bottle/var/log/php-fpm.log
/usr/local/Cellar/php/7.3.4_1/bin/pear
/usr/local/Cellar/php/7.3.4_1/bin/peardev
/usr/local/Cellar/php/7.3.4_1/bin/pecl
/usr/local/Cellar/php/7.3.4_1/bin/phar
/usr/local/Cellar/php/7.3.4_1/bin/phar.phar
/usr/local/Cellar/php/7.3.4_1/bin/php
/usr/local/Cellar/php/7.3.4_1/bin/php-cgi
/usr/local/Cellar/php/7.3.4_1/bin/php-config
/usr/local/Cellar/php/7.3.4_1/bin/phpdbg
/usr/local/Cellar/php/7.3.4_1/bin/phpize
/usr/local/Cellar/php/7.3.4_1/homebrew.mxcl.php.plist
/usr/local/Cellar/php/7.3.4_1/include/php/ (316 files)
/usr/local/Cellar/php/7.3.4_1/lib/httpd/modules/libphp7.so
/usr/local/Cellar/php/7.3.4_1/lib/php/ (15 files)
/usr/local/Cellar/php/7.3.4_1/pecl
/usr/local/Cellar/php/7.3.4_1/sbin/php-fpm
/usr/local/Cellar/php/7.3.4_1/share/man/ (8 files)
/usr/local/Cellar/php/7.3.4_1/share/php/ (159 files)

TagsNo tags attached.
Operating SystemmacOS High Sierra
PHP Version7.3.2-7.3.4

Activities

derick

2019-10-01 13:45

administrator   ~0005156

This looks like some strange configuration on your machine. I see that in your configure output, you have:
checking for PHP extension directory... /usr/local/Cellar/php/7.3.4_1/pecl/20180731

Which is something odd, as it should have "extensions" where it has "pecl".
You will need to take that up with the people that packaged your PHP binaries as it is a bug in their packages.

Another important warning at the end of pecl install is:

Warning: mkdir(): File exists in /usr/local/Cellar/php/7.3.4_1/share/php/pear/System.php on line 294
ERROR: failed to mkdir /usr/local/Cellar/php/7.3.4_1/pecl/20180731

Which is strange, as /usr/local/Cellar/php/7.3.4_1/pecl is a file (that you just used with "pecl install"). Of course it can not make a subdirectory of this.

There is a workaround however, by tweaking the pecl tool's configuration and php.ini directive for settings.

First, change the extension dir in your php.ini file (use php --ini to find which file to use).

Either change the extension_dir to /usr/local/Cellar/php/7.3.4_1/extensions/20180731, or add the directive if it doesn't exist:

extension_dir=/usr/local/Cellar/php/7.3.4_1/extensions/20180731

Then check whether that worked, with:
php -i | grep extensions

Now "pecl install xdebug" should work. If it still does not work, please ask for further support on Stackoverflow, as this is not a bug in Xdebug:
https://stackoverflow.com/questions/tagged/xdebug

peterdd

2019-10-01 18:27

reporter   ~0005157

I do not think I have unusual machine, I just use Homebrew on an old Macbook Pro to install a handful opensource stuff and do not fiddle much with that machine, mainly running just web browsers.

I found related bug report here https://github.com/Homebrew/homebrew-core/issues/41081

After trying back and forth, the php install with Homebrew now includes Xdebug:

I uninstalled the php7.3.4 with:

brew uninstall php
brew uninstall php72-tideways

then

brew install php

which is now php version 7.3.10

and tried another package install:
pecl install imagick

and got a similiar error:

....
running: make INSTALL_ROOT="/private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4" install
Installing shared extensions: /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php/7.3.10/pecl/20180731/
Installing header files: /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php/7.3.10/include/php/
running: find "/private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4" | xargs ls -dils
4319751472 0 drwxr-xr-x 3 peter wheel 96 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4
4319751871 0 drwxr-xr-x 3 peter wheel 96 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr
4319751872 0 drwxr-xr-x 3 peter wheel 96 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local
4319751873 0 drwxr-xr-x 3 peter wheel 96 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar
4319751874 0 drwxr-xr-x 3 peter wheel 96 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php
4319751875 0 drwxr-xr-x 4 peter wheel 128 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php/7.3.10
4319751881 0 drwxr-xr-x 3 peter wheel 96 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php/7.3.10/include
4319751882 0 drwxr-xr-x 3 peter wheel 96 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php/7.3.10/include/php
4319751883 0 drwxr-xr-x 3 peter wheel 96 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php/7.3.10/include/php/ext
4319751884 0 drwxr-xr-x 3 peter wheel 96 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php/7.3.10/include/php/ext/imagick
4319751885 8 -rw-r--r-- 1 peter wheel 1828 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php/7.3.10/include/php/ext/imagick/php_imagick_shared.h
4319751876 0 drwxr-xr-x 3 peter wheel 96 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php/7.3.10/pecl
4319751877 0 drwxr-xr-x 3 peter wheel 96 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php/7.3.10/pecl/20180731
4319751878 832 -rwxr-xr-x 1 peter wheel 424536 1 Okt 15:45 /private/tmp/pear/temp/pear-build-peterZFiwea/install-imagick-3.4.4/usr/local/Cellar/php/7.3.10/pecl/20180731/imagick.so

Build process completed successfully
Installing '/usr/local/Cellar/php/7.3.10/include/php/ext/imagick/php_imagick_shared.h'
Installing '/usr/local/Cellar/php/7.3.10/pecl/20180731/imagick.so'

Warning: mkdir(): File exists in System.php on line 294
PHP Warning: mkdir(): File exists in /usr/local/Cellar/php/7.3.10/share/php/pear/System.php on line 294

Warning: mkdir(): File exists in /usr/local/Cellar/php/7.3.10/share/php/pear/System.php on line 294
ERROR: failed to mkdir /usr/local/Cellar/php/7.3.10/pecl/20180731

So this is/was probably a Homebrew/PHP/PECL problem.
The pecl command is available after I run brew install php, but not before.
Also there is a php-fpm

Homebrew seems to work a lot with symbolic links:

peter:~>ls -l /usr/local/bin/php
lrwxr-xr-x 1 peter admin 28 1 Okt 15:38 /usr/local/bin/php -> ../Cellar/php/7.3.10/bin/php

Probably this confuses pecl?

peter:~>php -v
PHP 7.3.10 (cli) (built: Sep 30 2019 19:59:54) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.10, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.10, Copyright (c) 1999-2018, by Zend Technologies

There is also a php-fpm that probably comes with macOS High Sierra included?:

peter:~>php-fpm -v
PHP 7.1.23 (fpm-fcgi) (built: Nov 27 2018 16:59:27)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies

Which is strange, as /usr/local/Cellar/php/7.3.4_1/pecl is a file (that you just used with "pecl install"). Of course it can not make a subdirectory of this.
Well, ..:
peter:~>ls -l /usr/local/Cellar/php/7.3.10/
total 176
-rw-r--r-- 1 peter staff 3141 1 Okt 15:38 INSTALL_RECEIPT.json
-rw-r--r-- 1 peter staff 3204 24 Sep 11:20 LICENSE
-rw-r--r-- 1 peter staff 70866 24 Sep 11:20 NEWS
-rw-r--r-- 1 peter staff 1609 24 Sep 11:20 README.md
drwxr-xr-x 12 peter staff 384 1 Okt 15:38 bin
-rw-r--r-- 1 peter staff 628 1 Okt 15:38 homebrew.mxcl.php.plist
drwxr-xr-x 3 peter staff 96 24 Sep 11:20 include
drwxr-xr-x 4 peter staff 128 24 Sep 11:20 lib
lrwxr-xr-x 1 peter staff 23 1 Okt 15:38 pecl -> /usr/local/lib/php/pecl
drwxr-xr-x 3 peter staff 96 24 Sep 11:20 sbin
drwxr-xr-x 4 peter staff 128 24 Sep 11:20 share
peter:~>

Issue History

Date Modified Username Field Change
2019-10-01 11:22 peterdd New Issue
2019-10-01 13:45 derick Assigned To => derick
2019-10-01 13:45 derick Status new => resolved
2019-10-01 13:45 derick Resolution open => no change required
2019-10-01 13:45 derick Note Added: 0005156
2019-10-01 18:27 peterdd Note Added: 0005157