D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ocaml-uint-1.1.0-5.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZiU8jB + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ocaml-uint-1.1.0 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/ocaml-uint-1.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-uint-1.1.0 + /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.M1JLDv + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ocaml-uint-1.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ocaml setup.ml -configure --prefix /usr --libdir /usr/lib64 --libexecdir /usr/libexec --exec-prefix /usr --destdir /home/pterjan/rpmbuild/BUILDROOT/ocaml-uint-1.1.0-5.mga7.x86_64 File "setup.ml", line 213, characters 8-26: Warning 3: deprecated: String.set Use Bytes.set instead. File "setup.ml", line 1793, characters 6-24: Warning 3: deprecated: Lazy.lazy_from_fun Use Lazy.from_fun instead. Configuration: ocamlfind: ........................................... /usr/bin/ocamlfind ocamlc: .............................................. /usr/bin/ocamlc.opt ocamlopt: ............................................ /usr/bin/ocamlopt.opt ocamlbuild: .......................................... /usr/bin/ocamlbuild Package name: ........................................ uint Package version: ..................................... 1.1.0 os_type: ............................................. Unix system: .............................................. linux architecture: ........................................ amd64 ccomp_type: .......................................... cc ocaml_version: ....................................... 4.02.3 standard_library_default: ............................ /usr/lib64/ocaml standard_library: .................................... /usr/lib64/ocaml standard_runtime: .................................... /usr/bin/ocamlrun bytecomp_c_compiler: ................................. gcc -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O -fPIC native_c_compiler: ................................... gcc -O -Wall -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: ......... /usr User executables: .................................... $exec_prefix/bin System admin executables: ............................ $exec_prefix/sbin Program executables: ................................. /usr/libexec Read-only single-machine data: ....................... $prefix/etc Modifiable architecture-independent data: ............ $prefix/com Modifiable single-machine data: ...................... $prefix/var Object code libraries: ............................... /usr/lib64 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 Prepend a path when installing package: .............. /home/pterjan/rpmbuild/BUILDROOT/ocaml-uint-1.1.0-5.mga7.x86_64 findlib_version: ..................................... 1.6.1 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: ......................... Create documentations: ............................... true Compile tests executable and library and run them: ... false ocamldoc: ............................................ /usr/bin/ocamldoc + ocaml setup.ml -build File "setup.ml", line 213, characters 8-26: Warning 3: deprecated: String.set Use Bytes.set instead. File "setup.ml", line 1793, characters 6-24: Warning 3: deprecated: Lazy.lazy_from_fun Use Lazy.from_fun instead. /usr/bin/ocamlopt.opt unix.cmxa -I /usr/lib64/ocaml/ocamlbuild /usr/lib64/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/lib64/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild ocamlfind ocamlc -g -c lib/uint32_stubs.c + ocamlfind ocamlc -g -c lib/uint32_stubs.c In file included from lib/uint32_stubs.c:12:0: lib/uint32.h:6:30: error: unknown type name 'uint32'; did you mean 'uint'? CAMLextern value copy_uint32(uint32 i); ^~~~~~ uint lib/uint32_stubs.c: In function 'uint32_cmp': lib/uint32_stubs.c:17:5: error: unknown type name 'uint32'; did you mean 'uint'? uint32 i1 = Uint32_val(v1); ^~~~~~ uint In file included from lib/uint32_stubs.c:12:0: lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:17:17: note: in expansion of macro 'Uint32_val' uint32 i1 = Uint32_val(v1); ^~~~~~~~~~ lib/uint32.h:4:27: note: each undeclared identifier is reported only once for each function it appears in #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:17:17: note: in expansion of macro 'Uint32_val' uint32 i1 = Uint32_val(v1); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:17:17: note: in expansion of macro 'Uint32_val' uint32 i1 = Uint32_val(v1); ^~~~~~~~~~ lib/uint32_stubs.c:18:12: error: expected ';' before 'i2' uint32 i2 = Uint32_val(v2); ^~ lib/uint32_stubs.c:19:18: error: 'i2' undeclared (first use in this function); did you mean 'i1'? return (i1 > i2) - (i1 < i2); ^~ i1 In file included from lib/uint32_stubs.c:12:0: lib/uint32_stubs.c: In function 'uint32_hash': lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:25:12: note: in expansion of macro 'Uint32_val' return Uint32_val(v); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:25:12: note: in expansion of macro 'Uint32_val' return Uint32_val(v); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_serialize': lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:31:26: note: in expansion of macro 'Uint32_val' caml_serialize_int_4(Uint32_val(v)); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:31:26: note: in expansion of macro 'Uint32_val' caml_serialize_int_4(Uint32_val(v)); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_deserialize': lib/uint32_stubs.c:38:8: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? *((uint32 *) dst) = caml_deserialize_uint_4(); ^~~~~~ uint lib/uint32_stubs.c:38:16: error: expected expression before ')' token *((uint32 *) dst) = caml_deserialize_uint_4(); ^ lib/uint32_stubs.c: At top level: lib/uint32_stubs.c:52:13: error: unknown type name 'uint32'; did you mean 'uint'? copy_uint32(uint32 i) ^~~~~~ uint In file included from lib/uint32_stubs.c:9:0: lib/uint32_stubs.c: In function 'uint32_add': lib/uint32_stubs.c:64:17: warning: implicit declaration of function 'copy_uint32'; did you mean 'copy_int32'? [-Wimplicit-function-declaration] CAMLreturn (copy_uint32(Uint32_val(v1) + Uint32_val(v2))); ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:64:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) + Uint32_val(v2))); ^~~~~~~~~~ lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:64:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) + Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:64:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) + Uint32_val(v2))); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:64:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) + Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:64:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) + Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_sub': lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:71:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) - Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:71:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) - Uint32_val(v2))); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:71:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) - Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:71:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) - Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_mul': lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:78:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) * Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:78:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) * Uint32_val(v2))); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:78:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) * Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:78:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) * Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_div': lib/uint32_stubs.c:85:5: error: unknown type name 'uint32'; did you mean 'uint'? uint32 divisor = Uint32_val(v2); ^~~~~~ uint In file included from lib/uint32_stubs.c:12:0: lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:85:22: note: in expansion of macro 'Uint32_val' uint32 divisor = Uint32_val(v2); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:85:22: note: in expansion of macro 'Uint32_val' uint32 divisor = Uint32_val(v2); ^~~~~~~~~~ In file included from lib/uint32_stubs.c:9:0: lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:88:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) / divisor)); ^~~~~~~~~~ lib/uint32_stubs.c:88:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) / divisor)); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_mod': lib/uint32_stubs.c:95:5: error: unknown type name 'uint32'; did you mean 'uint'? uint32 divisor = Uint32_val(v2); ^~~~~~ uint In file included from lib/uint32_stubs.c:12:0: lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:95:22: note: in expansion of macro 'Uint32_val' uint32 divisor = Uint32_val(v2); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:95:22: note: in expansion of macro 'Uint32_val' uint32 divisor = Uint32_val(v2); ^~~~~~~~~~ In file included from lib/uint32_stubs.c:9:0: lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:98:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) % divisor)); ^~~~~~~~~~ lib/uint32_stubs.c:98:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) % divisor)); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_and': lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:105:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) & Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:105:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) & Uint32_val(v2))); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:105:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) & Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:105:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) & Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_or': lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:112:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) | Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:112:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) | Uint32_val(v2))); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:112:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) | Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:112:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) | Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_xor': lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:119:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) ^ Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:119:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) ^ Uint32_val(v2))); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:119:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) ^ Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:119:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) ^ Uint32_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_shift_left': lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:126:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) << Int_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:126:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) << Int_val(v2))); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:126:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) << Int_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:126:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) << Int_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_shift_right': lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:133:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) >> Int_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:133:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) >> Int_val(v2))); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:133:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32(Uint32_val(v1) >> Int_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c:133:29: note: in expansion of macro 'Uint32_val' CAMLreturn (copy_uint32(Uint32_val(v1) >> Int_val(v2))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_to_int': lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:147:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (Val_long(Uint32_val(v))); ^~~~~~~~~~ lib/uint32_stubs.c:147:17: note: in expansion of macro 'Val_long' CAMLreturn (Val_long(Uint32_val(v))); ^~~~~~~~ lib/uint32_stubs.c:147:26: note: in expansion of macro 'Uint32_val' CAMLreturn (Val_long(Uint32_val(v))); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:147:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (Val_long(Uint32_val(v))); ^~~~~~~~~~ lib/uint32_stubs.c:147:17: note: in expansion of macro 'Val_long' CAMLreturn (Val_long(Uint32_val(v))); ^~~~~~~~ lib/uint32_stubs.c:147:26: note: in expansion of macro 'Uint32_val' CAMLreturn (Val_long(Uint32_val(v))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_of_float': lib/uint32_stubs.c:154:30: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? CAMLreturn (copy_uint32((uint32)Double_val(v))); ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:154:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32((uint32)Double_val(v))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_to_float': lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:161:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (caml_copy_double((double)Uint32_val(v))); ^~~~~~~~~~ lib/uint32_stubs.c:161:42: note: in expansion of macro 'Uint32_val' CAMLreturn (caml_copy_double((double)Uint32_val(v))); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:161:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (caml_copy_double((double)Uint32_val(v))); ^~~~~~~~~~ lib/uint32_stubs.c:161:42: note: in expansion of macro 'Uint32_val' CAMLreturn (caml_copy_double((double)Uint32_val(v))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_of_int32': lib/uint32_stubs.c:168:30: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? CAMLreturn (copy_uint32((uint32)Int32_val(v))); ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:168:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (copy_uint32((uint32)Int32_val(v))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_to_int32': lib/uint32_stubs.c:175:34: error: 'int32' undeclared (first use in this function); did you mean 'int32_t'? CAMLreturn (caml_copy_int32((int32)Uint32_val(v))); ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:175:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (caml_copy_int32((int32)Uint32_val(v))); ^~~~~~~~~~ lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'int32'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:175:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (caml_copy_int32((int32)Uint32_val(v))); ^~~~~~~~~~ lib/uint32_stubs.c:175:40: note: in expansion of macro 'Uint32_val' CAMLreturn (caml_copy_int32((int32)Uint32_val(v))); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ /usr/lib64/ocaml/caml/memory.h:226:29: note: in definition of macro 'CAMLreturnT' type caml__temp_result = (result); \ ^~~~~~ lib/uint32_stubs.c:175:5: note: in expansion of macro 'CAMLreturn' CAMLreturn (caml_copy_int32((int32)Uint32_val(v))); ^~~~~~~~~~ lib/uint32_stubs.c:175:40: note: in expansion of macro 'Uint32_val' CAMLreturn (caml_copy_int32((int32)Uint32_val(v))); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_bits_of_float': lib/uint32_stubs.c:182:22: error: unknown type name 'uint32' union { float d; uint32 i; } u; ^~~~~~ lib/uint32_stubs.c: In function 'uint32_float_of_bits': lib/uint32_stubs.c:191:22: error: unknown type name 'uint32' union { float d; uint32 i; } u; ^~~~~~ In file included from lib/uint32_stubs.c:12:0: lib/uint32.h:4:27: error: 'uint32' undeclared (first use in this function); did you mean 'uint'? #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:192:11: note: in expansion of macro 'Uint32_val' u.i = Uint32_val(v); ^~~~~~~~~~ lib/uint32.h:4:35: error: expected expression before ')' token #define Uint32_val(v) (*((uint32 *)Data_custom_val(v))) ^ lib/uint32_stubs.c:192:11: note: in expansion of macro 'Uint32_val' u.i = Uint32_val(v); ^~~~~~~~~~ lib/uint32_stubs.c: In function 'uint32_hash': lib/uint32_stubs.c:26:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ lib/uint32_stubs.c: In function 'uint32_cmp': lib/uint32_stubs.c:20:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Command exited with code 2. E: Failure("Command ''/usr/bin/ocamlbuild' lib/libuint_stubs.a lib/dlluint_stubs.so lib/uint.cma lib/uint.cmxa lib/uint.a lib/uint.cmxs -tag debug' terminated with error code 10") error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.M1JLDv (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.M1JLDv (%build) I: [iurt_root_command] ERROR: chroot