D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ocaml-objsize-0.16-6.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xFRnOo + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf objsize-0.16 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/objsize-0.16.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd objsize-0.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/objsize-0.16-enable-debugging-information.patch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QnLVFe + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd objsize-0.16 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make objsize.cma ocamlc -g -ccopt -W -ccopt -Wall -c -I ./ocamlsrc/byterun c_objsize.c In file included from ./ocamlsrc/byterun/gc.h:20:0, from ./ocamlsrc/byterun/memory.h:26, from c_objsize.c:16: ./ocamlsrc/byterun/mlvalues.h:162:9: error: unknown type name 'int32' typedef int32 opcode_t; ^~~~~ make: *** [Makefile:43: c_objsize.o] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.QnLVFe (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.QnLVFe (%build) I: [iurt_root_command] ERROR: chroot