Mock Version: 2.17 Mock Version: 2.17 Mock Version: 2.17 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocaml-findlib.spec'], chrootPath='/var/lib/mock/v8.3-incoming-5405-8231/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocaml-findlib.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-findlib-1.9.6-2.xcpng8.3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocaml-findlib.spec'], chrootPath='/var/lib/mock/v8.3-incoming-5405-8231/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocaml-findlib.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.0v7ETo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf findlib-1.9.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/findlib-1.9.6.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd findlib-1.9.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.h7Miet + umask 022 + cd /builddir/build/BUILD + cd findlib-1.9.6 ++ ocamlc -where + ./configure -config /etc/ocamlfind.conf -bindir /usr/bin -sitelib /usr/lib64/ocaml -mandir /usr/share/man -with-toolbox Welcome to findlib version 1.9.6 Configuring core... Checking for #remove_directory... Testing threading model... systhread_supported: true Testing DLLs... Testing whether ppxopt can be supported... Checking for ocamlc -opaque... Checking for ocamlopt -g... Querying installation: META list not found make install will double-check installed META files Configuring libraries... unix: found dynlink: found bigarray: found compiler-libs: found dbm: not present (normal since 4.00) graphics: not present (normal since 4.09) num: not present (normal since 4.06) ocamlbuild: not present (normal since 4.03) ocamldoc: found (in +ocamldoc) raw_spacetime: not present (normal since 4.12) threads: found (in +threads) str: found labltk: not present (normal since 4.02) native dynlink: found camlp4: not present (normal since OCaml-4.02) bytes: found, installing fake library Sorry, toolbox requires str and labltk - omitting toolbox. Configuration for stdlib written to site-lib-src/stdlib/META Configuration for unix written to site-lib-src/unix/META Configuration for dynlink written to site-lib-src/dynlink/META Configuration for bigarray written to site-lib-src/bigarray/META Configuration for compiler-libs written to site-lib-src/compiler-libs/META Configuration for ocamldoc written to site-lib-src/ocamldoc/META Configuration for threads written to site-lib-src/threads/META Configuration for str written to site-lib-src/str/META Configuration for bytes written to site-lib-src/bytes/META Detecting compiler arguments: (extractor built) ok About the OCAML core installation: Standard library: /usr/lib64/ocaml Binaries: /usr/bin Manual pages: /usr/local/man Multi-threading type: posix The directory of site-specific packages will be site-lib: /usr/lib64/ocaml The configuration file is written to: findlib config file: /etc/ocamlfind.conf Software will be installed: Libraries: in /findlib Binaries: /usr/bin Manual pages: /usr/share/man topfind script: /usr/lib64/ocaml Topfind ppxopt support: yes Toolbox: no Link custom runtime: yes Need bytes compatibility: no Configuration has been written to Makefile.config You can now do 'make all', and optionally 'make opt', to build ocamlfind. + make all for p in findlib; do ( cd src/$p; make all ) || exit; done make[1]: Entering directory `/builddir/build/BUILD/findlib-1.9.6/src/findlib' Makefile:192: depend: No such file or directory ocamllex fl_meta.mll 22 states, 392 transitions, table size 1700 bytes USE_CYGPATH="0"; \ export USE_CYGPATH; \ cat findlib_config.mlp | \ ../../tools/patch '@CONFIGFILE@' '/etc/ocamlfind.conf' | \ ../../tools/patch '@STDLIB@' '/usr/lib64/ocaml' | \ sed -e 's;@AUTOLINK@;true;g' \ -e 's;@SYSTEM@;linux;g' \ >findlib_config.ml if [ "true" = "true" ]; then \ cp topfind.ml.in topfind.ml; \ else \ sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \ > topfind.ml ; \ fi ocamldep *.ml *.mli >depend make[1]: Leaving directory `/builddir/build/BUILD/findlib-1.9.6/src/findlib' make[1]: Entering directory `/builddir/build/BUILD/findlib-1.9.6/src/findlib' ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib_config.ml ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_split.ml ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metatoken.ml ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_meta.ml ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_metascanner.mli ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metascanner.ml ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_topo.mli ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_topo.ml ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_package_base.mli ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_package_base.ml File "fl_package_base.ml", line 304, characters 22-40: 304 | let pkg_ancestors = query_requirements predlist pkg in ^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label preds was omitted in the application of this function. File "fl_package_base.ml", line 350, characters 18-36: 350 | let ancestors = query_requirements predlist package_name in ^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label preds was omitted in the application of this function. File "fl_package_base.ml", line 375, characters 23-41: 375 | let pkg_ancestors = query_requirements predlist pkg in ^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label preds was omitted in the application of this function. File "fl_package_base.ml", line 510, characters 16-35: 510 | ( let c = package_definitions search_path pkg.package_name in ^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label search_path was omitted in the application of this function. ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c findlib.mli ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib.ml File "findlib.ml", line 390, characters 2-26: 390 | Fl_package_base.requires predlist pkg ^^^^^^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label preds was omitted in the application of this function. File "findlib.ml", line 396, characters 2-33: 396 | Fl_package_base.requires_deeply predlist pkglist ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label preds was omitted in the application of this function. ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_args.ml ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_lint.ml ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c ocaml_args.ml ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c frontend.ml File "frontend.ml", line 859, characters 10-39: 859 | Fl_package_base.package_users predicates1 packages1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: label preds was omitted in the application of this function. ocamlc -I +compiler-libs -custom -o ocamlfind -g findlib.cma unix.cma \ -I +unix -I +dynlink ocaml_args.cmo frontend.cmo sh: gcc: command not found File "_none_", line 1: Error: I/O error: gcc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wdeclaration-after-statement -fno-common -fexcess-precision=standard -fno-tree-vrp -ffunction-sections -Wl,-E -o 'ocamlfind' '-L/usr/lib64/ocaml/compiler-libs' '-L/usr/lib64/ocaml/unix' '-L/usr/lib64/ocaml/dynlink' '-L/usr/lib64/ocaml' '-fdebug-prefix-map=/tmp/camlprim92670b.c=camlprim.c' '/tmp/camlprim92670b.c' '-lunix' '-lcamlrun' -I'/usr/lib64/ocaml' -lm -ldl -lpthread make[1]: *** [ocamlfind] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/findlib-1.9.6/src/findlib' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.h7Miet (%build) Bad exit status from /var/tmp/rpm-tmp.h7Miet (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 --target x86_64 --nodeps /builddir/build/SPECS/ocaml-findlib.spec