Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-pq.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_php74-armhfp-86b57ac77bc78bbf151483a1247f555638159e95/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-pq.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-pq-2.1.8-5.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-pq.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_php74-armhfp-86b57ac77bc78bbf151483a1247f555638159e95/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-pq.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.nbXlhc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php74-php-pecl-pq-2.1.8 + /usr/bin/mkdir -p php74-php-pecl-pq-2.1.8 + cd php74-php-pecl-pq-2.1.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/pq-2.1.8.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv pq-2.1.8 NTS + sed -e '/role="test"/d' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml Patch #0 (pq-php81.patch): + cd NTS + echo 'Patch #0 (pq-php81.patch):' + /usr/bin/cat /builddir/build/SOURCES/pq-php81.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/php_pq_params.c patching file src/php_pq_misc.h patching file src/php_pqres.c patching file tests/res001.phpt patching file src/php_pq_misc.h patching file src/php_pq_misc.c ++ sed -n '/#define PHP_PQ_VERSION/{s/.* "//;s/".*$//;p}' php_pq.h + extver=2.1.8 + test x2.1.8 '!=' x2.1.8 + cd .. + cat + tee 50-pq.ini ; Enable "PostgreSQL client library (libpq) binding" extension module extension=pq.so Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F6Wiml + exit 0 + umask 022 + cd /builddir/build/BUILD + cd php74-php-pecl-pq-2.1.8 + source /opt/rh/devtoolset-7/enable ++ export PATH=/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ PATH=/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ export MANPATH=/opt/rh/devtoolset-7/root/usr/share/man: ++ MANPATH=/opt/rh/devtoolset-7/root/usr/share/man: ++ export INFOPATH=/opt/rh/devtoolset-7/root/usr/share/info ++ INFOPATH=/opt/rh/devtoolset-7/root/usr/share/info ++ export PCP_DIR=/opt/rh/devtoolset-7/root ++ PCP_DIR=/opt/rh/devtoolset-7/root ++ export PERL5LIB=/opt/rh/devtoolset-7/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-7/root/usr/lib/perl5:/opt/rh/devtoolset-7/root//usr/share/perl5/vendor_perl ++ PERL5LIB=/opt/rh/devtoolset-7/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-7/root/usr/lib/perl5:/opt/rh/devtoolset-7/root//usr/share/perl5/vendor_perl +++ rpm --eval '%{_libdir}' ++ rpmlibdir=/usr/lib ++ '[' /usr/lib '!=' /usr/lib ']' ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib:/opt/rh/devtoolset-7/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-7/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib:/opt/rh/devtoolset-7/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-7/root/usr/lib ++ pythonvers=2.7 ++ export PYTHONPATH=/opt/rh/devtoolset-7/root/usr/lib64/python2.7/site-packages:/opt/rh/devtoolset-7/root/usr/lib/python2.7/site-packages ++ PYTHONPATH=/opt/rh/devtoolset-7/root/usr/lib64/python2.7/site-packages:/opt/rh/devtoolset-7/root/usr/lib/python2.7/site-packages + 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 libpq (PostgreSQL) support... yes, shared checking for pg_config... /usr/bin/pg_config checking for PostgreSQL version... 9.2.24 checking for egrep... (cached) /usr/bin/grep -E checking for PGRES_SINGLE_TUPLE... yep checking for PGRES_COPY_BOTH... yep checking for PQregisterEventProc in -lpq... yes checking for PQlibVersion in -lpq... yes checking for PQconninfo in -lpq... no checking for PQsetSingleRowMode in -lpq... yes checking for ext/raphf support... yes checking for php_raphf.h... /opt/rh/php74/root/usr/include/php/ext/raphf checking for ext/json support... yes checking for php_json.h... /opt/rh/php74/root/usr/include/php/ext/json 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... /opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld checking if the linker (/opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /opt/rh/devtoolset-7/root/usr/bin/nm -B checking the name lister (/opt/rh/devtoolset-7/root/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 /opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/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 /opt/rh/devtoolset-7/root/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 (/opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/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-pq-2.1.8/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/include -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/main -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/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 -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/src -I/opt/rh/php74/root/usr/include/php/ext/raphf -I/opt/rh/php74/root/usr/include/php/ext/json -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-pq-2.1.8/NTS/src/php_pq_module.c -o src/php_pq_module.lo /bin/sh /builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/include -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/main -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/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 -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/src -I/opt/rh/php74/root/usr/include/php/ext/raphf -I/opt/rh/php74/root/usr/include/php/ext/json -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-pq-2.1.8/NTS/src/php_pq_misc.c -o src/php_pq_misc.lo /bin/sh /builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/include -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/main -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/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 -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/src -I/opt/rh/php74/root/usr/include/php/ext/raphf -I/opt/rh/php74/root/usr/include/php/ext/json -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-pq-2.1.8/NTS/src/php_pq_callback.c -o src/php_pq_callback.lo /bin/sh /builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/include -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/main -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/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 -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/src -I/opt/rh/php74/root/usr/include/php/ext/raphf -I/opt/rh/php74/root/usr/include/php/ext/json -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-pq-2.1.8/NTS/src/php_pq_object.c -o src/php_pq_object.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/include -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/main -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/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 -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/src -I/opt/rh/php74/root/usr/include/php/ext/raphf -I/opt/rh/php74/root/usr/include/php/ext/json -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-pq-2.1.8/NTS/src/php_pq_callback.c -fPIC -DPIC -o src/.libs/php_pq_callback.o libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/include -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/main -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/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 -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/src -I/opt/rh/php74/root/usr/include/php/ext/raphf -I/opt/rh/php74/root/usr/include/php/ext/json -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-pq-2.1.8/NTS/src/php_pq_misc.c -fPIC -DPIC -o src/.libs/php_pq_misc.o libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/include -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/main -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/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 -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/src -I/opt/rh/php74/root/usr/include/php/ext/raphf -I/opt/rh/php74/root/usr/include/php/ext/json -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-pq-2.1.8/NTS/src/php_pq_module.c -fPIC -DPIC -o src/.libs/php_pq_module.o libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/include -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/main -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/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 -I/builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/src -I/opt/rh/php74/root/usr/include/php/ext/raphf -I/opt/rh/php74/root/usr/include/php/ext/json -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-pq-2.1.8/NTS/src/php_pq_object.c -fPIC -DPIC -o src/.libs/php_pq_object.o In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/src/php_pq_misc.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:126:30: error: expected identifier or '(' before '}' token #define ZEND_END_ARG_INFO() }; ^ /builddir/build/BUILD/php74-php-pecl-pq-2.1.8/NTS/src/php_pq_misc.c:139:1: note: in expansion of macro 'ZEND_END_ARG_INFO' ZEND_END_ARG_INFO() ^~~~~~~~~~~~~~~~~ make: *** [Makefile:194: src/php_pq_misc.lo] Error 1 make: *** Waiting for unfinished jobs.... RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.F6Wiml (%build) Bad exit status from /var/tmp/rpm-tmp.F6Wiml (%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-pq.spec