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/libstoragemgmt.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42600-14591/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=991gid=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/libstoragemgmt.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/libstoragemgmt-1.9.6-3.oc9.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/libstoragemgmt.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42600-14591/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=991gid=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/libstoragemgmt.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.V3wUXh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libstoragemgmt-1.9.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/libstoragemgmt-1.9.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libstoragemgmt-1.9.6 + /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.uori5s + umask 022 + cd /builddir/build/BUILD + cd libstoragemgmt-1.9.6 + ./autogen.sh libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:70: warning: 'AM_PROG_CC_STDC': this macro is obsolete. configure.ac:70: You should simply use the 'AC_PROG_CC' macro instead. configure.ac:70: Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', configure.ac:70: but upon 'ac_cv_prog_cc_stdc'. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1131: AM_PROG_CC_STDC is expanded from... configure.ac:70: the top level configure.ac:72: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.ac:72: You should run autoupdate. m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from... configure.ac:72: the top level configure.ac:74: warning: The macro `AM_PROG_LD' is obsolete. configure.ac:74: You should run autoupdate. m4/libtool.m4:3352: AM_PROG_LD is expanded from... configure.ac:74: the top level configure.ac:122: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:122: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:122: the top level configure.ac:216: warning: The macro `AC_PYTHON_MODULE' is obsolete. configure.ac:216: You should run autoupdate. m4/ax_python_module.m4:28: AC_PYTHON_MODULE is expanded from... configure.ac:216: the top level configure.ac:219: warning: The macro `AC_PYTHON_MODULE' is obsolete. configure.ac:219: You should run autoupdate. m4/ax_python_module.m4:28: AC_PYTHON_MODULE is expanded from... configure.ac:219: the top level configure.ac:259: warning: The macro `AC_PYTHON_MODULE' is obsolete. configure.ac:259: You should run autoupdate. m4/ax_python_module.m4:28: AC_PYTHON_MODULE is expanded from... configure.ac:259: the top level configure.ac:262: warning: The macro `AC_PYTHON_MODULE' is obsolete. configure.ac:262: You should run autoupdate. m4/ax_python_module.m4:28: AC_PYTHON_MODULE is expanded from... configure.ac:262: the top level configure.ac:263: warning: The macro `AC_PYTHON_MODULE' is obsolete. configure.ac:263: You should run autoupdate. m4/ax_python_module.m4:28: AC_PYTHON_MODULE is expanded from... configure.ac:263: the top level configure.ac:63: installing 'build-aux/compile' configure.ac:19: installing 'build-aux/config.guess' configure.ac:19: installing 'build-aux/config.sub' configure.ac:13: installing 'build-aux/install-sh' configure.ac:13: installing 'build-aux/missing' parallel-tests: installing 'build-aux/test-driver' c_binding/Makefile.am: installing 'build-aux/depcomp' plugin/arcconf_plugin/Makefile.am:4: installing 'build-aux/py-compile' + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + ./configure --host=x86_64-opencloudos-linux-gnu --build=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 --with-python3 --disable-static configure: loading site script /usr/share/config.site 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 nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) 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 build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking for x86_64-opencloudos-linux-gnu-gcc... no checking for 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for x86_64-opencloudos-linux-gnu-g++... no checking for x86_64-opencloudos-linux-gnu-c++... no checking for x86_64-opencloudos-linux-gnu-gpp... no checking for x86_64-opencloudos-linux-gnu-aCC... no checking for x86_64-opencloudos-linux-gnu-CC... no checking for x86_64-opencloudos-linux-gnu-cxx... no checking for x86_64-opencloudos-linux-gnu-cc++... no checking for x86_64-opencloudos-linux-gnu-cl.exe... no checking for x86_64-opencloudos-linux-gnu-FCC... no checking for x86_64-opencloudos-linux-gnu-KCC... no checking for x86_64-opencloudos-linux-gnu-RCC... no checking for x86_64-opencloudos-linux-gnu-xlC_r... no checking for x86_64-opencloudos-linux-gnu-xlC... no checking for x86_64-opencloudos-linux-gnu-clang++... no checking for g++... g++ 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 for gawk... (cached) gawk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... gcc -E checking for x86_64-opencloudos-linux-gnu-gcc... 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 dependency style of gcc... (cached) none 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 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-file... no checking for file... file 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... 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 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 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 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 for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/socket.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for linux/nvme_ioctl.h... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for int32_t... yes checking for int64_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for error_at_line... yes checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking for getpass... yes checking for memset... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strtol... yes checking for strtoul... yes checking for perl... /usr/bin/perl checking for SQLITE3... yes checking for LIBGLIB... yes checking for LIBCHECK... yes checking for chrpath... /usr/bin/chrpath checking for valgrind... /usr/bin/valgrind checking for wc... /usr/bin/wc checking for ps... /usr/bin/ps checking for LIBUDEV... yes checking for a Python interpreter with version >= 3... python3 checking for python3... /usr/bin/python3 checking for python3 version... 3.10 checking for python3 platform... linux checking for GNU default python3 prefix... ${prefix} checking for GNU default python3 exec_prefix... ${exec_prefix} checking for python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages checking for python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.10/site-packages checking for python3... (cached) /usr/bin/python3 checking whether /usr/bin/python3 version is >= 3... yes checking for /usr/bin/python3 version... (cached) 3.10 checking for /usr/bin/python3 platform... (cached) linux checking for GNU default /usr/bin/python3 prefix... ${prefix} checking for GNU default /usr/bin/python3 exec_prefix... ${exec_prefix} checking for /usr/bin/python3 script directory (pythondir)... (cached) ${PYTHON_PREFIX}/lib/python3.10/site-packages checking for /usr/bin/python3 extension module directory (pyexecdir)... (cached) ${PYTHON_EXEC_PREFIX}/lib64/python3.10/site-packages checking python3 module: pywbem... yes checking python3 module: six... yes checking for PYTHON... yes configure: PYTHON_CFLAGS configure: -I/usr/include/python3.10 checking for LIBCONFIG... yes checking for x86_64-opencloudos-linux-gnu-pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libstoragemgmt.pc config.status: creating Makefile config.status: creating c_binding/Makefile config.status: creating c_binding/include/Makefile config.status: creating c_binding/include/libstoragemgmt/Makefile config.status: creating c_binding/include/libstoragemgmt/libstoragemgmt_version.h config.status: creating python_binding/Makefile config.status: creating python_binding/lsm/version.py config.status: creating plugin/Makefile config.status: creating plugin/simc/Makefile config.status: creating plugin/megaraid_plugin/Makefile config.status: creating plugin/hpsa_plugin/Makefile config.status: creating plugin/arcconf_plugin/Makefile config.status: creating plugin/nfs_plugin/Makefile config.status: creating plugin/local_plugin/Makefile config.status: creating plugin/smispy_plugin/Makefile config.status: creating plugin/targetd_plugin/Makefile config.status: creating plugin/sim_plugin/Makefile config.status: creating daemon/Makefile config.status: creating config/Makefile config.status: creating doc/Makefile config.status: creating doc/man/lsmcli.1 config.status: creating doc/man/lsmd.1 config.status: creating doc/man/sim_lsmplugin.1 config.status: creating doc/man/simc_lsmplugin.1 config.status: creating doc/man/smispy_lsmplugin.1 config.status: creating doc/man/targetd_lsmplugin.1 config.status: creating doc/man/nfs_lsmplugin.1 config.status: creating doc/man/lsmd.conf.5 config.status: creating doc/man/arcconf_lsmplugin.1 config.status: creating doc/man/megaraid_lsmplugin.1 config.status: creating doc/man/hpsa_lsmplugin.1 config.status: creating doc/man/local_lsmplugin.1 config.status: creating doc/man/libstoragemgmt.h.3 config.status: creating tools/Makefile config.status: creating tools/udev/Makefile config.status: creating tools/lsmcli/Makefile config.status: creating tools/utility/Makefile config.status: creating tools/bash_completion/Makefile config.status: creating packaging/Makefile config.status: creating packaging/daemon/Makefile config.status: creating packaging/libstoragemgmt.spec config.status: creating doc/man/Makefile config.status: creating test/Makefile config.status: creating test/runtests.sh config.status: creating plugin/sim_plugin/sim_lsmplugin config.status: creating plugin/megaraid_plugin/megaraid_lsmplugin config.status: creating plugin/hpsa_plugin/hpsa_lsmplugin config.status: creating plugin/arcconf_plugin/arcconf_lsmplugin config.status: creating plugin/targetd_plugin/targetd_lsmplugin config.status: creating plugin/smispy_plugin/smispy_lsmplugin config.status: creating plugin/nfs_plugin/nfs_lsmplugin config.status: creating plugin/local_plugin/local_lsmplugin config.status: creating tools/lsmcli/lsmcli config.status: creating test/plugin_test.py config.status: creating test/cmdtest.py config.status: creating tools/basic_check/local_check.py config.status: creating tools/use_cases/find_unused_lun.py config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in c_binding Making all in include Making all in libstoragemgmt make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c -o libata.lo libata.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c libata.c -fPIC -DPIC -o .libs/libata.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c -o libfc.lo libfc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c libfc.c -fPIC -DPIC -o .libs/libfc.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c -o libnvme.lo libnvme.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c libnvme.c -fPIC -DPIC -o .libs/libnvme.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c -o libsas.lo libsas.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c libsas.c -fPIC -DPIC -o .libs/libsas.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c -o libiscsi.lo libiscsi.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c libiscsi.c -fPIC -DPIC -o .libs/libiscsi.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c -o utils.lo utils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c utils.c -fPIC -DPIC -o .libs/utils.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c -o libses.lo libses.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c libses.c -fPIC -DPIC -o .libs/libses.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c -o libsg.lo libsg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c libsg.c -fPIC -DPIC -o .libs/libsg.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c -o lsm_local_disk.lo lsm_local_disk.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -c lsm_local_disk.c -fPIC -DPIC -o .libs/lsm_local_disk.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -std=c++11 -c -o lsm_datatypes.lo lsm_datatypes.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -std=c++11 -c lsm_datatypes.cpp -fPIC -DPIC -o .libs/lsm_datatypes.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -std=c++11 -c -o lsm_ipc.lo lsm_ipc.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -std=c++11 -c lsm_ipc.cpp -fPIC -DPIC -o .libs/lsm_ipc.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -std=c++11 -c -o lsm_convert.lo lsm_convert.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -std=c++11 -c lsm_convert.cpp -fPIC -DPIC -o .libs/lsm_convert.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -std=c++11 -c -o lsm_mgmt.lo lsm_mgmt.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -std=c++11 -c lsm_mgmt.cpp -fPIC -DPIC -o .libs/lsm_mgmt.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -std=c++11 -c -o lsm_plugin_ipc.lo lsm_plugin_ipc.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../c_binding/include -I../c_binding/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Werror -Wextra -O2 -g -std=c++11 -c lsm_plugin_ipc.cpp -fPIC -DPIC -o .libs/lsm_plugin_ipc.o make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' make[3]: Entering directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -std=c++11 -version-info 10:6:9 -o libstoragemgmt.la -rpath /usr/lib64 lsm_mgmt.lo lsm_datatypes.lo lsm_convert.lo lsm_ipc.lo lsm_plugin_ipc.lo utils.lo libsg.lo lsm_local_disk.lo libses.lo libata.lo libsas.lo libfc.lo libiscsi.lo libnvme.lo -lglib-2.0 -ludev libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-TencentOS-linux/12/../../../../lib64/crti.o /usr/lib/gcc/x86_64-TencentOS-linux/12/crtbeginS.o .libs/lsm_mgmt.o .libs/lsm_datatypes.o .libs/lsm_convert.o .libs/lsm_ipc.o .libs/lsm_plugin_ipc.o .libs/utils.o .libs/libsg.o .libs/lsm_local_disk.o .libs/libses.o .libs/libata.o .libs/libsas.o .libs/libfc.o .libs/libiscsi.o .libs/libnvme.o -lglib-2.0 -ludev -L/usr/lib/gcc/x86_64-TencentOS-linux/12 -L/usr/lib/gcc/x86_64-TencentOS-linux/12/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-TencentOS-linux/12/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/x86_64-TencentOS-linux/12/crtendS.o /usr/lib/gcc/x86_64-TencentOS-linux/12/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -g -Wl,-soname -Wl,libstoragemgmt.so.1 -o .libs/libstoragemgmt.so.1.9.6 make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.9.6/c_binding' g++: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[3]: *** [Makefile:536: libstoragemgmt.la] Error 1 make[2]: *** [Makefile:626: all-recursive] Error 1 make[1]: *** [Makefile:714: all-recursive] Error 1 make: *** [Makefile:616: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.uori5s (%build) Bad exit status from /var/tmp/rpm-tmp.uori5s (%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/libstoragemgmt.spec\n', 1)] 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 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/libstoragemgmt.spec