Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-ast.spec'], chrootPath='/var/lib/mock/f33-build-128059-40353/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-ast.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: line 47: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} warning: line 48: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} warning: bogus date in %changelog: Mon Dec 24 2020 Remi Collet - 1.0.6-1 warning: bogus date in %changelog: Thu Nov 27 2019 Remi Collet - 1.0.5-1 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1608768000 Wrote: /builddir/build/SRPMS/php-ast-1.0.6-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-ast.spec'], chrootPath='/var/lib/mock/f33-build-128059-40353/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-ast.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: bogus date in %changelog: Mon Dec 24 2020 Remi Collet - 1.0.6-1 warning: bogus date in %changelog: Thu Nov 27 2019 Remi Collet - 1.0.5-1 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1608768000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OBk6Yp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-ast-1.0.6 + /usr/bin/mkdir -p php-ast-1.0.6 + cd php-ast-1.0.6 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ast-1.0.6.tgz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv ast-1.0.6 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.6 + test x1.0.6 '!=' x1.0.6 + cd .. + cp -pr NTS ZTS + cat + tee 40-ast.ini ; Enable 'Abstract Syntax Tree' extension module extension = ast.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f0S3Sn + umask 022 + cd /builddir/build/BUILD + cd php-ast-1.0.6 + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -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 $(dirname ./configure) -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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-php-config=/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 riscv64-redhat-linux-gnu-cc... no checking for riscv64-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... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /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 how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-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 riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-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/php-ast-1.0.6/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-ast-1.0.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-ast-1.0.6/NTS/include -I/builddir/build/BUILD/php-ast-1.0.6/NTS/main -I/builddir/build/BUILD/php-ast-1.0.6/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-ast-1.0.6/NTS/ast.c -o ast.lo /bin/sh /builddir/build/BUILD/php-ast-1.0.6/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-ast-1.0.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-ast-1.0.6/NTS/include -I/builddir/build/BUILD/php-ast-1.0.6/NTS/main -I/builddir/build/BUILD/php-ast-1.0.6/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-ast-1.0.6/NTS/ast_data.c -o ast_data.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-ast-1.0.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-ast-1.0.6/NTS/include -I/builddir/build/BUILD/php-ast-1.0.6/NTS/main -I/builddir/build/BUILD/php-ast-1.0.6/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-ast-1.0.6/NTS/ast.c -fPIC -DPIC -o .libs/ast.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-ast-1.0.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-ast-1.0.6/NTS/include -I/builddir/build/BUILD/php-ast-1.0.6/NTS/main -I/builddir/build/BUILD/php-ast-1.0.6/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-ast-1.0.6/NTS/ast_data.c -fPIC -DPIC -o .libs/ast_data.o /builddir/build/BUILD/php-ast-1.0.6/NTS/ast.c: In function 'zim_ast_Node___construct': /builddir/build/BUILD/php-ast-1.0.6/NTS/ast.c:1147:7: warning: 'linenoNull' may be used uninitialized in this function [-Wmaybe-uninitialized] 1147 | if (!linenoNull) { | ^ /builddir/build/BUILD/php-ast-1.0.6/NTS/ast.c:1157:7: warning: 'flagsNull' may be used uninitialized in this function [-Wmaybe-uninitialized] 1157 | if (!flagsNull) { | ^ In file included from /usr/include/php/Zend/zend.h:27, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-ast-1.0.6/NTS/ast.c:5: /usr/include/php/Zend/zend_types.h:667:39: warning: 'children' may be used uninitialized in this function [-Wmaybe-uninitialized] 667 | #define Z_OBJ_HT_P(zval_p) Z_OBJ_HT(*(zval_p)) | ^ /builddir/build/BUILD/php-ast-1.0.6/NTS/ast.c:1131:8: note: 'children' was declared here 1131 | zval *children; | ^~~~~~~~ /bin/sh /builddir/build/BUILD/php-ast-1.0.6/NTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-ast-1.0.6/NTS/include -I/builddir/build/BUILD/php-ast-1.0.6/NTS/main -I/builddir/build/BUILD/php-ast-1.0.6/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ast.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-ast-1.0.6/NTS/modules ast.lo ast_data.lo libtool: link: cc -shared -fPIC -DPIC .libs/ast.o .libs/ast_data.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/php-ast-1.0.6/NTS/libtool --mode=install cp ./ast.la /builddir/build/BUILD/php-ast-1.0.6/NTS/modules libtool: install: cp ./.libs/ast.so /builddir/build/BUILD/php-ast-1.0.6/NTS/modules/ast.so libtool: install: cp ./.libs/ast.lai /builddir/build/BUILD/php-ast-1.0.6/NTS/modules/ast.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-ast-1.0.6/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-ast-1.0.6/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'. + cd ../ZTS + /usr/bin/zts-phpize Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -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 $(dirname ./configure) -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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-php-config=/usr/bin/zts-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 riscv64-redhat-linux-gnu-cc... no checking for riscv64-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... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php-zts/modules checking for PHP installed headers prefix... /usr/include/php-zts/php checking if debug is enabled... no checking if zts is enabled... yes 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 how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-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 riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-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/php-ast-1.0.6/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-ast-1.0.6/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-ast-1.0.6/ZTS/include -I/builddir/build/BUILD/php-ast-1.0.6/ZTS/main -I/builddir/build/BUILD/php-ast-1.0.6/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-ast-1.0.6/ZTS/ast.c -o ast.lo /bin/sh /builddir/build/BUILD/php-ast-1.0.6/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-ast-1.0.6/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-ast-1.0.6/ZTS/include -I/builddir/build/BUILD/php-ast-1.0.6/ZTS/main -I/builddir/build/BUILD/php-ast-1.0.6/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-ast-1.0.6/ZTS/ast_data.c -o ast_data.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-ast-1.0.6/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-ast-1.0.6/ZTS/include -I/builddir/build/BUILD/php-ast-1.0.6/ZTS/main -I/builddir/build/BUILD/php-ast-1.0.6/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-ast-1.0.6/ZTS/ast.c -fPIC -DPIC -o .libs/ast.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-ast-1.0.6/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-ast-1.0.6/ZTS/include -I/builddir/build/BUILD/php-ast-1.0.6/ZTS/main -I/builddir/build/BUILD/php-ast-1.0.6/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-ast-1.0.6/ZTS/ast_data.c -fPIC -DPIC -o .libs/ast_data.o /builddir/build/BUILD/php-ast-1.0.6/ZTS/ast.c: In function 'zim_ast_Node___construct': /builddir/build/BUILD/php-ast-1.0.6/ZTS/ast.c:1147:7: warning: 'linenoNull' may be used uninitialized in this function [-Wmaybe-uninitialized] 1147 | if (!linenoNull) { | ^ /builddir/build/BUILD/php-ast-1.0.6/ZTS/ast.c:1157:7: warning: 'flagsNull' may be used uninitialized in this function [-Wmaybe-uninitialized] 1157 | if (!flagsNull) { | ^ In file included from /usr/include/php-zts/php/Zend/zend.h:27, from /usr/include/php-zts/php/main/php.h:33, from /builddir/build/BUILD/php-ast-1.0.6/ZTS/ast.c:5: /usr/include/php-zts/php/Zend/zend_types.h:667:39: warning: 'children' may be used uninitialized in this function [-Wmaybe-uninitialized] 667 | #define Z_OBJ_HT_P(zval_p) Z_OBJ_HT(*(zval_p)) | ^ /builddir/build/BUILD/php-ast-1.0.6/ZTS/ast.c:1131:8: note: 'children' was declared here 1131 | zval *children; | ^~~~~~~~ /bin/sh /builddir/build/BUILD/php-ast-1.0.6/ZTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-ast-1.0.6/ZTS/include -I/builddir/build/BUILD/php-ast-1.0.6/ZTS/main -I/builddir/build/BUILD/php-ast-1.0.6/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ast.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-ast-1.0.6/ZTS/modules ast.lo ast_data.lo libtool: link: cc -shared -fPIC -DPIC .libs/ast.o .libs/ast_data.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/php-ast-1.0.6/ZTS/libtool --mode=install cp ./ast.la /builddir/build/BUILD/php-ast-1.0.6/ZTS/modules libtool: install: cp ./.libs/ast.so /builddir/build/BUILD/php-ast-1.0.6/ZTS/modules/ast.so libtool: install: cp ./.libs/ast.lai /builddir/build/BUILD/php-ast-1.0.6/ZTS/modules/ast.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-ast-1.0.6/ZTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-ast-1.0.6/ZTS/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'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GlDIco + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64 + cd php-ast-1.0.6 + install -D -m 644 package.xml /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/var/lib/php/peclxml/php-ast.xml + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64 make: Entering directory '/builddir/build/BUILD/php-ast-1.0.6/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/lib64/php/modules/ make: Leaving directory '/builddir/build/BUILD/php-ast-1.0.6/NTS' + install -D -m 644 40-ast.ini /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/etc/php.d/40-ast.ini + make -C ZTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64 make: Entering directory '/builddir/build/BUILD/php-ast-1.0.6/ZTS' Installing shared extensions: /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/lib64/php-zts/modules/ make: Leaving directory '/builddir/build/BUILD/php-ast-1.0.6/ZTS' + install -D -m 644 40-ast.ini /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/etc/php-zts.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/php-ast-1.0.6-1.fc33.riscv64/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/php-ast-1.0.6-1.fc33.riscv64/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/php-ast-1.0.6-1.fc33.riscv64/usr/share/doc/pecl/ast/README.md + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.6-1.fc33 --unique-debug-suffix -1.0.6-1.fc33.riscv64 --unique-debug-src-base php-ast-1.0.6-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/php-ast-1.0.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/lib64/php-zts/modules/ast.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/lib64/php/modules/ast.so extracting debug info from /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/lib64/php-zts/modules/ast.so extracting debug info from /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/lib64/php/modules/ast.so original debug info size: 524kB, size after compression: 500kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. cpio: NTS/Zend/zend_language_scanner_defs.h: Cannot stat: No such file or directory cpio: ZTS/Zend/zend_language_scanner_defs.h: Cannot stat: No such file or directory 275 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Tqq4im + umask 022 + cd /builddir/build/BUILD + cd php-ast-1.0.6 + cd NTS + : Minimal load test for NTS extension + grep ast + /usr/bin/php --no-php-ini --define extension=/builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/lib64/php/modules/ast.so --modules ast + : Upstream test suite for NTS extension + TEST_PHP_EXECUTABLE=/usr/bin/php + TEST_PHP_ARGS='-n -d extension=tokenizer.so -d extension=/builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/lib64/php/modules/ast.so' + NO_INTERACTION=1 + REPORT_EXIT_STATUS=1 + /usr/bin/php -n run-tests.php --show-diff ===================================================================== PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 7.3.9 ZEND_VERSION: 3.3.9 PHP_OS : Linux - Linux fedora-riscv-1.gcc144.osuosl.org 5.5.0-0.rc5.git0.1.1.riscv64.fc32.riscv64 #1 SMP Mon Jan 6 17:31:22 UTC 2020 riscv64 INI actual : /builddir/build/BUILD/php-ast-1.0.6/NTS More .INIs : CWD : /builddir/build/BUILD/php-ast-1.0.6/NTS Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2020-03-27 16:09:23 ===================================================================== TEST 1/58 [tests/001.phpt] PASS ast_dump() test [tests/001.phpt] TEST 2/58 [tests/array_destructuring.phpt] PASS Array destructuring [tests/array_destructuring.phpt] TEST 3/58 [tests/array_destructuring_old.phpt] PASS Array destructuring (using unkeyed list()) [tests/array_destructuring_old.phpt] TEST 4/58 [tests/assign_ops.phpt] PASS Assign op flags [tests/assign_ops.phpt] TEST 5/58 [tests/ast_dump_with_linenos.phpt] PASS ast_dump() with AST_DUMP_LINENOS [tests/ast_dump_with_linenos.phpt] TEST 6/58 [tests/binary_ops.phpt] PASS AST_GREATER(_EQUAL) converted to AST_BINARY_OP [tests/binary_ops.phpt] TEST 7/58 [tests/by_ref_destructuring.phpt] PASS By-reference array destructuring (PHP 7.3) [tests/by_ref_destructuring.phpt] TEST 8/58 [tests/class.phpt] PASS Test parse and dump of class [tests/class.phpt] TEST 9/58 [tests/class_consts.phpt] PASS Class constants [tests/class_consts.phpt] TEST 10/58 [tests/class_name_version_50.phpt] PASS Class properties in AST version 50 [tests/class_name_version_50.phpt] TEST 11/58 [tests/class_name_version_70.phpt] PASS Class properties in AST version 70 [tests/class_name_version_70.phpt] TEST 12/58 [tests/class_on_objects.phpt] PASS $x::class in PHP 8.0 [tests/class_on_objects.phpt] TEST 13/58 [tests/class_types.phpt] PASS Different class types [tests/class_types.phpt] TEST 14/58 [tests/closure_use_vars.phpt] PASS Closure uses should parse to CLOSURE_USE_VAR nodes [tests/closure_use_vars.phpt] TEST 15/58 [tests/coalesce.phpt] PASS Null-coalesce operator [tests/coalesce.phpt] TEST 16/58 [tests/concat.phpt] PASS AST_CONCAT with/without parenthesis [tests/concat.phpt] TEST 17/58 [tests/constructor.phpt] PASS ast\Node has a __construct method [tests/constructor.phpt] TEST 18/58 [tests/decl_ids.phpt] PASS Closures should have unique identifiers within parsed code in version 50 [tests/decl_ids.phpt] TEST 19/58 [tests/decl_normalization.phpt] PASS As of version 50 Decl is no more [tests/decl_normalization.phpt] TEST 20/58 [tests/empty_file_parse.phpt] PASS ast\parse_file() with empty file [tests/empty_file_parse.phpt] TEST 21/58 [tests/eval_include.phpt] PASS eval() and include parsing [tests/eval_include.phpt] TEST 22/58 [tests/functions_dont_use.phpt] PASS Uses only make sense on closures [tests/functions_dont_use.phpt] TEST 23/58 [tests/generator_flag.phpt] PASS Flag on generator functions in PHP 7.1 [tests/generator_flag.phpt] TEST 24/58 [tests/get_kind_name.phpt] PASS Test ast\get_kind_name() [tests/get_kind_name.phpt] TEST 25/58 [tests/get_supported_versions.phpt] PASS ast\get_supported_versions() function [tests/get_supported_versions.phpt] TEST 26/58 [tests/magic_constants.phpt] PASS Magic constants [tests/magic_constants.phpt] TEST 27/58 [tests/metadata.phpt] PASS AST metadata [tests/metadata.phpt] TEST 28/58 [tests/multi_catch.phpt] PASS Multi catch [tests/multi_catch.phpt] TEST 29/58 [tests/multiple_final_modifiers.phpt] PASS Multiple final multipliers should generate CompileError, not a fatal error [tests/multiple_final_modifiers.phpt] TEST 30/58 [tests/name_node.phpt] PASS Name nodes [tests/name_node.phpt] TEST 31/58 [tests/named_children.phpt] PASS Named child nodes [tests/named_children.phpt] TEST 32/58 [tests/nested_stmt_lists.phpt] PASS Nested statement lists [tests/nested_stmt_lists.phpt] TEST 33/58 [tests/nop_statements.phpt] PASS Nop statements [tests/nop_statements.phpt] TEST 34/58 [tests/nullable_types.phpt] PASS Nullable types [tests/nullable_types.phpt] TEST 35/58 [tests/object_type.phpt] PASS The object type is recognized [tests/object_type.phpt] TEST 36/58 [tests/params.phpt] PASS Function parameters [tests/params.phpt] TEST 37/58 [tests/parse_code_parse_error.phpt] PASS ast\parse_code() throwing a ParseError [tests/parse_code_parse_error.phpt] TEST 38/58 [tests/parse_file.phpt] PASS ast\parse_file() on valid file [tests/parse_file.phpt] TEST 39/58 [tests/parse_file_not_existing.phpt] PASS ast\parse_file() on file that does not exist [tests/parse_file_not_existing.phpt] TEST 40/58 [tests/parse_file_parse_error.phpt] PASS ast\parse_file() on file with parse error [tests/parse_file_parse_error.phpt] TEST 41/58 [tests/php74_ast_assign_coalesce.phpt] SKIP '??=' operator in PHP 7.4 [tests/php74_ast_assign_coalesce.phpt] reason: PHP >= 7.4 only TEST 42/58 [tests/php74_dim_alternative_syntax.phpt] SKIP '$x{"offset"}' flag in PHP 7.4 [tests/php74_dim_alternative_syntax.phpt] reason: PHP >= 7.4 only TEST 43/58 [tests/php74_ordinary_class.phpt] PASS Class properties in AST version 70 (php 7.0+) [tests/php74_ordinary_class.phpt] TEST 44/58 [tests/php74_parenthesized_conditional.phpt] SKIP parenthesized conditionals in PHP 7.4 [tests/php74_parenthesized_conditional.phpt] reason: PHP >= 7.4 only TEST 45/58 [tests/php74_type_hints.phpt] SKIP Property type hints in PHP 7.4 [tests/php74_type_hints.phpt] reason: PHP >= 7.4 only TEST 46/58 [tests/php80_static_type.phpt] SKIP Union types in PHP 8.0 [tests/php80_static_type.phpt] reason: PHP >= 8.0 only TEST 47/58 [tests/php80_union_types.phpt] SKIP Union types in PHP 8.0 [tests/php80_union_types.phpt] reason: PHP >= 8.0 only TEST 48/58 [tests/php80_union_types_nullable.phpt] SKIP Union types in PHP 8.0 (nullable) [tests/php80_union_types_nullable.phpt] reason: PHP >= 8.0 only TEST 49/58 [tests/prop_doc_comments.phpt] PASS Doc comments on properties [tests/prop_doc_comments.phpt] TEST 50/58 [tests/short_arrow_function.phpt] SKIP Arrow functions ('fn($x) => $x') in PHP 7.4 [tests/short_arrow_function.phpt] reason: PHP >= 7.4 only TEST 51/58 [tests/short_arrow_function_return.phpt] SKIP Arrow functions and types ('fn($x) => $x') in PHP 7.4 [tests/short_arrow_function_return.phpt] reason: PHP >= 7.4 only TEST 52/58 [tests/stmt_list.phpt] PASS Statement list normalization [tests/stmt_list.phpt] TEST 53/58 [tests/try_catch_finally.phpt] PASS try / catch / finally [tests/try_catch_finally.phpt] TEST 54/58 [tests/type_hints.phpt] PASS Type hints [tests/type_hints.phpt] TEST 55/58 [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 56/58 [tests/use_declarations.phpt] PASS Test parse and dump of use declarations [tests/use_declarations.phpt] TEST 57/58 [tests/version_errors.phpt] PASS Version errors [tests/version_errors.phpt] TEST 58/58 [tests/zpp_errors.phpt] PASS zpp failures throw TypeError [tests/zpp_errors.phpt] ===================================================================== TIME END 2020-03-27 16:10:21 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 16 --------------------------------------------------------------------- Number of tests : 58 49 Tests skipped : 9 ( 15.5%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 49 ( 84.5%) (100.0%) --------------------------------------------------------------------- Time taken : 58 seconds ===================================================================== + cd ../ZTS + : Minimal load test for ZTS extension + grep ast + /usr/bin/zts-php --no-php-ini --define extension=/builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/lib64/php-zts/modules/ast.so --modules ast + : Upstream test suite for ZTS extension + TEST_PHP_EXECUTABLE=/usr/bin/zts-php + TEST_PHP_ARGS='-n -d extension=tokenizer.so -d extension=/builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/lib64/php-zts/modules/ast.so' + NO_INTERACTION=1 + REPORT_EXIT_STATUS=1 + /usr/bin/zts-php -n run-tests.php --show-diff ===================================================================== PHP : /usr/bin/zts-php PHP_SAPI : cli PHP_VERSION : 7.3.9 ZEND_VERSION: 3.3.9 PHP_OS : Linux - Linux fedora-riscv-1.gcc144.osuosl.org 5.5.0-0.rc5.git0.1.1.riscv64.fc32.riscv64 #1 SMP Mon Jan 6 17:31:22 UTC 2020 riscv64 INI actual : /builddir/build/BUILD/php-ast-1.0.6/ZTS More .INIs : CWD : /builddir/build/BUILD/php-ast-1.0.6/ZTS Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2020-03-27 16:10:26 ===================================================================== TEST 1/58 [tests/001.phpt] PASS ast_dump() test [tests/001.phpt] TEST 2/58 [tests/array_destructuring.phpt] PASS Array destructuring [tests/array_destructuring.phpt] TEST 3/58 [tests/array_destructuring_old.phpt] PASS Array destructuring (using unkeyed list()) [tests/array_destructuring_old.phpt] TEST 4/58 [tests/assign_ops.phpt] PASS Assign op flags [tests/assign_ops.phpt] TEST 5/58 [tests/ast_dump_with_linenos.phpt] PASS ast_dump() with AST_DUMP_LINENOS [tests/ast_dump_with_linenos.phpt] TEST 6/58 [tests/binary_ops.phpt] PASS AST_GREATER(_EQUAL) converted to AST_BINARY_OP [tests/binary_ops.phpt] TEST 7/58 [tests/by_ref_destructuring.phpt] PASS By-reference array destructuring (PHP 7.3) [tests/by_ref_destructuring.phpt] TEST 8/58 [tests/class.phpt] PASS Test parse and dump of class [tests/class.phpt] TEST 9/58 [tests/class_consts.phpt] PASS Class constants [tests/class_consts.phpt] TEST 10/58 [tests/class_name_version_50.phpt] PASS Class properties in AST version 50 [tests/class_name_version_50.phpt] TEST 11/58 [tests/class_name_version_70.phpt] PASS Class properties in AST version 70 [tests/class_name_version_70.phpt] TEST 12/58 [tests/class_on_objects.phpt] PASS $x::class in PHP 8.0 [tests/class_on_objects.phpt] TEST 13/58 [tests/class_types.phpt] PASS Different class types [tests/class_types.phpt] TEST 14/58 [tests/closure_use_vars.phpt] PASS Closure uses should parse to CLOSURE_USE_VAR nodes [tests/closure_use_vars.phpt] TEST 15/58 [tests/coalesce.phpt] PASS Null-coalesce operator [tests/coalesce.phpt] TEST 16/58 [tests/concat.phpt] PASS AST_CONCAT with/without parenthesis [tests/concat.phpt] TEST 17/58 [tests/constructor.phpt] PASS ast\Node has a __construct method [tests/constructor.phpt] TEST 18/58 [tests/decl_ids.phpt] PASS Closures should have unique identifiers within parsed code in version 50 [tests/decl_ids.phpt] TEST 19/58 [tests/decl_normalization.phpt] PASS As of version 50 Decl is no more [tests/decl_normalization.phpt] TEST 20/58 [tests/empty_file_parse.phpt] PASS ast\parse_file() with empty file [tests/empty_file_parse.phpt] TEST 21/58 [tests/eval_include.phpt] PASS eval() and include parsing [tests/eval_include.phpt] TEST 22/58 [tests/functions_dont_use.phpt] PASS Uses only make sense on closures [tests/functions_dont_use.phpt] TEST 23/58 [tests/generator_flag.phpt] PASS Flag on generator functions in PHP 7.1 [tests/generator_flag.phpt] TEST 24/58 [tests/get_kind_name.phpt] PASS Test ast\get_kind_name() [tests/get_kind_name.phpt] TEST 25/58 [tests/get_supported_versions.phpt] PASS ast\get_supported_versions() function [tests/get_supported_versions.phpt] TEST 26/58 [tests/magic_constants.phpt] PASS Magic constants [tests/magic_constants.phpt] TEST 27/58 [tests/metadata.phpt] PASS AST metadata [tests/metadata.phpt] TEST 28/58 [tests/multi_catch.phpt] PASS Multi catch [tests/multi_catch.phpt] TEST 29/58 [tests/multiple_final_modifiers.phpt] PASS Multiple final multipliers should generate CompileError, not a fatal error [tests/multiple_final_modifiers.phpt] TEST 30/58 [tests/name_node.phpt] PASS Name nodes [tests/name_node.phpt] TEST 31/58 [tests/named_children.phpt] PASS Named child nodes [tests/named_children.phpt] TEST 32/58 [tests/nested_stmt_lists.phpt] PASS Nested statement lists [tests/nested_stmt_lists.phpt] TEST 33/58 [tests/nop_statements.phpt] PASS Nop statements [tests/nop_statements.phpt] TEST 34/58 [tests/nullable_types.phpt] PASS Nullable types [tests/nullable_types.phpt] TEST 35/58 [tests/object_type.phpt] PASS The object type is recognized [tests/object_type.phpt] TEST 36/58 [tests/params.phpt] PASS Function parameters [tests/params.phpt] TEST 37/58 [tests/parse_code_parse_error.phpt] PASS ast\parse_code() throwing a ParseError [tests/parse_code_parse_error.phpt] TEST 38/58 [tests/parse_file.phpt] PASS ast\parse_file() on valid file [tests/parse_file.phpt] TEST 39/58 [tests/parse_file_not_existing.phpt] PASS ast\parse_file() on file that does not exist [tests/parse_file_not_existing.phpt] TEST 40/58 [tests/parse_file_parse_error.phpt] PASS ast\parse_file() on file with parse error [tests/parse_file_parse_error.phpt] TEST 41/58 [tests/php74_ast_assign_coalesce.phpt] SKIP '??=' operator in PHP 7.4 [tests/php74_ast_assign_coalesce.phpt] reason: PHP >= 7.4 only TEST 42/58 [tests/php74_dim_alternative_syntax.phpt] SKIP '$x{"offset"}' flag in PHP 7.4 [tests/php74_dim_alternative_syntax.phpt] reason: PHP >= 7.4 only TEST 43/58 [tests/php74_ordinary_class.phpt] PASS Class properties in AST version 70 (php 7.0+) [tests/php74_ordinary_class.phpt] TEST 44/58 [tests/php74_parenthesized_conditional.phpt] SKIP parenthesized conditionals in PHP 7.4 [tests/php74_parenthesized_conditional.phpt] reason: PHP >= 7.4 only TEST 45/58 [tests/php74_type_hints.phpt] SKIP Property type hints in PHP 7.4 [tests/php74_type_hints.phpt] reason: PHP >= 7.4 only TEST 46/58 [tests/php80_static_type.phpt] SKIP Union types in PHP 8.0 [tests/php80_static_type.phpt] reason: PHP >= 8.0 only TEST 47/58 [tests/php80_union_types.phpt] SKIP Union types in PHP 8.0 [tests/php80_union_types.phpt] reason: PHP >= 8.0 only TEST 48/58 [tests/php80_union_types_nullable.phpt] SKIP Union types in PHP 8.0 (nullable) [tests/php80_union_types_nullable.phpt] reason: PHP >= 8.0 only TEST 49/58 [tests/prop_doc_comments.phpt] PASS Doc comments on properties [tests/prop_doc_comments.phpt] TEST 50/58 [tests/short_arrow_function.phpt] SKIP Arrow functions ('fn($x) => $x') in PHP 7.4 [tests/short_arrow_function.phpt] reason: PHP >= 7.4 only TEST 51/58 [tests/short_arrow_function_return.phpt] SKIP Arrow functions and types ('fn($x) => $x') in PHP 7.4 [tests/short_arrow_function_return.phpt] reason: PHP >= 7.4 only TEST 52/58 [tests/stmt_list.phpt] PASS Statement list normalization [tests/stmt_list.phpt] TEST 53/58 [tests/try_catch_finally.phpt] PASS try / catch / finally [tests/try_catch_finally.phpt] TEST 54/58 [tests/type_hints.phpt] PASS Type hints [tests/type_hints.phpt] TEST 55/58 [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 56/58 [tests/use_declarations.phpt] PASS Test parse and dump of use declarations [tests/use_declarations.phpt] TEST 57/58 [tests/version_errors.phpt] PASS Version errors [tests/version_errors.phpt] TEST 58/58 [tests/zpp_errors.phpt] PASS zpp failures throw TypeError [tests/zpp_errors.phpt] ===================================================================== TIME END 2020-03-27 16:11:27 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 16 --------------------------------------------------------------------- Number of tests : 58 49 Tests skipped : 9 ( 15.5%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 49 ( 84.5%) (100.0%) --------------------------------------------------------------------- Time taken : 61 seconds ===================================================================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: php-ast-1.0.6-1.fc33.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ytBzQp + umask 022 + cd /builddir/build/BUILD + cd php-ast-1.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/share/licenses/php-ast + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/share/licenses/php-ast + cp -pr NTS/LICENSE /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64/usr/share/licenses/php-ast + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(php-ast) = 1.0.6-1.fc33 php-ast = 1.0.6-1.fc33 php-ast(riscv-64) = 1.0.6-1.fc33 php-pecl(ast) = 1.0.6 php-pecl(ast)(riscv-64) = 1.0.6 php-pecl-ast = 1.0.6-1.fc33 php-pecl-ast(riscv-64) = 1.0.6-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: php-ast-debugsource-1.0.6-1.fc33.riscv64 Provides: php-ast-debugsource = 1.0.6-1.fc33 php-ast-debugsource(riscv-64) = 1.0.6-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: php-ast-debuginfo-1.0.6-1.fc33.riscv64 Provides: debuginfo(build-id) = bfcfff554e74831e88880861b6dc211e128f6c65 debuginfo(build-id) = d7700e1be276eb4e8fe29e71104d64d5e9f038c0 php-ast-debuginfo = 1.0.6-1.fc33 php-ast-debuginfo(riscv-64) = 1.0.6-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: php-ast-debugsource(riscv-64) = 1.0.6-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64 Wrote: /builddir/build/RPMS/php-ast-debugsource-1.0.6-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/php-ast-1.0.6-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/php-ast-debuginfo-1.0.6-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.s0NGun + umask 022 + cd /builddir/build/BUILD + cd php-ast-1.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-ast-1.0.6-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0