Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-ocamlbuild.spec'], chrootPath='/var/lib/mock/dist-rebuild-after-rpm-check-build-180457-11870/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-ocamlbuild.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ocaml-ocamlbuild-0.14.2-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-ocamlbuild.spec'], chrootPath='/var/lib/mock/dist-rebuild-after-rpm-check-build-180457-11870/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-ocamlbuild.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t9ovls + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocamlbuild-0.14.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/0.14.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocamlbuild-0.14.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TcexjF + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ocamlbuild-0.14.2 + make configure OCAMLBUILD_PREFIX=/usr OCAMLBUILD_BINDIR=/usr/bin OCAMLBUILD_LIBDIR=/usr/lib64/ocaml OCAMLBUILD_MANDIR=/usr/share/man OCAML_NATIVE=true OCAML_NATIVE_TOOLS=true make -f configure.make Makefile.config make[1]: Entering directory '/builddir/build/BUILD/ocamlbuild-0.14.2' (echo "# This file was generated from configure.make"; \ echo ;\ echo "OCAML_PREFIX="; \ echo "OCAML_BINDIR=/usr/bin"; \ echo "OCAML_LIBDIR=/usr/lib64/ocaml"; \ echo "OCAML_MANDIR=/usr/share/man"; \ echo ;\ echo "EXT_OBJ=.o"; \ echo "EXT_ASM=.s"; \ echo "EXT_LIB=.a"; \ echo "EXT_DLL=.so"; \ echo "EXE="; \ echo ;\ echo "OCAML_NATIVE=true"; \ echo "OCAML_NATIVE_TOOLS=true"; \ echo "NATDYNLINK=true"; \ echo "SUPPORT_SHARED_LIBRARIES=true"; \ echo ;\ echo "PREFIX=/usr"; \ echo "BINDIR=/usr/bin"; \ echo "LIBDIR=/usr/lib64/ocaml"; \ echo "MANDIR=/usr/share/man"; \ ) > Makefile.config make[1]: Leaving directory '/builddir/build/BUILD/ocamlbuild-0.14.2' make -f configure.make all make[1]: Entering directory '/builddir/build/BUILD/ocamlbuild-0.14.2' (echo "(* This file was generated from ../configure.make *)"; \ echo ;\ echo 'let bindir = "/usr/bin"'; \ echo 'let libdir = "/usr/lib64/ocaml"'; \ echo 'let ocaml_libdir = "/usr/lib64/ocaml"'; \ echo 'let libdir_abs = "/usr/lib64/ocaml"'; \ echo 'let ocaml_native = true'; \ echo 'let ocaml_native_tools = true'; \ echo 'let supports_shared_libraries = true';\ echo 'let a = "a"'; \ echo 'let o = "o"'; \ echo 'let so = "so"'; \ echo 'let ext_dll = ".so"'; \ echo 'let exe = ""'; \ echo 'let version = "0.14.2"'; \ ) > src/ocamlbuild_config.ml make[1]: Leaving directory '/builddir/build/BUILD/ocamlbuild-0.14.2' + make 'OCAMLC=ocamlc.opt -g' 'OCAMLOPT=ocamlopt.opt -g' ocamlc.opt -g -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/const.ml ocamlc.opt -g -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/loc.mli ocamlc.opt -g -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/loc.ml ocamlc.opt -g -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/discard_printf.mli ocamlc.opt -g -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/discard_printf.ml ocamlc.opt -g -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/signatures.mli ocamlc.opt -g -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/my_std.mli ocamlc.opt -g -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/my_std.ml File "src/my_std.ml", line 1: Error: The implementation "src/my_std.ml" does not match the interface "src/my_std.mli": ... In module "Digest": Values do not match: val channel : in_channel -> int -> t is not included in external channel : in_channel -> int -> t = "caml_md5_chan" The implementation is not a primitive. File "src/my_std.mli", line 45, characters 2-61: Expected declaration File "digest.mli", line 60, characters 0-36: Actual declaration make: *** [Makefile:422: src/my_std.cmo] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.TcexjF (%build) Bad exit status from /var/tmp/rpm-tmp.TcexjF (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-ocamlbuild.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-ocamlbuild.spec