- Notifications
You must be signed in to change notification settings - Fork 15.9k
Closed
Description
What version of protobuf and what language are you using?
Version: 3.14.0, C implementation
Language: PHP 8.0 (nightly)
What operating system (Linux, Windows, ...) and version?
Linux Xenial
What did you do?
- Install PHP 8.0 (nightly)
- run
pecl install protobuf
What did you expect to see
Successful installation
What did you see instead?
Installation failure
$ pecl install protobuf WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading protobuf-3.14.0.tgz ... Starting to download protobuf-3.14.0.tgz (131,911 bytes) .............................done: 131,911 bytes 21 source files, building running: phpize Configuring for: PHP Api Version: 20200930 Zend Module Api No: 20200930 Zend Extension Api No: 420200930 building in /tmp/pear/install/pear-build-travis7PBnJr/protobuf-3.14.0 running: /tmp/pear/install/protobuf/configure --with-php-config=/home/travis/.phpenv/versions/master/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for pkg-config... /usr/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-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for PHP prefix... /home/travis/.phpenv/versions/master checking for PHP includes... -I/home/travis/.phpenv/versions/master/include/php -I/home/travis/.phpenv/versions/master/include/php/main -I/home/travis/.phpenv/versions/master/include/php/TSRM -I/home/travis/.phpenv/versions/master/include/php/Zend -I/home/travis/.phpenv/versions/master/include/php/ext -I/home/travis/.phpenv/versions/master/include/php/ext/date/lib checking for PHP extension directory... /home/travis/.phpenv/versions/master/lib/php/extensions/no-debug-zts-20200930 checking for PHP installed headers prefix... /home/travis/.phpenv/versions/master/include/php checking if debug is enabled... no checking if zts is enabled... yes checking for gawk... gawk checking whether to enable Protobuf extension... yes, shared checking for a sed that does not truncate output... /bin/sed checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /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... 1572864 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 if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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/bash /tmp/pear/install/pear-build-travis7PBnJr/protobuf-3.14.0/libtool --mode=compile cc -I. -I/tmp/pear/install/protobuf -I/tmp/pear/install/pear-build-travis7PBnJr/protobuf-3.14.0/include -I/tmp/pear/install/pear-build-travis7PBnJr/protobuf-3.14.0/main -I/tmp/pear/install/protobuf -I/home/travis/.phpenv/versions/master/include/php -I/home/travis/.phpenv/versions/master/include/php/main -I/home/travis/.phpenv/versions/master/include/php/TSRM -I/home/travis/.phpenv/versions/master/include/php/Zend -I/home/travis/.phpenv/versions/master/include/php/ext -I/home/travis/.phpenv/versions/master/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -std=gnu99 -c /tmp/pear/install/protobuf/arena.c -o arena.lo mkdir .libs cc -I. -I/tmp/pear/install/protobuf -I/tmp/pear/install/pear-build-travis7PBnJr/protobuf-3.14.0/include -I/tmp/pear/install/pear-build-travis7PBnJr/protobuf-3.14.0/main -I/tmp/pear/install/protobuf -I/home/travis/.phpenv/versions/master/include/php -I/home/travis/.phpenv/versions/master/include/php/main -I/home/travis/.phpenv/versions/master/include/php/TSRM -I/home/travis/.phpenv/versions/master/include/php/Zend -I/home/travis/.phpenv/versions/master/include/php/ext -I/home/travis/.phpenv/versions/master/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -std=gnu99 -c /tmp/pear/install/protobuf/arena.c -fPIC -DPIC -o .libs/arena.o /bin/bash /tmp/pear/install/pear-build-travis7PBnJr/protobuf-3.14.0/libtool --mode=compile cc -I. -I/tmp/pear/install/protobuf -I/tmp/pear/install/pear-build-travis7PBnJr/protobuf-3.14.0/include -I/tmp/pear/install/pear-build-travis7PBnJr/protobuf-3.14.0/main -I/tmp/pear/install/protobuf -I/home/travis/.phpenv/versions/master/include/php -I/home/travis/.phpenv/versions/master/include/php/main -I/home/travis/.phpenv/versions/master/include/php/TSRM -I/home/travis/.phpenv/versions/master/include/php/Zend -I/home/travis/.phpenv/versions/master/include/php/ext -I/home/travis/.phpenv/versions/master/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -std=gnu99 -c /tmp/pear/install/protobuf/array.c -o array.lo cc -I. -I/tmp/pear/install/protobuf -I/tmp/pear/install/pear-build-travis7PBnJr/protobuf-3.14.0/include -I/tmp/pear/install/pear-build-travis7PBnJr/protobuf-3.14.0/main -I/tmp/pear/install/protobuf -I/home/travis/.phpenv/versions/master/include/php -I/home/travis/.phpenv/versions/master/include/php/main -I/home/travis/.phpenv/versions/master/include/php/TSRM -I/home/travis/.phpenv/versions/master/include/php/Zend -I/home/travis/.phpenv/versions/master/include/php/ext -I/home/travis/.phpenv/versions/master/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -std=gnu99 -c /tmp/pear/install/protobuf/array.c -fPIC -DPIC -o .libs/array.o /tmp/pear/install/protobuf/array.c: In function ‘Array_ModuleInit’: /tmp/pear/install/protobuf/array.c:639:4: error: ‘zend_object_handlers {aka struct _zend_object_handlers}’ has no member named ‘compare_objects’ h->compare_objects = RepeatedField_compare_objects; ^ Makefile:210: recipe for target 'array.lo' failed make: *** [array.lo] Error 1 ERROR: `make' failed Anything else we should know about your project / environment
Complete run is available here https://travis-ci.org/github/googleads/google-ads-php/jobs/745007610
Metadata
Metadata
Assignees
Labels
No labels