+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-bin-prot.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.YkL4Cg
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf bin_prot-2.0.9
+ /usr/bin/gzip -dc /builddir/build/SOURCES/bin_prot-2.0.9.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd bin_prot-2.0.9
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (ocaml-bin-prot-2.0.9-remove-Werror.patch):'
Patch #1 (ocaml-bin-prot-2.0.9-remove-Werror.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file myocamlbuild.ml
+ echo 'Patch #2 (ocaml-bin-prot-2.0.9-fix-ints.patch):'
Patch #2 (ocaml-bin-prot-2.0.9-fix-ints.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file lib/common_stubs.h
+ expr='                "-DARCH_INT64_TYPE";'
+ for flag in -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
+ expr+='\$\n                "-O2";'
+ for flag in -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
+ expr+='\$\n                "-g";'
+ for flag in -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
+ expr+='\$\n                "-pipe";'
+ for flag in -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
+ expr+='\$\n                "-Wall";'
+ for flag in -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
+ expr+='\$\n                "-Werror=format-security";'
+ for flag in -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
+ expr+='\$\n                "-Wp,-D_FORTIFY_SOURCE=2";'
+ for flag in -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
+ expr+='\$\n                "-Wp,-D_GLIBCXX_ASSERTIONS";'
+ for flag in -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
+ expr+='\$\n                "-fexceptions";'
+ for flag in -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
+ expr+='\$\n                "-fstack-protector-strong";'
+ for flag in -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
+ expr+='\$\n                "-grecord-gcc-switches";'
+ for flag in -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
+ expr+='\$\n                "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1";'
+ sed -i '/-pipe/,/-Wno-long-long/c\                "-DARCH_INT64_TYPE";\$\n                "-O2";\$\n                "-g";\$\n                "-pipe";\$\n                "-Wall";\$\n                "-Werror=format-security";\$\n                "-Wp,-D_FORTIFY_SOURCE=2";\$\n                "-Wp,-D_GLIBCXX_ASSERTIONS";\$\n                "-fexceptions";\$\n                "-fstack-protector-strong";\$\n                "-grecord-gcc-switches";\$\n                "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1";' myocamlbuild.ml
+ sed -i 's/;\$$/;/' myocamlbuild.ml
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BSRn6a
+ umask 022
+ cd /builddir/build/BUILD
+ cd bin_prot-2.0.9
+ ocaml setup.ml -configure --prefix /usr --libdir /usr/lib64 --libexecdir /usr/libexec --exec-prefix /usr --bindir /usr/bin --sbindir /usr/sbin --mandir /usr/share/man --datadir /usr/share --localstatedir /var --sharedstatedir /var/lib --destdir /builddir/build/BUILDROOT/ocaml-bin-prot-2.0.9-28.fc28.riscv64
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 46, characters 20-36:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 46, characters 42-58:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 54, characters 14-30:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 54, characters 38-54:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 57, characters 25-41:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 128, characters 10-26:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/PropList.ml", line 99, characters 13-29:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUnixPath.ml", line 90, characters 16-33:
Warning 3: deprecated: String.capitalize
Use String.capitalize_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUnixPath.ml", line 95, characters 16-35:
Warning 3: deprecated: String.uncapitalize
Use String.uncapitalize_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/plugins/internal/InternalInstallPlugin.ml", line 150, characters 31-50:
Warning 3: deprecated: String.uncapitalize
Use String.uncapitalize_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/plugins/internal/InternalInstallPlugin.ml", line 151, characters 31-48:
Warning 3: deprecated: String.capitalize
Use String.capitalize_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/plugins/internal/InternalInstallPlugin.ml", line 152, characters 31-50:
Warning 3: deprecated: String.uncapitalize
Use String.uncapitalize_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/plugins/internal/InternalInstallPlugin.ml", line 153, characters 31-48:
Warning 3: deprecated: String.capitalize
Use String.capitalize_ascii instead.
I: Running command '/usr/bin/ocamlc.opt -config > '/tmp/oasis-21b8e6.txt''
I: Running command '/usr/bin/ocamlfind query -format %v findlib > '/tmp/oasis-cf1378.txt''
I: Running command '/usr/bin/ocamlfind query -format %d camlp4.quotations > '/tmp/oasis-4ed011.txt''
I: Running command '/usr/bin/ocamlfind query -format %d camlp4.extend > '/tmp/oasis-8cccb5.txt''
I: Running command '/usr/bin/ocamlfind query -format %d type_conv > '/tmp/oasis-93fa7c.txt''
I: Running command '/usr/bin/ocamlfind query -format %v type_conv > '/tmp/oasis-25330e.txt''
I: Running command '/usr/bin/ocamlfind query -format %d unix > '/tmp/oasis-9912f3.txt''
I: Running command '/usr/bin/ocamlfind query -format %d bigarray > '/tmp/oasis-919395.txt''
I: Running command '/usr/bin/ocamlfind query -format %v findlib > '/tmp/oasis-8329b1.txt''
I: Running command '/usr/bin/ocamlfind query -format %d camlp4.quotations > '/tmp/oasis-048dfb.txt''
I: Running command '/usr/bin/ocamlfind query -format %d camlp4.extend > '/tmp/oasis-4d91b8.txt''
I: Running command '/usr/bin/ocamlfind query -format %d type_conv > '/tmp/oasis-77d9f0.txt''
I: Running command '/usr/bin/ocamlfind query -format %v type_conv > '/tmp/oasis-5ae8a7.txt''
I: Running command '/usr/bin/ocamlfind query -format %d unix > '/tmp/oasis-ef4af6.txt''
I: Running command '/usr/bin/ocamlfind query -format %d bigarray > '/tmp/oasis-77711f.txt''

Configuration: 
ocamlfind: ........................................... /usr/bin/ocamlfind
ocamlc: .............................................. /usr/bin/ocamlc.opt
ocamlopt: ............................................ /usr/bin/ocamlopt.opt
ocamlbuild: .......................................... /usr/bin/ocamlbuild
Package name: ........................................ bin_prot
Package version: ..................................... 2.0.9
os_type: ............................................. Unix
system: .............................................. linux
architecture: ........................................ riscv
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: ............................................... riscv64
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: .................................... /usr/bin
System admin executables: ............................ /usr/sbin
Program executables: ................................. /usr/libexec
Read-only single-machine data: ....................... $prefix/etc
Modifiable architecture-independent data: ............ /var/lib
Modifiable single-machine data: ...................... /var
Object code libraries: ............................... /usr/lib64
Read-only arch-independent data root: ................ $prefix/share
Read-only architecture-independent data: ............. /usr/share
Info documentation: .................................. $datarootdir/info
Locale-dependent data: ............................... $datarootdir/locale
Man documentation: ................................... /usr/share/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: .............. /builddir/build/BUILDROOT/ocaml-bin-prot-2.0.9-28.fc28.riscv64
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
Compile tests executable and library and run them: ... false
Create documentations: ............................... true
OCamlbuild additional flags: ......................... 
camlp4o: ............................................. /usr/bin/camlp4o
pkg_camlp4_quotations: ............................... /usr/lib64/ocaml/camlp4
pkg_camlp4_extend: ................................... /usr/lib64/ocaml/camlp4
pkg_type_conv: ....................................... /usr/lib64/ocaml/type_conv
pkg_unix: ............................................ /usr/lib64/ocaml
pkg_bigarray: ........................................ /usr/lib64/ocaml
ocamldoc: ............................................ /usr/bin/ocamldoc

+ ocaml setup.ml -build
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 46, characters 20-36:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 46, characters 42-58:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 54, characters 14-30:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 54, characters 38-54:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 57, characters 25-41:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUtils.ml", line 128, characters 10-26:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/PropList.ml", line 99, characters 13-29:
Warning 3: deprecated: String.lowercase
Use String.lowercase_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUnixPath.ml", line 90, characters 16-33:
Warning 3: deprecated: String.capitalize
Use String.capitalize_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/oasis/OASISUnixPath.ml", line 95, characters 16-35:
Warning 3: deprecated: String.uncapitalize
Use String.uncapitalize_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/plugins/internal/InternalInstallPlugin.ml", line 150, characters 31-50:
Warning 3: deprecated: String.uncapitalize
Use String.uncapitalize_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/plugins/internal/InternalInstallPlugin.ml", line 151, characters 31-48:
Warning 3: deprecated: String.capitalize
Use String.capitalize_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/plugins/internal/InternalInstallPlugin.ml", line 152, characters 31-50:
Warning 3: deprecated: String.uncapitalize
Use String.uncapitalize_ascii instead.
File "/Users/mmottl/Downloads/oasis-0.3.0~rc2/src/plugins/internal/InternalInstallPlugin.ml", line 153, characters 31-48:
Warning 3: deprecated: String.capitalize
Use String.capitalize_ascii instead.
I: Running command '/usr/bin/ocamlbuild syntax/pa_bin_prot.cma lib/libbin_prot.a lib/dllbin_prot.so lib/bin_prot.cma lib/bin_prot.cmxa lib/bin_prot.a -tag debug'
Warning: Won't be able to compile a native plugin
/usr/bin/ocamlc.opt unix.cma -I /usr/lib64/ocaml/ocamlbuild /usr/lib64/ocaml/ocamlbuild/ocamlbuildlib.cma myocamlbuild.ml /usr/lib64/ocaml/ocamlbuild/ocamlbuild.cmo -o myocamlbuild
File "_tags", line 86, characters 63-83:
Warning: the tag "pkg_type_conv.syntax" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
ocamlfind ocamldep -package type_conv -package camlp4.quotations -package camlp4.extend -modules syntax/pa_bin_prot.mli > syntax/pa_bin_prot.mli.depends
ocamlfind ocamlc -c -g -package type_conv -package camlp4.quotations -package camlp4.extend -I syntax -I lib -o syntax/pa_bin_prot.cmi syntax/pa_bin_prot.mli
ocamlfind ocamldep -package type_conv -package camlp4.quotations -package camlp4.extend -syntax camlp4o -modules syntax/pa_bin_prot.ml > syntax/pa_bin_prot.ml.depends
ocamlfind ocamlc -c -g -package type_conv -package camlp4.quotations -package camlp4.extend -syntax camlp4o -I syntax -I lib -o syntax/pa_bin_prot.cmo syntax/pa_bin_prot.ml
ocamlfind ocamlc -a -I syntax syntax/pa_bin_prot.cmo -o syntax/pa_bin_prot.cma
ocamlfind ocamlc -g -ccopt -DARCH_INT64_TYPE -ccopt -O2 -ccopt -g -ccopt -pipe -ccopt -Wall -ccopt '-Werror=format-security' -ccopt '-Wp,-D_FORTIFY_SOURCE=2' -ccopt -Wp,-D_GLIBCXX_ASSERTIONS -ccopt -fexceptions -ccopt -fstack-protector-strong -ccopt -grecord-gcc-switches -ccopt '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -c lib/common_stubs.c
+ ocamlfind ocamlc -g -ccopt -DARCH_INT64_TYPE -ccopt -O2 -ccopt -g -ccopt -pipe -ccopt -Wall -ccopt '-Werror=format-security' -ccopt '-Wp,-D_FORTIFY_SOURCE=2' -ccopt -Wp,-D_GLIBCXX_ASSERTIONS -ccopt -fexceptions -ccopt -fstack-protector-strong -ccopt -grecord-gcc-switches -ccopt '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -c lib/common_stubs.c
In file included from /usr/include/sys/types.h:25:0,
                 from lib/common_stubs.h:31,
                 from lib/common_stubs.c:27:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
mv common_stubs.o lib/common_stubs.o
ocamlfind ocamlc -g -ccopt -DARCH_INT64_TYPE -ccopt -O2 -ccopt -g -ccopt -pipe -ccopt -Wall -ccopt '-Werror=format-security' -ccopt '-Wp,-D_FORTIFY_SOURCE=2' -ccopt -Wp,-D_GLIBCXX_ASSERTIONS -ccopt -fexceptions -ccopt -fstack-protector-strong -ccopt -grecord-gcc-switches -ccopt '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -c lib/write_stubs.c
+ ocamlfind ocamlc -g -ccopt -DARCH_INT64_TYPE -ccopt -O2 -ccopt -g -ccopt -pipe -ccopt -Wall -ccopt '-Werror=format-security' -ccopt '-Wp,-D_FORTIFY_SOURCE=2' -ccopt -Wp,-D_GLIBCXX_ASSERTIONS -ccopt -fexceptions -ccopt -fstack-protector-strong -ccopt -grecord-gcc-switches -ccopt '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -c lib/write_stubs.c
In file included from /usr/include/sys/types.h:25:0,
                 from lib/common_stubs.h:31,
                 from lib/write_stubs.c:27:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
mv write_stubs.o lib/write_stubs.o
ocamlfind ocamlc -g -ccopt -DARCH_INT64_TYPE -ccopt -O2 -ccopt -g -ccopt -pipe -ccopt -Wall -ccopt '-Werror=format-security' -ccopt '-Wp,-D_FORTIFY_SOURCE=2' -ccopt -Wp,-D_GLIBCXX_ASSERTIONS -ccopt -fexceptions -ccopt -fstack-protector-strong -ccopt -grecord-gcc-switches -ccopt '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -c lib/read_stubs.c
+ ocamlfind ocamlc -g -ccopt -DARCH_INT64_TYPE -ccopt -O2 -ccopt -g -ccopt -pipe -ccopt -Wall -ccopt '-Werror=format-security' -ccopt '-Wp,-D_FORTIFY_SOURCE=2' -ccopt -Wp,-D_GLIBCXX_ASSERTIONS -ccopt -fexceptions -ccopt -fstack-protector-strong -ccopt -grecord-gcc-switches -ccopt '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -c lib/read_stubs.c
In file included from /usr/include/sys/types.h:25:0,
                 from lib/common_stubs.h:31,
                 from lib/read_stubs.c:27:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
mv read_stubs.o lib/read_stubs.o
/usr/bin/ocamlmklib.opt -o lib/bin_prot lib/common_stubs.o lib/write_stubs.o lib/read_stubs.o
ocamlfind ocamldep -package unix -package bigarray -modules lib/binable.ml > lib/binable.ml.depends
ocamlfind ocamldep -package unix -package bigarray -modules lib/map_to_safe.ml > lib/map_to_safe.ml.depends
ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/read_ml.mli > lib/read_ml.mli.depends
ocamlfind ocamldep -package unix -package bigarray -modules lib/common.mli > lib/common.mli.depends
ocamlfind ocamldep -package unix -package bigarray -modules lib/nat0.mli > lib/nat0.mli.depends
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/common.cmi lib/common.mli
+ ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/common.cmi lib/common.mli
File "lib/common.mli", line 179, characters 0-150:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/common.mli", line 183, characters 0-150:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/nat0.cmi lib/nat0.mli
ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/unsafe_read_c.mli > lib/unsafe_read_c.mli.depends
ocamlfind ocamldep -package unix -package bigarray -modules lib/unsafe_common.mli > lib/unsafe_common.mli.depends
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/unsafe_common.cmi lib/unsafe_common.mli
+ ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/unsafe_common.cmi lib/unsafe_common.mli
File "lib/unsafe_common.mli", line 45, characters 0-75:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.mli", line 49, characters 0-75:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.mli", line 53, characters 0-71:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.mli", line 57, characters 0-102:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.mli", line 62, characters 0-89:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.mli", line 67, characters 0-106:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.mli", line 74, characters 0-90:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.mli", line 84, characters 0-88:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.mli", line 90, characters 0-78:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.mli", line 94, characters 0-94:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.mli", line 99, characters 0-84:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.mli", line 103, characters 0-92:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
ocamlfind ocamldep -package unix -package bigarray -modules lib/unsafe_write_c.mli > lib/unsafe_write_c.mli.depends
ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/write_ml.mli > lib/write_ml.mli.depends
ocamlfind ocamlc -c -g -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -I lib -I syntax -o lib/read_ml.cmi lib/read_ml.mli
ocamlfind ocamlc -c -g -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -I lib -I syntax -o lib/unsafe_read_c.cmi lib/unsafe_read_c.mli
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/unsafe_write_c.cmi lib/unsafe_write_c.mli
ocamlfind ocamlc -c -g -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -I lib -I syntax -o lib/write_ml.cmi lib/write_ml.mli
ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/size.mli > lib/size.mli.depends
ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/type_class.mli > lib/type_class.mli.depends
ocamlfind ocamlc -c -g -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -I lib -I syntax -o lib/size.cmi lib/size.mli
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/map_to_safe.cmo lib/map_to_safe.ml
ocamlfind ocamlc -c -g -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -I lib -I syntax -o lib/type_class.cmi lib/type_class.mli
ocamlfind ocamldep -package unix -package bigarray -modules lib/nat0.ml > lib/nat0.ml.depends
ocamlfind ocamldep -package unix -package bigarray -modules lib/common.ml > lib/common.ml.depends
ocamlfind ocamldep -package unix -package bigarray -modules lib/unsafe_common.ml > lib/unsafe_common.ml.depends
ocamlfind ocamldep -package unix -package bigarray -modules lib/unsafe_write_c.ml > lib/unsafe_write_c.ml.depends
ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/unsafe_read_c.ml > lib/unsafe_read_c.ml.depends
ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/size.ml > lib/size.ml.depends
ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/write_ml.ml > lib/write_ml.ml.depends
ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/read_ml.ml > lib/read_ml.ml.depends
ocamlfind ocamldep -package unix -package bigarray -modules lib/write_c.mli > lib/write_c.mli.depends
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/write_c.cmi lib/write_c.mli
ocamlfind ocamldep -package unix -package bigarray -modules lib/write_c.ml > lib/write_c.ml.depends
ocamlfind ocamldep -package unix -package bigarray -modules lib/read_c.mli > lib/read_c.mli.depends
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/read_c.cmi lib/read_c.mli
ocamlfind ocamldep -package unix -package bigarray -modules lib/read_c.ml > lib/read_c.ml.depends
ocamlfind ocamldep -package unix -package bigarray -modules lib/std.ml > lib/std.ml.depends
ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/type_class.ml > lib/type_class.ml.depends
ocamlfind ocamldep -package unix -package bigarray -modules lib/utils.mli > lib/utils.mli.depends
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/binable.cmo lib/binable.ml
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/utils.cmi lib/utils.mli
ocamlfind ocamldep -package unix -package bigarray -modules lib/utils.ml > lib/utils.ml.depends
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/nat0.cmo lib/nat0.ml
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/common.cmo lib/common.ml
+ ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/common.cmo lib/common.ml
File "lib/common.ml", line 146, characters 0-150:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/common.ml", line 167, characters 0-150:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/unsafe_common.cmo lib/unsafe_common.ml
+ ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/unsafe_common.cmo lib/unsafe_common.ml
File "lib/unsafe_common.ml", line 34, characters 0-75:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.ml", line 35, characters 0-75:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.ml", line 36, characters 0-71:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.ml", line 38, characters 0-102:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.ml", line 41, characters 0-89:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.ml", line 44, characters 0-106:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.ml", line 47, characters 0-90:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.ml", line 50, characters 0-88:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.ml", line 53, characters 0-78:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.ml", line 55, characters 0-94:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.ml", line 58, characters 0-84:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "lib/unsafe_common.ml", line 61, characters 0-92:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -I syntax -o lib/unsafe_write_c.cmo lib/unsafe_write_c.ml
ocamlfind ocamlc -c -g -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -I lib -I syntax -o lib/unsafe_read_c.cmo lib/unsafe_read_c.ml
+ ocamlfind ocamlc -c -g -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -I lib -I syntax -o lib/unsafe_read_c.cmo lib/unsafe_read_c.ml
File "lib/unsafe_read_c.ml", line 69, characters 2-20:
Warning 3: deprecated: Lazy.lazy_from_val
Use Lazy.from_val instead.
File "lib/unsafe_read_c.ml", line 142, characters 14-26:
Warning 3: deprecated: Array.create
Use Array.make instead.
ocamlfind ocamlc -c -g -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -I lib -I syntax -o lib/size.cmo lib/size.ml
ocamlfind ocamlc -c -g -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -I lib -I syntax -o lib/write_ml.cmo lib/write_ml.ml
ocamlfind ocamlc -c -g -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -I lib -I syntax -o lib/read_ml.cmo lib/read_ml.ml
+ ocamlfind ocamlc -c -g -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -I lib -I syntax -o lib/read_ml.cmo lib/read_ml.ml
File "lib/read_ml.ml", line 228, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "lib/read_ml.ml", line 229, characters 53-56:
Error: This expression has type bytes but an expression was expected of type
         string
Command exited with code 2.
E: Failure("Command '/usr/bin/ocamlbuild syntax/pa_bin_prot.cma lib/libbin_prot.a lib/dllbin_prot.so lib/bin_prot.cma lib/bin_prot.cmxa lib/bin_prot.a -tag debug' terminated with error code 10")
error: Bad exit status from /var/tmp/rpm-tmp.BSRn6a (%build)


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