Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mydns.spec'], chrootPath='/var/lib/mock/f33-build-141247-42559/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mydns.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/mydns-1.2.8.32-6.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mydns.spec'], chrootPath='/var/lib/mock/f33-build-141247-42559/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mydns.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7zQ93S + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mydns-1.2.8.32 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/mydns-1.2.8.32.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mydns-1.2.8.32 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/mydns_user.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/mydns-mariadb102.patch + install -Dp -m 644 /builddir/build/SOURCES/HOWTO ./HOWTO + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GhZCQR + umask 022 + cd /builddir/build/BUILD + cd mydns-1.2.8.32 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 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/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --without-pgsql --with-mysql --with-mysql-lib=/usr/lib64/mysql --with-mysql-include=/usr/include/mysql --with-zlib=/usr/lib64 --enable-status --enable-alias checking for riscv64-redhat-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... none checking for gawk... (cached) gawk checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking whether ln -s works... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-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 riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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... no 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) 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... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for riscv64-redhat-linux-gnu-ranlib... ranlib checking for strerror in -lcposix... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... no checking for inttypes.h... yes checking for stdint.h... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getc_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for __fsetlocking... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... no checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for inttypes.h... (cached) yes checking for string.h... (cached) yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking stdio_ext.h usability... yes checking stdio_ext.h presence... yes checking for stdio_ext.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking for int32_t... yes checking for pid_t... yes checking for ssize_t... yes checking for uid_t in sys/types.h... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for off_t... (cached) yes checking for uchar uint uint8_t uint16_t uint32_t... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for unistd.h... (cached) yes checking for working chown... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working strcoll... yes checking for memset... yes checking for getpwuid... yes checking for shutdown... yes checking for inet_pton... yes checking for strsep... yes checking for strndup... yes checking for strdup... (cached) yes checking for strncmp... yes checking for select... yes checking for poll... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for alarm... yes checking for gethostbyname... yes checking for gethostname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memchr... yes checking for memmove... yes checking for mkdir... yes checking for nl_langinfo... yes checking for socket... yes checking for strchr... yes checking for strcspn... yes checking for strerror... yes checking for strncasecmp... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for inet_ntop... yes checking for socket in -lsocket... no checking for inet_addr in -lnsl... no checking for floor in -lm... yes checking whether strcasecmp is declared... yes checking whether strcoll is declared... yes checking whether strerror is declared... yes checking whether strncasecmp is declared... yes checking whether strsep is declared... yes checking whether strndup is declared... yes checking whether strdup is declared... yes checking whether strncmp is declared... yes checking whether poll is declared... no checking whether select is declared... yes checking whether IPv6 is supported... yes checking for sa_len in struct sockaddr... no checking whether to enable alias patch... yes checking whether to support MySQL... yes checking for /usr/lib64/mysql/libmysqlclient_r.so... no checking for /usr/lib64/mysql/libmysqlclient.so... no checking for /usr/lib64/mysql/libmysqlclient.a... no checking for /usr/local/mysql/lib/libmysqlclient_r.so... no checking for /usr/local/mysql/lib/libmysqlclient.so... no checking for /usr/local/mysql/lib/libmysqlclient.a... no checking for /usr/local/lib/mysql/libmysqlclient_r.so... no checking for /usr/local/lib/mysql/libmysqlclient.so... no checking for /usr/local/lib/mysql/libmysqlclient.a... no checking for /usr/local/lib/libmysqlclient_r.so... no checking for /usr/local/lib/libmysqlclient.so... no checking for /usr/local/lib/libmysqlclient.a... no checking for /usr/lib/mysql/libmysqlclient_r.so... no checking for /usr/lib/mysql/libmysqlclient.so... no checking for /usr/lib/mysql/libmysqlclient.a... no checking for /usr/lib/libmysqlclient_r.so... no checking for /usr/lib/libmysqlclient.so... no checking for /usr/lib/libmysqlclient.a... no checking for /lib/libmysqlclient_r.so... no checking for /lib/libmysqlclient.so... no checking for /lib/libmysqlclient.a... no checking for /usr/local/mysql/lib64/libmysqlclient_r.so... no checking for /usr/local/mysql/lib64/libmysqlclient.so... no checking for /usr/local/mysql/lib64/libmysqlclient.a... no checking for /usr/local/lib64/mysql/libmysqlclient_r.so... no checking for /usr/local/lib64/mysql/libmysqlclient.so... no checking for /usr/local/lib64/mysql/libmysqlclient.a... no checking for /usr/local/lib64/libmysqlclient_r.so... no checking for /usr/local/lib64/libmysqlclient.so... no checking for /usr/local/lib64/libmysqlclient.a... no checking for /usr/lib64/mysql/libmysqlclient_r.so... (cached) no checking for /usr/lib64/mysql/libmysqlclient.so... (cached) no checking for /usr/lib64/mysql/libmysqlclient.a... (cached) no checking for /usr/lib64/libmysqlclient_r.so... yes checking for /usr/lib64/libz.so... yes checking for deflate in -lz... yes checking for /usr/include/mysql/mysql.h... yes checking whether to support PostgreSQL... no checking whether to compile with OpenSSL support... no checking for default config file location... /etc/mydns.conf checking whether to build static binary... no checking for MySQL support... yes checking for PostgreSQL support... no checking which database to use... MySQL configure: ### ### If you have problems compiling with MySQL, specifically ### a "libz" linker error, please read README.mysql for ### more information. ### checking whether to enable profiling... no checking whether to enable debugging... no checking whether gcc accepts -finline-functions... yes checking whether gcc accepts -funsigned-char... yes checking CFLAGS... -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char checking whether to compile with Valgrind-friendly flags... no checking whether to compile with strict warning flags... no checking whether to enable alternate column names... no checking whether to enable remote server status... yes checking whether to disable date/time in verbose output... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating contrib/Makefile config.status: creating intl/Makefile config.status: WARNING: 'intl/Makefile.in' seems to ignore the --datarootdir setting config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating m4/Makefile config.status: creating Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating src/mydns/Makefile config.status: creating src/util/Makefile config.status: creating pkg/Makefile config.status: creating doc/Makefile config.status: creating doc/mydns.8 config.status: creating doc/mydnscheck.8 config.status: creating doc/mydns.conf.5 config.status: creating doc/mydns-conf.8 config.status: creating doc/mydnsexport.8 config.status: creating doc/mydnsimport.8 config.status: creating doc/mydnsptrconvert.8 config.status: creating pkg/mydns-mysql.spec config.status: creating pkg/mydns-postgres.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile ### ### MyDNS 1.2.8.32 configured. Using MySQL database. ### ### Type "make" to build, then "make install" to install. ### + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/mydns-1.2.8.32' Making all in intl make[2]: Entering directory '/builddir/build/BUILD/mydns-1.2.8.32/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/mydns-1.2.8.32/intl' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/mydns-1.2.8.32/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o alloca.o alloca.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o cidr.o cidr.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o conf.o conf.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o error.o error.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o getopt.o getopt.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o getopt1.o getopt1.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o getoptstr.o getoptstr.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o inet_pton.o inet_pton.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o inet_ntop.o inet_ntop.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o ip.o ip.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o memoryman.o memoryman.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o passinput.o passinput.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o string.o string.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o strsep.o strsep.c memoryman.c:20:1: warning: '__mydns_arenaname' defined but not used [-Wunused-function] 20 | __mydns_arenaname(arena_t arena) { | ^~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o strsep_quotes.o strsep_quotes.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o wildcard.o wildcard.c rm -f libmydnsutil.a ar cru libmydnsutil.a alloca.o cidr.o conf.o error.o getopt.o getopt1.o getoptstr.o inet_pton.o inet_ntop.o ip.o memoryman.o passinput.o string.o strsep.o strsep_quotes.o wildcard.o ranlib libmydnsutil.a make[2]: Leaving directory '/builddir/build/BUILD/mydns-1.2.8.32/lib' Making all in src make[2]: Entering directory '/builddir/build/BUILD/mydns-1.2.8.32/src' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/mydns-1.2.8.32/src/lib' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o conf.o conf.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o db.o db.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o ip.o ip.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o rr.o rr.c rr.c: In function 'mydns_rr_columns': rr.c:757:10: warning: variable 'columnslen' set but not used [-Wunused-but-set-variable] 757 | size_t columnslen = 0; | ^~~~~~~~~~ rr.c: In function 'mydns_rr_prepare_query': rr.c:771:10: warning: variable 'querylen' set but not used [-Wunused-but-set-variable] 771 | size_t querylen; | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o soa.o soa.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o sql.o sql.c In file included from /usr/include/string.h:495, from ../../lib/mydnsutil.h:83, from mydns.h:26, from rr.c:21: In function 'strncpy', inlined from '__mydns_rr_append' at rr.c:356:16: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rr.c: In function '__mydns_rr_append': rr.c:348:15: note: length computed here 348 | int s1len = strlen(s1); | ^~~~~~~~~~ In file included from /usr/include/string.h:495, from ../../lib/mydnsutil.h:83, from mydns.h:26, from rr.c:21: In function 'strncpy', inlined from '__mydns_rr_append' at rr.c:357:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rr.c: In function '__mydns_rr_append': rr.c:349:15: note: length computed here 349 | int s2len = strlen(s2); | ^~~~~~~~~~ In file included from /usr/include/string.h:495, from ../../lib/mydnsutil.h:83, from mydns.h:26, from rr.c:21: In function 'strncpy', inlined from 'mydns_rr_build' at rr.c:457:13: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rr.c: In function 'mydns_rr_build': rr.c:443:25: note: length computed here 443 | if ((namelen = (name)?strlen(name):0) > DNS_MAXNAMELEN) { | ^~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../../lib/mydnsutil.h:83, from mydns.h:26, from soa.c:21: In function 'strncpy', inlined from 'mydns_soa_dup' at soa.c:199:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'mydns_soa_dup' at soa.c:200:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'mydns_soa_dup' at soa.c:201:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o str.o str.c soa.c: In function 'mydns_soa_load': soa.c:146:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 253 [-Wformat-truncation=] 146 | snprintf(rv->ns, sizeof(rv->ns), "ns.%s", rv->origin); | ^~ In file included from /usr/include/stdio.h:871, from ../../lib/mydnsutil.h:40, from mydns.h:26, from soa.c:21: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 259 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ soa.c:149:54: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 245 [-Wformat-truncation=] 149 | snprintf(rv->mbox, sizeof(rv->mbox), "hostmaster.%s", rv->origin); | ^~ In file included from /usr/include/stdio.h:871, from ../../lib/mydnsutil.h:40, from mydns.h:26, from soa.c:21: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 267 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../../lib/mydnsutil.h:83, from mydns.h:26, from soa.c:21: In function 'strncat', inlined from 'mydns_soa_parse' at soa.c:166:5, inlined from 'mydns_soa_load' at soa.c:349:11: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' accessing between 257 and 2147483898 bytes at offsets 260 and 4 may overlap 1 byte at offset 260 [-Wrestrict] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'mydns_soa_parse' at soa.c:171:5, inlined from 'mydns_soa_load' at soa.c:349:11: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' accessing between 513 and 2147483898 bytes at offsets 516 and 4 may overlap 1 byte at offset 516 [-Wrestrict] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o unencode.o unencode.c str.c: In function 'mydns_qtype_str': str.c:56:3: warning: enumeration value 'DNS_QTYPE_SPF' not handled in switch [-Wswitch] 56 | switch (qtype) { | ^~~~~~ rm -f libmydns.a ar cru libmydns.a conf.o db.o ip.o rr.o soa.o sql.o str.o unencode.o ranlib libmydns.a make[3]: Leaving directory '/builddir/build/BUILD/mydns-1.2.8.32/src/lib' Making all in mydns make[3]: Entering directory '/builddir/build/BUILD/mydns-1.2.8.32/src/mydns' gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o alias.o alias.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o array.o array.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o axfr.o axfr.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o cache.o cache.c axfr.c: In function 'axfr_fork': axfr.c:362:19: warning: variable 'parent' set but not used [-Wunused-but-set-variable] 362 | pid_t pid = -1, parent = -1; | ^~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o data.o data.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o db.o db.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o encode.o encode.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o error.o error.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o ixfr.o ixfr.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o listen.o listen.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o main.o main.c ixfr.c: In function 'ixfr_gobble_authority_rr': ixfr.c:85:7: warning: variable 'rdlength' set but not used [-Wunused-but-set-variable] 85 | int rdlength = 0; | ^~~~~~~~ In function 'rr_error_repeat', inlined from 'rr_error_repeat' at error.c:164:1: error.c:173:22: warning: '__builtin_memmove' forming offset [4096, 4099] is out of the bounds [0, 4096] of object 'rr_err_memory' with type 'uint32_t[1024]' {aka 'unsigned int[1024]'} [-Warray-bounds] 173 | rr_err_memory[n] = rr_err_memory[n-1]; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ error.c: In function 'rr_error_repeat': error.c:30:10: note: 'rr_err_memory' declared here 30 | uint32_t rr_err_memory[MAX_RR_ERR_MEMORY]; | ^~~~~~~~~~~~~ In function 'rr_error_repeat', inlined from 'rr_error_repeat' at error.c:164:1, inlined from 'rr_error' at error.c:186:28: error.c:173:22: warning: '__builtin_memmove' forming offset [4096, 4099] is out of the bounds [0, 4096] of object 'rr_err_memory' with type 'uint32_t[1024]' {aka 'unsigned int[1024]'} [-Warray-bounds] 173 | rr_err_memory[n] = rr_err_memory[n-1]; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ error.c: In function 'rr_error': error.c:30:10: note: 'rr_err_memory' declared here 30 | uint32_t rr_err_memory[MAX_RR_ERR_MEMORY]; | ^~~~~~~~~~~~~ listen.c: In function 'server_greeting': listen.c:753:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 753 | asprintf(&answer, _(" (quit after %u requests)"), answer_then_quit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o message.o message.c main.c: In function 'server_loop': main.c:1128:21: warning: variable 'tvp' set but not used [-Wunused-but-set-variable] 1128 | struct timeval *tvp = NULL; | ^~~ main.c: In function 'master_loop': main.c:1371:21: warning: variable 'tvp' set but not used [-Wunused-but-set-variable] 1371 | struct timeval *tvp = NULL; | ^~~ main.c: In function 'main': main.c:1574:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1574 | chdir("/tmp"); | ^~~~~~~~~~~~~ main.c: In function 'create_pidfile': main.c:375:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 375 | chown(name, perms_uid, perms_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o notify.o notify.c At top level: main.c:1035:1: warning: 'purge_bad_tasks' defined but not used [-Wunused-function] 1035 | purge_bad_tasks(void) { | ^~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o queue.o queue.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o recursive.o recursive.c notify.c: In function 'name_servers2ip': notify.c:807:20: warning: variable 'hosthints' set but not used [-Wunused-but-set-variable] 807 | struct addrinfo hosthints; | ^~~~~~~~~ queue.c: In function 'queue_init': queue.c:90:8: warning: variable 'queuenamelen' set but not used [-Wunused-but-set-variable] 90 | int queuenamelen = strlen(typename) + strlen(priorityname) + 3; | ^~~~~~~~~~~~ recursive.c: In function '__recursive_fwd_read': recursive.c:489:12: warning: variable 'qdcount' set but not used [-Wunused-but-set-variable] 489 | uint16_t qdcount = 0, ancount = 0, nscount = 0, arcount = 0; | ^~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o reply.o reply.c reply.c: In function 'reply_process_rrlist': reply.c:589:2: warning: enumeration value 'DNS_QTYPE_SPF' not handled in switch [-Wswitch] 589 | switch (rr->type) { | ^~~~~~ In file included from /usr/include/string.h:495, from ../../lib/mydnsutil.h:83, from named.h:26, from notify.c:21: In function 'strncpy', inlined from 'notify_get_server_list' at notify.c:612:8, inlined from 'notify_slaves' at notify.c:1097:25: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ notify.c: In function 'notify_slaves': notify.c:612:8: note: length computed here 612 | strncpy(also_notify_server, start, strlen(start)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o resolve.o resolve.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o rr.o rr.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o servercomms.o servercomms.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o sort.o sort.c servercomms.c:65:16: warning: 'mastercommands' defined but not used [-Wunused-variable] 65 | static COMMAND mastercommands[] = { { "STATS", NULL }, | ^~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o status.o status.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o task.o task.c In file included from /usr/include/string.h:495, from ../../lib/mydnsutil.h:83, from named.h:26, from servercomms.c:21: In function 'strncpy', inlined from '_message_allocate' at servercomms.c:109:3, inlined from 'comms_sendcommand.constprop' at servercomms.c:379:20: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ servercomms.c: In function 'comms_sendcommand.constprop': servercomms.c:109:3: note: length computed here 109 | strncpy(&message->messagedata[0], commandstring, strlen(commandstring)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o tcp.o tcp.c gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o udp.o udp.c tcp.c: In function 'read_tcp_query': tcp.c:180:18: warning: variable 'end' set but not used [-Wunused-but-set-variable] 180 | unsigned char *end = NULL; | ^~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o update.o update.c update.c: In function 'update_get_rr_data': update.c:487:3: warning: enumeration value 'DNS_QTYPE_SPF' not handled in switch [-Wswitch] 487 | switch (rr->type) { | ^~~~~~ update.c: In function 'process_update': update.c:1926:16: warning: comparison between 'dns_qtype_t' and 'enum ' [-Wenum-compare] 1926 | if (rr->type != DNS_CLASS_ANY && !UQRR_DATA_LENGTH(rr)) { | ^~ update.c:1934:16: warning: comparison between 'dns_qtype_t' and 'enum ' [-Wenum-compare] 1934 | if (rr->type == DNS_CLASS_ANY && !UQRR_DATA_LENGTH(rr)) { | ^~ update.c:1942:16: warning: comparison between 'dns_qtype_t' and 'enum ' [-Wenum-compare] 1942 | if (rr->type != DNS_CLASS_ANY && UQRR_DATA_LENGTH(rr)) { | ^~ update.c: In function 'are_we_master': update.c:2231:7: warning: variable 'ipcount' set but not used [-Wunused-but-set-variable] 2231 | int ipcount = 0; | ^~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mydns alias.o array.o axfr.o cache.o data.o db.o encode.o error.o ixfr.o listen.o main.o message.o notify.o queue.o recursive.o reply.o resolve.o rr.o servercomms.o sort.o status.o task.o tcp.o udp.o update.o ../../src/lib/libmydns.a ../../lib/libmydnsutil.a -L/usr/lib64 -lmysqlclient -L/usr/lib64 -lz -lm libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mydns alias.o array.o axfr.o cache.o data.o db.o encode.o error.o ixfr.o listen.o main.o message.o notify.o queue.o recursive.o reply.o resolve.o rr.o servercomms.o sort.o status.o task.o tcp.o udp.o update.o ../../src/lib/libmydns.a ../../lib/libmydnsutil.a -L/usr/lib64 -lmysqlclient -lz -lm make[3]: Leaving directory '/builddir/build/BUILD/mydns-1.2.8.32/src/mydns' Making all in util make[3]: Entering directory '/builddir/build/BUILD/mydns-1.2.8.32/src/util' gcc -DLOCALEDIR=\"/usr/share/locale\" -DSBINDIR=\"/usr/sbin\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o check.o check.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DSBINDIR=\"/usr/sbin\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o util.o util.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DSBINDIR=\"/usr/sbin\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o export.o export.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DSBINDIR=\"/usr/sbin\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o import.o import.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DSBINDIR=\"/usr/sbin\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o import-axfr.o import-axfr.c In file included from /usr/include/string.h:495, from ../../lib/mydnsutil.h:83, from util.h:24, from check.c:23: In function 'strncpy', inlined from 'check_name' at check.c:291:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check.c: In function 'check_name': check.c:285:13: note: length computed here 285 | fqdnlen = strlen(name_in); | ^~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DSBINDIR=\"/usr/sbin\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o import-tinydns.o import-tinydns.c import-axfr.c: In function 'process_axfr_answer': import-axfr.c:346:22: warning: variable 'addr' set but not used [-Wunused-but-set-variable] 346 | struct in_addr addr; | ^~~~ import-axfr.c:239:18: warning: variable 'class' set but not used [-Wunused-but-set-variable] 239 | uint16_t type, class, rdlen; | ^~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DSBINDIR=\"/usr/sbin\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o libptr.o libptr.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DSBINDIR=\"/usr/sbin\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o ptrconvert.o ptrconvert.c In function 'process_axfr_reply', inlined from 'import_axfr' at import-axfr.c:496:9: import-axfr.c:446:7: warning: '%s' directive argument is null [-Wformat-overflow=] 446 | Errx("%s: %s: %s", thishostname, _("error reading name from question section"), name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'process_axfr_answer', inlined from 'process_axfr_reply' at import-axfr.c:453:17, inlined from 'import_axfr' at import-axfr.c:496:9: import-axfr.c:243:5: warning: '%s' directive argument is null [-Wformat-overflow=] 243 | Errx("%s: %s: %s", thishostname, _("error reading name from answer section"), name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import-axfr.c:386:2: warning: '%s' directive argument is null [-Wformat-overflow=] 386 | Errx("%s SRV: %s: %s", name, _("error reading data"), data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import-axfr.c:362:2: warning: '%s' directive argument is null [-Wformat-overflow=] 362 | Errx("%s RP: %s: %s", name, _("error reading mbox"), data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import-axfr.c:366:2: warning: '%s' directive argument is null [-Wformat-overflow=] 366 | Errx("%s RP: %s: %s", name, _("error reading txt"), txtref); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import-axfr.c:331:2: warning: '%s' directive argument is null [-Wformat-overflow=] 331 | Errx("%s MX: %s: %s", name, _("error reading data"), data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import-axfr.c:349:2: warning: '%s' directive argument is null [-Wformat-overflow=] 349 | Errx("%s PTR: %s: %s", name, _("error reading data"), data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import-axfr.c:286:7: warning: '%s' directive argument is null [-Wformat-overflow=] 286 | Errx("%s CNAME: %s: %s", name, _("error reading data"), data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import-axfr.c:339:7: warning: '%s' directive argument is null [-Wformat-overflow=] 339 | Errx("%s NS: %s: %s", name, _("error reading data"), data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../../lib/mydnsutil.h:83, from util.h:24, from libptr.c:21: In function 'strncpy', inlined from 'mydns_ptr_dup' at libptr.c:107:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptrconvert.c: In function 'cmdline': ptrconvert.c:164:24: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 164 | snprintf(ns, sizeof(ns), "%s", (char *)argv[optind++]); | ^ ptrconvert.c:166:26: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 166 | snprintf(mbox, sizeof(mbox), "%s", (char *)argv[optind++]); | ^ gcc -DLOCALEDIR=\"/usr/share/locale\" -DSBINDIR=\"/usr/sbin\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -c -o conf.o conf.c /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mydnscheck check.o util.o ../../src/lib/libmydns.a ../../lib/libmydnsutil.a -L/usr/lib64 -lmysqlclient -L/usr/lib64 -lz -lm In function 'get_zone_ids', inlined from 'main' at ptrconvert.c:422:3: ptrconvert.c:298:17: warning: '%s' directive argument is null [-Wformat-overflow=] 298 | if ((id = sql_count(sql, "SELECT id FROM soa WHERE origin='%s'", esc_origin)) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mydnsexport export.o util.o ../../src/lib/libmydns.a ../../lib/libmydnsutil.a -L/usr/lib64 -lmysqlclient -L/usr/lib64 -lz -lm /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mydnsptrconvert libptr.o ptrconvert.o util.o ../../src/lib/libmydns.a ../../lib/libmydnsutil.a -L/usr/lib64 -lmysqlclient -L/usr/lib64 -lz -lm libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mydnscheck check.o util.o ../../src/lib/libmydns.a ../../lib/libmydnsutil.a -L/usr/lib64 -lmysqlclient -lz -lm /usr/bin/ld: ../../lib/libmydnsutil.a(conf.o):(.bss+0x0): multiple definition of `Conf'; util.o:util.c:(.bss+0x0): first defined here /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mydns-conf conf.o ../../src/lib/libmydns.a ../../lib/libmydnsutil.a -L/usr/lib64 -lmysqlclient -L/usr/lib64 -lz -lm collect2: error: ld returned 1 exit status make[3]: *** [Makefile:486: mydnscheck] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mydnsexport export.o util.o ../../src/lib/libmydns.a ../../lib/libmydnsutil.a -L/usr/lib64 -lmysqlclient -lz -lm /usr/bin/ld: ../../lib/libmydnsutil.a(conf.o):(.bss+0x0): multiple definition of `Conf'; util.o:util.c:(.bss+0x0): first defined here libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mydnsptrconvert libptr.o ptrconvert.o util.o ../../src/lib/libmydns.a ../../lib/libmydnsutil.a -L/usr/lib64 -lmysqlclient -lz -lm /usr/bin/ld: ../../lib/libmydnsutil.a(conf.o):(.bss+0x0): multiple definition of `Conf'; util.o:util.c:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:490: mydnsexport] Error 1 libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -finline-functions -funsigned-char -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mydns-conf conf.o ../../src/lib/libmydns.a ../../lib/libmydnsutil.a -L/usr/lib64 -lmysqlclient -lz -lm collect2: error: ld returned 1 exit status make[3]: *** [Makefile:498: mydnsptrconvert] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/mydns-1.2.8.32/src/util' make[2]: *** [Makefile:415: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/mydns-1.2.8.32/src' make[1]: Leaving directory '/builddir/build/BUILD/mydns-1.2.8.32' make[1]: *** [Makefile:471: all-recursive] Error 1 make: *** [Makefile:401: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.GhZCQR (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.GhZCQR (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 riscv64 --nodeps /builddir/build/SPECS/mydns.spec