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-ocs23-build-34963-1724/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-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/bind-dyndb-ldap.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-34963-1724/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.yyW8qW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bind-dyndb-ldap-11.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bind-dyndb-ldap-11.10.tar.bz2 + 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.wIloBB + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd 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' + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-08-23 10:55:20.338529941 +0800 +++ ./configure 2023-08-23 10:55:21.032531574 +0800 @@ -1703,7 +1703,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-08-23 10:55:21.032531574 +0800 +++ ./configure 2023-08-23 10:55:21.048531612 +0800 @@ -7943,7 +7943,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -15245,7 +15245,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 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... 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... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking 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... ./configure: line 7949: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for 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... 1818 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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' In file included from metadb.h:10, from metadb.c:15: metadb.c: In function 'metadb_node_delete': metadb.c:221:35: error: passing argument 5 of 'dns_db_allrdatasets' makes integer from pointer without a cast [-Werror=int-conversion] 221 | &iter)); | ^~~~~ | | | dns_rdatasetiter_t ** {aka struct dns_rdatasetiter **} util.h:40:27: note: in definition of macro 'CHECK' 40 | result = (op); \ | ^~ In file included from metadb.c:10: /usr/include/bind9/dns/db.h:1162:57: note: expected 'isc_stdtime_t' {aka 'unsigned int'} but argument is of type 'dns_rdatasetiter_t **' {aka 'struct dns_rdatasetiter **'} 1162 | unsigned int options, isc_stdtime_t now, | ~~~~~~~~~~~~~~^~~ metadb.c:220:15: error: too few arguments to function 'dns_db_allrdatasets' 220 | CHECK(dns_db_allrdatasets(node->rbtdb, node->dbnode, node->version, 0, | ^~~~~~~~~~~~~~~~~~~ util.h:40:27: note: in definition of macro 'CHECK' 40 | result = (op); \ | ^~ /usr/include/bind9/dns/db.h:1161:1: note: declared here 1161 | 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:634: ldap_la-metadb.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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' In file included from syncrepl.c:12: syncrepl.c: In function 'finish': syncrepl.c:151:37: error: too many arguments for format [-Werror=format-extra-args] 151 | FATAL_ERROR(__FILE__, __LINE__, | ^~~~~~~~ /usr/include/bind9/isc/util.h:319:55: note: in definition of macro 'FATAL_ERROR' 319 | isc_error_fatal(__FILE__, __LINE__, __func__, __VA_ARGS__) | ^~~~~~~~~~~ In file included from util.h:17, from types.h:13, from ldap_helper.h:8, from syncrepl.c:15: syncrepl.c: In function 'sync_state_change': syncrepl.c:407:33: error: incompatible type for argument 4 of 'isc_error_fatal' 407 | sctx->state, new_state); | ~~~~^~~~~~~ | | | sync_state_t {aka enum sync_state} log.h:21:45: note: in definition of macro 'fatal_error' 21 | isc_error_fatal(__FILE__, __LINE__, __VA_ARGS__) | ^~~~~~~~~~~ In file included from /usr/include/bind9/isc/condition.h:20, from syncrepl.c:7: /usr/include/bind9/isc/error.h:42:50: note: expected 'const char *' but argument is of type 'sync_state_t' {aka 'enum sync_state'} 42 | isc_error_fatal(const char *, int, const char *, const char *, ...) | ^~~~~~~~~~~~ syncrepl.c: In function 'sync_state_reset': log.h:21:9: error: too few arguments to function 'isc_error_fatal' 21 | isc_error_fatal(__FILE__, __LINE__, __VA_ARGS__) | ^~~~~~~~~~~~~~~ syncrepl.c:442:17: note: in expansion of macro 'fatal_error' 442 | fatal_error("invalid attempt to reset synchronization state"); | ^~~~~~~~~~~ /usr/include/bind9/isc/error.h:42:1: note: declared here 42 | isc_error_fatal(const char *, int, const char *, const char *, ...) | ^~~~~~~~~~~~~~~ syncrepl.c: In function 'sync_barrier_wait': syncrepl.c:521:37: error: too many arguments for format [-Werror=format-extra-args] 521 | FATAL_ERROR(__FILE__, __LINE__, | ^~~~~~~~ /usr/include/bind9/isc/util.h:319:55: note: in definition of macro 'FATAL_ERROR' 319 | isc_error_fatal(__FILE__, __LINE__, __func__, __VA_ARGS__) | ^~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:676: ldap_la-syncrepl.lo] Error 1 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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' fwd.c: In function 'fwd_print_list_buff': fwd.c:201:66: error: 'dns_forwarder_t' {aka 'struct dns_forwarder'} has no member named 'dscp' 201 | fwdr_cfg->obj->value.sockaddrdscp.dscp = fwdr_int->dscp; | ^~ fwd.c: In function 'fwd_parse_str': fwd.c:284:21: error: 'dns_forwarder_t' {aka 'struct dns_forwarder'} has no member named 'dscp' 284 | fwdr->dscp = cfg_obj_getdscp(fwdr_cfg); | ^~ fwd.c:284:30: error: implicit declaration of function 'cfg_obj_getdscp'; did you mean 'cfg_obj_attach'? [-Werror=implicit-function-declaration] 284 | fwdr->dscp = cfg_obj_getdscp(fwdr_cfg); | ^~~~~~~~~~~~~~~ | cfg_obj_attach cc1: all warnings being treated as errors make[2]: *** [Makefile:564: ldap_la-fwd.lo] Error 1 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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' In file included from util.h:17, from bindcfg.h:10, from ldap_driver.c:39: ldap_driver.c: In function 'beginload': log.h:21:9: error: too few arguments to function 'isc_error_fatal' 21 | isc_error_fatal(__FILE__, __LINE__, __VA_ARGS__) | ^~~~~~~~~~~~~~~ ldap_driver.c:220:9: note: in expansion of macro 'fatal_error' 220 | fatal_error("ldapdb: method beginload() should never be called"); | ^~~~~~~~~~~ In file included from /usr/include/bind9/isc/util.h:312, from /usr/include/bind9/isc/atomic.h:22, from /usr/include/bind9/isc/refcount.h:19, from ldap_driver.c:16: /usr/include/bind9/isc/error.h:42:1: note: declared here 42 | isc_error_fatal(const char *, int, const char *, const char *, ...) | ^~~~~~~~~~~~~~~ ldap_driver.c: In function 'endload': log.h:21:9: error: too few arguments to function 'isc_error_fatal' 21 | isc_error_fatal(__FILE__, __LINE__, __VA_ARGS__) | ^~~~~~~~~~~~~~~ ldap_driver.c:237:9: note: in expansion of macro 'fatal_error' 237 | fatal_error("ldapdb: method endload() should never be called"); | ^~~~~~~~~~~ /usr/include/bind9/isc/error.h:42:1: note: declared here 42 | isc_error_fatal(const char *, int, const char *, const char *, ...) | ^~~~~~~~~~~~~~~ ldap_driver.c: In function 'dump': log.h:21:9: error: too few arguments to function 'isc_error_fatal' 21 | isc_error_fatal(__FILE__, __LINE__, __VA_ARGS__) | ^~~~~~~~~~~~~~~ ldap_driver.c:266:9: note: in expansion of macro 'fatal_error' 266 | fatal_error("ldapdb: method dump() should never be called"); | ^~~~~~~~~~~ /usr/include/bind9/isc/error.h:42:1: note: declared here 42 | isc_error_fatal(const char *, int, const char *, const char *, ...) | ^~~~~~~~~~~~~~~ ldap_driver.c: In function 'allrdatasets': ldap_driver.c:474:71: error: passing argument 5 of 'dns_db_allrdatasets' makes integer from pointer without a cast [-Werror=int-conversion] 474 | return dns_db_allrdatasets(ldapdb->rbtdb, node, version, now, iteratorp); | ^~~~~~~~~ | | | dns_rdatasetiter_t ** {aka struct dns_rdatasetiter **} In file included from ldap_driver.c:22: /usr/include/bind9/dns/db.h:1162:57: note: expected 'isc_stdtime_t' {aka 'unsigned int'} but argument is of type 'dns_rdatasetiter_t **' {aka 'struct dns_rdatasetiter **'} 1162 | unsigned int options, isc_stdtime_t now, | ~~~~~~~~~~~~~~^~~ ldap_driver.c:474:16: error: too few arguments to function 'dns_db_allrdatasets' 474 | return dns_db_allrdatasets(ldapdb->rbtdb, node, version, now, iteratorp); | ^~~~~~~~~~~~~~~~~~~ /usr/include/bind9/dns/db.h:1161:1: note: declared here 1161 | 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:517:62: error: passing argument 5 of 'dns_db_allrdatasets' makes integer from pointer without a cast [-Werror=int-conversion] 517 | result = dns_db_allrdatasets(db, node, version, now, &rds_iter); | ^~~~~~~~~ | | | dns_rdatasetiter_t ** {aka struct dns_rdatasetiter **} /usr/include/bind9/dns/db.h:1162:57: note: expected 'isc_stdtime_t' {aka 'unsigned int'} but argument is of type 'dns_rdatasetiter_t **' {aka 'struct dns_rdatasetiter **'} 1162 | unsigned int options, isc_stdtime_t now, | ~~~~~~~~~~~~~~^~~ ldap_driver.c:517:18: error: too few arguments to function 'dns_db_allrdatasets' 517 | result = dns_db_allrdatasets(db, node, version, now, &rds_iter); | ^~~~~~~~~~~~~~~~~~~ /usr/include/bind9/dns/db.h:1161:1: note: declared here 1161 | dns_db_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, | ^~~~~~~~~~~~~~~~~~~ ldap_driver.c: In function 'rpz_attach': ldap_driver.c:816:29: error: 'dns_rpz_zone_t' {aka 'struct dns_rpz_zone'} has no member named 'db_registered' 816 | rpzs->zones[rpz_num]->db_registered = true; | ^~ ldap_driver.c: At top level: ldap_driver.c:950: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 'enum isc_result (*)(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 'enum isc_result (*)(struct dns_db *, void *, void *, unsigned int, struct dns_rdatasetiter **)'} [-Werror=incompatible-pointer-types] 950 | allrdatasets, | ^~~~~~~~~~~~ ldap_driver.c:950:9: note: (near initialization for 'ldapdb_methods.allrdatasets') ldap_driver.c: In function 'allrdatasets': ldap_driver.c:475:1: error: control reaches end of non-void function [-Werror=return-type] 475 | } | ^ cc1: all warnings being treated as errors make[2]: *** [Makefile:599: ldap_la-ldap_driver.lo] Error 1 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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' In file included from /usr/include/bind9/isc/atomic.h:22, from /usr/include/bind9/isc/refcount.h:19, from /usr/include/bind9/dns/message.h:25, from /usr/include/bind9/dns/rdata.h:91, from /usr/include/bind9/dns/diff.h:34, from ldap_helper.c:11: ldap_helper.c: In function 'configure_zone_acl': ldap_helper.c:1320:37: error: too many arguments for format [-Werror=format-extra-args] 1320 | FATAL_ERROR(__FILE__, __LINE__, | ^~~~~~~~ /usr/include/bind9/isc/util.h:319:55: note: in definition of macro 'FATAL_ERROR' 319 | isc_error_fatal(__FILE__, __LINE__, __func__, __VA_ARGS__) | ^~~~~~~~~~~ ldap_helper.c: In function 'configure_zone_ssutable': ldap_helper.c:1368:37: error: too many arguments for format [-Werror=format-extra-args] 1368 | FATAL_ERROR(__FILE__, __LINE__, | ^~~~~~~~ /usr/include/bind9/isc/util.h:319:55: note: in definition of macro 'FATAL_ERROR' 319 | isc_error_fatal(__FILE__, __LINE__, __func__, __VA_ARGS__) | ^~~~~~~~~~~ ldap_helper.c: In function 'zone_sync_apex': ldap_helper.c:2009:38: error: passing argument 5 of 'dns_db_allrdatasets' makes integer from pointer without a cast [-Werror=int-conversion] 2009 | &rbt_rds_iterator); | ^~~~~~~~~~~~~~~~~ | | | dns_rdatasetiter_t ** {aka struct dns_rdatasetiter **} In file included from /usr/include/bind9/dns/catz.h:31, from /usr/include/bind9/dns/view.h:70, from ldap_helper.c:21: /usr/include/bind9/dns/db.h:1162:57: note: expected 'isc_stdtime_t' {aka 'unsigned int'} but argument is of type 'dns_rdatasetiter_t **' {aka 'struct dns_rdatasetiter **'} 1162 | unsigned int options, isc_stdtime_t now, | ~~~~~~~~~~~~~~^~~ ldap_helper.c:2008:18: error: too few arguments to function 'dns_db_allrdatasets' 2008 | result = dns_db_allrdatasets(rbtdb, node, version, 0, | ^~~~~~~~~~~~~~~~~~~ /usr/include/bind9/dns/db.h:1161:1: note: declared here 1161 | dns_db_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, | ^~~~~~~~~~~~~~~~~~~ ldap_helper.c: In function 'bdl_ldap_reconnect': ldap_helper.c:2954:34: error: too many arguments for format [-Werror=format-extra-args] 2954 | UNEXPECTED_ERROR(__FILE__, __LINE__, | ^~~~~~~~ /usr/include/bind9/isc/util.h:316:60: note: in definition of macro 'UNEXPECTED_ERROR' 316 | isc_error_unexpected(__FILE__, __LINE__, __func__, __VA_ARGS__) | ^~~~~~~~~~~ ldap_helper.c: In function 'update_zone': ldap_helper.c:3785:37: error: too many arguments for format [-Werror=format-extra-args] 3785 | FATAL_ERROR(__FILE__, __LINE__, | ^~~~~~~~ /usr/include/bind9/isc/util.h:319:55: note: in definition of macro 'FATAL_ERROR' 319 | isc_error_fatal(__FILE__, __LINE__, __func__, __VA_ARGS__) | ^~~~~~~~~~~ ldap_helper.c: In function 'update_record': ldap_helper.c:3932:63: error: passing argument 5 of 'dns_db_allrdatasets' makes integer from pointer without a cast [-Werror=int-conversion] 3932 | result = dns_db_allrdatasets(rbtdb, node, version, 0, &rbt_rds_iterator); | ^~~~~~~~~~~~~~~~~ | | | dns_rdatasetiter_t ** {aka struct dns_rdatasetiter **} /usr/include/bind9/dns/db.h:1162:57: note: expected 'isc_stdtime_t' {aka 'unsigned int'} but argument is of type 'dns_rdatasetiter_t **' {aka 'struct dns_rdatasetiter **'} 1162 | unsigned int options, isc_stdtime_t now, | ~~~~~~~~~~~~~~^~~ ldap_helper.c:3932:18: error: too few arguments to function 'dns_db_allrdatasets' 3932 | result = dns_db_allrdatasets(rbtdb, node, version, 0, &rbt_rds_iterator); | ^~~~~~~~~~~~~~~~~~~ /usr/include/bind9/dns/db.h:1161:1: note: declared here 1161 | 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.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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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' In file included from settings.c:5: settings.c: In function 'setting_get': settings.c:181:34: error: too many arguments for format [-Werror=format-extra-args] 181 | UNEXPECTED_ERROR(__FILE__, __LINE__, | ^~~~~~~~ /usr/include/bind9/isc/util.h:316:60: note: in definition of macro 'UNEXPECTED_ERROR' 316 | isc_error_unexpected(__FILE__, __LINE__, __func__, __VA_ARGS__) | ^~~~~~~~~~~ settings.c: In function 'set_value': settings.c:281:34: error: too many arguments for format [-Werror=format-extra-args] 281 | UNEXPECTED_ERROR(__FILE__, __LINE__, | ^~~~~~~~ /usr/include/bind9/isc/util.h:316:60: note: in definition of macro 'UNEXPECTED_ERROR' 316 | isc_error_unexpected(__FILE__, __LINE__, __func__, __VA_ARGS__) | ^~~~~~~~~~~ settings.c:307:34: error: too many arguments for format [-Werror=format-extra-args] 307 | UNEXPECTED_ERROR(__FILE__, __LINE__, | ^~~~~~~~ /usr/include/bind9/isc/util.h:316:60: note: in definition of macro 'UNEXPECTED_ERROR' 316 | isc_error_unexpected(__FILE__, __LINE__, __func__, __VA_ARGS__) | ^~~~~~~~~~~ settings.c: In function 'setting_unset': settings.c:392:34: error: too many arguments for format [-Werror=format-extra-args] 392 | UNEXPECTED_ERROR(__FILE__, __LINE__, | ^~~~~~~~ /usr/include/bind9/isc/util.h:316:60: note: in definition of macro 'UNEXPECTED_ERROR' 316 | isc_error_unexpected(__FILE__, __LINE__, __func__, __VA_ARGS__) | ^~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:662: ldap_la-settings.lo] Error 1 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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[1]: *** [Makefile:452: all-recursive] Error 1 make: *** [Makefile:363: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.wIloBB (%build) Bad exit status from /var/tmp/rpm-tmp.wIloBB (%build) 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