Skip to content

pecl install protobuf fails on macOS with PHP 7.4 #7017

Closed
@bramus

Description

What version of protobuf and what language are you using?

Version: None yet (as I'm trying to install 3.11.2)
Language: PHP

What operating system (Linux, Windows, ...) and version?

PHP 7.4.0
macOS 10.15.2

What runtime / compiler are you using (e.g., python version or gcc version)

$ cc -v
Apple clang version 11.0.0 (clang-1100.0.33.16)
Target: x86_64-apple-darwin19.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

What did you do?

  1. Install PHP 7.4 using Homebrew (brew install php)
  2. Try installing protobuf using pecl: pecl install protobuf

What did you expect to see

"It worked" (or the like)

What did you see instead?

$ pecl install protobuf
downloading protobuf-3.11.2.tgz ...
Starting to download protobuf-3.11.2.tgz (218,305 bytes)
.............................................done: 218,305 bytes
15 source files, building
running: phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
building in /private/tmp/pear/temp/pear-build-bramusepQpfX/protobuf-3.11.2
running: /private/tmp/pear/temp/protobuf/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 pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
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 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-darwin19.2.0
checking host system type... x86_64-apple-darwin19.2.0
checking target system type... x86_64-apple-darwin19.2.0
checking for PHP prefix... /usr/local/Cellar/php/7.4.0
checking for PHP includes... -I/usr/local/Cellar/php/7.4.0/include/php -I/usr/local/Cellar/php/7.4.0/include/php/main -I/usr/local/Cellar/php/7.4.0/include/php/TSRM -I/usr/local/Cellar/php/7.4.0/include/php/Zend -I/usr/local/Cellar/php/7.4.0/include/php/ext -I/usr/local/Cellar/php/7.4.0/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/Cellar/php/7.4.0/pecl/20190902
checking for PHP installed headers prefix... /usr/local/Cellar/php/7.4.0/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable Protobuf extension... yes, shared
checking for a sed that does not truncate output... /usr/bin/sed
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 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 -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... darwin19.2.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: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/tmp/pear/temp/pear-build-bramusepQpfX/protobuf-3.11.2/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusepQpfX/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusepQpfX/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/php/7.4.0/include/php -I/usr/local/Cellar/php/7.4.0/include/php/main -I/usr/local/Cellar/php/7.4.0/include/php/TSRM -I/usr/local/Cellar/php/7.4.0/include/php/Zend -I/usr/local/Cellar/php/7.4.0/include/php/ext -I/usr/local/Cellar/php/7.4.0/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/protobuf/array.c -o array.lo
mkdir .libs
 cc -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusepQpfX/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusepQpfX/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/php/7.4.0/include/php -I/usr/local/Cellar/php/7.4.0/include/php/main -I/usr/local/Cellar/php/7.4.0/include/php/TSRM -I/usr/local/Cellar/php/7.4.0/include/php/Zend -I/usr/local/Cellar/php/7.4.0/include/php/ext -I/usr/local/Cellar/php/7.4.0/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/protobuf/array.c  -fno-common -DPIC -o .libs/array.o
In file included from /private/tmp/pear/temp/protobuf/array.c:35:
/private/tmp/pear/temp/protobuf/protobuf.h:295:72: error: unknown type name 'ulong'
static inline int php_proto_zend_hash_index_update_zval(HashTable* ht, ulong h,
                                                                       ^
/private/tmp/pear/temp/protobuf/protobuf.h:311:71: error: unknown type name 'ulong'
static inline int php_proto_zend_hash_index_update_mem(HashTable* ht, ulong h,
                                                                      ^
/private/tmp/pear/temp/protobuf/protobuf.h:340:55: error: unknown type name 'ulong'
                                                      ulong h, void** pDest) {
                                                      ^
/private/tmp/pear/temp/protobuf/protobuf.h:354:54: error: unknown type name 'ulong'
                                                     ulong h, void** pDest) {
                                                     ^
4 errors generated.
make: *** [array.lo] Error 1
ERROR: `make' failed

Anything else we should know about your project / environment

When switching to a PHP 7.3 environment it works fine:

  • Switching PHP versions:
brew install [email protected]
brew unlink php
brew link --force --overwrite [email protected]
brew services start [email protected]
  • Running pecl install protobuf with PHP 7.3 now enabled:
$ pecl install protobuf
downloading protobuf-3.11.2.tgz ...
Starting to download protobuf-3.11.2.tgz (218,305 bytes)
.............................................done: 218,305 bytes
15 source files, building

Warning: preg_match(): Unknown modifier '7' in Builder.php on line 310
PHP Warning:  preg_match(): Unknown modifier '7' in /usr/local/Cellar/[email protected]/7.3.12/share/[email protected]/pear/PEAR/Builder.php on line 310

Warning: preg_match(): Unknown modifier '7' in /usr/local/Cellar/[email protected]/7.3.12/share/[email protected]/pear/PEAR/Builder.php on line 310
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-bramusfm9P01/protobuf-3.11.2
running: /private/tmp/pear/temp/protobuf/configure --with-php-config=/usr/local/opt/[email protected]/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-darwin19.2.0
checking host system type... x86_64-apple-darwin19.2.0
checking target system type... x86_64-apple-darwin19.2.0
checking for PHP prefix... /usr/local/Cellar/[email protected]/7.3.12
checking for PHP includes... -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/Cellar/[email protected]/7.3.12/pecl/20180731
checking for PHP installed headers prefix... /usr/local/Cellar/[email protected]/7.3.12/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 Protobuf extension... yes, shared
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 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 -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... darwin19.2.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-bramusfm9P01/protobuf-3.11.2/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/protobuf/array.c -o array.lo
mkdir .libs
 cc -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/protobuf/array.c  -fno-common -DPIC -o .libs/array.o
/bin/sh /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/protobuf/def.c -o def.lo
 cc -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/protobuf/def.c  -fno-common -DPIC -o .libs/def.o
/bin/sh /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/protobuf/encode_decode.c -o encode_decode.lo
 cc -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/protobuf/encode_decode.c  -fno-common -DPIC -o .libs/encode_decode.o
/bin/sh /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/protobuf/map.c -o map.lo
 cc -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/protobuf/map.c  -fno-common -DPIC -o .libs/map.o
/bin/sh /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/protobuf/message.c -o message.lo
 cc -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/protobuf/message.c  -fno-common -DPIC -o .libs/message.o
/bin/sh /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/protobuf/protobuf.c -o protobuf.lo
 cc -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/protobuf/protobuf.c  -fno-common -DPIC -o .libs/protobuf.o
/bin/sh /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/protobuf/storage.c -o storage.lo
 cc -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/protobuf/storage.c  -fno-common -DPIC -o .libs/storage.o
/bin/sh /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/protobuf/type_check.c -o type_check.lo
 cc -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/protobuf/type_check.c  -fno-common -DPIC -o .libs/type_check.o
/bin/sh /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/protobuf/upb.c -o upb.lo
 cc -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/protobuf/upb.c  -fno-common -DPIC -o .libs/upb.o
/bin/sh /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/protobuf/utf8.c -o utf8.lo
 cc -I. -I/private/tmp/pear/temp/protobuf -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/protobuf/utf8.c  -fno-common -DPIC -o .libs/utf8.o
/bin/sh /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/libtool --mode=link cc -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/include -I/private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/main -I/private/tmp/pear/temp/protobuf -I/usr/local/Cellar/[email protected]/7.3.12/include/php -I/usr/local/Cellar/[email protected]/7.3.12/include/php/main -I/usr/local/Cellar/[email protected]/7.3.12/include/php/TSRM -I/usr/local/Cellar/[email protected]/7.3.12/include/php/Zend -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext -I/usr/local/Cellar/[email protected]/7.3.12/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2    -o protobuf.la -export-dynamic -avoid-version -prefer-pic -module -rpath /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/modules  array.lo def.lo encode_decode.lo map.lo message.lo protobuf.lo storage.lo type_check.lo upb.lo utf8.lo
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/protobuf.so -bundle  .libs/array.o .libs/def.o .libs/encode_decode.o .libs/map.o .libs/message.o .libs/protobuf.o .libs/storage.o .libs/type_check.o .libs/upb.o .libs/utf8.o
dsymutil .libs/protobuf.so || :
creating protobuf.la
(cd .libs && rm -f protobuf.la && ln -s ../protobuf.la protobuf.la)
/bin/sh /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/libtool --mode=install cp ./protobuf.la /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/modules
cp ./.libs/protobuf.so /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/modules/protobuf.so
cp ./.libs/protobuf.lai /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.2/modules/protobuf.la
----------------------------------------------------------------------
Libraries have been installed in:
   /private/tmp/pear/temp/pear-build-bramusfm9P01/protobuf-3.11.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-bramusfm9P01/install-protobuf-3.11.2" install
Installing shared extensions:     /private/tmp/pear/temp/pear-build-bramusfm9P01/install-protobuf-3.11.2/usr/local/Cellar/[email protected]/7.3.12/pecl/20180731/
running: find "/private/tmp/pear/temp/pear-build-bramusfm9P01/install-protobuf-3.11.2" | xargs ls -dils
61845699    0 drwxr-xr-x  3 bramus  wheel      96 16 Dec 16:47 /private/tmp/pear/temp/pear-build-bramusfm9P01/install-protobuf-3.11.2
61846110    0 drwxr-xr-x  3 bramus  wheel      96 16 Dec 16:47 /private/tmp/pear/temp/pear-build-bramusfm9P01/install-protobuf-3.11.2/usr
61846111    0 drwxr-xr-x  3 bramus  wheel      96 16 Dec 16:47 /private/tmp/pear/temp/pear-build-bramusfm9P01/install-protobuf-3.11.2/usr/local
61846112    0 drwxr-xr-x  3 bramus  wheel      96 16 Dec 16:47 /private/tmp/pear/temp/pear-build-bramusfm9P01/install-protobuf-3.11.2/usr/local/Cellar
61846113    0 drwxr-xr-x  3 bramus  wheel      96 16 Dec 16:47 /private/tmp/pear/temp/pear-build-bramusfm9P01/install-protobuf-3.11.2/usr/local/Cellar/[email protected]
61846114    0 drwxr-xr-x  3 bramus  wheel      96 16 Dec 16:47 /private/tmp/pear/temp/pear-build-bramusfm9P01/install-protobuf-3.11.2/usr/local/Cellar/[email protected]/7.3.12
61846115    0 drwxr-xr-x  3 bramus  wheel      96 16 Dec 16:47 /private/tmp/pear/temp/pear-build-bramusfm9P01/install-protobuf-3.11.2/usr/local/Cellar/[email protected]/7.3.12/pecl
61846116    0 drwxr-xr-x  3 bramus  wheel      96 16 Dec 16:47 /private/tmp/pear/temp/pear-build-bramusfm9P01/install-protobuf-3.11.2/usr/local/Cellar/[email protected]/7.3.12/pecl/20180731
61846117 1072 -rwxr-xr-x  1 bramus  wheel  548304 16 Dec 16:47 /private/tmp/pear/temp/pear-build-bramusfm9P01/install-protobuf-3.11.2/usr/local/Cellar/[email protected]/7.3.12/pecl/20180731/protobuf.so

Build process completed successfully
Installing '/usr/local/Cellar/[email protected]/7.3.12/pecl/20180731/protobuf.so'
install ok: channel://pecl.php.net/protobuf-3.11.2
Extension protobuf enabled in php.ini

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions