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/dpkg.spec'], chrootPath='/var/lib/mock/f29-build-19842-10505/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dpkg.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 BUILDSTDERR: sh: perl: command not found BUILDSTDERR: sh: perl: command not found BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/dpkg-1.18.24-8.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dpkg.spec'], chrootPath='/var/lib/mock/f29-build-19842-10505/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dpkg.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.Iyzgs5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dpkg-1.18.24 + /usr/bin/xz -dc /builddir/build/SOURCES/dpkg_1.18.24.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dpkg-1.18.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (dpkg-fix-logrotate.patch):' Patch #1 (dpkg-fix-logrotate.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file debian/dpkg.logrotate + cat + chmod +x /builddir/build/BUILD/dpkg-1.18.24/dpkg-req + sed -i 's/^use --/may use --/' scripts/dpkg-source.pl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4cOFUY + umask 022 + cd /builddir/build/BUILD + cd dpkg-1.18.24 + autoreconf + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub BUILDSTDERR: ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess BUILDSTDERR: ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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"~' ./build-aux/ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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-linker-optimisations --with-admindir=/var/lib/dpkg --with-libselinux --without-libmd --with-libz --with-liblzma --with-libbz2 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-linker-optimisations checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking whether make supports nested variables... (cached) yes checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done BUILDSTDERR: ./configure: line 5805: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory BUILDSTDERR: ./configure: line 5805: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for riscv64-koji-linux-gnu-ar... no checking for riscv64-koji-linux-gnu-lib... no checking for riscv64-koji-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc 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 if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for --as-needed linker flag... yes checking for --version-script linker flag... yes checking whether to build dselect... yes checking whether to build start-stop-daemon... yes checking whether to build update-alternatives... yes checking for perl >= 5.14.2... /usr/bin/perl BUILDSTDERR: Can't locate Digest.pm in @INC (you may need to install the Digest module) (@INC contains: /builddir/build/BUILD/dpkg-1.18.24/scripts /builddir/build/BUILD/dpkg-1.18.24/dselect/methods /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Checksums.pm line 31. BUILDSTDERR: BEGIN failed--compilation aborted at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Checksums.pm line 31. BUILDSTDERR: Compilation failed in require at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Control/FieldsCore.pm line 47. BUILDSTDERR: BEGIN failed--compilation aborted at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Control/FieldsCore.pm line 47. BUILDSTDERR: Compilation failed in require at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Control/Fields.pm line 27. BUILDSTDERR: BEGIN failed--compilation aborted at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Control/Fields.pm line 27. BUILDSTDERR: Compilation failed in require at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Control/Hash.pm line 25. BUILDSTDERR: BEGIN failed--compilation aborted at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Control/Hash.pm line 25. BUILDSTDERR: Compilation failed in require at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Control.pm line 47. BUILDSTDERR: BEGIN failed--compilation aborted at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Control.pm line 47. BUILDSTDERR: Compilation failed in require at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Control/Changelog.pm line 23. BUILDSTDERR: BEGIN failed--compilation aborted at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Control/Changelog.pm line 23. BUILDSTDERR: Compilation failed in require at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Changelog/Parse.pm line 49. BUILDSTDERR: BEGIN failed--compilation aborted at /builddir/build/BUILD/dpkg-1.18.24/scripts/Dpkg/Changelog/Parse.pm line 49. BUILDSTDERR: Compilation failed in require at /builddir/build/BUILD/dpkg-1.18.24/scripts/dpkg-parsechangelog.pl line 29. BUILDSTDERR: BEGIN failed--compilation aborted at /builddir/build/BUILD/dpkg-1.18.24/scripts/dpkg-parsechangelog.pl line 29. checking for gnutar... no checking for gtar... gtar checking for riscv64-koji-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking whether gcc supports C99 features... yes checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E 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 -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether g++ supports C++11... yes checking for gpatch... no checking for patch... patch checking for doxygen... doxygen checking for dot... NO checking for po4a... po4a checking for perl >= 5.14.2... (cached) /usr/bin/perl checking for pod2man... pod2man checking whether to build with code coverage... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for gzdopen in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for BZ2_bzdopen in -lbz2... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for lzma_alone_decoder in -llzma... yes checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for lzma_stream_encoder_mt in -llzma... yes checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SELINUX... yes checking selinux/selinux.h usability... yes checking selinux/selinux.h presence... yes checking for selinux/selinux.h... yes checking for setexecfilecon in -lselinux... yes checking whether Unicode is requested... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking ncurses/term.h usability... yes checking ncurses/term.h presence... yes checking for ncurses/term.h... yes checking term.h usability... yes checking term.h presence... yes checking for term.h... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking ncursesw/term.h usability... yes checking ncursesw/term.h presence... yes checking for ncursesw/term.h... yes checking for initscr in -lncursesw... yes checking for proc_stat_list_create in -lps... no checking for kvm_openfiles in -lkvm... no checking for ANSI C header files... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking error.h usability... yes checking error.h presence... yes checking for error.h... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking kvm.h usability... no checking kvm.h presence... no checking for kvm.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking for sys/sysctl.h... yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/user.h usability... yes checking sys/user.h presence... yes checking for sys/user.h... yes checking sys/procfs.h usability... yes checking sys/procfs.h presence... yes checking for sys/procfs.h... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking linux/fiemap.h usability... yes checking linux/fiemap.h presence... yes checking for linux/fiemap.h... yes checking for sys/proc.h... no checking cxxabi.h usability... yes checking cxxabi.h presence... yes checking for cxxabi.h... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking for ptrdiff_t... yes checking size of unsigned int... 4 checking size of unsigned long... 8 checking for unistd.h... (cached) yes checking whether sys_siglist is declared... yes checking whether sys_errlist is declared... yes checking whether sys_nerr is declared... yes checking for va_copy... yes checking for C99 snprintf functions... yes checking whether offsetof is declared... yes checking whether makedev is declared... no checking whether WCOREDUMP is declared... yes checking whether TIOCNOTTY is declared... yes checking whether O_NOFOLLOW is declared... yes checking whether F_ALLOCSP64 is declared... no checking whether F_PREALLOCATE is declared... no checking whether P_tmpdir is declared... yes checking for program_invocation_short_name... yes checking for __progname... yes checking for getopt... yes checking for getopt_long... yes checking for obstack_free... yes checking for strnlen... yes checking for strndup... yes checking for strerror... yes checking for strsignal... yes checking for asprintf... yes checking for scandir... yes checking for alphasort... yes checking for unsetenv... yes checking for memcpy... yes checking for lchown... yes checking for strtoimax... yes checking for isascii... yes checking for setsid... yes checking for getdtablesize... yes checking for getprogname... no checking for getexecname... no checking for lutimes... yes checking for fallocate... yes checking for posix_fallocate... yes checking for posix_fadvise... yes checking for __cxa_pure_virtual... yes checking whether gcc accepts -Wall... yes checking whether gcc accepts -Wextra... yes checking whether gcc accepts -Wno-unused-parameter... yes checking whether gcc accepts -Wno-missing-field-initializers... yes checking whether gcc accepts -Wno-tautological-constant-out-of-range-compare... no checking whether gcc accepts -Wmissing-declarations... yes checking whether gcc accepts -Wmissing-format-attribute... yes checking whether gcc accepts -Wformat -Wformat-security... yes checking whether gcc accepts -Wsizeof-array-argument... yes checking whether gcc accepts -Wpointer-arith... yes checking whether gcc accepts -Wlogical-op... yes checking whether gcc accepts -Wlogical-not-parentheses... yes checking whether gcc accepts -Wswitch-bool... yes checking whether gcc accepts -Wvla... yes checking whether gcc accepts -Winit-self... yes checking whether gcc accepts -Wwrite-strings... yes checking whether gcc accepts -Wcast-align... yes checking whether gcc accepts -Wshadow... yes checking whether gcc accepts -Wduplicated-cond... yes checking whether gcc accepts -Wnull-dereference... yes checking whether gcc accepts -Wdeclaration-after-statement... yes checking whether gcc accepts -Wnested-externs... yes checking whether gcc accepts -Wbad-function-cast... yes checking whether gcc accepts -Wstrict-prototypes... yes checking whether gcc accepts -Wmissing-prototypes... yes checking whether gcc accepts -Wold-style-definition... yes checking whether gcc accepts -Wc99-c11-compat... yes checking whether g++ accepts -Wall... yes checking whether g++ accepts -Wextra... yes checking whether g++ accepts -Wno-unused-parameter... yes checking whether g++ accepts -Wno-missing-field-initializers... yes checking whether g++ accepts -Wno-tautological-constant-out-of-range-compare... no checking whether g++ accepts -Wmissing-declarations... yes checking whether g++ accepts -Wmissing-format-attribute... yes checking whether g++ accepts -Wformat -Wformat-security... yes checking whether g++ accepts -Wsizeof-array-argument... yes checking whether g++ accepts -Wpointer-arith... yes checking whether g++ accepts -Wlogical-op... yes checking whether g++ accepts -Wlogical-not-parentheses... yes checking whether g++ accepts -Wswitch-bool... yes checking whether g++ accepts -Wvla... yes checking whether g++ accepts -Winit-self... yes checking whether g++ accepts -Wwrite-strings... yes checking whether g++ accepts -Wcast-align... yes checking whether g++ accepts -Wshadow... yes checking whether g++ accepts -Wduplicated-cond... yes checking whether g++ accepts -Wnull-dereference... yes checking whether g++ accepts -Wc++11-compat... yes checking whether g++ accepts -Wzero-as-null-pointer-constant... yes checking dpkg cpu type... riscv64 BUILDSTDERR: configure: WARNING: riscv64 not found in cputable checking dpkg operating system type... linux-gnu BUILDSTDERR: configure: WARNING: linux-gnu not found in ostable BUILDSTDERR: checking dpkg architecture name... configure: error: cannot determine host dpkg architecture BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.4cOFUY (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.4cOFUY (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/dpkg.spec