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/libnbd.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-63814-2784/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/libnbd.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/libnbd-1.17.3-2.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/libnbd.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-63814-2784/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/libnbd.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.a2GDyP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libnbd-1.17.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libnbd-1.17.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libnbd-1.17.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-generator-Handle-.-configure-disable-rust.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.whdF0h + 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 libnbd-1.17.3 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-08-04 21:53:32.000000000 +0800 +++ ./configure 2023-09-09 03:57:42.353348982 +0800 @@ -1902,7 +1902,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-09-09 03:57:42.353348982 +0800 +++ ./configure 2023-09-09 03:57:42.374349031 +0800 @@ -7870,7 +7870,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -24414,7 +24414,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --with-tls-priority=@LIBNBD,SYSTEM PYTHON=/usr/bin/python3 --enable-python --enable-fuse --disable-golang --disable-rust checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert x86_64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7876: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for x86_64-opencloudos-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... gcc -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking whether byte ordering is bigendian... no checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking if the C++ compiler really really works... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether __builtin_add_overflow is declared... yes checking whether __builtin_mul_overflow is declared... yes checking if __auto_type is available in this compiler... yes checking size of long... 8 checking for byteswap.h... yes checking for endian.h... yes checking for stdatomic.h... yes checking for sys/endian.h... no checking for linux/vm_sockets.h... yes checking for sys/vsock.h... no checking for struct sockaddr_vm... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for prctl... yes checking for strerrordesc_np... yes checking for valloc... yes checking whether sys_errlist is declared... no checking for dlopen in -ldl... yes checking for dlfcn.h... (cached) yes checking if this is glibc >= 2.34... yes checking for x86_64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gnutls >= 3.3.0... yes gnutls version is 3.8.0 checking for default TLS session priority string... @LIBNBD,SYSTEM checking for gnutls/socket.h... yes checking for gnutls_session_set_verify_cert... yes checking for gnutls_transport_is_ktls_enabled... yes checking for certtool... certtool checking for psktool... psktool checking for libxml-2.0... yes libxml2 version is 2.10.4 checking for nbdkit... no checking for nbd-server... no checking for qemu-nbd... no checking for qemu-storage-daemon... no checking for glib-2.0... yes glib2 version is 2.77.1 checking for libev... no checking for ev.h... no configure: WARNING: ev.h not found, some examples will not be compiled checking for fuse3... yes fuse3 version is 3.16.1 checking for ublksrv... no configure: WARNING: libublksrv (ublk server) library and headers are missing, so optional nbdublk program won't be built checking for perl... perl checking if we have perl Pod::Man and Pod::Simple... yes checking for bash-completion >= 2.0... yes checking for bash-completions directory... /usr/share/bash-completion/completions checking for x86_64-opencloudos-linux-gnu-ocamlc... no checking for ocamlc... ocamlc OCaml version is 5.0.1+dev0-2022-12-15 OCaml library path is /usr/lib64/ocaml checking for x86_64-opencloudos-linux-gnu-ocamlopt... no checking for ocamlopt... ocamlopt checking for x86_64-opencloudos-linux-gnu-ocamlc.opt... no checking for ocamlc.opt... ocamlc.opt checking for x86_64-opencloudos-linux-gnu-ocamlopt.opt... no checking for ocamlopt.opt... ocamlopt.opt checking for x86_64-opencloudos-linux-gnu-ocaml... no checking for ocaml... ocaml checking for x86_64-opencloudos-linux-gnu-ocamldep... no checking for ocamldep... ocamldep checking for x86_64-opencloudos-linux-gnu-ocamlmktop... no checking for ocamlmktop... ocamlmktop checking for x86_64-opencloudos-linux-gnu-ocamlmklib... no checking for ocamlmklib... ocamlmklib checking for x86_64-opencloudos-linux-gnu-ocamldoc... no checking for ocamldoc... ocamldoc checking for x86_64-opencloudos-linux-gnu-ocamlbuild... no checking for ocamlbuild... no checking for x86_64-opencloudos-linux-gnu-ocamlfind... no checking for ocamlfind... ocamlfind checking for caml_alloc_custom_mem... yes checking for caml_alloc_initialized_string... yes checking for caml_unix_get_sockaddr... yes checking for python3... /usr/bin/python3 checking Python version... 3.10 checking for python-"3.10"... yes checking Python prefix... /usr checking for Python site-packages path... /usr/lib64/python3.10/site-packages checking for Python extension suffix (PEP-3149)... .cpython-310-x86_64-linux-gnu.so checking for how to mark DSO non-deletable at runtime... -Wl,-z -Wl,nodelete checking for how to set DSO symbol versions... -Wl,--version-script=./libnbd.syms checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating podwrapper.pl config.status: creating python/run-python-tests config.status: creating run config.status: creating rust/run-tests.sh config.status: creating sh/nbdsh config.status: creating Makefile config.status: creating bash-completion/Makefile config.status: creating common/include/Makefile config.status: creating common/utils/Makefile config.status: creating copy/Makefile config.status: creating docs/Makefile config.status: creating dump/Makefile config.status: creating examples/Makefile config.status: creating fuse/Makefile config.status: creating fuzzing/Makefile config.status: creating generator/Makefile config.status: creating generator/config.ml config.status: creating golang/Makefile config.status: creating golang/examples/Makefile config.status: creating include/Makefile config.status: creating info/Makefile config.status: creating interop/Makefile config.status: creating interop/nbd-server-tls.conf config.status: creating lib/Makefile config.status: creating lib/libnbd.pc config.status: creating lib/local/libnbd.pc config.status: creating ocaml/Makefile config.status: creating ocaml/META config.status: creating ocaml/examples/Makefile config.status: creating ocaml/tests/Makefile config.status: creating python/Makefile config.status: creating rust/Makefile config.status: creating sh/Makefile config.status: creating tests/Makefile config.status: creating tests/functions.sh config.status: creating ublk/Makefile config.status: creating valgrind/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ---------------------------------------------------------------------- Thank you for downloading libnbd 1.17.3 This is how we have configured the optional components for you today: Optional library features: TLS support ............................ yes NBD URI support ........................ yes AF_VSOCK support ....................... yes FUSE support ........................... yes ublk support ........................... no Manual pages ........................... yes Bash tab completion .................... yes Language bindings: Go ..................................... no OCaml .................................. yes Python ................................. yes Rust ................................... no Server interoperability testing: qemu-nbd ............................... no qemu-storage-daemon .................... no nbdkit ................................. no nbd-server ............................. no Examples: glib example ........................... yes libev example .......................... no If any optional component is configured ‘no’ when you expected ‘yes’ then you should check the preceding messages and README. Please report bugs back to the mailing list: http://www.redhat.com/mailman/listinfo/libguestfs Next you should type 'make' to build the package, then 'make check' to run the tests. + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in generator make[2]: Nothing to be done for 'all'. Making all in include /usr/bin/make -C ../generator stamp-generator make[3]: Entering directory '/builddir/build/BUILD/libnbd-1.17.3/generator' ocamlc.opt -g -annot -safe-string -warn-error +C+D+E+F+L+M+P+S+U+V+Y+Z+X+52-3 -I . -I . \ -I +str str.cma -I +unix unix.cma config.mli config.ml utils.mli utils.ml state_machine.mli state_machine.ml API.mli API.ml state_machine_generator.mli state_machine_generator.ml C.mli C.ml Python.mli Python.ml OCaml.mli OCaml.ml GoLang.mli GoLang.ml RustSys.mli RustSys.ml Rust.mli Rust.ml generator.ml -o generator make[3]: Leaving directory '/builddir/build/BUILD/libnbd-1.17.3/generator' make[3]: Entering directory '/builddir/build/BUILD/libnbd-1.17.3/generator' rm -f stamp-generator cd .. && \ OCAMLRUNPARAM=b /builddir/build/BUILD/libnbd-1.17.3/generator/generator Regenerating the cache, this could take a little while ... make[3]: Leaving directory '/builddir/build/BUILD/libnbd-1.17.3/generator' Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec.pm line 21. Compilation failed in require at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. Compilation failed in require at /usr/bin/pod2text line 18. BEGIN failed--compilation aborted at /usr/bin/pod2text line 18. Fatal error: exception Failure("pod2text: process exited with non-zero status (2)") Raised at Stdlib.failwith in file "stdlib.ml", line 29, characters 17-33 Called from Utils.pod2text in file "utils.ml", line 518, characters 8-72 Called from Python.generate_python_nbd_py.(fun) in file "Python.ml", line 916, characters 21-38 Called from Stdlib__List.iter in file "list.ml", line 110, characters 12-15 Called from Python.generate_python_nbd_py in file "Python.ml", line 873, characters 2-1862 Called from Utils.output_to in file "utils.ml", line 430, characters 2-6 Called from Generator in file "generator.ml", line 54, characters 2-57 make[3]: *** [Makefile:663: stamp-generator] Error 2 make[2]: *** [Makefile:720: ../generator/stamp-generator] Error 2 make[1]: *** [Makefile:558: all-recursive] Error 1 make: *** [Makefile:483: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.whdF0h (%build) Bad exit status from /var/tmp/rpm-tmp.whdF0h (%build) RPM build errors: 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/libnbd.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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/libnbd.spec