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/spim.spec'], chrootPath='/var/lib/mock/f29-build-8930-3934/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/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', '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/spim-20171115-0.2.svn.fc29.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/f29-build-8930-3934/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/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', '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.AG04na + 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/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/spimsimulator-spim-20171115.tar.gz + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FG5uFn + 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 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 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: (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: next_data_pc = (next_data_pc + (1 << alignment) - 1) & (-1 << alignment); BUILDSTDERR: ^~~~~~~~~ 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 BUILDSTDERR: In file included from spim.cpp:75: BUILDSTDERR: ../CPU/reg.h:52: warning: "REG_A0" redefined BUILDSTDERR: #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: # define REG_A0 10 BUILDSTDERR: BUILDSTDERR: In file included from spim.cpp:75: BUILDSTDERR: ../CPU/reg.h:57: warning: "REG_SP" redefined BUILDSTDERR: #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: # define REG_SP 2 BUILDSTDERR: BUILDSTDERR: In file included from ../CPU/run.cpp:58: BUILDSTDERR: ../CPU/reg.h:52: warning: "REG_A0" redefined BUILDSTDERR: #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: # define REG_A0 10 BUILDSTDERR: BUILDSTDERR: In file included from ../CPU/run.cpp:58: BUILDSTDERR: ../CPU/reg.h:57: warning: "REG_SP" redefined BUILDSTDERR: #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: # define REG_SP 2 BUILDSTDERR: 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 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: bool redo = false; /* => reexecute last command */ BUILDSTDERR: ^~~~ 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 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: {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: 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: store_op = (void(*)(void*))store_word_data; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: lex.yy.cpp: In function 'yy_buffer_state* yy_scan_bytes(const char*, int)': BUILDSTDERR: lex.yy.cpp:1904:17: warning: comparison of integer expressions of different signedness: 'yy_size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: for ( i = 0; i < _yybytes_len; ++i ) BUILDSTDERR: ~~^~~~~~~~~~~~~~ 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dGTYeO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64 + cd spim-20171115/spim + mkdir -p /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64/usr/bin + make install DESTDIR=/builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64 install spim /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64/usr/bin/spim install -d /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64/usr/share/spim install -m 0444 ../CPU/exceptions.s /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64/usr/share/spim/exceptions.s + install -p -m 644 -D Documentation/spim.man /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64/usr/share/man/man1/spim.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 20171115-0.2.svn.fc29 --unique-debug-suffix -20171115-0.2.svn.fc29.riscv64 --unique-debug-src-base spim-20171115-0.2.svn.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/spim-20171115/spim extracting debug info from /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64/usr/bin/spim /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 566 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: spim-20171115-0.2.svn.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Je5sGT + umask 022 + cd /builddir/build/BUILD + cd spim-20171115/spim + DOCDIR=/builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64/usr/share/doc/spim + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64/usr/share/doc/spim + cp -pr README /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64/usr/share/doc/spim + exit 0 Provides: spim = 20171115-0.2.svn.fc29 spim(riscv-64) = 20171115-0.2.svn.fc29 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.2.svn.fc29.riscv64 Provides: spim-debugsource = 20171115-0.2.svn.fc29 spim-debugsource(riscv-64) = 20171115-0.2.svn.fc29 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.2.svn.fc29.riscv64 Provides: debuginfo(build-id) = 04467ffcc9a1ef60abcb6204028d29fc2bedc17b spim-debuginfo = 20171115-0.2.svn.fc29 spim-debuginfo(riscv-64) = 20171115-0.2.svn.fc29 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.2.svn.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64 Wrote: /builddir/build/RPMS/spim-20171115-0.2.svn.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/spim-debugsource-20171115-0.2.svn.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/spim-debuginfo-20171115-0.2.svn.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qreGkn + umask 022 + cd /builddir/build/BUILD + cd spim-20171115/spim + /usr/bin/rm -rf /builddir/build/BUILDROOT/spim-20171115-0.2.svn.fc29.riscv64 + exit 0 Child return code was: 0