Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/php-ast.spec'], chrootPath='/var/lib/mock/sclo7-sclo-php70-sclo-el7-build-51812-178682/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/php-ast.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: line 0: fg: no job control Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/sclo-php70-php-ast-1.0.0-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/php-ast.spec'], chrootPath='/var/lib/mock/sclo7-sclo-php70-sclo-el7-build-51812-178682/root'shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/php-ast.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j8C36f + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sclo-php70-php-ast-1.0.0 + /usr/bin/mkdir -p sclo-php70-php-ast-1.0.0 + cd sclo-php70-php-ast-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/ast-1.0.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv ast-1.0.0 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS ++ sed -n '/#define PHP_AST_VERSION/{s/.* "//;s/".*$//;p}' php_ast.h + extver=1.0.0 + test x1.0.0 '!=' x1.0.0 + cd .. + cat + tee 40-ast.ini ; Enable 'Abstract Syntax Tree' extension module extension = ast.so + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZMlBv3 + umask 022 + cd /builddir/build/BUILD + cd sclo-php70-php-ast-1.0.0 + cd NTS + /opt/rh/rh-php70/root/usr/bin/phpize Configuring for: PHP Api Version: 20151012 Zend Module Api No: 20151012 Zend Extension Api No: 320151012 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/opt/rh/rh-php70/root/usr/lib64/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 -m64 -mtune=generic -I/opt/rh/rh-php70/root/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == 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=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/rh-php70/root/usr --exec-prefix=/opt/rh/rh-php70/root/usr --bindir=/opt/rh/rh-php70/root/usr/bin --sbindir=/opt/rh/rh-php70/root/usr/sbin --sysconfdir=/etc/opt/rh/rh-php70 --datadir=/opt/rh/rh-php70/root/usr/share --includedir=/opt/rh/rh-php70/root/usr/include --libdir=/opt/rh/rh-php70/root/usr/lib64 --libexecdir=/opt/rh/rh-php70/root/usr/libexec --localstatedir=/var/opt/rh/rh-php70 --sharedstatedir=/var/opt/rh/rh-php70/lib --mandir=/opt/rh/rh-php70/root/usr/share/man --infodir=/opt/rh/rh-php70/root/usr/share/info --with-php-config=/opt/rh/rh-php70/root/usr/bin/php-config --enable-ast 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 x86_64-redhat-linux-gnu-cc... no checking for x86_64-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... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for PHP prefix... /opt/rh/rh-php70/root/usr checking for PHP includes... -I/opt/rh/rh-php70/root/usr/include/php -I/opt/rh/rh-php70/root/usr/include/php/main -I/opt/rh/rh-php70/root/usr/include/php/TSRM -I/opt/rh/rh-php70/root/usr/include/php/Zend -I/opt/rh/rh-php70/root/usr/include/php/ext -I/opt/rh/rh-php70/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/rh-php70/root/usr/lib64/php/modules checking for PHP installed headers prefix... /opt/rh/rh-php70/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 ast support... 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 x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-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 x86_64-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 -m elf_x86_64) 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 -j32 /bin/sh /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/include -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/main -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS -I/opt/rh/rh-php70/root/usr/include/php -I/opt/rh/rh-php70/root/usr/include/php/main -I/opt/rh/rh-php70/root/usr/include/php/TSRM -I/opt/rh/rh-php70/root/usr/include/php/Zend -I/opt/rh/rh-php70/root/usr/include/php/ext -I/opt/rh/rh-php70/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 -m64 -mtune=generic -c /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/ast.c -o ast.lo /bin/sh /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/include -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/main -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS -I/opt/rh/rh-php70/root/usr/include/php -I/opt/rh/rh-php70/root/usr/include/php/main -I/opt/rh/rh-php70/root/usr/include/php/TSRM -I/opt/rh/rh-php70/root/usr/include/php/Zend -I/opt/rh/rh-php70/root/usr/include/php/ext -I/opt/rh/rh-php70/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 -m64 -mtune=generic -c /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/ast_data.c -o ast_data.lo libtool: compile: cc -I. -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/include -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/main -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS -I/opt/rh/rh-php70/root/usr/include/php -I/opt/rh/rh-php70/root/usr/include/php/main -I/opt/rh/rh-php70/root/usr/include/php/TSRM -I/opt/rh/rh-php70/root/usr/include/php/Zend -I/opt/rh/rh-php70/root/usr/include/php/ext -I/opt/rh/rh-php70/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 -m64 -mtune=generic -c /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/ast.c -fPIC -DPIC -o .libs/ast.o libtool: compile: cc -I. -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/include -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/main -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS -I/opt/rh/rh-php70/root/usr/include/php -I/opt/rh/rh-php70/root/usr/include/php/main -I/opt/rh/rh-php70/root/usr/include/php/TSRM -I/opt/rh/rh-php70/root/usr/include/php/Zend -I/opt/rh/rh-php70/root/usr/include/php/ext -I/opt/rh/rh-php70/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 -m64 -mtune=generic -c /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/ast_data.c -fPIC -DPIC -o .libs/ast_data.o /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/ast.c: In function 'zim_ast_Node___construct': /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/ast.c:1015:7: warning: 'linenoNull' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!linenoNull) { ^ /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/ast.c:1025:7: warning: 'flagsNull' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!flagsNull) { ^ /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/ast.c:264:36: warning: 'children' may be used uninitialized in this function [-Wmaybe-uninitialized] Z_OBJ_HT_P(object)->write_property(object, &name_zv, value, cache_slot); ^ /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/ast.c:999:8: note: 'children' was declared here zval *children; ^ /bin/sh /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/include -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/main -I/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS -I/opt/rh/rh-php70/root/usr/include/php -I/opt/rh/rh-php70/root/usr/include/php/main -I/opt/rh/rh-php70/root/usr/include/php/TSRM -I/opt/rh/rh-php70/root/usr/include/php/Zend -I/opt/rh/rh-php70/root/usr/include/php/ext -I/opt/rh/rh-php70/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 -m64 -mtune=generic -Wl,-z,relro -o ast.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/modules ast.lo ast_data.lo libtool: link: cc -shared -fPIC -DPIC .libs/ast.o .libs/ast_data.o -O2 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-soname -Wl,ast.so -o .libs/ast.so libtool: link: ( cd ".libs" && rm -f "ast.la" && ln -s "../ast.la" "ast.la" ) /bin/sh /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/libtool --mode=install cp ./ast.la /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/modules libtool: install: cp ./.libs/ast.so /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/modules/ast.so libtool: install: cp ./.libs/ast.lai /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/modules/ast.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BRhpa2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64 + cd sclo-php70-php-ast-1.0.0 + install -D -m 644 package.xml /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/opt/rh/rh-php70/root/var/lib/pear/pkgxml/sclo-php70-php-ast.xml + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64 make: Entering directory `/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS' Installing shared extensions: /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/opt/rh/rh-php70/root/usr/lib64/php/modules/ make: Leaving directory `/builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS' + install -D -m 644 40-ast.ini /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/etc/opt/rh/rh-php70/php.d/40-ast.ini ++ grep 'role="doc"' package.xml ++ sed -e 's/^.*name="//;s/".*$//' + for i in '$(grep '\''role="doc"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/util.php /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/opt/rh/rh-php70/root/usr/share/doc/pecl/ast/util.php + for i in '$(grep '\''role="doc"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/ast_stub.php /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/opt/rh/rh-php70/root/usr/share/doc/pecl/ast/ast_stub.php + for i in '$(grep '\''role="doc"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/README.md /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/opt/rh/rh-php70/root/usr/share/doc/pecl/ast/README.md + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/sclo-php70-php-ast-1.0.0 extracting debug info from /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/opt/rh/rh-php70/root/usr/lib64/php/modules/ast.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. cpio: sclo-php70-php-ast-1.0.0/NTS/Zend/zend_language_scanner_defs.h: Cannot stat: No such file or directory 125 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/rh-php70/root + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python 1 /opt/rh/rh-php70/root + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FjAH31 + umask 022 + cd /builddir/build/BUILD + cd sclo-php70-php-ast-1.0.0 + cd NTS + : Minimal load test for NTS extension + /opt/rh/rh-php70/root/usr/bin/php --no-php-ini --define extension=/builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/opt/rh/rh-php70/root/usr/lib64/php/modules/ast.so --modules + grep ast ast + : Upstream test suite for NTS extension + TEST_PHP_EXECUTABLE=/opt/rh/rh-php70/root/usr/bin/php + TEST_PHP_ARGS='-n -d extension=tokenizer.so -d extension=/builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/opt/rh/rh-php70/root/usr/lib64/php/modules/ast.so' + NO_INTERACTION=1 + REPORT_EXIT_STATUS=1 + /opt/rh/rh-php70/root/usr/bin/php -n run-tests.php --show-diff ===================================================================== PHP : /opt/rh/rh-php70/root/usr/bin/php PHP_SAPI : cli PHP_VERSION : 7.0.27 ZEND_VERSION: 3.0.0 PHP_OS : Linux - Linux c1bj.rdu2.centos.org 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Jan 4 01:06:37 UTC 2018 x86_64 INI actual : /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS More .INIs : CWD : /builddir/build/BUILD/sclo-php70-php-ast-1.0.0/NTS Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2018-10-22 11:31:11 ===================================================================== TEST 1/44 [tests/001.phpt] PASS ast_dump() test [tests/001.phpt] TEST 2/44 [tests/array_destructuring.phpt] SKIP Array destructuring [tests/array_destructuring.phpt] reason: PHP >= 7.1 only TEST 3/44 [tests/array_destructuring_old.phpt] PASS Array destructuring (using unkeyed list()) [tests/array_destructuring_old.phpt] TEST 4/44 [tests/assign_ops.phpt] PASS Assign op flags [tests/assign_ops.phpt] TEST 5/44 [tests/ast_dump_with_linenos.phpt] PASS ast_dump() with AST_DUMP_LINENOS [tests/ast_dump_with_linenos.phpt] TEST 6/44 [tests/binary_ops.phpt] PASS AST_GREATER(_EQUAL) converted to AST_BINARY_OP [tests/binary_ops.phpt] TEST 7/44 [tests/by_ref_destructuring.phpt] SKIP By-reference array destructuring (PHP 7.3) [tests/by_ref_destructuring.phpt] reason: PHP >= 7.3 only TEST 8/44 [tests/class.phpt] PASS Test parse and dump of class [tests/class.phpt] TEST 9/44 [tests/class_consts.phpt] SKIP Class constants [tests/class_consts.phpt] reason: PHP >= 7.1 only TEST 10/44 [tests/class_types.phpt] PASS Different class types [tests/class_types.phpt] TEST 11/44 [tests/closure_use_vars.phpt] PASS Closure uses should parse to CLOSURE_USE_VAR nodes [tests/closure_use_vars.phpt] TEST 12/44 [tests/coalesce.phpt] PASS Null-coalesce operator [tests/coalesce.phpt] TEST 13/44 [tests/constructor.phpt] PASS ast\Node has a __construct method [tests/constructor.phpt] TEST 14/44 [tests/decl_ids.phpt] PASS Closures should have unique identifiers within parsed code in version 50 [tests/decl_ids.phpt] TEST 15/44 [tests/decl_normalization.phpt] SKIP As of version 50 Decl is no more [tests/decl_normalization.phpt] reason: PHP 7.1 required TEST 16/44 [tests/empty_file_parse.phpt] PASS ast\parse_file() with empty file [tests/empty_file_parse.phpt] TEST 17/44 [tests/eval_include.phpt] PASS eval() and include parsing [tests/eval_include.phpt] TEST 18/44 [tests/functions_dont_use.phpt] PASS Uses only make sense on closures [tests/functions_dont_use.phpt] TEST 19/44 [tests/generator_flag.phpt] SKIP Flag on generator functions in PHP 7.1 [tests/generator_flag.phpt] reason: requires PHP 7.1 TEST 20/44 [tests/get_kind_name.phpt] PASS Test ast\get_kind_name() [tests/get_kind_name.phpt] TEST 21/44 [tests/get_supported_versions.phpt] PASS ast\get_supported_versions() function [tests/get_supported_versions.phpt] TEST 22/44 [tests/magic_constants.phpt] PASS Magic constants [tests/magic_constants.phpt] TEST 23/44 [tests/metadata.phpt] PASS AST metadata [tests/metadata.phpt] TEST 24/44 [tests/multi_catch.phpt] SKIP Multi catch [tests/multi_catch.phpt] reason: PHP >= 7.1 only TEST 25/44 [tests/multiple_final_modifiers.phpt] SKIP Multiple final multipliers should generate CompileError, not a fatal error [tests/multiple_final_modifiers.phpt] reason: Requires PHP 7.3+ TEST 26/44 [tests/name_node.phpt] PASS Name nodes [tests/name_node.phpt] TEST 27/44 [tests/named_children.phpt] PASS Named child nodes [tests/named_children.phpt] TEST 28/44 [tests/nested_stmt_lists.phpt] PASS Nested statement lists [tests/nested_stmt_lists.phpt] TEST 29/44 [tests/nop_statements.phpt] PASS Nop statements [tests/nop_statements.phpt] TEST 30/44 [tests/nullable_types.phpt] SKIP Nullable types [tests/nullable_types.phpt] reason: PHP >= 7.1 only TEST 31/44 [tests/object_type.phpt] PASS The object type is recognized [tests/object_type.phpt] TEST 32/44 [tests/params.phpt] PASS Function parameters [tests/params.phpt] TEST 33/44 [tests/parse_code_parse_error.phpt] PASS ast\parse_code() throwing a ParseError [tests/parse_code_parse_error.phpt] TEST 34/44 [tests/parse_file.phpt] PASS ast\parse_file() on valid file [tests/parse_file.phpt] TEST 35/44 [tests/parse_file_not_existing.phpt] PASS ast\parse_file() on file that does not exist [tests/parse_file_not_existing.phpt] TEST 36/44 [tests/parse_file_parse_error.phpt] PASS ast\parse_file() on file with parse error [tests/parse_file_parse_error.phpt] TEST 37/44 [tests/prop_doc_comments.phpt] PASS Doc comments on properties [tests/prop_doc_comments.phpt] TEST 38/44 [tests/stmt_list.phpt] PASS Statement list normalization [tests/stmt_list.phpt] TEST 39/44 [tests/try_catch_finally.phpt] PASS try / catch / finally [tests/try_catch_finally.phpt] TEST 40/44 [tests/type_hints.phpt] PASS Type hints [tests/type_hints.phpt] TEST 41/44 [tests/unary_ops.phpt] PASS Convert unary ops AST_(SILENCE|UNARY_(PLUS|MINUS)) to flags of ZEND_AST_UNARY_OP [tests/unary_ops.phpt] TEST 42/44 [tests/use_declarations.phpt] PASS Test parse and dump of use declarations [tests/use_declarations.phpt] TEST 43/44 [tests/version_errors.phpt] PASS Version errors [tests/version_errors.phpt] TEST 44/44 [tests/zpp_errors.phpt] PASS zpp failures throw TypeError [tests/zpp_errors.phpt] ===================================================================== TIME END 2018-10-22 11:31:11 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 16 --------------------------------------------------------------------- Number of tests : 44 36 Tests skipped : 8 ( 18.2%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 36 ( 81.8%) (100.0%) --------------------------------------------------------------------- Time taken : 0 seconds ===================================================================== + exit 0 Processing files: sclo-php70-php-ast-1.0.0-1.el7.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qR98H3 + umask 022 + cd /builddir/build/BUILD + cd sclo-php70-php-ast-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/opt/rh/rh-php70/root/usr/share/licenses/sclo-php70-php-ast-1.0.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/opt/rh/rh-php70/root/usr/share/licenses/sclo-php70-php-ast-1.0.0 + cp -pr NTS/LICENSE /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64/opt/rh/rh-php70/root/usr/share/licenses/sclo-php70-php-ast-1.0.0 + exit 0 Provides: config(sclo-php70-php-ast) = 1.0.0-1.el7 rh-php70-php-ast = 1.0.0-1.el7 rh-php70-php-ast(x86-64) = 1.0.0-1.el7 rh-php70-php-pecl(ast) = 1.0.0 rh-php70-php-pecl(ast)(x86-64) = 1.0.0 rh-php70-php-pecl-ast = 1.0.0-1.el7 rh-php70-php-pecl-ast(x86-64) = 1.0.0-1.el7 scl-package(rh-php70) sclo-php70-php-ast = 1.0.0-1.el7 sclo-php70-php-ast(x86-64) = 1.0.0-1.el7 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(postun): /bin/sh Requires(posttrans): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) rh-php70-runtime rtld(GNU_HASH) Processing files: sclo-php70-php-ast-debuginfo-1.0.0-1.el7.x86_64 Provides: scl-package(rh-php70) sclo-php70-php-ast-debuginfo = 1.0.0-1.el7 sclo-php70-php-ast-debuginfo(x86-64) = 1.0.0-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64 Wrote: /builddir/build/RPMS/sclo-php70-php-ast-1.0.0-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/sclo-php70-php-ast-debuginfo-1.0.0-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IM6Jx9 + umask 022 + cd /builddir/build/BUILD + cd sclo-php70-php-ast-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sclo-php70-php-ast-1.0.0-1.el7.x86_64 + exit 0 Child return code was: 0