D: [iurt_root_command] chroot warning: Macro expanded in comment on line 87: %{_docdir}/%{name}-devel Installing /home/pterjan/rpmbuild/SRPMS/ocaml-pareto-0.2-6.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.67D8nw + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pareto-0.2 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/pareto-0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pareto-0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZV0XxO + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pareto-0.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ocaml setup.ml -configure --prefix /usr --libdir /usr/lib64 --libexecdir /usr/libexec --exec-prefix /usr --bindir /usr/bin --sbindir /usr/sbin --mandir /usr/share/man --datadir /usr/share --localstatedir /var --destdir /home/pterjan/rpmbuild/BUILDROOT/ocaml-pareto-0.2-6.mga7.x86_64 File "./setup.ml", line 213, characters 8-26: Warning 3: deprecated: String.set Use Bytes.set instead. File "./setup.ml", line 213, characters 8-11: Error: This expression has type string but an expression was expected of type bytes error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ZV0XxO (%build) RPM build errors: Macro expanded in comment on line 87: %{_docdir}/%{name}-devel Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ZV0XxO (%build) I: [iurt_root_command] ERROR: chroot