common.h:115:1: error: 'libelf_acquire_all' defined but not used [-Werror=unused-function]
common.h:134:1: error: 'libelf_release_all' defined but not used [-Werror=unused-function]
cc1: all warnings being treated as errors

make[1]: *** [elf_begin.o] Error 1
make[1]: Leaving directory `/usr/src/world/rpm-work-1/BUILD/elfutils-0.131/libelf'
error: Bad exit status from /usr/src/world/tmp-work/rpm-tmp.59392 (%build)