D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ocaml-sqlite3-4.0.6-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hqMMY1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf sqlite3-ocaml-4.0.6 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/v4.0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sqlite3-ocaml-4.0.6 + /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.dK8Ca8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd sqlite3-ocaml-4.0.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./configure --enable-tests --prefix /usr --destdir /home/pterjan/rpmbuild/BUILDROOT/ocaml-sqlite3-4.0.6-1.mga7.x86_64 --docdir /usr/share/doc/ocaml-sqlite3-devel/ Configuration: ocamlfind: ........................................... /usr/bin/ocamlfind ocamlc: .............................................. /usr/bin/ocamlc.opt ocamlopt: ............................................ /usr/bin/ocamlopt.opt ocamlbuild: .......................................... /usr/bin/ocamlbuild Package name: ........................................ sqlite3 Package version: ..................................... 4.0.6 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 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: .................................. /usr/share/doc/ocaml-sqlite3-devel/ HTML documentation: .................................. $docdir DVI documentation: ................................... $docdir PDF documentation: ................................... $docdir PS documentation: .................................... $docdir Prepend a path when installing package: .............. /home/pterjan/rpmbuild/BUILDROOT/ocaml-sqlite3-4.0.6-1.mga7.x86_64 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: ......................... Strict compile-time checks: .......................... true Try to check against a homebrewed sqlite3: ........... false Enable loadable extensions: .......................... true Create documentations: ............................... true Compile tests executable and library and run them: ... true ocamldoc: ............................................ /usr/bin/ocamldoc pkg_str: ............................................. /usr/lib64/ocaml + make all ocaml setup.ml -all Configuration: ocamlfind: ........................................... /usr/bin/ocamlfind ocamlc: .............................................. /usr/bin/ocamlc.opt ocamlopt: ............................................ /usr/bin/ocamlopt.opt ocamlbuild: .......................................... /usr/bin/ocamlbuild Package name: ........................................ sqlite3 Package version: ..................................... 4.0.6 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 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: .................................. /usr/share/doc/ocaml-sqlite3-devel/ HTML documentation: .................................. $docdir DVI documentation: ................................... $docdir PDF documentation: ................................... $docdir PS documentation: .................................... $docdir Prepend a path when installing package: .............. /home/pterjan/rpmbuild/BUILDROOT/ocaml-sqlite3-4.0.6-1.mga7.x86_64 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: ......................... Strict compile-time checks: .......................... true Try to check against a homebrewed sqlite3: ........... false Enable loadable extensions: .......................... true Create documentations: ............................... true Compile tests executable and library and run them: ... true ocamldoc: ............................................ /usr/bin/ocamldoc pkg_str: ............................................. /usr/lib64/ocaml Failure: Cannot find "ocamlbuild.cmx" in ocamlbuild -where directory. E: Failure("Command ''/usr/bin/ocamlbuild' src/libsqlite3_stubs.a src/dllsqlite3_stubs.so src/sqlite3.cma src/sqlite3.cmxa src/sqlite3.a src/sqlite3.cmxs test/test_agg.native test/test_db.native test/test_exec.native test/test_fun.native test/test_stmt.native test/test_error.native -tag debug -tag tests' terminated with error code 2") make: *** [Makefile:16: all] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dK8Ca8 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dK8Ca8 (%build) I: [iurt_root_command] ERROR: chroot