Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bind-dyndb-ldap.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1722547934.256507/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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.9-9.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bind-dyndb-ldap.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1722547934.256507/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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.9-9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bind-dyndb-ldap.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1722547934.256507/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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.NUOamG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bind-dyndb-ldap-11.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bind-dyndb-ldap-11.9.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd bind-dyndb-ldap-11.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bind-dyndb-ldap-11.9-bind-9.16.17.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Modify-empty-zone-conflicts-under-exclusive-mode_rhbz#2129844.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bind-dyndb-ldap-11.9-bind-CVE-2023-50387.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.lKgoEL + umask 022 + cd /builddir/build/BUILD + cd bind-dyndb-ldap-11.9 + 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:122: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:122: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.ac:122: the top level configure.ac:145: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:145: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:145: 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: 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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + export LDFLAGS + '[' 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.guess + '[' -f /usr/lib/rpm/openEuler/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/openEuler/config.guess ./config.guess '/usr/lib/rpm/openEuler/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/openEuler/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/openEuler/config.sub ./config.sub '/usr/lib/rpm/openEuler/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/generic-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/generic-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-openEuler-linux-gnu --host=x86_64-openEuler-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 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-openEuler-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-openEuler-linux-gnu-ar... no checking for x86_64-openEuler-linux-gnu-lib... no checking for x86_64-openEuler-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for x86_64-openEuler-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-openEuler-linux-gnu checking host system type... x86_64-openEuler-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-openEuler-linux-gnu file names to x86_64-openEuler-linux-gnu format... func_convert_file_noop checking how to convert x86_64-openEuler-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-openEuler-linux-gnu-file... no checking for file... file checking for x86_64-openEuler-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-openEuler-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-openEuler-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for x86_64-openEuler-linux-gnu-strip... no checking for strip... strip checking for x86_64-openEuler-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-openEuler-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 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... 1637 checking isc_errno_toresult availability... yes checking for dns_db_setservestalettl in -ldns... yes 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 -j4 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.9/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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c bindcfg.c -fPIC -DPIC -o .libs/ldap_la-bindcfg.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c empty_zones.c -fPIC -DPIC -o .libs/ldap_la-empty_zones.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c acl.c -fPIC -DPIC -o .libs/ldap_la-acl.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c fwd_register.c -fPIC -DPIC -o .libs/ldap_la-fwd_register.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c fwd.c -fPIC -DPIC -o .libs/ldap_la-fwd.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c fs.c -fPIC -DPIC -o .libs/ldap_la-fs.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c krb5_helper.c -fPIC -DPIC -o .libs/ldap_la-krb5_helper.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c ldap_driver.c -fPIC -DPIC -o .libs/ldap_la-ldap_driver.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/src' ldap_driver.c: In function 'allrdatasets': ldap_driver.c:470:71: error: passing argument 5 of 'dns_db_allrdatasets' makes integer from pointer without a cast [-Werror=int-conversion] 470 | return dns_db_allrdatasets(ldapdb->rbtdb, node, version, now, iteratorp); | ^~~~~~~~~ | | | dns_rdatasetiter_t ** {aka struct dns_rdatasetiter **} In file included from ldap_driver.c:20: /usr/include/bind9/dns/db.h:1183:57: note: expected 'isc_stdtime_t' {aka 'unsigned int'} but argument is of type 'dns_rdatasetiter_t **' {aka 'struct dns_rdatasetiter **'} 1183 | unsigned int options, isc_stdtime_t now, | ~~~~~~~~~~~~~~^~~ ldap_driver.c:470:16: error: too few arguments to function 'dns_db_allrdatasets' 470 | return dns_db_allrdatasets(ldapdb->rbtdb, node, version, now, iteratorp); | ^~~~~~~~~~~~~~~~~~~ /usr/include/bind9/dns/db.h:1182:1: note: declared here 1182 | dns_db_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, | ^~~~~~~~~~~~~~~~~~~ ldap_driver.c: In function 'node_isempty': ldap_driver.c:513:62: error: passing argument 5 of 'dns_db_allrdatasets' makes integer from pointer without a cast [-Werror=int-conversion] 513 | result = dns_db_allrdatasets(db, node, version, now, &rds_iter); | ^~~~~~~~~ | | | dns_rdatasetiter_t ** {aka struct dns_rdatasetiter **} /usr/include/bind9/dns/db.h:1183:57: note: expected 'isc_stdtime_t' {aka 'unsigned int'} but argument is of type 'dns_rdatasetiter_t **' {aka 'struct dns_rdatasetiter **'} 1183 | unsigned int options, isc_stdtime_t now, | ~~~~~~~~~~~~~~^~~ ldap_driver.c:513:18: error: too few arguments to function 'dns_db_allrdatasets' 513 | result = dns_db_allrdatasets(db, node, version, now, &rds_iter); | ^~~~~~~~~~~~~~~~~~~ /usr/include/bind9/dns/db.h:1182:1: note: declared here 1182 | dns_db_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, | ^~~~~~~~~~~~~~~~~~~ ldap_driver.c: At top level: ldap_driver.c:932:9: error: initialization of 'isc_result_t (*)(dns_db_t *, dns_dbnode_t *, dns_dbversion_t *, unsigned int, isc_stdtime_t, dns_rdatasetiter_t **)' {aka 'unsigned int (*)(struct dns_db *, void *, void *, unsigned int, unsigned int, struct dns_rdatasetiter **)'} from incompatible pointer type 'isc_result_t (*)(dns_db_t *, dns_dbnode_t *, dns_dbversion_t *, isc_stdtime_t, dns_rdatasetiter_t **)' {aka 'unsigned int (*)(struct dns_db *, void *, void *, unsigned int, struct dns_rdatasetiter **)'} [-Werror=incompatible-pointer-types] 932 | allrdatasets, | ^~~~~~~~~~~~ ldap_driver.c:932:9: note: (near initialization for 'ldapdb_methods.allrdatasets') ldap_driver.c: In function 'allrdatasets': ldap_driver.c:471:1: error: control reaches end of non-void function [-Werror=return-type] 471 | } | ^ cc1: all warnings being treated as errors make[2]: *** [Makefile:599: ldap_la-ldap_driver.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c ldap_convert.c -fPIC -DPIC -o .libs/ldap_la-ldap_convert.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/src' make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c ldap_helper.c -fPIC -DPIC -o .libs/ldap_la-ldap_helper.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/src' ldap_helper.c: In function 'zone_sync_apex': ldap_helper.c:2008:38: error: passing argument 5 of 'dns_db_allrdatasets' makes integer from pointer without a cast [-Werror=int-conversion] 2008 | &rbt_rds_iterator); | ^~~~~~~~~~~~~~~~~ | | | dns_rdatasetiter_t ** {aka struct dns_rdatasetiter **} In file included from /usr/include/bind9/dns/catz.h:27, from /usr/include/bind9/dns/view.h:71, from ldap_helper.c:20: /usr/include/bind9/dns/db.h:1183:57: note: expected 'isc_stdtime_t' {aka 'unsigned int'} but argument is of type 'dns_rdatasetiter_t **' {aka 'struct dns_rdatasetiter **'} 1183 | unsigned int options, isc_stdtime_t now, | ~~~~~~~~~~~~~~^~~ ldap_helper.c:2007:18: error: too few arguments to function 'dns_db_allrdatasets' 2007 | result = dns_db_allrdatasets(rbtdb, node, version, 0, | ^~~~~~~~~~~~~~~~~~~ /usr/include/bind9/dns/db.h:1182:1: note: declared here 1182 | dns_db_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, | ^~~~~~~~~~~~~~~~~~~ ldap_helper.c: In function 'update_record': ldap_helper.c:3931:63: error: passing argument 5 of 'dns_db_allrdatasets' makes integer from pointer without a cast [-Werror=int-conversion] 3931 | result = dns_db_allrdatasets(rbtdb, node, version, 0, &rbt_rds_iterator); | ^~~~~~~~~~~~~~~~~ | | | dns_rdatasetiter_t ** {aka struct dns_rdatasetiter **} /usr/include/bind9/dns/db.h:1183:57: note: expected 'isc_stdtime_t' {aka 'unsigned int'} but argument is of type 'dns_rdatasetiter_t **' {aka 'struct dns_rdatasetiter **'} 1183 | unsigned int options, isc_stdtime_t now, | ~~~~~~~~~~~~~~^~~ ldap_helper.c:3931:18: error: too few arguments to function 'dns_db_allrdatasets' 3931 | result = dns_db_allrdatasets(rbtdb, node, version, 0, &rbt_rds_iterator); | ^~~~~~~~~~~~~~~~~~~ /usr/include/bind9/dns/db.h:1182:1: note: declared here 1182 | dns_db_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, | ^~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:613: ldap_la-ldap_helper.lo] Error 1 make[2]: Entering directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c ldap_entry.c -fPIC -DPIC -o .libs/ldap_la-ldap_entry.o make[2]: Leaving directory '/builddir/build/BUILD/bind-dyndb-ldap-11.9/src' make[1]: *** [Makefile:452: all-recursive] Error 1 make: *** [Makefile:363: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.lKgoEL (%build) Bad exit status from /var/tmp/rpm-tmp.lKgoEL (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bind-dyndb-ldap.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, 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 --target x86_64 --nodeps /builddir/build/SPECS/bind-dyndb-ldap.spec