Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-fann.spec'], chrootPath='/var/lib/mock/f29-build-3701-945/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-fann.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 31: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} BUILDSTDERR: warning: line 32: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/php-pecl-fann-1.1.1-8.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-fann.spec'], chrootPath='/var/lib/mock/f29-build-3701-945/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-fann.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QgfH4k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-fann-1.1.1 + /usr/bin/mkdir -p php-pecl-fann-1.1.1 + cd php-pecl-fann-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/fann-1.1.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv fann-1.1.1 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS BUILDSTDERR: ++ sed -n '/#define PHP_FANN_VERSION/{s/.* "//;s/".*$//;p}' php_fann.h + extver=1.1.1 + test x1.1.1 '!=' x1.1.1 + cd .. + cp -pr NTS ZTS + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xZs2bm + umask 022 + cd /builddir/build/BUILD + cd php-pecl-fann-1.1.1 + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20170718 Zend Module Api No: 20170718 Zend Extension Api No: 320170718 + 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,-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.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 '/usr/lib/rpm/redhat/config.sub' -> './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 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 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 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 BUILDSTDERR: configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for fann support... yes, shared checking for libfann headers in default path... found in /usr checking for fann_set_user_data in -lfann... yes checking for fann_copy in -lfann... 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... @ 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 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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/include -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/main -I/builddir/build/BUILD/php-pecl-fann-1.1.1/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-pecl-fann-1.1.1/NTS/fann.c -o fann.lo /bin/sh /builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/include -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/main -I/builddir/build/BUILD/php-pecl-fann-1.1.1/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-pecl-fann-1.1.1/NTS/fann_connection.c -o fann_connection.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/include -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/main -I/builddir/build/BUILD/php-pecl-fann-1.1.1/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-pecl-fann-1.1.1/NTS/fann_connection.c -fPIC -DPIC -o .libs/fann_connection.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/include -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/main -I/builddir/build/BUILD/php-pecl-fann-1.1.1/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-pecl-fann-1.1.1/NTS/fann.c -fPIC -DPIC -o .libs/fann.o /bin/sh /builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/include -I/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/main -I/builddir/build/BUILD/php-pecl-fann-1.1.1/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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fann.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/modules fann.lo fann_connection.lo -lfann libtool: link: cc -shared -fPIC -DPIC .libs/fann.o .libs/fann_connection.o -lfann -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,fann.so -o .libs/fann.so libtool: link: ( cd ".libs" && rm -f "fann.la" && ln -s "../fann.la" "fann.la" ) /bin/sh /builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/libtool --mode=install cp ./fann.la /builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/modules libtool: install: cp ./.libs/fann.so /builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/modules/fann.so libtool: install: cp ./.libs/fann.lai /builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/modules/fann.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-pecl-fann-1.1.1/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-fann-1.1.1/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: 20170718 Zend Module Api No: 20170718 Zend Extension Api No: 320170718 + 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,-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.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 '/usr/lib/rpm/redhat/config.sub' -> './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 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 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 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-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 BUILDSTDERR: configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for fann support... yes, shared checking for libfann headers in default path... found in /usr checking for fann_set_user_data in -lfann... yes checking for fann_copy in -lfann... 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... @ 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 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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/include -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/main -I/builddir/build/BUILD/php-pecl-fann-1.1.1/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-pecl-fann-1.1.1/ZTS/fann.c -o fann.lo /bin/sh /builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/include -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/main -I/builddir/build/BUILD/php-pecl-fann-1.1.1/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-pecl-fann-1.1.1/ZTS/fann_connection.c -o fann_connection.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/include -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/main -I/builddir/build/BUILD/php-pecl-fann-1.1.1/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-pecl-fann-1.1.1/ZTS/fann.c -fPIC -DPIC -o .libs/fann.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/include -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/main -I/builddir/build/BUILD/php-pecl-fann-1.1.1/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-pecl-fann-1.1.1/ZTS/fann_connection.c -fPIC -DPIC -o .libs/fann_connection.o /bin/sh /builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/include -I/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/main -I/builddir/build/BUILD/php-pecl-fann-1.1.1/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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fann.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/modules fann.lo fann_connection.lo -lfann libtool: link: cc -shared -fPIC -DPIC .libs/fann.o .libs/fann_connection.o -lfann -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,fann.so -o .libs/fann.so libtool: link: ( cd ".libs" && rm -f "fann.la" && ln -s "../fann.la" "fann.la" ) /bin/sh /builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/libtool --mode=install cp ./fann.la /builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/modules libtool: install: cp ./.libs/fann.so /builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/modules/fann.so libtool: install: cp ./.libs/fann.lai /builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/modules/fann.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-fann-1.1.1/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'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3sSfsA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64 + cd php-pecl-fann-1.1.1 + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64 make: Entering directory '/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/usr/lib64/php/modules/ make: Leaving directory '/builddir/build/BUILD/php-pecl-fann-1.1.1/NTS' + install -D -m 644 40-fann.ini /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/etc/php.d/40-fann.ini + install -D -m 644 package.xml /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/var/lib/php/peclxml/php-pecl-fann.xml + make -C ZTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64 make: Entering directory '/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/usr/lib64/php-zts/modules/ make: Leaving directory '/builddir/build/BUILD/php-pecl-fann-1.1.1/ZTS' + install -D -m 644 40-fann.ini /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/etc/php-zts.d/40-fann.ini BUILDSTDERR: ++ grep 'role="doc"' package.xml BUILDSTDERR: ++ sed -e 's/^.*name="//;s/".*$//' + for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 NTS/examples/simple_test.php /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/usr/share/doc/pecl/fann/examples/simple_test.php + for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 NTS/examples/simple_train.php /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/usr/share/doc/pecl/fann/examples/simple_train.php + for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 NTS/examples/xor.data /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/usr/share/doc/pecl/fann/examples/xor.data + for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 NTS/CREDITS /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/usr/share/doc/pecl/fann/CREDITS + for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 NTS/README.md /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/usr/share/doc/pecl/fann/README.md + for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') + install -Dpm 644 NTS/TODO.txt /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/usr/share/doc/pecl/fann/TODO.txt + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4r822u Processing files: php-pecl-fann-1.1.1-8.fc29.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ikt4rF + umask 022 + cd /builddir/build/BUILD + cd php-pecl-fann-1.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/usr/share/licenses/php-pecl-fann + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/usr/share/licenses/php-pecl-fann + cp -pr NTS/LICENSE /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64/usr/share/licenses/php-pecl-fann + exit 0 Provides: config(php-pecl-fann) = 1.1.1-8.fc29 php-fann = 1.1.1 php-fann(riscv-64) = 1.1.1 php-pecl(fann) = 1.1.1 php-pecl(fann)(riscv-64) = 1.1.1 php-pecl-fann = 1.1.1-8.fc29 php-pecl-fann(riscv-64) = 1.1.1-8.fc29 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) libfann.so.2()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64 Wrote: /builddir/build/RPMS/php-pecl-fann-1.1.1-8.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PHhmQ9 + umask 022 + cd /builddir/build/BUILD + cd php-pecl-fann-1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-pecl-fann-1.1.1-8.fc29.riscv64 + exit 0 Child return code was: 0