D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/gapi-ocaml-0.3.5-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Z6psal + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gapi-ocaml-0.3.5 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/gapi-ocaml-0.3.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gapi-ocaml-0.3.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo ' true: debug' + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.C1kqSD + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gapi-ocaml-0.3.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ocaml setup.ml -configure --enable-examples Configuration: ocamlfind: ........................................... /usr/bin/ocamlfind ocamlc: .............................................. /usr/bin/ocamlc.opt ocamlopt: ............................................ /usr/bin/ocamlopt.opt ocamlbuild: .......................................... /usr/bin/ocamlbuild Package name: ........................................ gapi-ocaml Package version: ..................................... 0.3.5 os_type: ............................................. Unix system: .............................................. linux architecture: ........................................ amd64 ccomp_type: .......................................... cc ocaml_version: ....................................... 4.06.0 standard_library_default: ............................ /usr/lib64/ocaml standard_library: .................................... /usr/lib64/ocaml standard_runtime: .................................... /usr/bin/ocamlrun bytecomp_c_compiler: ................................. gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT native_c_compiler: ................................... gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT model: ............................................... default ext_obj: ............................................. .o ext_asm: ............................................. .s ext_lib: ............................................. .a ext_dll: ............................................. .so default_executable_name: ............................. a.out systhread_supported: ................................. true Install architecture-independent files dir: .......... /usr/local Install architecture-dependent files in dir: ......... $prefix User executables: .................................... $exec_prefix/bin System admin executables: ............................ $exec_prefix/sbin Program executables: ................................. $exec_prefix/libexec Read-only single-machine data: ....................... $prefix/etc Modifiable architecture-independent data: ............ $prefix/com Modifiable single-machine data: ...................... $prefix/var Object code libraries: ............................... $exec_prefix/lib Read-only arch-independent data root: ................ $prefix/share Read-only architecture-independent data: ............. $datarootdir Info documentation: .................................. $datarootdir/info Locale-dependent data: ............................... $datarootdir/locale Man documentation: ................................... $datarootdir/man Documentation root: .................................. $datarootdir/doc/$pkg_name HTML documentation: .................................. $docdir DVI documentation: ................................... $docdir PDF documentation: ................................... $docdir PS documentation: .................................... $docdir findlib_version: ..................................... 1.7.3 is_native: ........................................... true suffix_program: ...................................... Remove a file.: ...................................... rm -f Remove a directory.: ................................. rm -rf Turn ocaml debug flag on: ............................ true Turn ocaml profile flag on: .......................... false Compiler support generation of .cmxs.: ............... true OCamlbuild additional flags: ......................... Build all: ........................................... false Build service generator: ............................. false Build examples: ...................................... true Create documentations: ............................... true Compile tests executable and library and run them: ... false pkg_extlib: .......................................... /usr/lib64/ocaml/extlib pkg_netstring: ....................................... /usr/lib64/ocaml/netstring pkg_curl: ............................................ /usr/lib64/ocaml/curl pkg_str: ............................................. /usr/lib64/ocaml pkg_cryptokit: ....................................... /usr/lib64/ocaml/cryptokit pkg_yojson: .......................................... /usr/lib64/ocaml/yojson pkg_xmlm: ............................................ /usr/lib64/ocaml/xmlm ocamldoc: ............................................ /usr/bin/ocamldoc pkg_nethttpd: ........................................ /usr/lib64/ocaml/nethttpd + ocaml setup.ml -build Failure: Cannot find "ocamlbuild.cmx" in ocamlbuild -where directory. E: Failure("Command ''/usr/bin/ocamlbuild' src/gapi/gapi-ocaml.cma src/gapi/gapi-ocaml.cmxa src/gapi/gapi-ocaml.a src/gapi/gapi-ocaml.cmxs src/gdata/gdata.cma src/gdata/gdata.cmxa src/gdata/gdata.a src/gdata/gdata.cmxs examples/auth/oauth2Flow.byte examples/auth/oauth1Flow.byte examples/auth/clientLoginFlow.byte -use-ocamlfind -tag debug' terminated with error code 2") error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.C1kqSD (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.C1kqSD (%build) I: [iurt_root_command] ERROR: chroot