Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bam.spec'], chrootPath='/var/lib/mock/f41-build-828641-155756/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/bam-0.5.1-16.fc41.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/f41-build-828641-155756/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.doHX6D + umask 022 + cd /builddir/build/BUILD/bam-0.5.1-build + test -d /builddir/build/BUILD/bam-0.5.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/bam-0.5.1-build + /usr/bin/rm -rf /builddir/build/BUILD/bam-0.5.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/bam-0.5.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/bam-0.5.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cRfhwW + umask 022 + cd /builddir/build/BUILD/bam-0.5.1-build + cd /builddir/build/BUILD/bam-0.5.1-build + rm -rf bam-0.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.5.1.tar.gz + 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.vwCF2l + umask 022 + cd /builddir/build/BUILD/bam-0.5.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bam-0.5.1 + sh -x make_unix.sh -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer + case "$(uname)" in ++ uname + ccorder='gcc clang' + ldl=-ldl + '[' -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer src/context.c: In function ‘threads_run’: src/context.c:132:91: 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:970, from src/lua/lauxlib.h:13, from src/context.c:3: In function ‘sprintf’, inlined from ‘runjob_print_report’ at src/context.c:132:4, inlined from ‘run_job’ at src/context.c:240:2, inlined from ‘threads_run’ at src/context.c:403:4: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 41 and 68 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/luafuncs.c: In function ‘lf_path_dir’: src/luafuncs.c:1140:9: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 1140 | strncpy(buffer, path, sizeof(buffer)); | ^ src/main.c: In function ‘bam.constprop’: src/main.c:764:50: 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:970, from src/main.c:5: In function ‘sprintf’, inlined from ‘bam.constprop’ at src/main.c:764:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 6 and 69 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccLN2BRD.o: in function `os_tmpname': /builddir/build/BUILD/bam-0.5.1-build/bam-0.5.1/src/lua/loslib.c:169:(.text+0x39e): 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.aLnVHy + umask 022 + cd /builddir/build/BUILD/bam-0.5.1-build + '[' /builddir/build/BUILD/bam-0.5.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/bam-0.5.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/bam-0.5.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/bam-0.5.1-build + mkdir /builddir/build/BUILD/bam-0.5.1-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bam-0.5.1 + install -D -p -m 0755 bam /builddir/build/BUILD/bam-0.5.1-build/BUILDROOT/usr/bin/bam + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.5.1-16.fc41 --unique-debug-suffix -0.5.1-16.fc41.riscv64 --unique-debug-src-base bam-0.5.1-16.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bam-0.5.1-build/bam-0.5.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/bam-0.5.1-16.fc41.riscv64 2068 blocks find-debuginfo: done + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/bam-0.5.1-build/BUILDROOT Scanned 12 directories and 77 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/bam-0.5.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: bam-0.5.1-16.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yNieeg + umask 022 + cd /builddir/build/BUILD/bam-0.5.1-build + cd bam-0.5.1 + DOCDIR=/builddir/build/BUILD/bam-0.5.1-build/BUILDROOT/usr/share/doc/bam + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/bam-0.5.1-build/BUILDROOT/usr/share/doc/bam + cp -pr /builddir/build/BUILD/bam-0.5.1-build/bam-0.5.1/docs /builddir/build/BUILD/bam-0.5.1-build/BUILDROOT/usr/share/doc/bam + cp -pr /builddir/build/BUILD/bam-0.5.1-build/bam-0.5.1/examples /builddir/build/BUILD/bam-0.5.1-build/BUILDROOT/usr/share/doc/bam + RPM_EC=0 ++ jobs -p + exit 0 Provides: bam = 0.5.1-16.fc41 bam(riscv-64) = 0.5.1-16.fc41 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: bam-debugsource-0.5.1-16.fc41.riscv64 Provides: bam-debugsource = 0.5.1-16.fc41 bam-debugsource(riscv-64) = 0.5.1-16.fc41 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-16.fc41.riscv64 Provides: bam-debuginfo = 0.5.1-16.fc41 bam-debuginfo(riscv-64) = 0.5.1-16.fc41 debuginfo(build-id) = 38f4d074ddcc23969bfe4f5ccb85bf97a80610e9 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-16.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/bam-0.5.1-build/BUILDROOT Wrote: /builddir/build/RPMS/bam-0.5.1-16.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/bam-debuginfo-0.5.1-16.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/bam-debugsource-0.5.1-16.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.kQCQwg + umask 022 + cd /builddir/build/BUILD/bam-0.5.1-build + test -d /builddir/build/BUILD/bam-0.5.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/bam-0.5.1-build + rm -rf /builddir/build/BUILD/bam-0.5.1-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0