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/spim.spec'], chrootPath='/var/lib/mock/f31-build-70074-30394/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/spim.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=1564099200 Wrote: /builddir/build/SRPMS/spim-20171115-0.6.svn.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/spim.spec'], chrootPath='/var/lib/mock/f31-build-70074-30394/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/spim.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=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Xhxpwb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spim-20171115 + /usr/bin/mkdir -p spim-20171115 + cd spim-20171115 + /usr/bin/gzip -dc /builddir/build/SOURCES/spimsimulator-spim-20171115.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/bin/mkdir -p spim-20171115 + cd spim-20171115 + /usr/bin/gzip -dc /builddir/build/SOURCES/spimsimulator-CPU-20171115.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/bin/mkdir -p spim-20171115/spim + cd spim-20171115/spim + /usr/bin/gzip -dc /builddir/build/SOURCES/spimsimulator-Documentation-20171115.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed 's/\r//' README + touch -r README README.unix + mv -f README.unix README + find . -type f -perm /0111 -print0 + xargs -0 chmod a-x + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jRzYHd + umask 022 + cd /builddir/build/BUILD + cd spim-20171115/spim + 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' + make -j4 BUILDSTDERR: ../CPU/data.cpp: In function 'void align_data(int)': BUILDSTDERR: ../CPU/data.cpp:125:51: warning: left shift of negative value [-Wshift-negative-value] BUILDSTDERR: 125 | (next_k_data_pc + (1 << alignment) - 1) & (-1 << alignment); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ../CPU/data.cpp:130:69: warning: left shift of negative value [-Wshift-negative-value] BUILDSTDERR: 130 | next_data_pc = (next_data_pc + (1 << alignment) - 1) & (-1 << alignment); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from spim.cpp:75: BUILDSTDERR: ../CPU/reg.h:52: warning: "REG_A0" redefined BUILDSTDERR: 52 | #define REG_A0 4 BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/signal.h:306, BUILDSTDERR: from spim.cpp:40: BUILDSTDERR: /usr/include/sys/ucontext.h:40: note: this is the location of the previous definition BUILDSTDERR: 40 | # define REG_A0 10 BUILDSTDERR: | BUILDSTDERR: In file included from spim.cpp:75: BUILDSTDERR: ../CPU/reg.h:57: warning: "REG_SP" redefined BUILDSTDERR: 57 | #define REG_SP 29 BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/signal.h:306, BUILDSTDERR: from spim.cpp:40: BUILDSTDERR: /usr/include/sys/ucontext.h:36: note: this is the location of the previous definition BUILDSTDERR: 36 | # define REG_SP 2 BUILDSTDERR: | BUILDSTDERR: In file included from ../CPU/run.cpp:58: BUILDSTDERR: ../CPU/reg.h:52: warning: "REG_A0" redefined BUILDSTDERR: 52 | #define REG_A0 4 BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/signal.h:306, BUILDSTDERR: from ../CPU/run.cpp:50: BUILDSTDERR: /usr/include/sys/ucontext.h:40: note: this is the location of the previous definition BUILDSTDERR: 40 | # define REG_A0 10 BUILDSTDERR: | BUILDSTDERR: In file included from ../CPU/run.cpp:58: BUILDSTDERR: ../CPU/reg.h:57: warning: "REG_SP" redefined BUILDSTDERR: 57 | #define REG_SP 29 BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/signal.h:306, BUILDSTDERR: from ../CPU/run.cpp:50: BUILDSTDERR: /usr/include/sys/ucontext.h:36: note: this is the location of the previous definition BUILDSTDERR: 36 | # define REG_SP 2 BUILDSTDERR: | BUILDSTDERR: spim.cpp: In function 'void top_level()': BUILDSTDERR: spim.cpp:368:8: warning: variable 'redo' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] BUILDSTDERR: 368 | bool redo = false; /* => reexecute last command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: lex.yy.cpp: In function 'int yylex()': BUILDSTDERR: lex.yy.cpp:111:25: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 111 | */ BUILDSTDERR: | ^ BUILDSTDERR: lex.yy.cpp:804:25: note: in expansion of macro 'YY_SC_TO_UI' BUILDSTDERR: 804 | { BUILDSTDERR: | ^ BUILDSTDERR: lex.yy.cpp:814:21: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 814 | if ( yy_current_state >= 45 ) BUILDSTDERR: | ^~~~ BUILDSTDERR: lex.yy.cpp: In function 'yy_state_type yy_get_previous_state()': BUILDSTDERR: lex.yy.cpp:111:25: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 111 | */ BUILDSTDERR: | ^ BUILDSTDERR: lex.yy.cpp:1405:34: note: in expansion of macro 'YY_SC_TO_UI' BUILDSTDERR: 1405 | { BUILDSTDERR: | ^ BUILDSTDERR: lex.yy.cpp:1415:20: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1415 | if ( yy_current_state >= 45 ) BUILDSTDERR: | ^~~~ BUILDSTDERR: lex.yy.cpp: In function 'yy_state_type yy_try_NUL_trans(yy_state_type)': BUILDSTDERR: lex.yy.cpp:1443:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1443 | if ( yy_current_state >= 45 ) BUILDSTDERR: | ^~~~ BUILDSTDERR: ../CPU/parser.y: In function 'int yyparse()': BUILDSTDERR: ../CPU/parser.y:2128:33: warning: cast between incompatible function types from 'void (*)(int)' to 'void (*)(void*)' [-Wcast-function-type] BUILDSTDERR: 2128 | {store_op = (void(*)(void*))store_byte;} BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../CPU/parser.y:2243:32: warning: cast between incompatible function types from 'void (*)(int)' to 'void (*)(void*)' [-Wcast-function-type] BUILDSTDERR: 2243 | store_op = (void(*)(void*))store_half; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../CPU/parser.y:2381:32: warning: cast between incompatible function types from 'void (*)(int)' to 'void (*)(void*)' [-Wcast-function-type] BUILDSTDERR: 2381 | store_op = (void(*)(void*))store_word_data; BUILDSTDERR: | ^~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 bison -d --defines=parser_yacc.h --output=parser_yacc.cpp -p yy ../CPU/parser.y g++ -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c -o mem.o ../CPU/mem.cpp g++ -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c -o data.o ../CPU/data.cpp flex -I -8 -o lex.yy.cpp ../CPU/scanner.l g++ -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c -o syscall.o ../CPU/syscall.cpp g++ -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c -o display-utils.o ../CPU/display-utils.cpp g++ -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c -o string-stream.o ../CPU/string-stream.cpp g++ -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c -o spim.o spim.cpp g++ -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c -o spim-utils.o ../CPU/spim-utils.cpp g++ -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c -o run.o ../CPU/run.cpp g++ -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c -o inst.o ../CPU/inst.cpp g++ -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c -o sym-tbl.o ../CPU/sym-tbl.cpp g++ -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c parser_yacc.cpp g++ -O -I. -I../CPU -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/usr/share/spim/exceptions.s\"" -O -g -Wall -pedantic -Wextra -Wunused -Wno-write-strings -x c++ -c lex.yy.cpp g++ -g spim.o spim-utils.o run.o mem.o inst.o data.o sym-tbl.o parser_yacc.o lex.yy.o syscall.o display-utils.o string-stream.o -lm -o spim -lm Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LuzMIb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64 + cd spim-20171115/spim + mkdir -p /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64/usr/bin + make install DESTDIR=/builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64 + install -p -m 644 -D Documentation/spim.man /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64/usr/share/man/man1/spim.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 20171115-0.6.svn.fc31 --unique-debug-suffix -20171115-0.6.svn.fc31.riscv64 --unique-debug-src-base spim-20171115-0.6.svn.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/spim-20171115/spim BUILDSTDERR: 549 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 install spim /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64/usr/bin/spim install -d /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64/usr/share/spim install -m 0444 ../CPU/exceptions.s /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64/usr/share/spim/exceptions.s explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64/usr/bin/spim extracting debug info from /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64/usr/bin/spim original debug info size: 432kB, size after compression: 368kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: spim-20171115-0.6.svn.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Gi72Rc + umask 022 + cd /builddir/build/BUILD + cd spim-20171115/spim + DOCDIR=/builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64/usr/share/doc/spim + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64/usr/share/doc/spim + cp -pr README /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64/usr/share/doc/spim + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: spim = 20171115-0.6.svn.fc31 spim(riscv-64) = 20171115-0.6.svn.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: spim-debugsource-20171115-0.6.svn.fc31.riscv64 Provides: spim-debugsource = 20171115-0.6.svn.fc31 spim-debugsource(riscv-64) = 20171115-0.6.svn.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: spim-debuginfo-20171115-0.6.svn.fc31.riscv64 Provides: debuginfo(build-id) = 6b99775d57bdcbff1d293dc9820c15e052aed0c5 spim-debuginfo = 20171115-0.6.svn.fc31 spim-debuginfo(riscv-64) = 20171115-0.6.svn.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: spim-debugsource(riscv-64) = 20171115-0.6.svn.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64 Wrote: /builddir/build/RPMS/spim-20171115-0.6.svn.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/spim-debugsource-20171115-0.6.svn.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/spim-debuginfo-20171115-0.6.svn.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sAppjb + umask 022 + cd /builddir/build/BUILD + cd spim-20171115/spim + /usr/bin/rm -rf /builddir/build/BUILDROOT/spim-20171115-0.6.svn.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0