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/libblockdev.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42069-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/libblockdev.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/libblockdev-2.27-4.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/libblockdev.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42069-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/libblockdev.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.FFKxSr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libblockdev-2.27 + /usr/bin/gzip -dc /builddir/build/SOURCES/libblockdev-2.27.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libblockdev-2.27 + /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.vb51Hs + umask 022 + cd /builddir/build/BUILD + cd libblockdev-2.27 + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './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' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:16: installing './compile' configure.ac:9: installing './missing' src/lib/Makefile.am: installing './depcomp' autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' + 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 --without-bcache --without-btrfs --without-dmraid --without-vdo 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 for python... no checking for python2... no checking for python3... /usr/bin/python3 checking for python version... 3.10 checking for python platform... linux checking for GNU default python prefix... ${prefix} checking for GNU default python exec_prefix... ${exec_prefix} checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.10/site-packages checking whether to enable debugging... no checking whether make supports the include directive... yes (GNU style) 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 dependency style of gcc... none checking for x86_64-opencloudos-linux-gnu-ar... no checking for x86_64-opencloudos-linux-gnu-lib... no checking for x86_64-opencloudos-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar 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 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-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... 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 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 gobject-introspection... yes checking for python2... no checking for python3... /usr/bin/python3 checking for gtkdoc-scan... no checking for dlfcn.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/fcntl.h... yes checking for sys/ioctl.h... yes checking for linux/random.h... yes checking for glob.h... yes checking for syslog.h... yes checking for math.h... yes checking for GLIB... yes checking for GOBJECT... yes checking for GIO... yes checking for UDEV... yes checking for KMOD... yes checking for CRYPTSETUP... yes checking for NSS... yes Checking header volume_key/libvolume_key.h existence and usability...yes checking for explicit_bzero... yes checking for DEVMAPPER... yes checking for PARTED... yes checking for MOUNT... yes checking for PARTED_FS... yes checking for BLKID... yes checking for BYTESIZE... yes checking for UUID... yes checking for NDCTL... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/plugins/Makefile config.status: creating src/plugins/fs/Makefile config.status: creating src/utils/Makefile config.status: creating src/utils/blockdev-utils.pc config.status: creating src/lib/Makefile config.status: creating src/lib/plugin_apis/Makefile config.status: creating src/lib/blockdev.c config.status: creating src/lib/blockdev.pc config.status: creating src/python/Makefile config.status: creating src/python/gi/Makefile config.status: creating src/python/gi/overrides/Makefile config.status: creating include/Makefile config.status: creating include/blockdev/Makefile config.status: creating docs/Makefile config.status: creating docs/libblockdev-docs.xml config.status: creating dist/Makefile config.status: creating dist/libblockdev.spec config.status: creating scripts/Makefile config.status: creating tools/Makefile config.status: creating data/Makefile config.status: creating data/conf.d/Makefile config.status: executing depfiles commands config.status: executing libtool commands libblockdev 2.27 ==================== prefix: /usr libdir: /usr/lib64 libexecdir: /usr/libexec bindir: /usr/bin sbindir: /usr/sbin datadir: /usr/share sysconfdir: /etc localstatedir: /var docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} compiler: gcc cflags: -O2 -g -std=gnu99 cppflags: ldflags: BTRFS plugin: no Crypto plugin: yes escrow support: yes DM plugin: yes dmraid support: no FS plugin: yes KBD plugin: yes Bcache support: no Loop plugin: yes LVM plugin: yes LVM DBus plugin: yes MDRAID plugin: yes MPath plugin yes NVDIMM plugin: yes Part plugin: yes S390 plugin: no Swap plugin: yes VDO plugin (deprecated): no GObject introspection: yes Python 2 bindings: no Python 3 bindings: yes tools: yes + /usr/bin/make -O -j32 V=1 VERBOSE=1 Making all in include Making all in blockdev make[2]: Entering directory '/builddir/build/BUILD/libblockdev-2.27/include/blockdev' for header in ./../../src/plugins/*.h; do ln -sf ${header} ./; done for header in ./../../src/utils/*.h; do ln -sf ${header} ./; done for header in ./../../src/lib/*.h; do ln -sf ${header} ./; done mkdir -p fs; cd fs; for header in ./../../../src/plugins/fs/*.h; do ln -sf ${header} ./; done make[2]: Leaving directory '/builddir/build/BUILD/libblockdev-2.27/include/blockdev' make[2]: Nothing to be done for 'all-am'. Making all in src Making all in utils make[2]: Entering directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.27\" -DPACKAGE_STRING=\"libblockdev\ 2.27\" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.27\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -DWITH_BD_ESCROW=/\*\*/ -DWITH_BD_CRYPTO=/\*\*/ -DWITH_BD_DM=/\*\*/ -DWITH_BD_LOOP=/\*\*/ -DWITH_BD_LVM=/\*\*/ -DWITH_BD_LVM_DBUS=/\*\*/ -DWITH_BD_MDRAID=/\*\*/ -DWITH_BD_MPATH=/\*\*/ -DWITH_BD_SWAP=/\*\*/ -DWITH_BD_KBD=/\*\*/ -DWITH_BD_PART=/\*\*/ -DWITH_BD_FS=/\*\*/ -DWITH_BD_NVDIMM=/\*\*/ -DLIBCRYPTSETUP_2=1 -DLIBCRYPTSETUP_BITLK=1 -DLIBCRYPTSETUP_24=1 -DHAVE_EXPLICIT_BZERO=1 -DLIBMOUNT_NEW_ERR_API=1 -DLIBNDCTL_NEW_MODES=1 -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wextra -Werror -O2 -g -std=gnu99 -c -o libbd_utils_la-extra_arg.lo `test -f 'extra_arg.c' || echo './'`extra_arg.c libtool: compile: gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.27\" "-DPACKAGE_STRING=\"libblockdev 2.27\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.27\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 "-DWITH_BD_ESCROW=/**/" "-DWITH_BD_CRYPTO=/**/" "-DWITH_BD_DM=/**/" "-DWITH_BD_LOOP=/**/" "-DWITH_BD_LVM=/**/" "-DWITH_BD_LVM_DBUS=/**/" "-DWITH_BD_MDRAID=/**/" "-DWITH_BD_MPATH=/**/" "-DWITH_BD_SWAP=/**/" "-DWITH_BD_KBD=/**/" "-DWITH_BD_PART=/**/" "-DWITH_BD_FS=/**/" "-DWITH_BD_NVDIMM=/**/" -DLIBCRYPTSETUP_2=1 -DLIBCRYPTSETUP_BITLK=1 -DLIBCRYPTSETUP_24=1 -DHAVE_EXPLICIT_BZERO=1 -DLIBMOUNT_NEW_ERR_API=1 -DLIBNDCTL_NEW_MODES=1 -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wextra -Werror -O2 -g -std=gnu99 -c extra_arg.c -fPIC -DPIC -o .libs/libbd_utils_la-extra_arg.o make[2]: Leaving directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' make[2]: Entering directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.27\" -DPACKAGE_STRING=\"libblockdev\ 2.27\" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.27\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -DWITH_BD_ESCROW=/\*\*/ -DWITH_BD_CRYPTO=/\*\*/ -DWITH_BD_DM=/\*\*/ -DWITH_BD_LOOP=/\*\*/ -DWITH_BD_LVM=/\*\*/ -DWITH_BD_LVM_DBUS=/\*\*/ -DWITH_BD_MDRAID=/\*\*/ -DWITH_BD_MPATH=/\*\*/ -DWITH_BD_SWAP=/\*\*/ -DWITH_BD_KBD=/\*\*/ -DWITH_BD_PART=/\*\*/ -DWITH_BD_FS=/\*\*/ -DWITH_BD_NVDIMM=/\*\*/ -DLIBCRYPTSETUP_2=1 -DLIBCRYPTSETUP_BITLK=1 -DLIBCRYPTSETUP_24=1 -DHAVE_EXPLICIT_BZERO=1 -DLIBMOUNT_NEW_ERR_API=1 -DLIBNDCTL_NEW_MODES=1 -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wextra -Werror -O2 -g -std=gnu99 -c -o libbd_utils_la-dev_utils.lo `test -f 'dev_utils.c' || echo './'`dev_utils.c libtool: compile: gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.27\" "-DPACKAGE_STRING=\"libblockdev 2.27\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.27\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 "-DWITH_BD_ESCROW=/**/" "-DWITH_BD_CRYPTO=/**/" "-DWITH_BD_DM=/**/" "-DWITH_BD_LOOP=/**/" "-DWITH_BD_LVM=/**/" "-DWITH_BD_LVM_DBUS=/**/" "-DWITH_BD_MDRAID=/**/" "-DWITH_BD_MPATH=/**/" "-DWITH_BD_SWAP=/**/" "-DWITH_BD_KBD=/**/" "-DWITH_BD_PART=/**/" "-DWITH_BD_FS=/**/" "-DWITH_BD_NVDIMM=/**/" -DLIBCRYPTSETUP_2=1 -DLIBCRYPTSETUP_BITLK=1 -DLIBCRYPTSETUP_24=1 -DHAVE_EXPLICIT_BZERO=1 -DLIBMOUNT_NEW_ERR_API=1 -DLIBNDCTL_NEW_MODES=1 -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wextra -Werror -O2 -g -std=gnu99 -c dev_utils.c -fPIC -DPIC -o .libs/libbd_utils_la-dev_utils.o make[2]: Leaving directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' make[2]: Entering directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.27\" -DPACKAGE_STRING=\"libblockdev\ 2.27\" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.27\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -DWITH_BD_ESCROW=/\*\*/ -DWITH_BD_CRYPTO=/\*\*/ -DWITH_BD_DM=/\*\*/ -DWITH_BD_LOOP=/\*\*/ -DWITH_BD_LVM=/\*\*/ -DWITH_BD_LVM_DBUS=/\*\*/ -DWITH_BD_MDRAID=/\*\*/ -DWITH_BD_MPATH=/\*\*/ -DWITH_BD_SWAP=/\*\*/ -DWITH_BD_KBD=/\*\*/ -DWITH_BD_PART=/\*\*/ -DWITH_BD_FS=/\*\*/ -DWITH_BD_NVDIMM=/\*\*/ -DLIBCRYPTSETUP_2=1 -DLIBCRYPTSETUP_BITLK=1 -DLIBCRYPTSETUP_24=1 -DHAVE_EXPLICIT_BZERO=1 -DLIBMOUNT_NEW_ERR_API=1 -DLIBNDCTL_NEW_MODES=1 -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wextra -Werror -O2 -g -std=gnu99 -c -o libbd_utils_la-module.lo `test -f 'module.c' || echo './'`module.c libtool: compile: gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.27\" "-DPACKAGE_STRING=\"libblockdev 2.27\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.27\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 "-DWITH_BD_ESCROW=/**/" "-DWITH_BD_CRYPTO=/**/" "-DWITH_BD_DM=/**/" "-DWITH_BD_LOOP=/**/" "-DWITH_BD_LVM=/**/" "-DWITH_BD_LVM_DBUS=/**/" "-DWITH_BD_MDRAID=/**/" "-DWITH_BD_MPATH=/**/" "-DWITH_BD_SWAP=/**/" "-DWITH_BD_KBD=/**/" "-DWITH_BD_PART=/**/" "-DWITH_BD_FS=/**/" "-DWITH_BD_NVDIMM=/**/" -DLIBCRYPTSETUP_2=1 -DLIBCRYPTSETUP_BITLK=1 -DLIBCRYPTSETUP_24=1 -DHAVE_EXPLICIT_BZERO=1 -DLIBMOUNT_NEW_ERR_API=1 -DLIBNDCTL_NEW_MODES=1 -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wextra -Werror -O2 -g -std=gnu99 -c module.c -fPIC -DPIC -o .libs/libbd_utils_la-module.o make[2]: Leaving directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' make[2]: Entering directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.27\" -DPACKAGE_STRING=\"libblockdev\ 2.27\" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.27\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -DWITH_BD_ESCROW=/\*\*/ -DWITH_BD_CRYPTO=/\*\*/ -DWITH_BD_DM=/\*\*/ -DWITH_BD_LOOP=/\*\*/ -DWITH_BD_LVM=/\*\*/ -DWITH_BD_LVM_DBUS=/\*\*/ -DWITH_BD_MDRAID=/\*\*/ -DWITH_BD_MPATH=/\*\*/ -DWITH_BD_SWAP=/\*\*/ -DWITH_BD_KBD=/\*\*/ -DWITH_BD_PART=/\*\*/ -DWITH_BD_FS=/\*\*/ -DWITH_BD_NVDIMM=/\*\*/ -DLIBCRYPTSETUP_2=1 -DLIBCRYPTSETUP_BITLK=1 -DLIBCRYPTSETUP_24=1 -DHAVE_EXPLICIT_BZERO=1 -DLIBMOUNT_NEW_ERR_API=1 -DLIBNDCTL_NEW_MODES=1 -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wextra -Werror -O2 -g -std=gnu99 -c -o libbd_utils_la-dbus.lo `test -f 'dbus.c' || echo './'`dbus.c libtool: compile: gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.27\" "-DPACKAGE_STRING=\"libblockdev 2.27\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.27\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 "-DWITH_BD_ESCROW=/**/" "-DWITH_BD_CRYPTO=/**/" "-DWITH_BD_DM=/**/" "-DWITH_BD_LOOP=/**/" "-DWITH_BD_LVM=/**/" "-DWITH_BD_LVM_DBUS=/**/" "-DWITH_BD_MDRAID=/**/" "-DWITH_BD_MPATH=/**/" "-DWITH_BD_SWAP=/**/" "-DWITH_BD_KBD=/**/" "-DWITH_BD_PART=/**/" "-DWITH_BD_FS=/**/" "-DWITH_BD_NVDIMM=/**/" -DLIBCRYPTSETUP_2=1 -DLIBCRYPTSETUP_BITLK=1 -DLIBCRYPTSETUP_24=1 -DHAVE_EXPLICIT_BZERO=1 -DLIBMOUNT_NEW_ERR_API=1 -DLIBNDCTL_NEW_MODES=1 -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wextra -Werror -O2 -g -std=gnu99 -c dbus.c -fPIC -DPIC -o .libs/libbd_utils_la-dbus.o make[2]: Leaving directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' make[2]: Entering directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.27\" -DPACKAGE_STRING=\"libblockdev\ 2.27\" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.27\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -DWITH_BD_ESCROW=/\*\*/ -DWITH_BD_CRYPTO=/\*\*/ -DWITH_BD_DM=/\*\*/ -DWITH_BD_LOOP=/\*\*/ -DWITH_BD_LVM=/\*\*/ -DWITH_BD_LVM_DBUS=/\*\*/ -DWITH_BD_MDRAID=/\*\*/ -DWITH_BD_MPATH=/\*\*/ -DWITH_BD_SWAP=/\*\*/ -DWITH_BD_KBD=/\*\*/ -DWITH_BD_PART=/\*\*/ -DWITH_BD_FS=/\*\*/ -DWITH_BD_NVDIMM=/\*\*/ -DLIBCRYPTSETUP_2=1 -DLIBCRYPTSETUP_BITLK=1 -DLIBCRYPTSETUP_24=1 -DHAVE_EXPLICIT_BZERO=1 -DLIBMOUNT_NEW_ERR_API=1 -DLIBNDCTL_NEW_MODES=1 -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wextra -Werror -O2 -g -std=gnu99 -c -o libbd_utils_la-exec.lo `test -f 'exec.c' || echo './'`exec.c libtool: compile: gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.27\" "-DPACKAGE_STRING=\"libblockdev 2.27\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.27\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 "-DWITH_BD_ESCROW=/**/" "-DWITH_BD_CRYPTO=/**/" "-DWITH_BD_DM=/**/" "-DWITH_BD_LOOP=/**/" "-DWITH_BD_LVM=/**/" "-DWITH_BD_LVM_DBUS=/**/" "-DWITH_BD_MDRAID=/**/" "-DWITH_BD_MPATH=/**/" "-DWITH_BD_SWAP=/**/" "-DWITH_BD_KBD=/**/" "-DWITH_BD_PART=/**/" "-DWITH_BD_FS=/**/" "-DWITH_BD_NVDIMM=/**/" -DLIBCRYPTSETUP_2=1 -DLIBCRYPTSETUP_BITLK=1 -DLIBCRYPTSETUP_24=1 -DHAVE_EXPLICIT_BZERO=1 -DLIBMOUNT_NEW_ERR_API=1 -DLIBNDCTL_NEW_MODES=1 -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wextra -Werror -O2 -g -std=gnu99 -c exec.c -fPIC -DPIC -o .libs/libbd_utils_la-exec.o make[2]: Leaving directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' make[2]: Entering directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' /bin/sh ../../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wextra -Werror -O2 -g -std=gnu99 -version-info 3:0:1 -Wl,--no-undefined -o libbd_utils.la -rpath /usr/lib64 libbd_utils_la-exec.lo libbd_utils_la-extra_arg.lo libbd_utils_la-dev_utils.lo libbd_utils_la-module.lo libbd_utils_la-dbus.lo -lglib-2.0 -lm -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ludev -lkmod libtool: link: gcc -shared -fPIC -DPIC .libs/libbd_utils_la-exec.o .libs/libbd_utils_la-extra_arg.o .libs/libbd_utils_la-dev_utils.o .libs/libbd_utils_la-module.o .libs/libbd_utils_la-dbus.o -lm -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ludev -lkmod -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -g -Wl,--no-undefined -pthread -Wl,-soname -Wl,libbd_utils.so.2 -o .libs/libbd_utils.so.2.1.0 make[2]: Leaving directory '/builddir/build/BUILD/libblockdev-2.27/src/utils' gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[2]: *** [Makefile:505: libbd_utils.la] Error 1 make[1]: *** [Makefile:433: all-recursive] Error 1 make: *** [Makefile:511: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.vb51Hs (%build) Bad exit status from /var/tmp/rpm-tmp.vb51Hs (%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/libblockdev.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/libblockdev.spec