Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/xapi.spec'], chrootPath='/var/lib/mock/v8.3-u-asultanov2-9007-27903/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=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7xhuabvy:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7xhuabvy:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6476529515ed4611aeaca1a02558786f', '-D', '/var/lib/mock/v8.3-u-asultanov2-9007-27903/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7xhuabvy:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/xapi.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/xapi-25.28.0-1.1~masterbuild.1.xcpng8.3.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/xapi.spec'], chrootPath='/var/lib/mock/v8.3-u-asultanov2-9007-27903/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=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7xhuabvy:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7xhuabvy:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4d7382cb730c4432b401bde90b7ea80d', '-D', '/var/lib/mock/v8.3-u-asultanov2-9007-27903/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7xhuabvy:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xapi.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jvFRqJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xapi-25.28.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/xen-api-25.28.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd xapi-25.28.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-xcp-ng-configure-xapi.conf-to-meet-our-needs.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-xcp-ng-renamed-xs-clipboardd-to-xcp-clipboardd.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-xcp-ng-fix-IPv6-import.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0004-xcp-ng-open-close-openflow-port.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0005-xcp-ng-update-db-tunnel-protocol-from-other-config.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MmStEy + umask 022 + cd /builddir/build/BUILD + cd xapi-25.28.0 + ./configure --xenopsd_libexecdir /usr/libexec/xenopsd --qemu_wrapper_dir=/usr/lib64/xen/bin --sbindir=/usr/sbin --mandir=/usr/share/man --bindir=/usr/bin --xapi_version=25.28.0 --prefix /usr --libdir /usr/lib64/opamroot/ocaml-system/lib --xapi_api_version_major=2 --xapi_api_version_minor=21 # Warning - this file is autogenerated by the configure script # Do not edit export INVENTORY=/etc/xensource-inventory export MANDIR=/usr/share/man export PREFIX=/usr export SDKDIR=/usr/share/xapi/sdk export XENOPSD_LIBEXECDIR=/usr/libexec/xenopsd export YUMPLUGINCONFDIR=/etc/yum/pluginconf.d export OPTDIR=/opt/xensource export EXTENSIONDIR=/etc/xapi.d/extensions export BINDIR=/usr/bin export PLUGINDIR=/etc/xapi.d/plugins export VARPATCHDIR=/var/patch export XAPI_VERSION=25.28.0 export XAPI_API_VERSION_MAJOR=2 export LIBDIR=/usr/lib64/opamroot/ocaml-system/lib export CLUSTER_STACK_ROOT=/usr/libexec/xapi/cluster-stack export SBINDIR=/usr/sbin export SCRIPTSDIR=/etc/xensource/scripts export XAPICONF=/etc/xapi.conf export WEBDIR=/opt/xensource/www export ETCDIR=/etc export HOOKSDIR=/etc/xapi.d export LIBEXECDIR=/opt/xensource/libexec export QEMU_WRAPPER_DIR=/usr/lib64/xen/bin export SHAREDIR=/opt/xensource export UDEVDIR=/etc/udev export ETCXENDIR=/etc/xensource export DOCDIR=/usr/share/xapi/doc export YUMPLUGINDIR=/usr/lib/yum-plugins export XAPI_API_VERSION_MINOR=21 + export OCAMLPATH=/usr/lib64/ocaml + OCAMLPATH=/usr/lib64/ocaml + ulimit -s 16384 + COMPILE_JAVA=no + /usr/bin/make [ -z "25.28.0" ] || (sed -i '/(version.*)/d' dune-project && echo "(version 25.28.0)" >> dune-project) if test -f /opt/xensource/sm/XE_SR_ERRORCODES.xml; then cp /opt/xensource/sm/XE_SR_ERRORCODES.xml ocaml/sdk-gen/csharp/XE_SR_ERRORCODES.xml; fi dune build @ocaml/idl/update-dm-lifecycle -j 8 --profile=release --auto-promote || dune build @ocaml/idl/update-dm-lifecycle -j 8 --profile=release --auto-promote dune build -j 8 --profile=release @install @ocaml/xapi-storage/python/xapi/storage/api/v5/python @ocaml/xapi-doc @ocaml/sdk-gen/sdkgen File "ocaml/xapi/dune", line 141, characters 2-10: 141 | digestif ^^^^^^^^ Error: Library "digestif" not found. -> required by library "xapi_internal" in _build/default/ocaml/xapi -> required by executable main in ocaml/xapi-storage-cli/dune:2 -> required by _build/default/ocaml/xapi-storage-cli/main.exe -> required by _build/install/default/sbin/sm-cli -> required by _build/default/xapi-storage-cli.install -> required by alias install File "ocaml/qcow-stream-tool/dune", line 7, characters 4-15: 7 | qcow-stream ^^^^^^^^^^^ Error: Library "qcow-stream" not found. -> required by _build/default/ocaml/qcow-stream-tool/qcow_stream_tool.exe -> required by _build/install/default/bin/qcow-stream-tool -> required by _build/default/qcow-stream-tool.install -> required by alias install File "ocaml/gencert/dune", line 9, characters 4-12: 9 | digestif ^^^^^^^^ Error: Library "digestif" not found. -> required by library "gencertlib" in _build/default/ocaml/gencert -> required by executable gencert in ocaml/gencert/dune:30 -> required by _build/default/ocaml/gencert/gencert.exe -> required by _build/install/default/lib/gencert -> required by _build/default/xapi.install -> required by alias install make[1]: Entering directory `/builddir/build/BUILD/xapi-25.28.0/_build/default/ocaml/forkexecd/helper' cc -O2 -g -Wall -Werror -MMD -MP -MF vfork_helper.o.d -c -o vfork_helper.o vfork_helper.c cc -O2 -g -Wall -Werror -MMD -MP -MF close_from.o.d -c -o close_from.o close_from.c cc -O2 -g -Wall -Werror -MMD -MP -MF syslog.o.d -c -o syslog.o syslog.c cc -O2 -g -Wall -Werror -o vfork_helper vfork_helper.o close_from.o syslog.o -pthread make[1]: Leaving directory `/builddir/build/BUILD/xapi-25.28.0/_build/default/ocaml/forkexecd/helper' File "ocaml/message-switch/switch/dune", line 3, characters 8-19: 3 | (name switch_main) ^^^^^^^^^^^ /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_init': (.text+0x4ed): undefined reference to `SSL_library_init' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x4f2): undefined reference to `SSL_load_error_strings' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x521): undefined reference to `CRYPTO_num_locks' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x565): undefined reference to `CRYPTO_num_locks' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x575): undefined reference to `CRYPTO_set_locking_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x581): undefined reference to `CRYPTO_set_id_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x58d): undefined reference to `CRYPTO_set_dynlock_create_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x599): undefined reference to `CRYPTO_set_dynlock_lock_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x5a5): undefined reference to `CRYPTO_set_dynlock_destroy_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_create_context': (.text+0x9b5): undefined reference to `SSLv23_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x9dd): undefined reference to `SSLv3_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xa76): undefined reference to `SSLv23_client_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xaa6): undefined reference to `SSLv3_client_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xab9): undefined reference to `SSLv3_server_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xae9): undefined reference to `SSLv23_server_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_digest': (.text+0x12a9): undefined reference to `EVP_MD_size' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_get_certificate': (.text+0x261e): undefined reference to `SSL_get_peer_certificate' collect2: error: ld returned 1 exit status File "caml_startup", line 1: Error: Error during linking (exit code 1) File "ocaml/vhd-tool/cli/dune", line 3, characters 14-23: 3 | (names main sparse_dd get_vhd_vsize) ^^^^^^^^^ /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_init': (.text+0x4ed): undefined reference to `SSL_library_init' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x4f2): undefined reference to `SSL_load_error_strings' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x521): undefined reference to `CRYPTO_num_locks' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x565): undefined reference to `CRYPTO_num_locks' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x575): undefined reference to `CRYPTO_set_locking_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x581): undefined reference to `CRYPTO_set_id_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x58d): undefined reference to `CRYPTO_set_dynlock_create_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x599): undefined reference to `CRYPTO_set_dynlock_lock_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x5a5): undefined reference to `CRYPTO_set_dynlock_destroy_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_create_context': (.text+0x9b5): undefined reference to `SSLv23_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x9dd): undefined reference to `SSLv3_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xa76): undefined reference to `SSLv23_client_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xaa6): undefined reference to `SSLv3_client_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xab9): undefined reference to `SSLv3_server_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xae9): undefined reference to `SSLv23_server_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_digest': (.text+0x12a9): undefined reference to `EVP_MD_size' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_get_certificate': (.text+0x261e): undefined reference to `SSL_get_peer_certificate' collect2: error: ld returned 1 exit status File "caml_startup", line 1: Error: Error during linking (exit code 1) File "ocaml/nbd/src/dune", line 2, characters 7-11: 2 | (name main) ^^^^ /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_init': (.text+0x4ed): undefined reference to `SSL_library_init' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x4f2): undefined reference to `SSL_load_error_strings' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x521): undefined reference to `CRYPTO_num_locks' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x565): undefined reference to `CRYPTO_num_locks' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x575): undefined reference to `CRYPTO_set_locking_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x581): undefined reference to `CRYPTO_set_id_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x58d): undefined reference to `CRYPTO_set_dynlock_create_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x599): undefined reference to `CRYPTO_set_dynlock_lock_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x5a5): undefined reference to `CRYPTO_set_dynlock_destroy_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_create_context': (.text+0x9b5): undefined reference to `SSLv23_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x9dd): undefined reference to `SSLv3_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xa76): undefined reference to `SSLv23_client_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xaa6): undefined reference to `SSLv3_client_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xab9): undefined reference to `SSLv3_server_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xae9): undefined reference to `SSLv23_server_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_digest': (.text+0x12a9): undefined reference to `EVP_MD_size' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_get_certificate': (.text+0x261e): undefined reference to `SSL_get_peer_certificate' collect2: error: ld returned 1 exit status File "caml_startup", line 1: Error: Error during linking (exit code 1) File "ocaml/vhd-tool/cli/dune", line 3, characters 9-13: 3 | (names main sparse_dd get_vhd_vsize) ^^^^ /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_init': (.text+0x4ed): undefined reference to `SSL_library_init' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x4f2): undefined reference to `SSL_load_error_strings' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x521): undefined reference to `CRYPTO_num_locks' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x565): undefined reference to `CRYPTO_num_locks' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x575): undefined reference to `CRYPTO_set_locking_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x581): undefined reference to `CRYPTO_set_id_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x58d): undefined reference to `CRYPTO_set_dynlock_create_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x599): undefined reference to `CRYPTO_set_dynlock_lock_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x5a5): undefined reference to `CRYPTO_set_dynlock_destroy_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_create_context': (.text+0x9b5): undefined reference to `SSLv23_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x9dd): undefined reference to `SSLv3_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xa76): undefined reference to `SSLv23_client_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xaa6): undefined reference to `SSLv3_client_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xab9): undefined reference to `SSLv3_server_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xae9): undefined reference to `SSLv23_server_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_digest': (.text+0x12a9): undefined reference to `EVP_MD_size' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_get_certificate': (.text+0x261e): undefined reference to `SSL_get_peer_certificate' collect2: error: ld returned 1 exit status File "caml_startup", line 1: Error: Error during linking (exit code 1) File "ocaml/xapi-guard/src/dune", line 2, characters 7-11: 2 | (name main) ^^^^ /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_init': (.text+0x4ed): undefined reference to `SSL_library_init' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x4f2): undefined reference to `SSL_load_error_strings' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x521): undefined reference to `CRYPTO_num_locks' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x565): undefined reference to `CRYPTO_num_locks' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x575): undefined reference to `CRYPTO_set_locking_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x581): undefined reference to `CRYPTO_set_id_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x58d): undefined reference to `CRYPTO_set_dynlock_create_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x599): undefined reference to `CRYPTO_set_dynlock_lock_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x5a5): undefined reference to `CRYPTO_set_dynlock_destroy_callback' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_create_context': (.text+0x9b5): undefined reference to `SSLv23_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0x9dd): undefined reference to `SSLv3_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xa76): undefined reference to `SSLv23_client_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xaa6): undefined reference to `SSLv3_client_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xab9): undefined reference to `SSLv3_server_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: (.text+0xae9): undefined reference to `SSLv23_server_method' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_digest': (.text+0x12a9): undefined reference to `EVP_MD_size' /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /usr/lib64/opamroot/ocaml-system/lib/ssl/libssl_stubs.a(ssl_stubs.o): in function `ocaml_ssl_get_certificate': (.text+0x261e): undefined reference to `SSL_get_peer_certificate' collect2: error: ld returned 1 exit status File "caml_startup", line 1: Error: Error during linking (exit code 1) make: *** [build] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.MmStEy (%build) Bad exit status from /var/tmp/rpm-tmp.MmStEy (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 4d7382cb730c4432b401bde90b7ea80d -D /var/lib/mock/v8.3-u-asultanov2-9007-27903/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.7xhuabvy:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xapi.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 4d7382cb730c4432b401bde90b7ea80d -D /var/lib/mock/v8.3-u-asultanov2-9007-27903/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.7xhuabvy:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xapi.spec'