+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-labltk.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.MsdRD4
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf labltk-8.06.3
+ /usr/bin/gzip -dc /builddir/build/SOURCES/labltk-8.06.3.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd labltk-8.06.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (labltk-8.06.0-enable-debugging.patch):'
Patch #1 (labltk-8.06.0-enable-debugging.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file support/Makefile.common
+ find -name .gitignore -delete
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mEoBjZ
+ umask 022
+ cd /builddir/build/BUILD
+ cd labltk-8.06.3
+ ./configure
Configuring LablTk...
tcl.h and/or tk.h not found.

** Configuration summary **

The "labltk" library: not supported
+ unset MAKEFLAGS
+ make all
cd support; make
make[1]: Entering directory '/builddir/build/BUILD/labltk-8.06.3/support'
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  support.mli
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  support.ml
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  rawwidget.mli
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  rawwidget.ml
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  widget.mli
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  widget.ml
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  protocol.mli
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  protocol.ml
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  textvariable.mli
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  textvariable.ml
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  timer.mli
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  timer.ml
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  fileevent.mli
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  fileevent.ml
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  camltkwrap.mli
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  camltkwrap.ml
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  -I +threads -I vmthreads tkthread.mli
/usr/bin/ocamlc.opt -g -c -warn-error A-3 -g  -I +threads -I vmthreads tkthread.ml
I/usr/lib64/ocaml/caml  -fPIC -c cltkCaml.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkCaml.o] Error 127 (ignored)
I/usr/lib64/ocaml/caml  -fPIC -c cltkUtf.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkUtf.o] Error 127 (ignored)
I/usr/lib64/ocaml/caml  -fPIC -c cltkEval.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkEval.o] Error 127 (ignored)
I/usr/lib64/ocaml/caml  -fPIC -c cltkEvent.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkEvent.o] Error 127 (ignored)
I/usr/lib64/ocaml/caml  -fPIC -c cltkFile.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkFile.o] Error 127 (ignored)
I/usr/lib64/ocaml/caml  -fPIC -c cltkMain.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkMain.o] Error 127 (ignored)
I/usr/lib64/ocaml/caml  -fPIC -c cltkMisc.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkMisc.o] Error 127 (ignored)
I/usr/lib64/ocaml/caml  -fPIC -c cltkTimer.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkTimer.o] Error 127 (ignored)
I/usr/lib64/ocaml/caml  -fPIC -c cltkVar.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkVar.o] Error 127 (ignored)
I/usr/lib64/ocaml/caml  -fPIC -c cltkWait.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkWait.o] Error 127 (ignored)
I/usr/lib64/ocaml/caml  -fPIC -c cltkImg.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkImg.o] Error 127 (ignored)
/usr/bin/ocamlmklib -g -o labltk cltkCaml.o cltkUtf.o cltkEval.o cltkEvent.o cltkFile.o cltkMain.o cltkMisc.o cltkTimer.o cltkVar.o cltkWait.o cltkImg.o 
gcc: error: cltkCaml.o: No such file or directory
gcc: error: cltkUtf.o: No such file or directory
gcc: error: cltkEval.o: No such file or directory
gcc: error: cltkEvent.o: No such file or directory
gcc: error: cltkFile.o: No such file or directory
gcc: error: cltkMain.o: No such file or directory
gcc: error: cltkMisc.o: No such file or directory
gcc: error: cltkTimer.o: No such file or directory
gcc: error: cltkVar.o: No such file or directory
gcc: error: cltkWait.o: No such file or directory
gcc: error: cltkImg.o: No such file or directory
gcc: fatal error: no input files
compilation terminated.
make[1]: *** [Makefile:38: liblabltk.a] Error 2
make[1]: Leaving directory '/builddir/build/BUILD/labltk-8.06.3/support'
make: *** [Makefile:25: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.mEoBjZ (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.mEoBjZ (%build)
++ cleanup
++ set +e
++ sync
++ sleep 5
++ sync
++ poweroff
Terminated
+++ cleanup
+++ set +e
+++ sync
++++ cleanup
++++ set +e
++++ sync
++++ sleep 5
++++ sync
++++ poweroff