Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-geos.spec'], chrootPath='/var/lib/mock/f31-build-47203-26781/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-geos.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 BUILDSTDERR: warning: line 41: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} BUILDSTDERR: warning: line 42: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/php-geos-1.0.0-11.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-geos.spec'], chrootPath='/var/lib/mock/f31-build-47203-26781/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-geos.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UxIKiX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-geos-1.0.0 + /usr/bin/mkdir -p php-geos-1.0.0 + cd php-geos-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv php-geos NTS + cd NTS + echo 'Patch #0 (0001-fix-test-for-7.3-int-vs-integer.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .test --fuzz=0 + echo 'Patch #1 (0002-fix-error-message-with-php-7-Wformat-warnings-raised.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .wformat --fuzz=0 + sed -e '/PHP_GEOS_VERSION/s/"0.0"/"1.0.0"/' -i php_geos.h BUILDSTDERR: ++ sed -n '/define PHP_GEOS_VERSION/{s/.* "//;s/".*$//;p}' php_geos.h + ver=1.0.0 + test 1.0.0 '!=' 1.0.0 + cd .. + cat + tee 40-geos.ini + cp -pr NTS ZTS + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (0001-fix-test-for-7.3-int-vs-integer.patch): patching file tests/004_WKBWriter.phpt Patch #1 (0002-fix-error-message-with-php-7-Wformat-warnings-raised.patch): patching file geos.c ; Enable geos extension module extension=geos.so Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oeOteX + umask 022 + cd /builddir/build/BUILD + cd php-geos-1.0.0 + cd NTS + /usr/bin/phpize + 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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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-koji-linux-gnu --host=riscv64-koji-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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking BUILDSTDERR: configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' 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-koji-linux-gnu-cc... no checking for riscv64-koji-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-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-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 checking for gawk... gawk checking whether to enable geos support... yes, shared checking for geos-config... yes, shared checking for geos-config... /usr/bin/geos-config Using GEOS version 3.6.1 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 geos_c.h usability... yes checking geos_c.h presence... yes checking for geos_c.h... yes checking for initGEOS_r in -lgeos_c... yes checking for finishGEOS_r in -lgeos_c... yes checking for GEOSClipByRect_r in -lgeos_c... yes checking for GEOSCoveredBy_r in -lgeos_c... yes checking for GEOSCovers_r in -lgeos_c... yes checking for GEOSDelaunayTriangulation_r in -lgeos_c... yes checking for GEOSGeomGetEndPoint_r in -lgeos_c... yes checking for GEOSGeomGetNumPoints_r in -lgeos_c... yes checking for GEOSGeomGetPointN_r in -lgeos_c... yes checking for GEOSGeomGetStartPoint_r in -lgeos_c... yes checking for GEOSGeomGetX_r in -lgeos_c... yes checking for GEOSGeomGetY_r in -lgeos_c... yes checking for GEOSGeom_extractUniquePoints_r in -lgeos_c... yes checking for GEOSGeom_getCoordinateDimension_r in -lgeos_c... yes checking for GEOSNode_r in -lgeos_c... yes checking for GEOSOffsetCurve_r in -lgeos_c... yes checking for GEOSPolygonize_full_r in -lgeos_c... yes checking for GEOSRelateBoundaryNodeRule_r in -lgeos_c... yes checking for GEOSRelatePatternMatch_r in -lgeos_c... yes checking for GEOSSharedPaths_r in -lgeos_c... yes checking for GEOSSnap_r in -lgeos_c... yes checking for GEOSUnaryUnion_r in -lgeos_c... yes checking for GEOSVoronoiDiagram_r in -lgeos_c... yes checking for GEOSisClosed_r in -lgeos_c... yes checking for GEOSisValidDetail_r in -lgeos_c... yes checking for GEOSGeom_setPrecision_r in -lgeos_c... yes checking for GEOSGeom_getPrecision_r in -lgeos_c... yes checking for GEOSWKTWriter_setTrim_r in -lgeos_c... yes checking for GEOSWKTWriter_setRoundingPrecision_r in -lgeos_c... yes checking for GEOSWKTWriter_setOutputDimension_r in -lgeos_c... yes checking for GEOSWKTWriter_getOutputDimension_r in -lgeos_c... yes checking for GEOSWKTWriter_setOld3D_r in -lgeos_c... yes BUILDSTDERR: checking how to priconfigure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 nt 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-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-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-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-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-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 /bin/sh /builddir/build/BUILD/php-geos-1.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-geos-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-geos-1.0.0/NTS/include -I/builddir/build/BUILD/php-geos-1.0.0/NTS/main -I/builddir/build/BUILD/php-geos-1.0.0/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-geos-1.0.0/NTS/geos.c -o geos.lo BUILDSTDERR: libtool: compile: cc -I. -I/builddir/build/BUILD/php-geos-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-geos-1.0.0/NTS/include -I/builddir/build/BUILD/php-geos-1.0.0/NTS/main -I/builddir/build/BUILD/php-geos-1.0.0/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/B+ cd ../ZTS + /usr/bin/zts-phpize + 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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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-koji-linux-gnu --host=riscv64-koji-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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking UILD/php-geos-1.0.0/NTS/geos.c -fPIC -DPIC -o .libs/geos.o /bin/sh /builddir/build/BUILD/php-geos-1.0.0/NTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-geos-1.0.0/NTS/include -I/builddir/build/BUILD/php-geos-1.0.0/NTS/main -I/builddir/build/BUILD/php-geos-1.0.0/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 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o geos.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-geos-1.0.0/NTS/modules geos.lo -lgeos_c libtool: link: cc -shared -fPIC -DPIC .libs/geos.o -L/usr/lib64 -lgeos_c -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,geos.so -o .libs/geos.so libtool: link: ( cd ".libs" && rm -f "geos.la" && ln -s "../geos.la" "geos.la" ) /bin/sh /builddir/build/BUILD/php-geos-1.0.0/NTS/libtool --mode=install cp ./geos.la /builddir/build/BUILD/php-geos-1.0.0/NTS/modules libtool: install: cp ./.libs/geos.so /builddir/build/BUILD/php-geos-1.0.0/NTS/modules/geos.so libtool: install: cp ./.libs/geos.lai /builddir/build/BUILD/php-geos-1.0.0/NTS/modules/geos.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-geos-1.0.0/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-geos-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'. Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' 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-koji-linux-gnu-cc... no checking for riscv64-koji-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 BUILDSTDERR: checking build system type... riscvconfigure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. 64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-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 checking for gawk... gawk checking whether to enable geos support... yes, shared checking for geos-config... yes, shared checking for geos-config... /usr/bin/geos-config Using GEOS version 3.6.1 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 geos_c.h usability... yes checking geos_c.h presence... yes checking for geos_c.h... yes checking for initGEOS_r in -lgeos_c... yes checking for finishGEOS_r in -lgeos_c... yes checking for GEOSClipByRect_r in -lgeos_c... yes checking for GEOSCoveredBy_r in -lgeos_c... yes checking for GEOSCovers_r in -lgeos_c... yes checking for GEOSDelaunayTriangulation_r in -lgeos_c... yes checking for GEOSGeomGetEndPoint_r in -lgeos_c... yes checking for GEOSGeomGetNumPoints_r in -lgeos_c... yes checking for GEOSGeomGetPointN_r in -lgeos_c... yes checking for GEOSGeomGetStartPoint_r in -lgeos_c... yes checking for GEOSGeomGetX_r in -lgeos_c... yes checking for GEOSGeomGetY_r in -lgeos_c... yes checking for GEOSGeom_extractUniquePoints_r in -lgeos_c... yes checking for GEOSGeom_getCoordinateDimension_r in -lgeos_c... yes checking for GEOSNode_r in -lgeos_c... yes checking for GEOSOffsetCurve_r in -lgeos_c... yes checking for GEOSPolygonize_full_r in -lgeos_c... yes checking for GEOSRelateBoundaryNodeRule_r in -lgeos_c... yes checking for GEOSRelatePatternMatch_r in -lgeos_c... yes checking for GEOSSharedPaths_r in -lgeos_c... yes checking for GEOSSnap_r in -lgeos_c... yes checking for GEOSUnaryUnion_r in -lgeos_c... yes checking for GEOSVoronoiDiagram_r in -lgeos_c... yes checking for GEOSisClosed_r in -lgeos_c... yes checking for GEOSisValidDetail_r in -lgeos_c... yes checking for GEOSGeom_setPrecision_r in -lgeos_c... yes checking for GEOSGeom_getPrecision_r in -lgeos_c... yes checking for GEOSWKTWriter_setTrim_r in -lgeos_c... yes checking for GEOSWKTWriter_setRoundingPrecision_r in -lgeos_c... yes checking for GEOSWKTWriter_setOutputDimension_r in -lgeos_c... yes checking for GEOSWKTWriter_getOutputDimension_r in -lgeos_c... yes checking for GEOSWKTWriter_setOld3D_r in -lgeos_c... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-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-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ BUILDSTDERR: checking foconfigure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 r riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-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-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 /bin/sh /builddir/build/BUILD/php-geos-1.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-geos-1.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-geos-1.0.0/ZTS/include -I/builddir/build/BUILD/php-geos-1.0.0/ZTS/main -I/builddir/build/BUILD/php-geos-1.0.0/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-geos-1.0.0/ZTS/geos.c -o geos.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-geos-1.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-geos-1.0.0/ZTS/include -I/builddir/build/BUILD/php-geos-1.0.0/ZTS/main -I/builddir/build/BUILD/php-geos-1.0.0/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-geos-1.0.0/ZTS/geos.c -fPIC -DPIC -o .libs/geos.o /bin/sh /builddir/build/BUILD/php-geos-1.0.0/ZTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-geos-1.0.0/ZTS/include -I/builddir/build/BUILD/php-geos-1.0.0/ZTS/main -I/builddir/build/BUILD/php-geos-1.0.0/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 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o geos.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-geos-1.0.0/ZTS/modules geos.lo -lgeos_c BUILDSTDERR: libtool: link: + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -shared -fPIC -DPIC .libs/geos.o -L/usr/lib64 -lgeos_c -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,geos.so -o .libs/geos.so libtool: link: ( cd ".libs" && rm -f "geos.la" && ln -s "../geos.la" "geos.la" ) /bin/sh /builddir/build/BUILD/php-geos-1.0.0/ZTS/libtool --mode=install cp ./geos.la /builddir/build/BUILD/php-geos-1.0.0/ZTS/modules libtool: install: cp ./.libs/geos.so /builddir/build/BUILD/php-geos-1.0.0/ZTS/modules/geos.so libtool: install: cp ./.libs/geos.lai /builddir/build/BUILD/php-geos-1.0.0/ZTS/modules/geos.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-geos-1.0.0/ZTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-geos-1.0.0/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'. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0Z7YBW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64 + cd php-geos-1.0.0 + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64 + install -Dpm 644 40-geos.ini /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/etc/php.d/40-geos.ini + make -C ZTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64 + install -Dpm 644 40-geos.ini /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/etc/php-zts.d/40-geos.ini + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.0-11.fc31 --unique-debug-suffix -1.0.0-11.fc31.riscv64 --unique-debug-src-base php-geos-1.0.0-11.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/php-geos-1.0.0 BUILDSTDERR: 351 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./usr/src/debug/php-geos-1.0.0-11.fc31.riscv64/NTS/geos.c is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/php-geos-1.0.0-11.fc31.riscv64/ZTS/geos.c is executable but has empty or no shebang, removing executable bit make: Entering directory '/builddir/build/BUILD/php-geos-1.0.0/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/lib64/php/modules/ make: Leaving directory '/builddir/build/BUILD/php-geos-1.0.0/NTS' make: Entering directory '/builddir/build/BUILD/php-geos-1.0.0/ZTS' Installing shared extensions: /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/lib64/php-zts/modules/ make: Leaving directory '/builddir/build/BUILD/php-geos-1.0.0/ZTS' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/lib64/php-zts/modules/geos.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/lib64/php/modules/geos.so extracting debug info from /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/lib64/php-zts/modules/geos.so extracting debug info from /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/lib64/php/modules/geos.so original debug info size: 600kB, size after compression: 572kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Urmd1T Processing files: php-geos-1.0.0-11.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4VOjjX + umask 022 + cd /builddir/build/BUILD + cd php-geos-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/share/doc/php-geos + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/share/doc/php-geos + cp -pr NTS/CREDITS NTS/NEWS NTS/README.md NTS/TODO /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/share/doc/php-geos + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.u9TUXU + umask 022 + cd /builddir/build/BUILD + cd php-geos-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/share/licenses/php-geos + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/share/licenses/php-geos + cp -pr NTS/COPYING NTS/LGPL-2 NTS/MIT-LICENSE /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64/usr/share/licenses/php-geos + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(php-geos) = 1.0.0-11.fc31 geos-php = 1:1.0.0-11.fc31 geos-php(riscv-64) = 1:1.0.0-11.fc31 php-geos = 1.0.0-11.fc31 php-geos(riscv-64) = 1.0.0-11.fc31 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) libgeos_c.so.1()(64bit) rtld(GNU_HASH) Obsoletes: geos-php <= 3.5.0 Processing files: php-geos-debugsource-1.0.0-11.fc31.riscv64 Provides: php-geos-debugsource = 1.0.0-11.fc31 php-geos-debugsource(riscv-64) = 1.0.0-11.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: php-geos-debuginfo-1.0.0-11.fc31.riscv64 Provides: debuginfo(build-id) = 107e2243ff359fa87644861955e64037ef34105a debuginfo(build-id) = 29830559a1fe48a439ed2808c14a6ad627f4c615 php-geos-debuginfo = 1.0.0-11.fc31 php-geos-debuginfo(riscv-64) = 1.0.0-11.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: php-geos-debugsource(riscv-64) = 1.0.0-11.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64 Wrote: /builddir/build/RPMS/php-geos-1.0.0-11.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/php-geos-debugsource-1.0.0-11.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/php-geos-debuginfo-1.0.0-11.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5BMS0U + umask 022 + cd /builddir/build/BUILD + cd php-geos-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-geos-1.0.0-11.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0