+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-omake.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gRDZFa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf omake-0.9.8.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/omake-0.9.8.6-0.rc1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd omake-0.9.8.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (omake-debian-disable-ocaml-warnings.patch):' Patch #0 (omake-debian-disable-ocaml-warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file OMakefile + echo 'Patch #1 (omake-0.9.8.6-fix-and-or-operators.patch):' Patch #1 (omake-0.9.8.6-fix-and-or-operators.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/libmojave-external/stdlib/lm_array_util.ml patching file src/libmojave-external/util/lm_filename_util.ml patching file src/libmojave-external/stdlib/lm_list_util.ml patching file src/libmojave-external/stdlib/lm_string_util.ml + echo 'Patch #2 (omake-0.9.8.6-kill-warn-error.patch):' Patch #2 (omake-0.9.8.6-kill-warn-error.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/build/OCaml.om + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GC6A9J + umask 022 + cd /builddir/build/BUILD + cd omake-0.9.8.6 + make all PREFIX=/usr MANDIR=/usr/share/man BINDIR=/usr/bin LIBDIR=/usr/lib64 mkdir -p boot ln -sf ../src/Makefile boot/Makefile make[1]: Entering directory '/builddir/build/BUILD/omake-0.9.8.6/boot' ln -sf ../src/clib/omake_shell_sys.c omake_shell_sys.c ln -sf ../src/clib/readline.c readline.c ln -sf ../src/clib/../libmojave-external/cutil/lm_heap.c lm_heap.c ln -sf ../src/clib/../libmojave-external/cutil/lm_heap.h lm_heap.h ln -sf ../src/clib/../libmojave-external/cutil/lm_channel.c lm_channel.c ln -sf ../src/clib/../libmojave-external/cutil/lm_compat_win32.c lm_compat_win32.c ln -sf ../src/clib/../libmojave-external/cutil/lm_compat_win32.h lm_compat_win32.h ln -sf ../src/clib/../libmojave-external/cutil/lm_ctype.c lm_ctype.c ln -sf ../src/clib/../libmojave-external/cutil/lm_printf.c lm_printf.c ln -sf ../src/clib/../libmojave-external/cutil/lm_uname_ext.c lm_uname_ext.c ln -sf ../src/clib/../libmojave-external/cutil/lm_unix_cutil.c lm_unix_cutil.c ln -sf ../src/clib/../libmojave-external/cutil/unixsupport.h unixsupport.h ln -sf ../src/clib/../libmojave-external/cutil/fam_win32.c fam_win32.c ln -sf ../src/clib/../libmojave-external/cutil/fam_kqueue.c fam_kqueue.c ln -sf ../src/clib/../libmojave-external/cutil/fam_inotify.c fam_inotify.c ln -sf ../src/clib/../libmojave-external/cutil/fam_pseudo.h fam_pseudo.h ln -sf ../src/clib/../libmojave-external/cutil/lm_notify.c lm_notify.c ln -sf ../src/clib/../libmojave-external/cutil/inotify.h inotify.h ln -sf ../src/clib/../libmojave-external/cutil/inotify-syscalls.h inotify-syscalls.h ln -sf ../src/clib/../libmojave-external/cutil/inotify.om inotify.om ln -sf ../src/clib/../libmojave-external/cutil/lm_termsize.c lm_termsize.c ln -sf ../src/clib/../libmojave-external/cutil/lm_terminfo.c lm_terminfo.c ln -sf ../src/clib/../libmojave-external/cutil/lm_fs_case_sensitive.c lm_fs_case_sensitive.c ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_printf.ml lm_printf.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_debug.ml lm_debug.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_heap.ml lm_heap.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_list_util.ml lm_list_util.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_array_util.ml lm_array_util.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_set_sig.ml lm_set_sig.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_set.ml lm_set.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_map_sig.ml lm_map_sig.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_map.ml lm_map.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_int_set.ml lm_int_set.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_index.ml lm_index.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_thread_sig.ml lm_thread_sig.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_thread.ml lm_thread.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_string_util.ml lm_string_util.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_string_set.ml lm_string_set.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_printf.mli lm_printf.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_debug.mli lm_debug.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_list_util.mli lm_list_util.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_array_util.mli lm_array_util.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_set.mli lm_set.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_map.mli lm_map.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_int_set.mli lm_int_set.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_index.mli lm_index.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_thread_core.mli lm_thread_core.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_thread.mli lm_thread.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_string_util.mli lm_string_util.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_string_set.mli lm_string_set.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_thread_pool.mli lm_thread_pool.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_arg.ml lm_arg.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_hash_sig.ml lm_hash_sig.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_hash.ml lm_hash.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_location.ml lm_location.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_position.ml lm_position.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_channel.ml lm_channel.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_lexer.ml lm_lexer.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_parser.ml lm_parser.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_glob.ml lm_glob.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_db.ml lm_db.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_arg.mli lm_arg.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_hash.mli lm_hash.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_location.mli lm_location.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_position.mli lm_position.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_channel.mli lm_channel.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_lexer.mli lm_lexer.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_parser.mli lm_parser.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_glob.mli lm_glob.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_db.mli lm_db.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_termsize.ml lm_termsize.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_termsize.mli lm_termsize.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_terminfo.ml lm_terminfo.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_terminfo.mli lm_terminfo.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_filename_util.ml lm_filename_util.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_filename_util.mli lm_filename_util.mli ln -sf ../src/libmojave/../libmojave-external/unix/lm_uname.ml lm_uname.ml ln -sf ../src/libmojave/../libmojave-external/unix/lm_unix_util.ml lm_unix_util.ml ln -sf ../src/libmojave/../libmojave-external/unix/lm_uname.mli lm_uname.mli ln -sf ../src/libmojave/../libmojave-external/unix/lm_unix_util.mli lm_unix_util.mli ln -sf ../src/libmojave/../libmojave-external/unix/lm_notify.ml lm_notify.ml ln -sf ../src/libmojave/../libmojave-external/unix/lm_notify.mli lm_notify.mli ln -sf ../src/libmojave/../libmojave-external/unix/lm_fs_case_sensitive.ml lm_fs_case_sensitive.ml ln -sf ../src/libmojave/../libmojave-external/unix/lm_fs_case_sensitive.mli lm_fs_case_sensitive.mli ln -sf ../src/libmojave/../libmojave-external/util/lm_symbol_hash.ml lm_symbol.ml ln -sf ../src/libmojave/../libmojave-external/util/lm_symbol_hash.mli lm_symbol.mli ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_thread_pool_null.ml lm_thread_pool.ml ln -sf ../src/libmojave/../libmojave-external/stdlib/lm_thread_core_null.ml lm_thread_core.ml ln -sf ../src/util/fmarshal.ml fmarshal.ml ln -sf ../src/util/ocaml_patch.mli ocaml_patch.mli ln -sf ../src/util/omake_handle_table.ml omake_handle_table.ml ln -sf ../src/util/omake_marshal.ml omake_marshal.ml ln -sf ../src/util/omake_print_util.ml omake_print_util.ml ln -sf ../src/util/omake_print_util.mli omake_print_util.mli ln -sf ../src/util/omake_printf.ml omake_printf.ml ln -sf ../src/util/omake_readline.ml omake_readline.ml ln -sf ../src/util/omake_readline.mli omake_readline.mli ln -sf ../src/util/omake_util.ml omake_util.ml ln -sf ../src/util/omake_util.mli omake_util.mli ln -sf ../src/util/omake_wild.ml omake_wild.ml ln -sf ../src/util/omake_wild.mli omake_wild.mli ln -sf ../src/util/ocaml_patch_unix.ml ocaml_patch.ml ln -sf ../src/magic/omake_gen_magic.ml omake_gen_magic.ml ln -sf ../src/ir/omake_cache.ml omake_cache.ml ln -sf ../src/ir/omake_cache.mli omake_cache.mli ln -sf ../src/ir/omake_cache_type.ml omake_cache_type.ml ln -sf ../src/ir/omake_command.ml omake_command.ml ln -sf ../src/ir/omake_command.mli omake_command.mli ln -sf ../src/ir/omake_command_type.ml omake_command_type.ml ln -sf ../src/ir/omake_install.ml omake_install.ml ln -sf ../src/ir/omake_install.mli omake_install.mli ln -sf ../src/ir/omake_ir.ml omake_ir.ml ln -sf ../src/ir/omake_ir_free_vars.ml omake_ir_free_vars.ml ln -sf ../src/ir/omake_ir_free_vars.mli omake_ir_free_vars.mli ln -sf ../src/ir/omake_ir_print.ml omake_ir_print.ml ln -sf ../src/ir/omake_ir_print.mli omake_ir_print.mli ln -sf ../src/ir/omake_ir_util.ml omake_ir_util.ml ln -sf ../src/ir/omake_ir_util.mli omake_ir_util.mli ln -sf ../src/ir/omake_lexer.ml omake_lexer.ml ln -sf ../src/ir/omake_node.ml omake_node.ml ln -sf ../src/ir/omake_node.mli omake_node.mli ln -sf ../src/ir/omake_node_sig.ml omake_node_sig.ml ln -sf ../src/ir/omake_node_type.ml omake_node_type.ml ln -sf ../src/ir/omake_options.ml omake_options.ml ln -sf ../src/ir/omake_options.mli omake_options.mli ln -sf ../src/ir/omake_parser.ml omake_parser.ml ln -sf ../src/ir/omake_pos.ml omake_pos.ml ln -sf ../src/ir/omake_pos.mli omake_pos.mli ln -sf ../src/ir/omake_shell_type.ml omake_shell_type.ml ln -sf ../src/ir/omake_state.ml omake_state.ml ln -sf ../src/ir/omake_state.mli omake_state.mli ln -sf ../src/ir/omake_symbol.ml omake_symbol.ml ln -sf ../src/ir/omake_value_print.ml omake_value_print.ml ln -sf ../src/ir/omake_value_print.mli omake_value_print.mli ln -sf ../src/ir/omake_value_type.ml omake_value_type.ml ln -sf ../src/ir/omake_var.ml omake_var.ml ln -sf ../src/ir/omake_var.mli omake_var.mli ln -sf ../src/ir/omake_virtual_id.ml omake_virtual_id.ml ln -sf ../src/ir/omake_virtual_id.mli omake_virtual_id.mli ln -sf ../src/exec/omake_exec.ml omake_exec.ml ln -sf ../src/exec/omake_exec.mli omake_exec.mli ln -sf ../src/exec/omake_exec_id.ml omake_exec_id.ml ln -sf ../src/exec/omake_exec_id.mli omake_exec_id.mli ln -sf ../src/exec/omake_exec_local.ml omake_exec_local.ml ln -sf ../src/exec/omake_exec_local.mli omake_exec_local.mli ln -sf ../src/exec/omake_exec_notify.ml omake_exec_notify.ml ln -sf ../src/exec/omake_exec_notify.mli omake_exec_notify.mli ln -sf ../src/exec/omake_exec_print.ml omake_exec_print.ml ln -sf ../src/exec/omake_exec_print.mli omake_exec_print.mli ln -sf ../src/exec/omake_exec_remote.ml omake_exec_remote.ml ln -sf ../src/exec/omake_exec_remote.mli omake_exec_remote.mli ln -sf ../src/exec/omake_exec_type.ml omake_exec_type.ml ln -sf ../src/exec/omake_exec_util.ml omake_exec_util.ml ln -sf ../src/exec/omake_exec_util.mli omake_exec_util.mli ln -sf ../src/ast/omake_ast.ml omake_ast.ml ln -sf ../src/ast/omake_ast_print.ml omake_ast_print.ml ln -sf ../src/ast/omake_ast_print.mli omake_ast_print.mli ln -sf ../src/ast/omake_ast_util.ml omake_ast_util.ml ln -sf ../src/ast/omake_ast_util.mli omake_ast_util.mli ln -sf ../src/env/omake_ast_lex.mli omake_ast_lex.mli ln -sf ../src/env/omake_command_digest.ml omake_command_digest.ml ln -sf ../src/env/omake_command_digest.mli omake_command_digest.mli ln -sf ../src/env/omake_env.ml omake_env.ml ln -sf ../src/env/omake_env.mli omake_env.mli ln -sf ../src/env/omake_exn_print.ml omake_exn_print.ml ln -sf ../src/env/omake_exn_print.mli omake_exn_print.mli ln -sf ../src/env/omake_exp_lex.ml omake_exp_lex.ml ln -sf ../src/env/omake_exp_lex.mli omake_exp_lex.mli ln -sf ../src/env/omake_gen_parse.ml omake_gen_parse.ml ln -sf ../src/env/omake_ir_ast.ml omake_ir_ast.ml ln -sf ../src/env/omake_ir_ast.mli omake_ir_ast.mli ln -sf ../src/env/omake_ir_semant.ml omake_ir_semant.ml ln -sf ../src/env/omake_ir_semant.mli omake_ir_semant.mli ln -sf ../src/env/omake_ast_lex.mll omake_ast_lex.mll ln -sf ../src/env/omake_ast_parse.input omake_ast_parse.input ln -sf ../src/env/omake_exp_parse.mly omake_exp_parse.mly ln -sf ../src/shell/omake_shell_completion.ml omake_shell_completion.ml ln -sf ../src/shell/omake_shell_completion.mli omake_shell_completion.mli ln -sf ../src/shell/omake_shell_job.ml omake_shell_job.ml ln -sf ../src/shell/omake_shell_job.mli omake_shell_job.mli ln -sf ../src/shell/omake_shell_lex.ml omake_shell_lex.ml ln -sf ../src/shell/omake_shell_lex.mli omake_shell_lex.mli ln -sf ../src/shell/omake_shell_sys.mli omake_shell_sys.mli ln -sf ../src/shell/omake_shell_sys_type.ml omake_shell_sys_type.ml ln -sf ../src/shell/omake_shell_parse.mly omake_shell_parse.mly ln -sf ../src/shell/omake_shell_sys_unix.ml omake_shell_sys.ml ln -sf ../src/eval/omake_eval.ml omake_eval.ml ln -sf ../src/eval/omake_eval.mli omake_eval.mli ln -sf ../src/eval/omake_value.ml omake_value.ml ln -sf ../src/eval/omake_value.mli omake_value.mli ln -sf ../src/build/omake_build.ml omake_build.ml ln -sf ../src/build/omake_build.mli omake_build.mli ln -sf ../src/build/omake_build_tee.ml omake_build_tee.ml ln -sf ../src/build/omake_build_tee.mli omake_build_tee.mli ln -sf ../src/build/omake_build_type.ml omake_build_type.ml ln -sf ../src/build/omake_build_util.ml omake_build_util.ml ln -sf ../src/build/omake_build_util.mli omake_build_util.mli ln -sf ../src/build/omake_builtin.ml omake_builtin.ml ln -sf ../src/build/omake_builtin.mli omake_builtin.mli ln -sf ../src/build/omake_builtin_type.ml omake_builtin_type.ml ln -sf ../src/build/omake_builtin_util.ml omake_builtin_util.ml ln -sf ../src/build/omake_builtin_util.mli omake_builtin_util.mli ln -sf ../src/build/omake_rule.ml omake_rule.ml ln -sf ../src/build/omake_rule.mli omake_rule.mli ln -sf ../src/build/omake_target.ml omake_target.ml ln -sf ../src/build/omake_target.mli omake_target.mli ln -sf ../src/builtin/omake_builtin_arith.ml omake_builtin_arith.ml ln -sf ../src/builtin/omake_builtin_arith.mli omake_builtin_arith.mli ln -sf ../src/builtin/omake_builtin_base.ml omake_builtin_base.ml ln -sf ../src/builtin/omake_builtin_base.mli omake_builtin_base.mli ln -sf ../src/builtin/omake_builtin_file.ml omake_builtin_file.ml ln -sf ../src/builtin/omake_builtin_file.mli omake_builtin_file.mli ln -sf ../src/builtin/omake_builtin_fun.ml omake_builtin_fun.ml ln -sf ../src/builtin/omake_builtin_fun.mli omake_builtin_fun.mli ln -sf ../src/builtin/omake_builtin_io.ml omake_builtin_io.ml ln -sf ../src/builtin/omake_builtin_io.mli omake_builtin_io.mli ln -sf ../src/builtin/omake_builtin_io_fun.ml omake_builtin_io_fun.ml ln -sf ../src/builtin/omake_builtin_io_fun.mli omake_builtin_io_fun.mli ln -sf ../src/builtin/omake_builtin_object.ml omake_builtin_object.ml ln -sf ../src/builtin/omake_builtin_object.mli omake_builtin_object.mli ln -sf ../src/builtin/omake_builtin_rule.ml omake_builtin_rule.ml ln -sf ../src/builtin/omake_builtin_rule.mli omake_builtin_rule.mli ln -sf ../src/builtin/omake_builtin_shell.ml omake_builtin_shell.ml ln -sf ../src/builtin/omake_builtin_shell.mli omake_builtin_shell.mli ln -sf ../src/builtin/omake_builtin_sys.ml omake_builtin_sys.ml ln -sf ../src/builtin/omake_builtin_sys.mli omake_builtin_sys.mli ln -sf ../src/builtin/omake_builtin_target.ml omake_builtin_target.ml ln -sf ../src/builtin/omake_builtin_target.mli omake_builtin_target.mli ln -sf ../src/builtin/omake_builtin_test.ml omake_builtin_test.ml ln -sf ../src/builtin/omake_builtin_test.mli omake_builtin_test.mli ln -sf ../src/main/cvs_realclean.ml cvs_realclean.ml ln -sf ../src/main/omake_main.ml omake_main.ml ln -sf ../src/main/omake_main.mli omake_main.mli ln -sf ../src/main/omake_shell.ml omake_shell.ml ln -sf ../src/main/omake_shell.mli omake_shell.mli ocamllex omake_ast_lex.mll 143 states, 3100 transitions, table size 13258 bytes ocamlc -g -c omake_gen_parse.ml ocamlc -g -custom -o omake_gen_parse unix.cma omake_gen_parse.cmo ./omake_gen_parse -o omake_ast_parse.mly omake_ast_parse.input ocamlyacc omake_ast_parse.mly ocamlyacc omake_exp_parse.mly ocamlyacc omake_shell_parse.mly ocamldep *.ml *.mli > Makefile.dep make[1]: 'Makefile.dep' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/omake-0.9.8.6/boot' make[1]: Entering directory '/builddir/build/BUILD/omake-0.9.8.6/boot' ocamlc -g -c lm_string_util.mli ocamlc -g -c omake_gen_magic.ml ocamlc -g -c lm_printf.mli ocamlc -g -c lm_printf.ml File "lm_printf.ml", line 49, characters 34-35: Error: This expression has type string but an expression was expected of type bytes make[1]: *** [Makefile:59: lm_printf.cmo] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/omake-0.9.8.6/boot' make: *** [Makefile:21: bootstrap] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.GC6A9J (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.GC6A9J (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff