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/yaws.spec'], chrootPath='/var/lib/mock/f29-build-9522-4276/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/yaws.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/yaws-2.0.4-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/yaws.spec'], chrootPath='/var/lib/mock/f29-build-9522-4276/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/yaws.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E0u1Dz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yaws-2.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/yaws-2.0.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yaws-2.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (yaws-2.0-systemd.patch):' Patch #0 (yaws-2.0-systemd.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no_systemd --fuzz=0 patching file scripts/Makefile.in Hunk #1 succeeded at 318 (offset 9 lines). Hunk #2 succeeded at 583 (offset 10 lines). patching file scripts/regular-install + echo 'Patch #1 (yaws-2.0-no-ssl.patch):' Patch #1 (yaws-2.0-no-ssl.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no_ssl --fuzz=0 patching file scripts/yaws.conf.template Hunk #1 succeeded at 130 (offset -4 lines). + rm -f src/authmod_gssapi.erl + iconv -f iso8859-1 -t utf8 ChangeLog + touch -r ChangeLog ChangeLog.utf8 + mv ChangeLog.utf8 ChangeLog + find . -name '*.dia' -delete + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aO5rrA + umask 022 + cd /builddir/build/BUILD + cd yaws-2.0.4 + export wwwdir=/var/lib/yaws/www + wwwdir=/var/lib/yaws/www + export appsdir=/var/lib/yaws + appsdir=/var/lib/yaws + export yawsdir=/usr/lib64/erlang/lib/yaws-2.0.4/ + yawsdir=/usr/lib64/erlang/lib/yaws-2.0.4/ + 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 ./ac-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./ac-aux/config.sub BUILDSTDERR: ++ basename ./ac-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./ac-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './ac-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./ac-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./ac-aux/config.guess BUILDSTDERR: ++ basename ./ac-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./ac-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './ac-aux/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"~' ./ac-aux/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 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 a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gawk... (cached) gawk BUILDSTDERR: ./configure: line 3220: warning: command substitution: ignored null byte in input BUILDSTDERR: ./configure: line 3221: warning: command substitution: ignored null byte in input checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for riscv64-koji-linux-gnu-ar... no checking for riscv64-koji-linux-gnu-lib... no checking for riscv64-koji-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for riscv64-koji-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking how to print strings... printf checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether make sets $(MAKE)... (cached) yes checking for a sed that does not truncate output... (cached) /usr/bin/sed 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... 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 command to parse /usr/bin/nm -B output from gcc 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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc 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 Check Erlang environment & applications checking for riscv64-koji-linux-gnu-erl... no checking for erl... /usr/bin/erl checking for riscv64-koji-linux-gnu-erlc... no checking for erlc... /usr/bin/erlc checking for escript... /usr/bin/escript checking for dialyzer... no BUILDSTDERR: configure: WARNING: BUILDSTDERR: dialyzer(1) not found. Fill the DIALYZER variable with dialyzer(1) path if BUILDSTDERR: you want to use it. checking for ct_run... no BUILDSTDERR: configure: WARNING: BUILDSTDERR: ct_run(1) not found. Fill the CT_RUN variable with ct_run(1) path if BUILDSTDERR: you want to use it. checking for erlc... /usr/bin/erlc checking for erl... /usr/bin/erl checking for Erlang/OTP root directory... /usr/lib64/erlang checking for Erlang/OTP library base directory... /usr/lib64/erlang/lib checking for Erlang/OTP ERTS version... 9.3.1 checking for Erlang/OTP ERTS directory... /usr/lib64/erlang/erts-9.3.1 checking for Erlang/OTP release... 20 checking for Erlang/OTP library installation base directory... ${prefix}/lib checking for Erlang/OTP 'yaws' library installation subdirectory... ${prefix}/lib/yaws-2.0.4 checking for Erlang/OTP 'yapp' library installation subdirectory... ${prefix}/lib/yapp-0.4.2 checking for Erlang/OTP 'kernel' library subdirectory... /usr/lib64/erlang/lib/kernel-5.4.3 checking for Erlang/OTP 'kernel' library version... 5.4.3 checking for Erlang/OTP 'stdlib' library subdirectory... /usr/lib64/erlang/lib/stdlib-3.4.5 checking for Erlang/OTP 'stdlib' library version... 3.4.5 checking for Erlang/OTP 'sasl' library subdirectory... /usr/lib64/erlang/lib/sasl-3.1.2 checking for Erlang/OTP 'sasl' library version... 3.1.2 checking for Erlang/OTP 'erts' library subdirectory... /usr/lib64/erlang/lib/erts-9.3.1 checking for Erlang/OTP 'erts' library version... 9.3.1 checking for Erlang/OTP 'compiler' library subdirectory... /usr/lib64/erlang/lib/compiler-7.1.5 checking for Erlang/OTP 'compiler' library version... 7.1.5 checking for Erlang/OTP 'crypto' library subdirectory... /usr/lib64/erlang/lib/crypto-4.2.2 checking for Erlang/OTP 'crypto' library version... 4.2.2 checking for Erlang/OTP 'xmerl' library subdirectory... /usr/lib64/erlang/lib/xmerl-1.3.16 checking for Erlang/OTP 'xmerl' library version... 1.3.16 checking for Erlang/OTP 'public_key' library subdirectory... /usr/lib64/erlang/lib/public_key-1.5.2 checking for Erlang/OTP 'public_key' library version... 1.5.2 checking for Erlang/OTP 'ssl' library subdirectory... /usr/lib64/erlang/lib/ssl-8.2.6 checking for Erlang/OTP 'ssl' library version... 8.2.6 checking for Erlang/OTP 'mnesia' library subdirectory... /usr/lib64/erlang/lib/mnesia-4.15.3 checking for Erlang/OTP 'mnesia' library version... 4.15.3 checking for Erlang/OTP 'eunit' library subdirectory... not found checking for Erlang/OTP 'eunit' library version... not found BUILDSTDERR: checking for Erlang/OTP 'erlsom' library subdirectory... configure: WARNING: "eunit" Erlang application not found. BUILDSTDERR: It could be required to run Yaws or its testsuites. /usr/lib64/erlang/lib/erlsom-1.4.1 checking for Erlang/OTP 'erlsom' library version... 1.4.1 checking for Erlang/OTP 'xmlrpc' library subdirectory... not found checking for Erlang/OTP 'xmlrpc' library version... not found BUILDSTDERR: checking for Erlang/OTP 'inets' library subdirectory... configure: WARNING: "xmlrpc" Erlang application not found. BUILDSTDERR: It could be required to run Yaws or its testsuites. /usr/lib64/erlang/lib/inets-6.5.1 checking for Erlang/OTP 'inets' library version... 6.5.1 checking for Erlang/OTP 'tools' library subdirectory... /usr/lib64/erlang/lib/tools-2.11.2 checking for Erlang/OTP 'tools' library version... 2.11.2 checking for Erlang/OTP 'common_test' library subdirectory... not found checking for Erlang/OTP 'common_test' library version... not found BUILDSTDERR: configure: WARNING: "common_test" Erlang application not found. BUILDSTDERR: It could be required to run Yaws or its testsuites. Check platform-specific and system requirements checking for the build and host architectures... linux-gnu checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for pam_start in -lpam... yes checking for sendfile in -lc... yes Check programs support checking for latex... latex checking for dvips... dvips checking for pdflatex... pdflatex checking for epstopdf... epstopdf checking for man... no checking for ps2pdf... ps2pdf checking for cadaver... no checking for curl... curl checking for unix2dos... no checking for todos... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating yaws.pc config.status: creating Makefile config.status: creating c_src/Makefile config.status: creating win32/Makefile config.status: creating win32/build.xml config.status: creating man/Makefile config.status: creating doc/Makefile config.status: creating scripts/Makefile config.status: creating src/Makefile config.status: creating ebin/Makefile config.status: creating examples/src/Makefile config.status: creating examples/ebin/Makefile config.status: creating examples/include/Makefile config.status: creating www/code/Makefile config.status: creating www/shoppingcart/Makefile config.status: creating testsuite/Makefile config.status: creating testsuite/yaws.coverspec config.status: creating testsuite/testsuite.hrl config.status: creating applications/chat/Makefile config.status: creating applications/chat/src/Makefile config.status: creating applications/chat/ebin/Makefile config.status: creating applications/mail/Makefile config.status: creating applications/mail/src/Makefile config.status: creating applications/mail/ebin/Makefile config.status: creating applications/wiki/Makefile config.status: creating applications/wiki/src/Makefile config.status: creating applications/wiki/ebin/Makefile config.status: creating applications/yapp/Makefile config.status: creating applications/yapp/src/Makefile config.status: creating applications/yapp/ebin/Makefile config.status: creating src/yaws_charset.hrl config.status: creating src/yaws_appdeps.hrl config.status: creating testsuite/run_common_test config.status: creating testsuite/cover_to_html.sh config.status: creating testsuite/analyze_coverdata.escript config.status: creating scripts/make-release config.status: creating applications/wiki/scripts/addFile config.status: creating applications/wiki/scripts/getPassword config.status: creating applications/wiki/scripts/importFiles config.status: creating applications/wiki/scripts/updateWiki config.status: creating include/Makefile config.status: creating priv/Makefile config.status: executing depfiles commands config.status: executing libtool commands == yaws 2.0.4 == Configuration: Application dir.: ${yawsdir} Prefix: /usr etcdir: /etc confdir: $(sysconfdir)/yaws bindir: /usr/bin vardir: /var wwwdir: /var/lib/yaws/www appsdir: /var/lib/yaws logdir: $(localstatedir)/log/yaws yawsdir: /usr/lib64/erlang/lib/yaws-2.0.4/ docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} mandir: /usr/share/man Erlang root dir: /usr/lib64/erlang Erlang lib dir: /usr/lib64/erlang/lib Erlang compiler: /usr/bin/erlc Erlang emulator: /usr/bin/erl Windows Erlang emulator: Erlang interpreter: /usr/bin/escript Erlang dialyzer tool: Erlang ct_run tool: + make -j4 all Making all in src make[1]: Entering directory '/builddir/build/BUILD/yaws-2.0.4/src' GEN ../ebin/yaws.appup GEN ../ebin/yaws.app ERLC ../ebin/yaws_ticker.beam ERLC ../ebin/yaws_app.beam ERLC ../ebin/yaws.beam ERLC ../ebin/yaws_config.beam ERLC ../ebin/yaws_sup.beam ERLC ../ebin/yaws_server.beam ERLC ../ebin/yaws_api.beam ERLC ../ebin/yaws_log.beam ERLC ../ebin/yaws_trace.beam compile: warnings being treated as errors yaws_server.erl:2129: erlang:get_stacktrace/0 used following an old-style 'catch' may stop working in a future release. (Use it inside 'try'.) BUILDSTDERR: make[1]: *** [Makefile:651: ../ebin/yaws_server.beam] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... ERLC ../ebin/yaws_logger.beam ERLC ../ebin/yaws_ls.beam make[1]: Leaving directory '/builddir/build/BUILD/yaws-2.0.4/src' RPM build errors: BUILDSTDERR: make: *** [Makefile:552: all-recursive] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.aO5rrA (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.aO5rrA (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/yaws.spec