Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created June 11, 2021 05:22
Show Gist options
  • Save r-rmcgibbo/59a444e09cf2a9b5ca6344c2de945709 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/59a444e09cf2a9b5ca6344c2de945709 to your computer and use it in GitHub Desktop.
system: x86_64-linux | build_time: 5 seconds | https://github.com/NixOS/nixpkgs/pull/126553
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/9snbinizxc50irxryxv4g4h8bwmpb56j-zmq-1.1.3.tgz
source root is zmq-1.1.3
setting SOURCE_DATE_EPOCH to timestamp 1454291443 of file zmq-1.1.3/zmq_sockopt.c
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "autoreconfPhase" }
autoreconfPhase
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
build/php.m4:2110: PHP_CONFIG_NICE is expanded from...
configure.ac:18: the top level
configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
build/libtool.m4:2727: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2726: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
build/libtool.m4:561: _LT_AC_LOCK is expanded from...
build/libtool.m4:1184: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2727: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2726: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
build/libtool.m4:561: _LT_AC_LOCK is expanded from...
build/libtool.m4:1184: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2727: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2726: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1184: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2727: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2726: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1184: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2727: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2726: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist
build/libtool.m4:1917: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not exist
build/libtool.m4:1917: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script
build/libtool.m4:1917: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not look like a libtool script
build/libtool.m4:1917: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'
build/libtool.m4:1917: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'
build/libtool.m4:1917: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: tag name \"$tagname\" already exists
build/libtool.m4:1917: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from...
build/libtool.m4:2809: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2808: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1917: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1184: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2809: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2808: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1917: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1184: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2809: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2808: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1917: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing libtool script ./build/ltmain.sh
configure flags: --disable-static --prefix=/nix/store/m0h03xjnglgd8rqg69lg152xcfv762lb-php-zmq-1.1.3 --with-zmq=/nix/store/g82lkr0n14xzrjlci6g92sfdn359gac5-zeromq-4.3.4
checking for grep that handles long lines and -e... /nix/store/7n3yzh9wza4bdqc04v01xddnfhkrwk2a-gnugrep-3.6/bin/grep
checking for egrep... /nix/store/7n3yzh9wza4bdqc04v01xddnfhkrwk2a-gnugrep-3.6/bin/grep -E
checking for a sed that does not truncate output... /nix/store/g34ldykl1cal5b9ir3xinnq70m52fcnq-gnused-4.8/bin/sed
checking pkg-config is at least version 0.9.0... yes
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -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... /nix/store/yfzamb1a3vwnzfda49iff6vwr5lc70rb-php-7.4.20
checking for PHP includes... -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/main -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/TSRM -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/Zend -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/ext -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/ext/date/lib
checking for PHP extension directory... /nix/store/yfzamb1a3vwnzfda49iff6vwr5lc70rb-php-7.4.20/lib/php/extensions
checking for PHP installed headers prefix... /nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php
checking if debug is enabled... no
checking if zts is enabled... yes
checking for gawk... gawk
checking whether to enable 0MQ support... yes, shared
checking whether to enable CZMQ support... no
checking for pkg-config... /nix/store/4014j2i3x45cmqjwaj1rxwd1l64sxlab-pkg-config-wrapper-0.29.2/bin/pkg-config
checking libzmq installation... found version 4.3.4, under /nix/store/g82lkr0n14xzrjlci6g92sfdn359gac5-zeromq-4.3.4
checking for zmq_socket_monitor in -lzmq... yes
checking for zmq_proxy_steerable in -lzmq... yes
checking for zmq_z85_decode in -lzmq... yes
checking for zmq_curve_keypair in -lzmq... yes
checking for zmq_ctx_get in -lzmq... yes
checking for zmq_unbind in -lzmq... yes
checking for zmq_disconnect in -lzmq... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdint.h... (cached) yes
checking for time.h... yes
checking for sys/time.h... yes
checking for mach/mach_time.h... no
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for gettimeofday... yes
checking for mach_absolute_time... no
checking for a sed that does not truncate output... /nix/store/g34ldykl1cal5b9ir3xinnq70m52fcnq-gnused-4.8/bin/sed
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
./configure: line 6518: /usr/bin/file: No such file or directory
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (ld) 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
checking whether the g++ linker (ld) supports shared libraries... yes
checking for g++ option to produce PIC...
checking if g++ static flag works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: SHELL=/nix/store/kxj6cblcsd1qcbbxlmbswwrn89zcmgd6-bash-4.4-p23/bin/bash EXTENSION_DIR=\$\(out\)/lib/php/extensions
/nix/store/kxj6cblcsd1qcbbxlmbswwrn89zcmgd6-bash-4.4-p23/bin/bash /build/zmq-1.1.3/libtool --mode=compile gcc -I. -I/build/zmq-1.1.3 -DPHP_ATOM_INC -I/build/zmq-1.1.3/include -I/build/zmq-1.1.3/main -I/build/zmq-1.1.3 -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/main -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/TSRM -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/Zend -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/ext -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/ext/date/lib -I/nix/store/g82lkr0n14xzrjlci6g92sfdn359gac5-zeromq-4.3.4/include -DHAVE_CONFIG_H -g -O2 -c /build/zmq-1.1.3/zmq.c -o zmq.lo
mkdir .libs
gcc -I. -I/build/zmq-1.1.3 -DPHP_ATOM_INC -I/build/zmq-1.1.3/include -I/build/zmq-1.1.3/main -I/build/zmq-1.1.3 -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/main -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/TSRM -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/Zend -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/ext -I/nix/store/qa4ajsny2iday92q319g1hsn51j8vdv2-php-7.4.20-dev/include/php/ext/date/lib -I/nix/store/g82lkr0n14xzrjlci6g92sfdn359gac5-zeromq-4.3.4/include -DHAVE_CONFIG_H -g -O2 -c /build/zmq-1.1.3/zmq.c -fPIC -DPIC -o .libs/zmq.o
/build/zmq-1.1.3/zmq.c: In function 'php_zmq_context_get':
/build/zmq-1.1.3/zmq.c:238:20: error: lvalue required as left operand of assignment
238 | GC_REFCOUNT(&le) = 1;
| ^
/build/zmq-1.1.3/zmq.c: In function 'php_zmq_socket_store':
/build/zmq-1.1.3/zmq.c:538:19: error: lvalue required as left operand of assignment
538 | GC_REFCOUNT(&le) = 1;
| ^
make: *** [Makefile:192: zmq.lo] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment