Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rmlint.spec'], chrootPath='/var/lib/mock/f38-build-715352-95315/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rmlint.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=1658534400 Wrote: /builddir/build/SRPMS/rmlint-2.10.1-11.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/rmlint.spec'], chrootPath='/var/lib/mock/f38-build-715352-95315/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/rmlint.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=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1wd7Ak + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rmlint-2.10.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rmlint-2.10.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rmlint-2.10.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Add-RPM_BUILD_ROOT-to-env.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f ++ find gui/shredder -name '*.py' + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/query.py + touch -r gui/shredder/query.py gui/shredder/query.py.new + mv gui/shredder/query.py.new gui/shredder/query.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/__init__.py + touch -r gui/shredder/__init__.py gui/shredder/__init__.py.new + mv gui/shredder/__init__.py.new gui/shredder/__init__.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/chart.py + touch -r gui/shredder/chart.py gui/shredder/chart.py.new + mv gui/shredder/chart.py.new gui/shredder/chart.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/views/editor.py + touch -r gui/shredder/views/editor.py gui/shredder/views/editor.py.new + mv gui/shredder/views/editor.py.new gui/shredder/views/editor.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/views/__init__.py + touch -r gui/shredder/views/__init__.py gui/shredder/views/__init__.py.new + mv gui/shredder/views/__init__.py.new gui/shredder/views/__init__.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/views/settings.py + touch -r gui/shredder/views/settings.py gui/shredder/views/settings.py.new + mv gui/shredder/views/settings.py.new gui/shredder/views/settings.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/views/locations.py + touch -r gui/shredder/views/locations.py gui/shredder/views/locations.py.new + mv gui/shredder/views/locations.py.new gui/shredder/views/locations.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/views/runner.py + touch -r gui/shredder/views/runner.py gui/shredder/views/runner.py.new + mv gui/shredder/views/runner.py.new gui/shredder/views/runner.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/cmdline.py + touch -r gui/shredder/cmdline.py gui/shredder/cmdline.py.new + mv gui/shredder/cmdline.py.new gui/shredder/cmdline.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/window.py + touch -r gui/shredder/window.py gui/shredder/window.py.new + mv gui/shredder/window.py.new gui/shredder/window.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/about.py + touch -r gui/shredder/about.py gui/shredder/about.py.new + mv gui/shredder/about.py.new gui/shredder/about.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/runner.py + touch -r gui/shredder/runner.py gui/shredder/runner.py.new + mv gui/shredder/runner.py.new gui/shredder/runner.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/logger.py + touch -r gui/shredder/logger.py gui/shredder/logger.py.new + mv gui/shredder/logger.py.new gui/shredder/logger.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/__main__.py + touch -r gui/shredder/__main__.py gui/shredder/__main__.py.new + mv gui/shredder/__main__.py.new gui/shredder/__main__.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/application.py + touch -r gui/shredder/application.py gui/shredder/application.py.new + mv gui/shredder/application.py.new gui/shredder/application.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/util.py + touch -r gui/shredder/util.py gui/shredder/util.py.new + mv gui/shredder/util.py.new gui/shredder/util.py + for f in `find gui/shredder -name "*.py"` + sed '1{\@^#!/usr/bin/env python@d}' gui/shredder/tree.py + touch -r gui/shredder/tree.py gui/shredder/tree.py.new + mv gui/shredder/tree.py.new gui/shredder/tree.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8oFZlW + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 rmlint-2.10.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 + scons config -j4 --prefix=/builddir/build/BUILDROOT/rmlint-2.10.1-11.fc38.riscv64/usr --actual-prefix=/usr --libdir=lib64 DEBUG=1 SYMBOLS=1 VERBOSE=1 scons: Reading SConscript files ... Checking whether the C compiler works... yes Checking for git revision... /bin/sh: line 1: git: command not found Unable to find git revision. (cached) unknown Checking for pkg-config... yes Checking for glib-2.0 >= 2.32... yes Checking for gio-unix-2.0... yes Checking for blkid... yes Checking for json-glib-1.0... yes >> Using compiler: gcc >> Appending custom build flags : -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer >> Appending custom link flags : -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 Checking for -std=c11 support...(cached) yes Checking for cygwin environment...(cached) Linux/nujive.home.annexia.org/6.0.10-300.0.riscv64.fc37.riscv64/#1 SMP Sun Nov 27 19:08:44 GMT 2022/riscv64/(cached) no Checking whether _mm_crc32_u64 is declared... no Checking for GCC version... (cached) 13 Checking whether __builtin_cpu_supports is declared... no Checking whether blkid_devno_to_wholedisk is declared... yes Checking for existence of /sys/block... (cached) yes Checking for C header file libelf.h... yes Checking for C library libelf... no Checking for C type struct fiemap... no Checking for C function getxattr()... no Checking for C function lgetxattr()... no Checking size of off_t ... no Checking for C function stat64()... no Checking whether G_CHECKSUM_SHA512 is declared... yes Checking for C header file locale.h... yes Checking for C header file linux/limits.h... yes Checking whether posix_fadvise is declared... yes Checking whether faccessat is declared... yes Checking whether AT_FDCWD is declared... yes Checking for C header file linux/btrfs.h... yes Checking for C header file linux/fs.h... yes Checking for C header file sys/utsname.h... yes Checking for C header file sys/sysmacros.h... yes Compiling in debug mode Using compiler optimisation -Og (to change, run scons with O=[0|1|2|3|s|fast]) Compiling with debugging symbols Running with --jobs=4 Building rmlint scons: done reading SConscript files. scons: Building targets ... Printing configuration... Using sphinx-build binary: /usr/bin/sphinx-build-3 rmlint will be compiled with the following features: Find non-stripped binaries (needs libelf) : no Optimize using ioctl(FS_IOC_FIEMAP) (needs linux) : no Support for SHA512 (needs glib >= 2.31) : yes Build manpage from docs/rmlint.1.rst : yes, using /usr/bin/sphinx-build-3 Support for caching checksums in file's xattr : no Support for reading json caches (needs json-glib) : yes Checking for proper support of big files >= 4GB : no (needs either sizeof(off_t) >= 8 ...) : no (... or presence of stat64) : no Optimize non-rotational disks : yes (needs libblkid for resolving dev_t to path) : yes (needs gio-unix-2.0) : yes Enable gettext localization : yes (needs for compile side support) : yes (needs msgfmt to compile .po files) : yes The following constants will be used during the build: Version information : 2.10.1 "Ludicrous Lemur" (rev unknown) Compiler : gcc Install prefix : /builddir/build/BUILDROOT/rmlint-2.10.1-11.fc38.riscv64/usr Actual prefix : /usr Verbose building : yes Adding debug checks : yes Adding debug symbols : yes Type 'scons' to actually compile rmlint now. Good luck. scons: done building targets. + scons scons: Reading SConscript files ... Checking whether the C compiler works... (cached) yes Checking for git revision... /bin/sh: line 1: git: command not found Unable to find git revision. (cached) unknown Checking for pkg-config... (cached) yes Checking for glib-2.0 >= 2.32... (cached) yes Checking for gio-unix-2.0... (cached) yes Checking for blkid... (cached) yes Checking for json-glib-1.0... (cached) yes >> Using compiler: gcc >> Appending custom build flags : -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer >> Appending custom link flags : -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 Checking for -std=c11 support...(cached) yes Checking for cygwin environment...(cached) Linux/nujive.home.annexia.org/6.0.10-300.0.riscv64.fc37.riscv64/#1 SMP Sun Nov 27 19:08:44 GMT 2022/riscv64/(cached) no Checking whether _mm_crc32_u64 is declared... (cached) no Checking for GCC version... (cached) 13 Checking whether __builtin_cpu_supports is declared... (cached) no Checking whether blkid_devno_to_wholedisk is declared... (cached) yes Checking for existence of /sys/block... (cached) yes Checking for C header file libelf.h... (cached) yes Checking for C library libelf... (cached) no Checking for C type struct fiemap... (cached) no Checking for C function getxattr()... (cached) no Checking for C function lgetxattr()... (cached) no Checking size of off_t ... (cached) no Checking for C function stat64()... (cached) no Checking whether G_CHECKSUM_SHA512 is declared... (cached) yes Checking for C header file locale.h... (cached) yes Checking for C header file linux/limits.h... (cached) yes Checking whether posix_fadvise is declared... (cached) yes Checking whether faccessat is declared... (cached) yes Checking whether AT_FDCWD is declared... (cached) yes Checking for C header file linux/btrfs.h... (cached) yes Checking for C header file linux/fs.h... (cached) yes Checking for C header file sys/utsname.h... (cached) yes Checking for C header file sys/sysmacros.h... (cached) yes Using compiler optimisation -O2 (to change, run scons with O=[0|1|2|3|s|fast]) Running with --jobs=4 Building rmlint scons: done reading SConscript files. scons: Building targets ... build_config_template(["lib/config.h"], ["lib/config.h.in"]) Compiling ==> lib/checksums/highwayhash.c Compiling ==> lib/checksums/murmur3.c Compiling ==> lib/checksums/sha3/sha3.c Compiling ==> lib/replay.c Compiling ==> lib/cmdline.c Compiling ==> lib/checksums/xxhash/xxhash.c Compiling ==> lib/traverse.c Compiling ==> lib/hash-utility.c Compiling ==> lib/checksums/blake2/blake2s-ref.c Compiling ==> lib/xattr.c lib/xattr.c: In function 'rm_xattr_write_hash': lib/xattr.c:210:33: warning: unused parameter 'file' [-Wunused-parameter] 210 | int rm_xattr_write_hash(RmFile *file, RmSession *session) { | ~~~~~~~~^~~~ lib/xattr.c:210:50: warning: unused parameter 'session' [-Wunused-parameter] 210 | int rm_xattr_write_hash(RmFile *file, RmSession *session) { | ~~~~~~~~~~~^~~~~~~ lib/xattr.c: In function 'rm_xattr_read_hash': lib/xattr.c:237:37: warning: unused parameter 'file' [-Wunused-parameter] 237 | gboolean rm_xattr_read_hash(RmFile *file, RmSession *session) { | ~~~~~~~~^~~~ lib/xattr.c:237:54: warning: unused parameter 'session' [-Wunused-parameter] 237 | gboolean rm_xattr_read_hash(RmFile *file, RmSession *session) { | ~~~~~~~~~~~^~~~~~~ lib/xattr.c: In function 'rm_xattr_clear_hash': lib/xattr.c:288:33: warning: unused parameter 'file' [-Wunused-parameter] 288 | int rm_xattr_clear_hash(RmFile *file, RmSession *session) { | ~~~~~~~~^~~~ lib/xattr.c:288:50: warning: unused parameter 'session' [-Wunused-parameter] 288 | int rm_xattr_clear_hash(RmFile *file, RmSession *session) { | ~~~~~~~~~~~^~~~~~~ Compiling ==> lib/pathtricia.c Compiling ==> lib/checksums/blake2/blake2xs-ref.c lib/pathtricia.c: In function 'rm_path_iter_init': lib/pathtricia.c:106:5: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | strncpy(iter->path_buf, path, PATH_MAX); | ^ Compiling ==> lib/preprocess.c Compiling ==> lib/checksum.c Compiling ==> lib/shredder.c Compiling ==> lib/formats.c Compiling ==> lib/checksums/blake2/blake2bp-ref.c Compiling ==> src/rmlint.c Compiling ==> lib/utilities.c Compiling ==> lib/md-scheduler.c Compiling ==> lib/checksums/blake2/blake2xb-ref.c Compiling ==> lib/cfg.c Compiling ==> lib/checksums/metrohash128.c Compiling ==> lib/session.c Compiling ==> lib/file.c Compiling ==> lib/checksums/blake2/blake2b-ref.c Compiling ==> lib/treemerge.c Compiling ==> lib/hasher.c Compiling ==> lib/checksums/blake2/blake2sp-ref.c Compiling ==> lib/formats/_equal.c Compiling ==> lib/formats/csv.c Compiling ==> lib/formats/fdupes.c Compiling ==> lib/formats/json.c Compiling ==> lib/formats/null.c Compiling ==> lib/formats/pretty.c Compiling ==> lib/formats/progressbar.c build_python_formatter(["lib/formats/py.c"], ["lib/formats/py.c.in"]) Compiling ==> lib/formats/py.c build_sh_formatter(["lib/formats/sh.c"], ["lib/formats/sh.c.in"]) Compiling ==> lib/formats/sh.c Compiling ==> lib/formats/stats.c Compiling ==> lib/formats/summary.c Compiling ==> lib/formats/timestamp.c Compiling ==> lib/formats/uniques.c Compiling ==> lib/fts/fts.c Building manpage from rst... Using sphinx-build binary: /usr/bin/sphinx-build-3 Linking Static Library ==> librmlint.a Ranlib Library ==> librmlint.a Linking Program ==> rmlint gcc: fatal error: environment variable 'RPM_ARCH' not defined compilation terminated. scons: *** [rmlint] Error 1 Cannot import `sphinx_bootstrap_theme`; falling back to `nature`. ^ This is no error, will cause only slightly different html output. scons: building terminated because of errors. error: Bad exit status from /var/tmp/rpm-tmp.8oFZlW (%build) Bad exit status from /var/tmp/rpm-tmp.8oFZlW (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/rmlint.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/rmlint.spec