- Notifications
You must be signed in to change notification settings - Fork121
Open
Description
environment
- ubuntu20.04 in docker
- php8.0.3
- libsodium-1.0.18
- zeromq 4.1.4
# pecl install zmq-betaWARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to updatedownloading zmq-1.1.3.tgz ...Starting to download zmq-1.1.3.tgz (82,397 bytes)............done: 82,397 bytes24 source files, buildingrunning: phpizeConfiguring for:PHP Api Version: 20200930Zend Module Api No: 20200930Zend Extension Api No: 420200930Please provide the prefix of libzmq installation [autodetect] :building in /tmp/pear/temp/pear-build-defaultuserCOcgnt/zmq-1.1.3running: /tmp/pear/temp/zmq/configure --with-php-config=/usr/bin/php-config --with-zmqchecking for grep that handles long lines and -e... /usr/bin/grepchecking for egrep... /usr/bin/grep -Echecking for a sed that does not truncate output... /usr/bin/sedchecking for pkg-config... /usr/bin/pkg-configchecking pkg-config is at least version 0.9.0... yeschecking for cc... ccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether cc accepts -g... yeschecking for cc option to accept ISO C89... none neededchecking how to run the C preprocessor... cc -Echecking for icc... nochecking for suncc... nochecking for system library directory... libchecking if compiler supports -R... nochecking if compiler supports -Wl,-rpath,... yeschecking build system type... x86_64-pc-linux-gnuchecking host system type... x86_64-pc-linux-gnuchecking target system type... x86_64-pc-linux-gnuchecking for PHP prefix... /usrchecking for PHP includes... -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/libchecking for PHP extension directory... /usr/lib/php/20200930checking for PHP installed headers prefix... /usr/include/php/20200930checking if debug is enabled... nochecking if zts is enabled... nochecking for gawk... nochecking for nawk... nawkchecking if nawk is broken... nochecking whether to enable 0MQ support... yes, sharedchecking whether to enable CZMQ support... nochecking for pkg-config... /usr/bin/pkg-configchecking libzmq installation... found version 4.1.4, under /usr/localchecking for zmq_socket_monitor in -lzmq... yeschecking for zmq_proxy_steerable in -lzmq... yeschecking for zmq_z85_decode in -lzmq... yeschecking for zmq_curve_keypair in -lzmq... yeschecking for zmq_ctx_get in -lzmq... yeschecking for zmq_unbind in -lzmq... yeschecking for zmq_disconnect in -lzmq... yeschecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for stdint.h... (cached) yeschecking time.h usability... yeschecking time.h presence... yeschecking for time.h... yeschecking sys/time.h usability... yeschecking sys/time.h presence... yeschecking for sys/time.h... yeschecking mach/mach_time.h usability... nochecking mach/mach_time.h presence... nochecking for mach/mach_time.h... nochecking for library containing clock_gettime... none requiredchecking for clock_gettime... yeschecking for gettimeofday... yeschecking for mach_absolute_time... nochecking how to print strings... printfchecking for a sed that does not truncate output... (cached) /usr/bin/sedchecking for fgrep... /usr/bin/grep -Fchecking for ld used by cc... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -Bchecking the name lister (/usr/bin/nm -B) interface... BSD nmchecking whether ln -s works... yeschecking the maximum length of command line arguments... 1572864checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noopchecking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noopchecking for /usr/bin/ld option to reload object files... -rchecking for objdump... objdumpchecking how to recognize dependent libraries... pass_allchecking for dlltool... nochecking how to associate runtime and link libraries... printf %s\nchecking for ar... archecking for archiver @FILE support... @checking for strip... stripchecking for ranlib... ranlibchecking for gawk... (cached) nawkchecking command to parse /usr/bin/nm -B output from cc object... okchecking for sysroot... nochecking for a working dd... /usr/bin/ddchecking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1checking for mt... nochecking if : is a manifest tool... nochecking for dlfcn.h... yeschecking for objdir... .libschecking if cc supports -fno-rtti -fno-exceptions... nochecking for cc option to produce PIC... -fPIC -DPICchecking if cc PIC flag -fPIC -DPIC works... yeschecking if cc static flag -static works... yeschecking if cc supports -c -o file.o... yeschecking if cc supports -c -o file.o... (cached) yeschecking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... noconfigure: patching config.h.inconfigure: creating ./config.statusconfig.status: creating config.hconfig.status: executing libtool commandsrunning: make/bin/bash /tmp/pear/temp/pear-build-defaultuserCOcgnt/zmq-1.1.3/libtool --mode=compile cc -I. -I/tmp/pear/temp/zmq -I/tmp/pear/temp/pear-build-defaultuserCOcgnt/zmq-1.1.3/include -I/tmp/pear/temp/pear-build-defaultuserCOcgnt/zmq-1.1.3/main -I/tmp/pear/temp/zmq -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/zmq/zmq.c -o zmq.lolibtool: compile: cc -I. -I/tmp/pear/temp/zmq -I/tmp/pear/temp/pear-build-defaultuserCOcgnt/zmq-1.1.3/include -I/tmp/pear/temp/pear-build-defaultuserCOcgnt/zmq-1.1.3/main -I/tmp/pear/temp/zmq -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/zmq/zmq.c -fPIC -DPIC -o .libs/zmq.o/tmp/pear/temp/zmq/zmq.c: In function 'php_zmq_context_get':/tmp/pear/temp/zmq/zmq.c:238:20: error: lvalue required as left operand of assignment 238 | GC_REFCOUNT(&le) = 1; | ^/tmp/pear/temp/zmq/zmq.c: In function 'php_zmq_socket_store':/tmp/pear/temp/zmq/zmq.c:538:19: error: lvalue required as left operand of assignment 538 | GC_REFCOUNT(&le) = 1; | ^/tmp/pear/temp/zmq/zmq.c: In function 'php_zmq_connect_callback':/tmp/pear/temp/zmq/zmq.c:616:5: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'no_separation' 616 | fci->no_separation = 1; | ^~In file included from /tmp/pear/temp/zmq/zmq.c:32:/tmp/pear/temp/zmq/zmq.c: In function 'zim_zmqcontext_getsocket':/tmp/pear/temp/zmq/php_zmq_private.h:159:129: error: expected ')' before 'TSRMLS_CC' 159 | #define PHP_ZMQ_ERROR_HANDLING_THROW() zend_replace_error_handling(EH_THROW, php_zmq_socket_exception_sc_entry, &error_handling TSRMLS_CC); | ^~~~~~~~~/tmp/pear/temp/zmq/zmq.c:656:2: note: in expansion of macro 'PHP_ZMQ_ERROR_HANDLING_THROW' 656 | PHP_ZMQ_ERROR_HANDLING_THROW() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~/tmp/pear/temp/zmq/php_zmq_private.h:161:86: error: expected ')' before 'TSRMLS_CC' 161 | #define PHP_ZMQ_ERROR_HANDLING_RESTORE() zend_restore_error_handling(&error_handling TSRMLS_CC); | ^~~~~~~~~/tmp/pear/temp/zmq/zmq.c:661:2: note: in expansion of macro 'PHP_ZMQ_ERROR_HANDLING_RESTORE' 661 | PHP_ZMQ_ERROR_HANDLING_RESTORE() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/tmp/pear/temp/zmq/zmq.c: In function 'zim_zmqsocket___construct':/tmp/pear/temp/zmq/php_zmq_private.h:159:129: error: expected ')' before 'TSRMLS_CC' 159 | #define PHP_ZMQ_ERROR_HANDLING_THROW() zend_replace_error_handling(EH_THROW, php_zmq_socket_exception_sc_entry, &error_handling TSRMLS_CC); | ^~~~~~~~~/tmp/pear/temp/zmq/zmq.c:749:2: note: in expansion of macro 'PHP_ZMQ_ERROR_HANDLING_THROW' 749 | PHP_ZMQ_ERROR_HANDLING_THROW() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~/tmp/pear/temp/zmq/php_zmq_private.h:161:86: error: expected ')' before 'TSRMLS_CC' 161 | #define PHP_ZMQ_ERROR_HANDLING_RESTORE() zend_restore_error_handling(&error_handling TSRMLS_CC); | ^~~~~~~~~/tmp/pear/temp/zmq/zmq.c:754:2: note: in expansion of macro 'PHP_ZMQ_ERROR_HANDLING_RESTORE' 754 | PHP_ZMQ_ERROR_HANDLING_RESTORE() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~make: *** [Makefile:209: zmq.lo] Error 1ERROR: `make' failed# php -vPHP 8.0.3 (cli) (built: Mar 5 2021 07:54:13) ( NTS )Copyright (c) The PHP GroupZend Engine v4.0.3, Copyright (c) Zend Technologies with Zend OPcache v8.0.3, Copyright (c), by Zend Technologies
Metadata
Metadata
Assignees
Labels
No labels