Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-hidef.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php74-armhfp-2848cef0bcbf6b01ef9b511cf3180433f537bbcb/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-hidef.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php74-php-pecl-hidef-0.1.13-7.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-hidef.spec"], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php74-armhfp-2848cef0bcbf6b01ef9b511cf3180433f537bbcb/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-hidef.spec"] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R8vHb3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php74-php-pecl-hidef-0.1.13 + /usr/bin/mkdir -p php74-php-pecl-hidef-0.1.13 + cd php74-php-pecl-hidef-0.1.13 + /usr/bin/gzip -dc /builddir/build/SOURCES/hidef-0.1.13.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv hidef-0.1.13 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS + cp /builddir/build/SOURCES/3_01.txt LICENSE + sed -e s/IS_CONSTANT_ARRAY/IS_CONSTANT_AST/ -i frozenarray.c + sed -e /PHP_HIDEF_VERSION/s/0.1.12/0.1.13/ -i php_hidef.h ++ sed -n '/#define PHP_HIDEF_VERSION/{s/.* "//;s/".*$//;p}' php_hidef.h + extver=0.1.13 + test x0.1.13 '!=' x0.1.13 + cd .. + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mV8Ad9 + umask 022 + cd /builddir/build/BUILD + cd php74-php-pecl-hidef-0.1.13 + cd NTS + /opt/rh/php74/root/usr/bin/phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/opt/rh/php74/root/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/opt/rh/php74/root/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/php74/root/usr --exec-prefix=/opt/rh/php74/root/usr --bindir=/opt/rh/php74/root/usr/bin --sbindir=/opt/rh/php74/root/usr/sbin --sysconfdir=/etc/opt/rh/php74 --datadir=/opt/rh/php74/root/usr/share --includedir=/opt/rh/php74/root/usr/include --libdir=/opt/rh/php74/root/usr/lib --libexecdir=/opt/rh/php74/root/usr/libexec --localstatedir=/var/opt/rh/php74 --sharedstatedir=/var/opt/rh/php74/lib --mandir=/opt/rh/php74/root/usr/share/man --infodir=/opt/rh/php74/root/usr/share/info --with-libdir=lib --with-php-config=/opt/rh/php74/root/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking 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 armv7hl-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no 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... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /opt/rh/php74/root/usr checking for PHP includes... -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/php74/root/usr/lib/php/modules checking for PHP installed headers prefix... /opt/rh/php74/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable hidef support... yes, shared checking for malloc_trim... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/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 configure: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/include -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/main -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c -o hidef.lo /bin/sh /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/include -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/main -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/frozenarray.c -o frozenarray.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/include -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/main -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c -fPIC -DPIC -o .libs/hidef.o libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/include -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/main -I/builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/frozenarray.c -fPIC -DPIC -o .libs/frozenarray.o In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:356:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/frozenarray.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:356:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:611:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:611:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c: In function 'hidef_define_constant': /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:181:3: error: 'zend_constant' has no member named 'flags' c.flags = ctxt->flags; ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:182:3: error: 'zend_constant' has no member named 'module_number' c.module_number = ctxt->module_number; ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:200:8: error: 'IS_BOOL' undeclared (first use in this function) case IS_BOOL: ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:200:8: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:218:24: error: incompatible types when assigning to type 'char[1]' from type 'char *' Z_STRVAL_P(&c.value) = zend_strndup(Z_STRVAL_P(&c.value), Z_STRLEN_P(&c.value)); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:220:3: error: 'zend_constant' has no member named 'name_len' c.name_len = strlen(key)+1; ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:221:30: error: 'zend_constant' has no member named 'name_len' c.name = zend_strndup(key, c.name_len-1); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:235:49: error: 'zend_constant' has no member named 'name_len' zend_hash_add(hidef_constants_table, c.name, c.name_len, &c.value, sizeof(c.value), NULL); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:235:3: error: too many arguments to function 'zend_hash_add' zend_hash_add(hidef_constants_table, c.name, c.name_len, &c.value, sizeof(c.value), NULL); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:121:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c: In function 'hidef_ini_parser_cb': /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:365:18: error: 'IS_BOOL' undeclared (first use in this function) ctxt->type = IS_BOOL; ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:338:6: warning: unused variable 'type' [-Wunused-variable] int type = IS_STRING; ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c: In function 'hidef_parse_ini': /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:472:2: warning: missing braces around initializer [-Wmissing-braces] zend_file_handle fh = {0,}; ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:472:2: warning: (near initialization for 'fh.handle') [-Wmissing-braces] /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c: In function 'OnUpdate_request_ini': /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:525:28: warning: assignment from incompatible pointer type [enabled by default] HIDEF_G(per_request_ini) = new_value; ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:537:3: warning: passing argument 1 of 'hidef_parse_ini' from incompatible pointer type [enabled by default] if(!hidef_parse_ini(new_value, &ctxt TSRMLS_CC)) ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:469:12: note: expected 'const char *' but argument is of type 'struct zend_string *' static int hidef_parse_ini(const char *ini_file, void* pctxt TSRMLS_DC) ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:539:4: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'struct zend_string *' [-Wformat=] zend_error(E_WARNING, "hidef cannot read %s", new_value); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c: In function 'hidef_load_data': /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:584:4: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] if((data == NULL) || zend_hash_add(hidef_data_hash, key, key_len+1, &data, sizeof(void*), NULL) == FAILURE) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:121:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:584:4: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] if((data == NULL) || zend_hash_add(hidef_data_hash, key, key_len+1, &data, sizeof(void*), NULL) == FAILURE) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:121:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:584:4: error: too many arguments to function 'zend_hash_add' if((data == NULL) || zend_hash_add(hidef_data_hash, key, key_len+1, &data, sizeof(void*), NULL) == FAILURE) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:121:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:584:100: warning: comparison between pointer and integer [enabled by default] if((data == NULL) || zend_hash_add(hidef_data_hash, key, key_len+1, &data, sizeof(void*), NULL) == FAILURE) ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/frozenarray.c: At top level: /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/frozenarray.c:31:40: fatal error: ext/standard/php_smart_str.h: No such file or directory #include "ext/standard/php_smart_str.h" ^ compilation terminated. /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c: In function 'zm_startup_hidef': /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:637:2: warning: passing argument 3 of '_zend_hash_init' from incompatible pointer type [enabled by default] zend_hash_init(hidef_data_hash, 32, NULL, hidef_zval_pfree, 1); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:100:29: note: expected 'dtor_func_t' but argument is of type 'void (*)(void *)' ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c: In function 'zm_info_hidef': /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:800:2: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default] while (zend_hash_get_current_data_ex(EG(zend_constants), (void **) &val, &pos) != FAILURE) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:237:30: note: expected 'HashPosition *' but argument is of type 'void **' ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:800:2: error: too many arguments to function 'zend_hash_get_current_data_ex' while (zend_hash_get_current_data_ex(EG(zend_constants), (void **) &val, &pos) != FAILURE) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:237:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:800:81: warning: comparison between pointer and integer [enabled by default] while (zend_hash_get_current_data_ex(EG(zend_constants), (void **) &val, &pos) != FAILURE) ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:802:10: error: 'zend_constant' has no member named 'module_number' if (val->module_number == module_number) ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c: In function 'zif_hidef_fetch': /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:840:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if(zend_hash_find(hidef_data_hash, strkey, strkey_len+1, (void**)&hentry) == FAILURE) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:840:2: error: too many arguments to function 'zend_hash_find' if(zend_hash_find(hidef_data_hash, strkey, strkey_len+1, (void**)&hentry) == FAILURE) ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-hidef-0.1.13/NTS/hidef.c:840:76: warning: comparison between pointer and integer [enabled by default] if(zend_hash_find(hidef_data_hash, strkey, strkey_len+1, (void**)&hentry) == FAILURE) ^ make: *** [hidef.lo] Error 1 make: *** Waiting for unfinished jobs.... make: *** [frozenarray.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.mV8Ad9 (%build) Bad exit status from /var/tmp/rpm-tmp.mV8Ad9 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-hidef.spec