+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/elfutils.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nAvp1a + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elfutils-0.167 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/elfutils-0.167.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd elfutils-0.167 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name '*.sh' '!' -perm -0100 -print + xargs chmod +x + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xMpVe5 + umask 022 + cd /builddir/build/BUILD + cd elfutils-0.167 + RPM_OPT_FLAGS='-O2 -g -pipe -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 ' + RPM_OPT_FLAGS='-O2 -g -pipe -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 -Wformat' + trap 'cat config.log' EXIT + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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 ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix=eu- --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 'CFLAGS=-O2 -g -pipe -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 -Wformat -fexceptions' 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 nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-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 for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for riscv64-redhat-linux-gnu-readelf... no checking for readelf... readelf checking for riscv64-redhat-linux-gnu-nm... no checking for nm... nm checking for gcc with GNU99 support... yes checking for __thread support... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for library containing gzdirect... -lz checking for library containing BZ2_bzdopen... -lbz2 checking for library containing lzma_auto_decoder... -llzma checking for __cxa_demangle in -lstdc++... yes checking whether gcc accepts -Wstack-usage... yes checking whether gcc has a sane -Wlogical-op... yes checking whether gcc accepts -Wduplicated-cond... yes checking whether gcc accepts -Wnull-dereference... 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 linux/bpf.h usability... yes checking linux/bpf.h presence... yes checking for linux/bpf.h... yes 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 size of long... 8 checking for struct user_regs_struct... no checking gcc option for 32-bit word size... none configure: WARNING: not running biarch tests, does not work checking for bunzip2... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating config/Makefile config.status: creating Makefile config.status: creating m4/Makefile config.status: creating elfutils.spec config.status: creating lib/Makefile config.status: creating libelf/Makefile config.status: creating libebl/Makefile config.status: creating libdwelf/Makefile config.status: creating libdw/Makefile config.status: creating libdwfl/Makefile config.status: creating libcpu/Makefile config.status: creating libasm/Makefile config.status: creating backends/Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating tests/Makefile config.status: creating config/libelf.pc config.status: creating config/libdw.pc config.status: creating version.h config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: ===================================================================== elfutils: 0.167 (eu_version: 167) ===================================================================== Prefix : /usr Program prefix ("eu-" recommended) : eu- Source code location : . Maintainer mode : libebl modules subdirectory : elfutils build arch : riscv64-redhat-linux-gnu RECOMMENDED FEATURES (should all be yes) gzip support : yes bzip2 support : yes lzma/xz support : yes libstdc++ demangle support : yes File textrel check : yes Symbol versioning : yes NOT RECOMMENDED FEATURES (should all be no) Experimental thread safety : no OTHER FEATURES Deterministic archives by default : false Native language support : yes EXTRA TEST FEATURES (used with make check) have bunzip2 installed (required) : yes debug branch prediction : no gprof support : no gcov support : no run all tests under valgrind : no gcc undefined behaviour sanitizer : no use rpath in tests : no test biarch : no + trap '' EXIT + make -s -j4 Making all in config Making all in m4 Making all in lib CC xmalloc.o CC xstrndup.o CC xstrdup.o CC next_prime.o CC crc32.o CC crc32_file.o CC md5.o CC sha1.o CC color.o AR libeu.a Making all in libelf CC elf_hash.o CC elf_version.o CC elf_fill.o CC elf_error.o CC elf_begin.o CC elf_next.o CC elf_rand.o CC elf_end.o CC elf_kind.o CC gelf_getclass.o CC elf_getbase.o CC elf_getident.o CC elf32_fsize.o CC elf64_fsize.o CC gelf_fsize.o CC elf32_xlatetof.o CC elf32_xlatetom.o CC elf64_xlatetof.o CC elf64_xlatetom.o CC gelf_xlate.o CC elf32_getehdr.o CC elf64_getehdr.o CC gelf_getehdr.o CC elf32_newehdr.o CC elf64_newehdr.o CC gelf_newehdr.o CC gelf_update_ehdr.o CC elf32_getphdr.o CC elf64_getphdr.o CC gelf_getphdr.o CC elf32_newphdr.o CC elf64_newphdr.o CC gelf_newphdr.o CC gelf_update_phdr.o CC elf_getarhdr.o CC elf_getarsym.o CC elf_rawfile.o CC elf_readall.o CC elf_cntl.o CC elf_getscn.o CC elf_nextscn.o CC elf_ndxscn.o CC elf_newscn.o CC elf32_getshdr.o CC elf64_getshdr.o CC gelf_getshdr.o CC gelf_update_shdr.o CC elf_strptr.o CC elf_rawdata.o CC elf_getdata.o CC elf_newdata.o CC elf_getdata_rawchunk.o CC elf_flagelf.o CC elf_flagehdr.o CC elf_flagphdr.o CC elf_flagscn.o CC elf_flagshdr.o CC elf_flagdata.o CC elf_memory.o CC elf_update.o CC elf32_updatenull.o CC elf64_updatenull.o CC elf32_updatefile.o CC elf64_updatefile.o CC gelf_getsym.o CC gelf_update_sym.o CC gelf_getversym.o CC gelf_getverneed.o CC gelf_getvernaux.o CC gelf_getverdef.o CC gelf_getverdaux.o CC gelf_getrel.o CC gelf_getrela.o CC gelf_update_rel.o CC gelf_update_rela.o CC gelf_getdyn.o CC gelf_update_dyn.o CC gelf_getmove.o CC gelf_update_move.o CC gelf_getsyminfo.o CC gelf_update_syminfo.o CC gelf_getauxv.o CC gelf_update_auxv.o CC gelf_getnote.o CC gelf_xlatetof.o CC gelf_xlatetom.o CC nlist.o CC gelf_getsymshndx.o CC gelf_update_symshndx.o CC gelf_update_versym.o CC gelf_update_verneed.o CC gelf_update_vernaux.o CC gelf_update_verdef.o CC gelf_update_verdaux.o CC elf_getphdrnum.o CC elf_getshdrnum.o CC elf_getshdrstrndx.o CC gelf_checksum.o CC elf32_checksum.o CC elf64_checksum.o CC libelf_crc32.o CC libelf_next_prime.o CC elf_clone.o CC gelf_getlib.o CC gelf_update_lib.o CC elf32_offscn.o CC elf64_offscn.o CC gelf_offscn.o CC elf_getaroff.o CC elf_gnu_hash.o CC elf_scnshndx.o CC elf32_getchdr.o CC elf64_getchdr.o CC gelf_getchdr.o CC elf_compress.o CC elf_compress_gnu.o CC elf_version.os CC elf_hash.os CC elf_error.os CC elf_fill.os CC elf_begin.os CC elf_next.os CC elf_rand.os CC elf_end.os CC elf_kind.os CC gelf_getclass.os CC elf_getbase.os CC elf_getident.os CC elf32_fsize.os CC elf64_fsize.os CC gelf_fsize.os CC elf32_xlatetof.os CC elf32_xlatetom.os CC elf64_xlatetof.os CC elf64_xlatetom.os CC gelf_xlate.os CC elf32_getehdr.os CC elf64_getehdr.os CC gelf_getehdr.os CC elf32_newehdr.os CC elf64_newehdr.os CC gelf_newehdr.os CC gelf_update_ehdr.os CC elf32_getphdr.os CC elf64_getphdr.os CC gelf_getphdr.os CC elf32_newphdr.os CC elf64_newphdr.os CC gelf_newphdr.os CC gelf_update_phdr.os CC elf_getarhdr.os CC elf_getarsym.os CC elf_rawfile.os CC elf_readall.os CC elf_cntl.os CC elf_getscn.os CC elf_nextscn.os CC elf_ndxscn.os CC elf_newscn.os CC elf32_getshdr.os CC elf64_getshdr.os CC gelf_getshdr.os CC gelf_update_shdr.os CC elf_strptr.os CC elf_rawdata.os CC elf_getdata.os CC elf_newdata.os CC elf_getdata_rawchunk.os CC elf_flagelf.os CC elf_flagehdr.os CC elf_flagphdr.os CC elf_flagscn.os CC elf_flagshdr.os CC elf_flagdata.os CC elf_memory.os CC elf_update.os CC elf32_updatenull.os CC elf64_updatenull.os CC elf32_updatefile.os CC elf64_updatefile.os CC gelf_getsym.os CC gelf_update_sym.os CC gelf_getversym.os CC gelf_getverneed.os CC gelf_getvernaux.os CC gelf_getverdef.os CC gelf_getverdaux.os CC gelf_getrel.os CC gelf_getrela.os CC gelf_update_rel.os CC gelf_update_rela.os CC gelf_getdyn.os CC gelf_update_dyn.os CC gelf_getmove.os CC gelf_update_move.os CC gelf_getsyminfo.os CC gelf_update_syminfo.os CC gelf_getauxv.os CC gelf_update_auxv.os CC gelf_getnote.os CC gelf_xlatetof.os CC gelf_xlatetom.os CC nlist.os CC gelf_getsymshndx.os CC gelf_update_symshndx.os CC gelf_update_versym.os CC gelf_update_verneed.os CC gelf_update_vernaux.os CC gelf_update_verdef.os CC gelf_update_verdaux.os CC elf_getphdrnum.os CC elf_getshdrnum.os CC elf_getshdrstrndx.os CC gelf_checksum.os CC elf32_checksum.os CC elf64_checksum.os CC libelf_crc32.os CC libelf_next_prime.os CC elf_clone.os CC gelf_getlib.os CC gelf_update_lib.os CC elf32_offscn.os CC elf64_offscn.os CC gelf_offscn.os CC elf_getaroff.os CC elf_gnu_hash.os CC elf_scnshndx.os CC elf32_getchdr.os CC elf64_getchdr.os CC gelf_getchdr.os CC elf_compress.os CC elf_compress_gnu.os AR libelf.a AR libelf_pic.a CCLD libelf.so Making all in libebl CC eblopenbackend.o CC eblclosebackend.o CC eblreloctypename.o CC eblsegmenttypename.o CC eblsectiontypename.o CC eblmachineflagname.o CC eblsymboltypename.o CC ebldynamictagname.o CC eblsectionname.o CC eblsymbolbindingname.o CC eblbackendname.o CC eblosabiname.o CC eblmachineflagcheck.o CC eblmachinesectionflagcheck.o CC eblreloctypecheck.o CC eblrelocvaliduse.o CC eblrelocsimpletype.o CC ebldynamictagcheck.o CC eblcorenotetypename.o CC eblobjnotetypename.o CC eblcorenote.o CC eblobjnote.o CC ebldebugscnp.o CC eblgotpcreloccheck.o CC eblcopyrelocp.o CC eblsectionstripp.o CC eblelfdata.o CC eblelfclass.o CC eblelfmachine.o CC ebl_check_special_symbol.o CC eblbsspltp.o CC eblretval.o CC eblreginfo.o CC eblnonerelocp.o CC eblrelativerelocp.o CC eblsysvhashentrysize.o CC eblauxvinfo.o CC eblcheckobjattr.o CC ebl_check_special_section.o CC ebl_syscall_abi.o CC eblabicfi.o CC eblstother.o CC eblinitreg.o CC ebldwarftoregno.o CC eblnormalizepc.o CC eblunwind.o CC eblresolvesym.o CC eblcheckreloctargettype.o AR libebl.a Making all in libdwelf CC dwelf_elf_gnu_debuglink.o CC dwelf_scn_gnu_compressed_size.o CC dwelf_dwarf_gnu_debugaltlink.o CC dwelf_elf_gnu_build_id.o CC dwelf_strtab.o CC dwelf_dwarf_gnu_debugaltlink.os CC dwelf_elf_gnu_debuglink.os CC dwelf_scn_gnu_compressed_size.os CC dwelf_elf_gnu_build_id.os CC dwelf_strtab.os AR libdwelf.a AR libdwelf_pic.a Making all in libdwfl CC dwfl_begin.o CC dwfl_end.o CC dwfl_version.o CC dwfl_error.o CC dwfl_module.o CC dwfl_report_elf.o CC relocate.o CC dwfl_module_build_id.o dwfl_report_elf.c: In function '__libdwfl_elf_address_range': dwfl_report_elf.c:172:19: error: this statement may fall through [-Werror=implicit-fallthrough=] add_p_vaddr = true; ^ dwfl_report_elf.c:174:5: note: here case ET_DYN: ^~~~ CC dwfl_module_report_build_id.o CC derelocate.o cc1: all warnings being treated as errors make[2]: *** [Makefile:586: dwfl_report_elf.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:481: all-recursive] Error 1 make: *** [Makefile:397: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.xMpVe5 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.xMpVe5 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff