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/bind-dyndb-ldap.spec'], chrootPath='/var/lib/mock/dist-oc9-build-40728-14590/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/bind-dyndb-ldap.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/bind-dyndb-ldap-11.10-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/bind-dyndb-ldap.spec'], chrootPath='/var/lib/mock/dist-oc9-build-40728-14590/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/bind-dyndb-ldap.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.wCxEkd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bind-dyndb-ldap-11.10 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/bind-dyndb-ldap-11.10.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bind-dyndb-ldap-11.10 + /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.DD57O3 + umask 022 + cd /builddir/build/BUILD + cd bind-dyndb-ldap-11.10 + 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 configure.ac:16: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:16: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:16: the top level configure.ac:31: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:31: the top level configure.ac:48: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:48: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:48: the top level configure.ac:60: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:60: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:60: the top level configure.ac:150: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:150: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.ac:150: the top level configure.ac:177: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:177: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:177: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:14: installing './compile' configure.ac:4: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' + export 'BIND9_CFLAGS=-I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL' + BIND9_CFLAGS='-I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL' + 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 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 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 stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for size_t... yes checking for memset... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for -fvisibility=hidden compiler flag... yes checking for -fno-delete-null-pointer-checks compiler flag... yes checking for -std=gnu11 compiler flag... yes checking for isc_dir_open in -lisc... yes checking for dns_name_init in -ldns... yes checking for ldap_initialize in -lldap... yes checking for krb5_cc_initialize in -lkrb5... yes checking for uuid_unparse in -luuid... yes checking libdns version... 1802 checking isc_errno_toresult availability... yes checking for dns_db_setservestalettl in -ldns... yes checking for dns_result_totext in -ldns... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating dyndb-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 doc make[2]: Nothing to be done for 'all'. Making all in src make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-log.lo `test -f 'log.c' || echo './'`log.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c log.c -fPIC -DPIC -o .libs/ldap_la-log.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-bindcfg.lo `test -f 'bindcfg.c' || echo './'`bindcfg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c bindcfg.c -fPIC -DPIC -o .libs/ldap_la-bindcfg.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-lock.lo `test -f 'lock.c' || echo './'`lock.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c lock.c -fPIC -DPIC -o .libs/ldap_la-lock.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-fwd_register.lo `test -f 'fwd_register.c' || echo './'`fwd_register.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c fwd_register.c -fPIC -DPIC -o .libs/ldap_la-fwd_register.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-rbt_helper.lo `test -f 'rbt_helper.c' || echo './'`rbt_helper.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c rbt_helper.c -fPIC -DPIC -o .libs/ldap_la-rbt_helper.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-fs.lo `test -f 'fs.c' || echo './'`fs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c fs.c -fPIC -DPIC -o .libs/ldap_la-fs.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-semaphore.lo `test -f 'semaphore.c' || echo './'`semaphore.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c semaphore.c -fPIC -DPIC -o .libs/ldap_la-semaphore.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-krb5_helper.lo `test -f 'krb5_helper.c' || echo './'`krb5_helper.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c krb5_helper.c -fPIC -DPIC -o .libs/ldap_la-krb5_helper.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-zone.lo `test -f 'zone.c' || echo './'`zone.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c zone.c -fPIC -DPIC -o .libs/ldap_la-zone.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-empty_zones.lo `test -f 'empty_zones.c' || echo './'`empty_zones.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c empty_zones.c -fPIC -DPIC -o .libs/ldap_la-empty_zones.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-str.lo `test -f 'str.c' || echo './'`str.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c str.c -fPIC -DPIC -o .libs/ldap_la-str.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-metadb.lo `test -f 'metadb.c' || echo './'`metadb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c metadb.c -fPIC -DPIC -o .libs/ldap_la-metadb.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-acl.lo `test -f 'acl.c' || echo './'`acl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c acl.c -fPIC -DPIC -o .libs/ldap_la-acl.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-mldap.lo `test -f 'mldap.c' || echo './'`mldap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c mldap.c -fPIC -DPIC -o .libs/ldap_la-mldap.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-syncptr.lo `test -f 'syncptr.c' || echo './'`syncptr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c syncptr.c -fPIC -DPIC -o .libs/ldap_la-syncptr.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-ldap_convert.lo `test -f 'ldap_convert.c' || echo './'`ldap_convert.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c ldap_convert.c -fPIC -DPIC -o .libs/ldap_la-ldap_convert.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-syncrepl.lo `test -f 'syncrepl.c' || echo './'`syncrepl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c syncrepl.c -fPIC -DPIC -o .libs/ldap_la-syncrepl.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-fwd.lo `test -f 'fwd.c' || echo './'`fwd.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c fwd.c -fPIC -DPIC -o .libs/ldap_la-fwd.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-settings.lo `test -f 'settings.c' || echo './'`settings.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c settings.c -fPIC -DPIC -o .libs/ldap_la-settings.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-zone_register.lo `test -f 'zone_register.c' || echo './'`zone_register.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c zone_register.c -fPIC -DPIC -o .libs/ldap_la-zone_register.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-ldap_entry.lo `test -f 'ldap_entry.c' || echo './'`ldap_entry.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c ldap_entry.c -fPIC -DPIC -o .libs/ldap_la-ldap_entry.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-ldap_driver.lo `test -f 'ldap_driver.c' || echo './'`ldap_driver.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c ldap_driver.c -fPIC -DPIC -o .libs/ldap_la-ldap_driver.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c -o ldap_la-ldap_helper.lo `test -f 'ldap_helper.c' || echo './'`ldap_helper.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -c ldap_helper.c -fPIC -DPIC -o .libs/ldap_la-ldap_helper.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wextra -Werror -std=gnu99 -O2 -I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL -O2 -g -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -module -avoid-version -Wl,-z,relro,-z,now,-z,noexecstack -o ldap.la -rpath /usr/lib64/bind ldap_la-acl.lo ldap_la-bindcfg.lo ldap_la-empty_zones.lo ldap_la-fwd.lo ldap_la-fwd_register.lo ldap_la-fs.lo ldap_la-krb5_helper.lo ldap_la-ldap_convert.lo ldap_la-ldap_driver.lo ldap_la-ldap_entry.lo ldap_la-ldap_helper.lo ldap_la-lock.lo ldap_la-log.lo ldap_la-metadb.lo ldap_la-mldap.lo ldap_la-rbt_helper.lo ldap_la-semaphore.lo ldap_la-settings.lo ldap_la-syncptr.lo ldap_la-syncrepl.lo ldap_la-str.lo ldap_la-zone.lo ldap_la-zone_register.lo -luuid -lkrb5 -lldap -ldns -lisc libtool: link: gcc -shared -fPIC -DPIC .libs/ldap_la-acl.o .libs/ldap_la-bindcfg.o .libs/ldap_la-empty_zones.o .libs/ldap_la-fwd.o .libs/ldap_la-fwd_register.o .libs/ldap_la-fs.o .libs/ldap_la-krb5_helper.o .libs/ldap_la-ldap_convert.o .libs/ldap_la-ldap_driver.o .libs/ldap_la-ldap_entry.o .libs/ldap_la-ldap_helper.o .libs/ldap_la-lock.o .libs/ldap_la-log.o .libs/ldap_la-metadb.o .libs/ldap_la-mldap.o .libs/ldap_la-rbt_helper.o .libs/ldap_la-semaphore.o .libs/ldap_la-settings.o .libs/ldap_la-syncptr.o .libs/ldap_la-syncrepl.o .libs/ldap_la-str.o .libs/ldap_la-zone.o .libs/ldap_la-zone_register.o -luuid -lkrb5 -lldap -ldns -lisc -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -O2 -g -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,noexecstack -Wl,-soname -Wl,ldap.so -o .libs/ldap.so make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.10/src' gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[2]: *** [Makefile:479: ldap.la] Error 1 make[1]: *** [Makefile:452: all-recursive] Error 1 make: *** [Makefile:363: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.DD57O3 (%build) Bad exit status from /var/tmp/rpm-tmp.DD57O3 (%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/bind-dyndb-ldap.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/bind-dyndb-ldap.spec