Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-blenc.spec'], nspawn_args=[]shell=Falseuid=995env={'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_php73-armhfp-c3c11cc3083d5d2310e971a151b244f042bfcdc7/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-blenc.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/php73-php-pecl-blenc-1.1.4-0.4.b.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-blenc.spec"], nspawn_args=[]shell=Falseuid=995env={'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_php73-armhfp-c3c11cc3083d5d2310e971a151b244f042bfcdc7/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-blenc.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.uVgVJe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php73-php-pecl-blenc-1.1.4 + /usr/bin/mkdir -p php73-php-pecl-blenc-1.1.4 + cd php73-php-pecl-blenc-1.1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/blenc-1.1.4b.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv blenc-1.1.4b NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS + echo 'Patch #0 (blenc-rpm.patch):' Patch #0 (blenc-rpm.patch): + /usr/bin/cat /builddir/build/SOURCES/blenc-rpm.patch + /usr/bin/patch -p1 -b --suffix .rpm --fuzz=0 patching file blenc.c patching file tools/blencode.php Patch #1 (blenc-svn.patch): + echo 'Patch #1 (blenc-svn.patch):' + /usr/bin/cat /builddir/build/SOURCES/blenc-svn.patch + /usr/bin/patch -p0 -b --suffix .rpm --fuzz=0 patching file blenc.c + sed -e s:/usr/bin/php:/opt/rh/php73/root/usr/bin/php: -i tools/blencode.php + chmod -x bf_algo.c bf_algo.h ++ sed -n '/#define PHP_BLENC_VERSION/{s/.* "//;s/".*$//;p}' php_blenc.h + extver=1.1.4b + test x1.1.4b '!=' x1.1.4b + cd .. + cat + tee 40-blenc.ini ; Enable BLowfish ENCryption extension module extension=blenc.so ; It's the location where BLENC can find the file containing a list of ; available decryption keys. This file must be readable by webserver. ;blenc.key_file = "/etc/opt/rh/php73/blenckeys" Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.91cCrm + exit 0 + umask 022 + cd /builddir/build/BUILD + cd php73-php-pecl-blenc-1.1.4 + cd NTS + /opt/rh/php73/root/usr/bin/phpize Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 + 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/php73/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/php73/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 ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/php73/root/usr --exec-prefix=/opt/rh/php73/root/usr --bindir=/opt/rh/php73/root/usr/bin --sbindir=/opt/rh/php73/root/usr/sbin --sysconfdir=/etc/opt/rh/php73 --datadir=/opt/rh/php73/root/usr/share --includedir=/opt/rh/php73/root/usr/include --libdir=/opt/rh/php73/root/usr/lib --libexecdir=/opt/rh/php73/root/usr/libexec --localstatedir=/var/opt/rh/php73 --sharedstatedir=/var/opt/rh/php73/lib --mandir=/opt/rh/php73/root/usr/share/man --infodir=/opt/rh/php73/root/usr/share/info --with-php-config=/opt/rh/php73/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-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 whether cc understands -c and -o together... yes 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/php73/root/usr checking for PHP includes... -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/php73/root/usr/lib/php/modules checking for PHP installed headers prefix... /opt/rh/php73/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable blowfish script encryption... yes, shared 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: 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/php73-php-pecl-blenc-1.1.4/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/include -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/main -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/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/php73-php-pecl-blenc-1.1.4/NTS/blenc.c -o blenc.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/include -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/main -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/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/php73-php-pecl-blenc-1.1.4/NTS/bf_algo.c -o bf_algo.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/include -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/main -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/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/php73-php-pecl-blenc-1.1.4/NTS/blenc.c -fPIC -DPIC -o .libs/blenc.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/include -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/main -I/builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/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/php73-php-pecl-blenc-1.1.4/NTS/bf_algo.c -fPIC -DPIC -o .libs/bf_algo.o In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:335:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:498: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/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:548: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/php73-php-pecl-blenc-1.1.4/NTS/blenc.c: In function 'zm_startup_blenc': /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:114:2: warning: passing argument 3 of '_zend_hash_init' from incompatible pointer type [enabled by default] zend_hash_init(php_bl_keys, 0, NULL, _php_blenc_pefree_wrapper, TRUE); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:93: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/php73-php-pecl-blenc-1.1.4/NTS/blenc.c: In function 'zif_blenc_encrypt': /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:245:2: warning: passing argument 1 of 'php_blenc_make_md5' from incompatible pointer type [enabled by default] php_blenc_make_md5(main_hash, main_key, strlen(main_key) TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:34:0: /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/php_blenc.h:88:13: note: expected 'char *' but argument is of type 'char **' static void php_blenc_make_md5(char *, void *, unsigned int TSRMLS_DC); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:254:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] key = php_blenc_gen_key(TSRMLS_C); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:261:2: warning: pointer targets in passing argument 2 of 'php_blenc_encode' differ in signedness [-Wpointer-sign] retval = php_blenc_encode(data, key, data_len, &output_len TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:34:0: /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/php_blenc.h:92:9: note: expected 'unsigned char *' but argument is of type 'char *' b_byte *php_blenc_encode(void *, unsigned char *, int, int * TSRMLS_DC); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:261:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] retval = php_blenc_encode(data, key, data_len, &output_len TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:263:2: warning: passing argument 2 of 'php_blenc_encode' from incompatible pointer type [enabled by default] bfdata = php_blenc_encode(key, main_hash, strlen(key), &bfdata_len TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:34:0: /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/php_blenc.h:92:9: note: expected 'unsigned char *' but argument is of type 'char **' b_byte *php_blenc_encode(void *, unsigned char *, int, int * TSRMLS_DC); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:264:2: error: too many arguments to function 'php_base64_encode' b64data = php_base64_encode(bfdata, bfdata_len, &b64data_len); ^ In file included from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:30:0: /opt/rh/php73/root/usr/include/php/ext/standard/base64.h:65:28: note: declared here PHPAPI extern zend_string *php_base64_encode(const unsigned char *, size_t); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:264:10: warning: assignment from incompatible pointer type [enabled by default] b64data = php_base64_encode(bfdata, bfdata_len, &b64data_len); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:460:0, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:266:58: error: 'ENFORCE_SAFE_MODE' undeclared (first use in this function) if((stream = php_stream_open_wrapper(output_file, "wb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL))) { ^ /opt/rh/php73/root/usr/include/php/main/php_streams.h:570:107: note: in definition of macro 'php_stream_open_wrapper' #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:266:58: note: each undeclared identifier is reported only once for each function it appears in if((stream = php_stream_open_wrapper(output_file, "wb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL))) { ^ /opt/rh/php73/root/usr/include/php/main/php_streams.h:570:107: note: in definition of macro 'php_stream_open_wrapper' #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:273:44: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_STRINGL(b64data, b64data_len, TRUE); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:273:3: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(b64data, b64data_len, TRUE); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:239:8: warning: variable 'b64data' set but not used [-Wunused-but-set-variable] char *b64data = NULL; ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:234:12: warning: variable 'dup_key' set but not used [-Wunused-but-set-variable] zend_bool dup_key = FALSE; ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:460:0, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c: In function 'php_blenc_file_to_mem': /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:298:57: error: 'ENFORCE_SAFE_MODE' undeclared (first use in this function) if (!(stream = php_stream_open_wrapper(filename, "rb", ENFORCE_SAFE_MODE, NULL))) { ^ /opt/rh/php73/root/usr/include/php/main/php_streams.h:570:107: note: in definition of macro 'php_stream_open_wrapper' #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:302:73: error: macro "php_stream_copy_to_mem" passed 4 arguments, but takes just 3 if ((len = php_stream_copy_to_mem(stream, &data, PHP_STREAM_COPY_ALL, 0)) == 0) { ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:302:13: error: 'php_stream_copy_to_mem' undeclared (first use in this function) if ((len = php_stream_copy_to_mem(stream, &data, PHP_STREAM_COPY_ALL, 0)) == 0) { ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:295:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c: In function 'php_blenc_load_keyhash': /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:343:4: warning: pointer targets in passing argument 1 of 'php_base64_decode' differ in signedness [-Wpointer-sign] bfdata = php_base64_decode(key, strlen(key), &bfdata_len); ^ In file included from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:30:0: /opt/rh/php73/root/usr/include/php/ext/standard/base64.h:73:28: note: expected 'const unsigned char *' but argument is of type 'char *' static inline zend_string *php_base64_decode(const unsigned char *str, size_t len) { ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:343:4: error: too many arguments to function 'php_base64_decode' bfdata = php_base64_decode(key, strlen(key), &bfdata_len); ^ In file included from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:30:0: /opt/rh/php73/root/usr/include/php/ext/standard/base64.h:73:28: note: declared here static inline zend_string *php_base64_decode(const unsigned char *str, size_t len) { ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:343:11: warning: assignment from incompatible pointer type [enabled by default] bfdata = php_base64_decode(key, strlen(key), &bfdata_len); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:344:4: warning: pointer targets in passing argument 2 of 'php_blenc_decode' differ in signedness [-Wpointer-sign] buff = php_blenc_decode(bfdata, main_hash, bfdata_len, &buff_len TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:34:0: /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/php_blenc.h:93:9: note: expected 'unsigned char *' but argument is of type 'char *' b_byte *php_blenc_decode(void *, unsigned char *, int, int * TSRMLS_DC); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:346:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] temp = pestrdup(buff, TRUE); ^ In file included from /opt/rh/php73/root/usr/include/php/main/../main/php_config.h:2629:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'b_byte *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:346:4: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] temp = pestrdup(buff, TRUE); ^ In file included from /usr/include/string.h:633:0, from /opt/rh/php73/root/usr/include/php/main/../main/php_config.h:2629, from /opt/rh/php73/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'b_byte *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:346:4: warning: pointer targets in passing argument 1 of '_estrdup' differ in signedness [-Wpointer-sign] temp = pestrdup(buff, TRUE); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:82:31: note: expected 'const char *' but argument is of type 'b_byte *' ZEND_API char* ZEND_FASTCALL _estrdup(const char *s ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:347:4: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] if(zend_hash_next_index_insert(php_bl_keys, &temp, sizeof(char *), NULL) == FAILURE) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'char **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:347:4: error: too many arguments to function 'zend_hash_next_index_insert' if(zend_hash_next_index_insert(php_bl_keys, &temp, sizeof(char *), NULL) == FAILURE) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:347:77: warning: comparison between pointer and integer [enabled by default] if(zend_hash_next_index_insert(php_bl_keys, &temp, sizeof(char *), NULL) == FAILURE) { ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c: In function 'php_blenc_encode': /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:373:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] Blowfish_Init (ctx, (unsigned char *)key, strlen(key)); ^ In file included from /opt/rh/php73/root/usr/include/php/main/../main/php_config.h:2629:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c: In function 'php_blenc_decode': /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:441:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] Blowfish_Init (&ctx, (unsigned char*)key, strlen(key)); ^ In file included from /opt/rh/php73/root/usr/include/php/main/../main/php_config.h:2629:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:446:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return estrdup(""); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:454:29: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(retval, '\0', sizeof(retval)); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:494:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] *out_len = strlen(retval); ^ In file included from /opt/rh/php73/root/usr/include/php/main/../main/php_config.h:2629:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'b_byte *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c: In function 'php_blenc_gen_key': /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:522:2: warning: pointer targets in return differ in signedness [-Wpointer-sign] return retval; ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c: In function 'blenc_compile': /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:539:2: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(code); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:460:0, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:545:68: error: 'ENFORCE_SAFE_MODE' undeclared (first use in this function) if( (stream = php_stream_open_wrapper(file_handle->filename, "r", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL)) == NULL) { ^ /opt/rh/php73/root/usr/include/php/main/php_streams.h:570:107: note: in definition of macro 'php_stream_open_wrapper' #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ RPM build errors: /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:595:58: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(php_bl_keys, (void **)&key) == SUCCESS; ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:595:5: error: 'zend_hash_get_current_data' undeclared (first use in this function) zend_hash_get_current_data(php_bl_keys, (void **)&key) == SUCCESS; ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:598:4: warning: pointer targets in passing argument 2 of 'php_blenc_decode' differ in signedness [-Wpointer-sign] decoded = php_blenc_decode(encoded, *key, script_len - sizeof(blenc_header), &decoded_len TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:434:9: note: expected 'unsigned char *' but argument is of type 'char *' b_byte *php_blenc_decode(void *input, unsigned char *key, int in_len, int *out_len TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:598:4: warning: pointer targets in passing argument 4 of 'php_blenc_decode' differ in signedness [-Wpointer-sign] decoded = php_blenc_decode(encoded, *key, script_len - sizeof(blenc_header), &decoded_len TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:434:9: note: expected 'int *' but argument is of type 'unsigned int *' b_byte *php_blenc_decode(void *input, unsigned char *key, int in_len, int *out_len TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strncmp(md5, header->md5, 32)) { ^ In file included from /opt/rh/php73/root/usr/include/php/main/../main/php_config.h:2629:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'b_byte *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strncmp(md5, header->md5, 32)) { ^ In file included from /opt/rh/php73/root/usr/include/php/main/../main/php_config.h:2629:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'b_byte *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strncmp(md5, header->md5, 32)) { ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: note: expected 'const char *' but argument is of type 'b_byte *' /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: note: expected 'const char *' but argument is of type 'b_byte *' /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /opt/rh/php73/root/usr/include/php/main/../main/php_config.h:2629:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'b_byte *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strncmp(md5, header->md5, 32)) { ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: note: expected 'const char *' but argument is of type 'b_byte *' /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: note: expected 'const char *' but argument is of type 'b_byte *' /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:603:4: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /opt/rh/php73/root/usr/include/php/main/../main/php_config.h:2629:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:26: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'b_byte *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:633:48: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(code, decoded, decoded_len, TRUE); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:633:3: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(code, decoded, decoded_len, TRUE); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:634:3: warning: passing argument 2 of 'zend_compile_string' discards 'const' qualifier from pointer target type [enabled by default] retval = zend_compile_string(code, file_handle->filename TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:634:3: note: expected 'char *' but argument is of type 'const char *' /builddir/build/BUILD/php73-php-pecl-blenc-1.1.4/NTS/blenc.c:527:13: warning: unused variable 'res' [-Wunused-variable] int i = 0, res = 0; ^ make: *** [blenc.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.91cCrm (%build) Bad exit status from /var/tmp/rpm-tmp.91cCrm (%build) 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-blenc.spec