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/klamav.spec'], chrootPath='/var/lib/mock/f33-build-254911-50780/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/klamav.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=1564012800 Wrote: /builddir/build/SRPMS/klamav-0.46-28.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/klamav.spec'], chrootPath='/var/lib/mock/f33-build-254911-50780/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/klamav.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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HXpWuJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf klamav-0.46 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/klamav-0.46.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd klamav-0.46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (klamav-0.46-suse-clamav-path.patch):' Patch #0 (klamav-0.46-suse-clamav-path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .suse-clamav-path --fuzz=0 patching file src/klammail/clamdmail.c Patch #1 (klamav-0.41.1-pwd-echo.patch): + echo 'Patch #1 (klamav-0.41.1-pwd-echo.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pwd-echo --fuzz=0 patching file src/freshklam.cpp Hunk #1 succeeded at 228 (offset 3 lines). Patch #2 (klamav-0.44-no-kde3-mediamanager.patch): + echo 'Patch #2 (klamav-0.44-no-kde3-mediamanager.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no-kde3-mediamanager --fuzz=0 patching file src/directorylist.cpp Patch #3 (klamav-0.46-fix-docpath.patch): + echo 'Patch #3 (klamav-0.46-fix-docpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-docpath --fuzz=0 patching file src/klamav.desktop Patch #4 (klamav-0.46-gzip-api.patch): + echo 'Patch #4 (klamav-0.46-gzip-api.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gzip-api --fuzz=0 patching file src/dbviewer.cpp Patch #5 (klamav-0.46-clamav-0.101.patch): + echo 'Patch #5 (klamav-0.46-clamav-0.101.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .clamav-0.101 --fuzz=0 patching file src/klammail/clamdmail.c + /usr/bin/rm -f po/cs.gmo po/de.gmo po/es.gmo po/it.gmo po/pl.gmo po/pt_BR.gmo po/ru.gmo + find doc -name 'Makefile.*' -o -name index.docbook -type f + xargs /usr/bin/sed -i -e s,klamav02,klamav,g + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MU5ZrJ + umask 022 + cd /builddir/build/BUILD + cd klamav-0.46 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '%{_lto_cflags}x' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2009-02-28 05:27:28.000000000 -0500 +++ ./configure 2020-06-05 19:55:01.016918608 -0400 @@ -9204,7 +9204,7 @@ symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./admin/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./admin/config.sub ++ basename ./admin/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./admin/config.sub '/usr/lib/rpm/redhat/config.sub' -> './admin/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./admin/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./admin/config.guess ++ basename ./admin/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./admin/config.guess '/usr/lib/rpm/redhat/config.guess' -> './admin/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./admin/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --without-included-sqlite --with-disableupdates checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for kde-config... /usr/bin/kde-config checking where to install... /usr (as requested) checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether gcc is blacklisted... no checking whether g++ supports -Wmissing-format-attribute... yes checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wno-non-virtual-dtor... yes checking whether g++ supports -fno-reorder-blocks... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fno-common... yes checking whether g++ supports -fexceptions... yes checking whether system headers can cope with -O2 -fno-inline... irrelevant checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -O0... yes checking whether g++ supports -Wl,--no-undefined... yes checking whether g++ supports -Wl,--allow-shlib-undefined... yes using lib directory suffix 64 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ) checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-cf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-pghpf... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-g95... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-file... no checking for file... /usr/bin/file checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking if C++ programs can be compiled... yes checking for strlcat... no checking if strlcat needs custom prototype... yes - in libkdefakes checking for strlcpy... no checking if strlcpy needs custom prototype... yes - in libkdefakes checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... yes checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking sys/bitypes.h usability... yes checking sys/bitypes.h presence... yes checking for sys/bitypes.h... yes checking for poll in -lpoll... no checking Carbon/Carbon.h usability... no checking Carbon/Carbon.h presence... no checking for Carbon/Carbon.h... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking if res_init needs -lresolv... yes checking for res_init... yes checking if res_init needs custom prototype... no checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 8 checking for char *... yes checking size of char *... 8 checking for dlopen in -ldl... (cached) yes checking for shl_unload in -ldld... no checking for size_t... yes checking size of size_t... 8 checking for unsigned long... yes checking size of unsigned long... 8 checking sizeof size_t == sizeof unsigned long... yes checking for PIE support... yes checking if enabling -pie/fPIE support... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for vsnprintf... yes checking for snprintf... yes checking for X... libraries /usr/lib64, headers . checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for pthread_create in -lpthread... yes checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for libpng... -lpng -lz -lm checking for libjpeg6b... no checking for libjpeg... no configure: WARNING: libjpeg not found. disable JPEG support. checking for perl... /usr/bin/perl checking for Qt... libraries /usr/lib64/qt-3.3/lib, headers /usr/lib64/qt-3.3/include using -mt checking for moc... /usr/lib64/qt-3.3/bin/moc checking for uic... /usr/lib64/qt-3.3/bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes yes checking for rpath... no checking for KDE... libraries /usr/lib64, headers /usr/include/kde checking if UIC has KDE plugins available... yes checking for KDE paths... defaults checking for dcopidl... /usr/bin/dcopidl checking for dcopidl2cpp... /usr/bin/dcopidl2cpp checking for mcopidl... /usr/bin/mcopidl checking for artsc-config... /usr/bin/artsc-config checking for meinproc... /usr/bin/meinproc checking for kconfig_compiler... /usr/bin/kconfig_compiler checking for dcopidlng... /usr/bin/dcopidlng checking for makekdewidgets... /usr/bin/makekdewidgets checking for xmllint... /usr/bin/xmllint checking whether byte ordering is bigendian... no checking for MAXPATHLEN... checking for pkg-config... yes checking for pkg-config... /usr/bin/pkg-config checking for sqlite3 >= 3.0... yes checking SQLITE_CFLAGS... checking SQLITE_LIBS... -lsqlite3 checking for int... (cached) yes checking size of int... (cached) 4 checking for short... (cached) yes checking size of short... (cached) 2 checking for long... (cached) yes checking size of long... (cached) 8 checking for char *... (cached) yes checking size of char *... (cached) 8 checking for KDE version... KDE 3.5.x (x >=2) or SVN trunk checking for cl_scanfile in -lclamav... yes checking for cl_free in -lclamav... no checking whether to use disable-updates (build KlamAV with GUI updates disabled )... yes checking if doc should be compiled... yes checking if po should be compiled... yes checking if src should be compiled... yes configure: creating ./config.status wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1254. config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/en/Makefile config.status: creating po/Makefile config.status: creating src/Makefile config.status: creating src/about/Makefile config.status: creating src/action/Makefile config.status: creating src/arkollon/Makefile config.status: creating src/icons/Makefile config.status: creating src/klammail/Makefile config.status: creating src/sqlite/Makefile config.status: creating config.h config.status: executing depfiles commands Good - your configure finished. Start make now + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/klamav-0.46' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/doc' cd .. && /bin/sh /builddir/build/BUILD/klamav-0.46/admin/missing --run automake-1.9 --gnu doc/Makefile /builddir/build/BUILD/klamav-0.46/admin/missing: line 52: automake-1.9: command not found WARNING: `automake-1.9' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd .. && perl admin/am_edit doc/Makefile.in Can't locate File/Find.pm in @INC (you may need to install the File::Find module) (@INC contains: /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at admin/am_edit line 37. BEGIN failed--compilation aborted at admin/am_edit line 37. make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/doc' make[2]: *** [Makefile:350: Makefile.in] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/klamav-0.46' make[1]: *** [Makefile:437: all-recursive] Error 1 make: *** [Makefile:348: all] Error 2 error: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.MU5ZrJ (%build) Bad exit status from /var/tmp/rpm-tmp.MU5ZrJ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 --target riscv64 --nodeps /builddir/build/SPECS/klamav.spec