/bin/sh /dev/shm/BUILD/zephir-0f4dfe0398dd11035c729b38b4d9a6a0a52263fc/ext/libtool --mode=compile cc -I. -I/dev/shm/BUILD/zephir-0f4dfe0398dd11035c729b38b4d9a6a0a52263fc/ext -DPHP_ATOM_INC -I/dev/shm/BUILD/zephir-0f4dfe0398dd11035c729b38b4d9a6a0a52263fc/ext/include -I/dev/shm/BUILD/zephir-0f4dfe0398dd11035c729b38b4d9a6a0a52263fc/ext/main -I/dev/shm/BUILD/zephir-0f4dfe0398dd11035c729b38b4d9a6a0a52263fc/ext -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c /dev/shm/BUILD/zephir-0f4dfe0398dd11035c729b38b4d9a6a0a52263fc/ext/kernel/require.c -o kernel/require.lo
In file included from /dev/shm/BUILD/zephir-0f4dfe0398dd11035c729b38b4d9a6a0a52263fc/ext/kernel/string.c:51:
/dev/shm/BUILD/zephir-0f4dfe0398dd11035c729b38b4d9a6a0a52263fc/ext/kernel/string.c: In function 'zephir_preg_match':
./kernel/memory.h:82:66: error: 'ZEPHIR_METHOD_GLOBALS_PTR' undeclared (first use in this function); did you mean 'ZEPHIR_KERNEL_GLOBALS_H'?
#define zephir_memory_observe(var) zephir_do_memory_observe(var, ZEPHIR_METHOD_GLOBALS_PTR);
^~~~~~~~~~~~~~~~~~~~~~~~~
./kernel/memory.h:94:2: note: in expansion of macro 'zephir_memory_observe'
zephir_memory_observe(z); \
^~~~~~~~~~~~~~~~~~~~~
/dev/shm/BUILD/zephir-0f4dfe0398dd11035c729b38b4d9a6a0a52263fc/ext/kernel/string.c:1117:2: note: in expansion of macro 'ZEPHIR_INIT_VAR'
ZEPHIR_INIT_VAR(&tmp_flags);
^~~~~~~~~~~~~~~
./kernel/memory.h:82:66: note: each undeclared identifier is reported only once for each function it appears in
#define zephir_memory_observe(var) zephir_do_memory_observe(var, ZEPHIR_METHOD_GLOBALS_PTR);
^~~~~~~~~~~~~~~~~~~~~~~~~
./kernel/memory.h:94:2: note: in expansion of macro 'zephir_memory_observe'
zephir_memory_observe(z); \
^~~~~~~~~~~~~~~~~~~~~
/dev/shm/BUILD/zephir-0f4dfe0398dd11035c729b38b4d9a6a0a52263fc/ext/kernel/string.c:1117:2: note: in expansion of macro 'ZEPHIR_INIT_VAR'
ZEPHIR_INIT_VAR(&tmp_flags);
^~~~~~~~~~~~~~~
make[1]: *** [Makefile:210: kernel/string.lo] Error 1
Fixed in the
development
branch. Feel free to open a new issue if the problem appears again. Thank you for the bug report.@ruudboon In general I need reproducible steps I can add to current .travis.yml