Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bam.spec'], chrootPath='/var/lib/mock/f33-build-134788-41604/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bam.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=1580169600 Wrote: /builddir/build/SRPMS/bam-0.5.1-6.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bam.spec'], chrootPath='/var/lib/mock/f33-build-134788-41604/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bam.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=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rFkwq9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bam-0.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.5.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bam-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ihGlma + umask 022 + cd /builddir/build/BUILD + cd bam-0.5.1 + sh -x make_unix.sh -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 + case "$(uname)" in ++ uname + ccorder='gcc clang' + ldl=-ldl + '[' -z '' ']' + for cctry in $ccorder + gcc --version + CC=gcc + break + '[' -z gcc ']' + echo 'compiling using gcc...' compiling using gcc... + gcc -Wall -pedantic src/tools/txt2c.c -o src/tools/txt2c + src/tools/txt2c src/base.lua src/tools.lua src/driver_gcc.lua src/driver_clang.lua src/driver_cl.lua src/driver_solstudio.lua src/driver_xlc.lua + gcc -Wall -pedantic src/cache.c src/context.c src/dep_cpp.c src/dep_search.c src/luafuncs.c src/main.c src/mem.c src/node.c src/path.c src/support.c src/lua/lapi.c src/lua/lauxlib.c src/lua/lbaselib.c src/lua/lbitlib.c src/lua/lcode.c src/lua/lcorolib.c src/lua/lctype.c src/lua/ldblib.c src/lua/ldebug.c src/lua/ldo.c src/lua/ldump.c src/lua/lfunc.c src/lua/lgc.c src/lua/linit.c src/lua/liolib.c src/lua/llex.c src/lua/lmathlib.c src/lua/lmem.c src/lua/loadlib.c src/lua/lobject.c src/lua/lopcodes.c src/lua/loslib.c src/lua/lparser.c src/lua/lstate.c src/lua/lstring.c src/lua/lstrlib.c src/lua/ltable.c src/lua/ltablib.c src/lua/ltm.c src/lua/lundump.c src/lua/lutf8lib.c src/lua/lvm.c src/lua/lzio.c -o bam -I src/lua -lm -lpthread -ldl -O2 -rdynamic -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 src/context.c: In function 'threads_run': src/context.c:132:70: warning: '%%' directive writing 1 byte into a region of size between 0 and 27 [-Wformat-overflow=] 132 | sprintf(buf, "\033[01;32m[%%%dd/%%%dd] \033[01;36m[%%%dd]\033[00m %%s\n", jobdigits, jobdigits, threaddigits); | ^~ In file included from /usr/include/stdio.h:871, from src/lua/lauxlib.h:13, from src/context.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 68 bytes into a destination of size 64 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from src/luafuncs.c:2: In function 'strncpy', inlined from 'lf_path_dir' at src/luafuncs.c:1140:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/main.c: In function 'bam.constprop': src/main.c:764:36: warning: '%s' directive writing up to 63 bytes into a region of size 27 [-Wformat-overflow=] 764 | sprintf(depcache_filename, ".bam/%s", hashstr); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:871, from src/main.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 69 bytes into a destination of size 32 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'createstrobj', inlined from 'luaS_createlngstrobj' at src/lua/lstring.c:148:17, inlined from 'luaS_newlstr' at src/lua/lstring.c:206:10: src/lua/lstring.c:142:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 142 | getstr(ts)[l] = '\0'; /* ending 0 */ In file included from src/lua/ldebug.h:11, from src/lua/lstring.c:17: src/lua/lstring.c: In function 'luaS_newlstr': src/lua/lstate.h:194:18: note: at offset 0 to object 'ts' with size 24 declared here 194 | struct TString ts; | ^~ /usr/bin/ld: /tmp/ccI1kgeB.o: in function `os_tmpname': /builddir/build/BUILD/bam-0.5.1/src/lua/loslib.c:169: warning: the use of `tmpnam' is dangerous, better use `mkstemp' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.15DOR6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64 + cd bam-0.5.1 + install -D -p -m 0755 bam /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64/usr/bin/bam + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.5.1-6.fc33 --unique-debug-suffix -0.5.1-6.fc33.riscv64 --unique-debug-src-base bam-0.5.1-6.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bam-0.5.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64/usr/bin/bam extracting debug info from /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64/usr/bin/bam original debug info size: 1576kB, size after compression: 1436kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2068 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: bam-0.5.1-6.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HoiQJ9 + umask 022 + cd /builddir/build/BUILD + cd bam-0.5.1 + DOCDIR=/builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64/usr/share/doc/bam + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64/usr/share/doc/bam + cp -pr docs/ /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64/usr/share/doc/bam + cp -pr examples/ /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64/usr/share/doc/bam + RPM_EC=0 ++ jobs -p + exit 0 Provides: bam = 0.5.1-6.fc33 bam(riscv-64) = 0.5.1-6.fc33 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) libdl.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: bam-debugsource-0.5.1-6.fc33.riscv64 Provides: bam-debugsource = 0.5.1-6.fc33 bam-debugsource(riscv-64) = 0.5.1-6.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bam-debuginfo-0.5.1-6.fc33.riscv64 Provides: bam-debuginfo = 0.5.1-6.fc33 bam-debuginfo(riscv-64) = 0.5.1-6.fc33 debuginfo(build-id) = 4d7a9f3c6c0d3102af4f53e45f8794538b160e69 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bam-debugsource(riscv-64) = 0.5.1-6.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64 Wrote: /builddir/build/RPMS/bam-0.5.1-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/bam-debuginfo-0.5.1-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/bam-debugsource-0.5.1-6.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.84OeX9 + umask 022 + cd /builddir/build/BUILD + cd bam-0.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bam-0.5.1-6.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0