Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rwhoisd.spec'], chrootPath='/var/lib/mock/f41-build-50409700-6032767/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.lci99asi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.lci99asi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '378ff0242c1141079ddb3f9c662dbeb5', '-D', '/var/lib/mock/f41-build-50409700-6032767/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.lci99asi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rwhoisd.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/rwhoisd-1.5.9.6-30.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rwhoisd.spec'], chrootPath='/var/lib/mock/f41-build-50409700-6032767/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.lci99asi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.lci99asi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8ed2f8b5a1a24d8fa044619238a63eee', '-D', '/var/lib/mock/f41-build-50409700-6032767/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.lci99asi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rwhoisd.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1706313600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ItkyQb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rwhoisd-1.5.9.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rwhoisd-1.5.9.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rwhoisd-1.5.9.6 + rm -rf /builddir/build/BUILD/rwhoisd-1.5.9.6-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/rwhoisd-1.5.9.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rwhoisd-1.5.9.6-Install-database-to-var.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rwhoisd-1.5.9.5-Use-configure-options-instead-of-GCC-test.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rwhoisd-1.5.9.5-Use-AC_SYS_LARGEFILE-for-large-file-support-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rwhoisd-1.5.9.5-Respect-without-local-libwrap.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rwhoisd-1.5.9.5-Do-not-include-bundled-tcpd.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rwhoisd-1.5.9.5-Select-which-way-to-call-sort.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rwhoisd-1.5.9.5-Adjust-sample-configuration.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rwhoisd-1.5.9.6-Allow-disabling-TCP-wrappers.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rwhoisd-1.5.9.6-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rwhoisd-1.5.9.6-Fix-a-return-value-of-signal-handlers.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find tools/tcpd_wrapper -depth -mindepth 1 '!' -name Makefile.in -delete + autoreconf configure.ac:24: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:24: the top level configure.ac:28: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:28: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.ac:28: the top level configure.ac:32: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from... configure.ac:32: the top level configure.ac:74: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... configure.ac:74: the top level configure.ac:95: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:95: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:95: the top level configure.ac:108: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:108: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:108: the top level configure.ac:119: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.ac:119: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.ac:119: the top level configure.ac:122: warning: The macro 'AC_FUNC_SETVBUF_REVERSED' is obsolete. Remove it and all references to SETVBUF_REVERSED. ./lib/autoconf/functions.m4:1785: AC_FUNC_SETVBUF_REVERSED is expanded from... configure.ac:122: the top level + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.07pZtp + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rwhoisd-1.5.9.6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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 + mv ./configure.backup ./configure + /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 + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-gcc-debug --disable-gprof --enable-ipv6 --enable-largefile --enable-newsort --enable-syslock --disable-tcpwrappers --enable-warnings --without-local-libwrap configure: WARNING: unrecognized options: --disable-dependency-tracking checking for aarch64-redhat-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 for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for flex... no checking for lex... no checking for bison... no checking for byacc... no checking for crypt in -lcrypt... yes checking for gethostbyname in -lnsl... no checking for res_search in -lresolv... yes checking for connect in -lsocket... no checking for connect in -linet... no checking whether to enable TCP wrappers... disabled 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 sys/time.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdarg.h... yes checking for fcntl.h... yes checking for sys/file.h... yes checking for sys/time.h... (cached) yes checking for syslog.h... yes checking for sys/wait.h... yes checking for crypt.h... yes checking for mode_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for an ANSI C-conforming const... yes checking for off_t... yes checking size of off_t... 8 checking for uint8_t... yes checking for uint32_t... yes checking for uchar_t... no checking return type of signal handlers... void checking for vprintf... yes checking whether closedir returns void... no checking for getcwd... yes checking for gethostname... yes checking for socket... yes checking for strftime... yes checking for uname... yes checking for flock... yes checking for lockf... yes checking for setsid... yes checking for crypt... yes checking for memset... yes checking for memcpy... yes checking for usleep... yes checking for wait3... yes checking for getaddrinfo... yes checking for vsnprintf... yes checking for strerror... yes Adding -Wall to CFLAGS. checking for gcc option to enable large file support... none needed checking whether to enable IPv6... Linux IPv6 checking for GNU libc 2.1... checking how to run the C preprocessor... gcc -E checking for egrep -e... (cached) /usr/bin/grep -E yes checking for getipnodebyname... no checking for sockaddr_storage... yes Enabling new style sort. configure: creating ./config.status config.status: creating Makefile config.status: creating common/Makefile config.status: creating mkdb/Makefile config.status: creating server/Makefile config.status: creating regexp/Makefile config.status: creating tools/Makefile config.status: creating tools/tcpd_wrapper/Makefile config.status: creating tools/rwhois_indexer/Makefile config.status: creating tools/rwhois_deleter/Makefile config.status: creating tools/rwhois_repack/Makefile config.status: creating sample.data/Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make making all in common make[1]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/common' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c attributes.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c auth_area.c In file included from auth_area.c:16: auth_area.c: In function ‘write_auth_area’: defines.h:72:8: warning: the address of ‘aa_dir’ will always evaluate as ‘true’ [-Waddress] 72 | (str ? str : def) | ^ auth_area.c:318:11: note: in expansion of macro ‘SAFE_STR’ 318 | SAFE_STR(aa_dir, ""), strerror(errno)); | ^~~~~~~~ defines.h:72:8: warning: the address of ‘attr_dir’ will always evaluate as ‘true’ [-Waddress] 72 | (str ? str : def) | ^ auth_area.c:349:13: note: in expansion of macro ‘SAFE_STR’ 349 | SAFE_STR(attr_dir, ""), strerror(errno)); | ^~~~~~~~ auth_area.c: In function ‘add_server’: defines.h:63:30: warning: the address of ‘name’ will always evaluate as ‘true’ [-Waddress] 63 | #define NOT_STR_EXISTS(str) (!(str) || !*(str)) | ^ auth_area.c:1538:7: note: in expansion of macro ‘NOT_STR_EXISTS’ 1538 | if (NOT_STR_EXISTS(name)) | ^~~~~~~~~~~~~~ auth_area.c: In function ‘check_root_referral’: defines.h:63:30: warning: the address of ‘line’ will always evaluate as ‘true’ [-Waddress] 63 | #define NOT_STR_EXISTS(str) (!(str) || !*(str)) | ^ auth_area.c:1870:9: note: in expansion of macro ‘NOT_STR_EXISTS’ 1870 | if (NOT_STR_EXISTS(line)) | ^~~~~~~~~~~~~~ defines.h:60:26: warning: the address of ‘port’ will always evaluate as ‘true’ [-Waddress] 60 | #define STR_EXISTS(str) ((str) && *(str)) | ^ auth_area.c:1920:9: note: in expansion of macro ‘STR_EXISTS’ 1920 | if (STR_EXISTS(port) && !is_valid_port(port)) | ^~~~~~~~~~ auth_area.c: In function ‘get_aa_schema_directory’: defines.h:60:26: warning: the address of ‘dir’ will always evaluate as ‘true’ [-Waddress] 60 | #define STR_EXISTS(str) ((str) && *(str)) | ^ auth_area.c:1982:7: note: in expansion of macro ‘STR_EXISTS’ 1982 | if (STR_EXISTS(dir)) | ^~~~~~~~~~ auth_area.c: In function ‘write_all_auth_areas’: auth_area.c:340:5: warning: ‘__strncat_chk’ output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 340 | strncat(attr_dir, aa_dir, sizeof(attr_dir)-1); | ^ auth_area.c: In function ‘create_auth_area’: auth_area.c:2123:5: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2123 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ auth_area.c:2136:5: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2136 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ auth_area.c:2148:5: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2148 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ auth_area.c:2204:5: warning: ‘__strncat_chk’ output may be truncated copying 511 bytes from a string of length 8191 [-Wstringop-truncation] 2204 | strncat(buffer, portstr, sizeof(buffer)-1); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c client_msgs.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c compat.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c directive_conf.c directive_conf.c: In function ‘write_extended_directive_file’: directive_conf.c:651:34: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 651 | fprintf(fp, "command-len: %u\n", strlen(&(dir->name[2]))); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | size_t {aka long unsigned int} | unsigned int | %lu directive_conf.c: In function ‘read_extended_directive_file’: directive_conf.c:326:29: warning: ‘%s’ directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] 326 | sprintf(command, "X-%s", datum); | ^~ ~~~~~ In file included from /usr/include/stdio.h:980, from common.h:39, from directive_conf.h:15, from directive_conf.c:10: In function ‘sprintf’, inlined from ‘read_extended_directive_file’ at directive_conf.c:326:9: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 3 and 258 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c dir_security.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c dl_list.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c fileutils.c In file included from fileutils.c:14: fileutils.c: In function ‘open_file_to_write’: defines.h:60:26: warning: the address of ‘dir’ will always evaluate as ‘true’ [-Waddress] 60 | #define STR_EXISTS(str) ((str) && *(str)) | ^ fileutils.c:1180:7: note: in expansion of macro ‘STR_EXISTS’ 1180 | if (STR_EXISTS(dir)) | ^~~~~~~~~~ fileutils.c: In function ‘split_path’: fileutils.c:213:5: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 213 | strncpy(dir, path, len); | ^ fileutils.c:212:11: note: length computed here 212 | len = strlen(path) - (strlen(file) + 1); | ^~~~~~~~~~~~ fileutils.c: In function ‘get_updated_timestamp’: fileutils.c:794:3: warning: ‘strncpy’ output may be truncated copying 17 bytes from a string of length 17 [-Wstringop-truncation] 794 | strncpy(new_stamp, make_timestamp(), sizeof(new_stamp)-1); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c ip_network.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c log.c log.c: In function ‘file_context_str’: log.c:129:20: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 511 [-Wformat-overflow=] 129 | sprintf(buf, "(%s)", context.cur_file); | ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from common.h:39, from log.h:24, from log.c:10: In function ‘sprintf’, inlined from ‘file_context_str’ at log.c:129:5, inlined from ‘file_context_str’ at log.c:114:7: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 3 and 1026 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ log.c: In function ‘file_context_str’: log.c:125:20: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 511 [-Wformat-overflow=] 125 | sprintf(buf, "(%s:%ld)", context.cur_file, context.cur_line_num); | ^~ ~~~~~~~~~~~~~~~~ In function ‘file_context_str’, inlined from ‘file_context_str’ at log.c:114:7: log.c:125:18: note: directive argument in the range [0, 9223372036854775807] 125 | sprintf(buf, "(%s:%ld)", context.cur_file, context.cur_line_num); | ^~~~~~~~~~ In function ‘sprintf’, inlined from ‘file_context_str’ at log.c:125:5, inlined from ‘file_context_str’ at log.c:114:7: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 5 and 1046 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ log.c: In function ‘examin_error_string’: log.c:494:3: warning: ‘__strncat_chk’ output may be truncated copying 8191 bytes from a string of length 8191 [-Wstringop-truncation] 494 | strncat(buff, numstr, sizeof(buff)-1); | ^ log.c:486:7: warning: ‘__strncat_chk’ output may be truncated copying 8191 bytes from a string of length 8191 [-Wstringop-truncation] 486 | strncat(buff, numstr, sizeof(buff)-1); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c main_config.c main_config.c: In function ‘verify_server_config_data’: main_config.c:403:5: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 403 | getcwd(buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~ main_config.c: In function ‘canonicalize_conf_path.constprop.0’: main_config.c:93:3: warning: ‘strncpy’ output may be truncated copying 512 bytes from a string of length 512 [-Wstringop-truncation] 93 | strncpy(path, canon_path, path_len); | ^ main_config.c: In function ‘set_root_dir’: main_config.c:630:7: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 630 | strncpy(server_config_data.root_dir, dir, MAX_FILE); | ^ main_config.c: In function ‘set_bin_path’: main_config.c:672:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 672 | strncpy(server_config_data.bin_path, path, MAX_FILE); | ^ main_config.c: In function ‘set_notify_log’: main_config.c:683:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 683 | strncpy(server_config_data.notify_log, log, MAX_FILE); | ^ main_config.c: In function ‘set_log_default’: main_config.c:694:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 694 | strncpy(server_config_data.log_default_file, file, MAX_FILE); | ^ main_config.c: In function ‘init_server_config_data’: main_config.c:973:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 973 | strncpy(server_config_data.hostname, name, MAX_LINE); | ^ main_config.c: In function ‘set_log_emerg’: main_config.c:801:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 801 | strncpy(server_config_data.log_emerg_file, log, MAX_FILE); | ^ main_config.c: In function ‘set_log_alert’: main_config.c:811:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 811 | strncpy(server_config_data.log_alert_file, log, MAX_FILE); | ^ main_config.c: In function ‘set_log_crit’: main_config.c:821:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 821 | strncpy(server_config_data.log_crit_file, log, MAX_FILE); | ^ main_config.c: In function ‘set_log_err’: main_config.c:832:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 832 | strncpy(server_config_data.log_err_file, log, MAX_FILE); | ^ main_config.c: In function ‘set_log_warn’: main_config.c:843:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 843 | strncpy(server_config_data.log_warn_file, log, MAX_FILE); | ^ main_config.c: In function ‘set_log_notice’: main_config.c:854:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 854 | strncpy(server_config_data.log_notice_file, log, MAX_FILE); | ^ main_config.c: In function ‘set_log_info’: main_config.c:864:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 864 | strncpy(server_config_data.log_info_file, log, MAX_FILE); | ^ main_config.c: In function ‘set_log_debug’: main_config.c:874:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 874 | strncpy(server_config_data.log_debug_file, log, MAX_FILE); | ^ main_config.c: In function ‘set_directive_file’: main_config.c:885:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 885 | strncpy(server_config_data.directive_file, file, MAX_FILE); | ^ main_config.c: In function ‘set_x_directive_file’: main_config.c:896:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 896 | strncpy(server_config_data.x_directive_file, file, MAX_FILE); | ^ main_config.c: In function ‘set_auth_area_file’: main_config.c:907:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 907 | strncpy(server_config_data.auth_area_file, file, MAX_FILE); | ^ main_config.c: In function ‘set_register_log’: main_config.c:918:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 918 | strncpy(server_config_data.register_log, log, MAX_FILE); | ^ main_config.c: In function ‘set_register_spool’: main_config.c:929:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 929 | strncpy(server_config_data.register_spool, spool, MAX_FILE); | ^ main_config.c: In function ‘set_punt_file’: main_config.c:940:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 940 | strncpy(server_config_data.punt_file, file, MAX_FILE); | ^ main_config.c: In function ‘set_security_allow’: main_config.c:951:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 951 | strncpy(server_config_data.security_allow, file, MAX_FILE); | ^ main_config.c: In function ‘set_security_deny’: main_config.c:962:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 962 | strncpy(server_config_data.security_deny, file, MAX_FILE); | ^ main_config.c: In function ‘set_local_hostname’: main_config.c:973:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 973 | strncpy(server_config_data.hostname, name, MAX_LINE); | ^ main_config.c: In function ‘set_process_userid’: main_config.c:984:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 984 | strncpy(server_config_data.process_userid, id, MAX_LINE); | ^ main_config.c: In function ‘set_pid_file’: main_config.c:1145:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 1145 | strncpy(server_config_data.pid_file, file, MAX_FILE); | ^ main_config.c: In function ‘set_server_contact’: main_config.c:1156:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 1156 | strncpy(server_config_data.server_contact, contact, MAX_LINE); | ^ main_config.c: In function ‘set_display’: main_config.c:1228:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 1228 | strncpy(server_state_data.display, mode, MAX_LINE); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c misc.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c procutils.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c punt_ref.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c read_config.c read_config.c: In function ‘moveto_new_configuration’: read_config.c:502:11: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 502 | strncpy(bkp_file, file, sizeof(bkp_file)-1); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c rw_log.c rw_log.c: In function ‘rwhoisd_log’: rw_log.c:34:23: warning: variable ‘fd’ set but not used [-Wunused-but-set-variable] 34 | int fd; | ^~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c schema.c schema.c: In function ‘create_class’: schema.c:1154:5: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 1154 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ schema.c:1167:5: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 1167 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c strutil.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c validate_rec.c ar cru librwcommon.a attributes.o auth_area.o client_msgs.o compat.o directive_conf.o dir_security.o dl_list.o fileutils.o ip_network.o log.o main_config.o misc.o procutils.o punt_ref.o read_config.o rw_log.o schema.o strutil.o validate_rec.o ranlib librwcommon.a make[1]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/common' making all in mkdb make[1]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/mkdb' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c anon_record.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c delete.c delete.c: In function ‘mkdb_delete_data_entry’: delete.c:204:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 204 | fgets(buffer,MAX_LINE,fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ delete.c: At top level: delete.c:95:1: warning: ‘mkdb_delete_index_entry’ defined but not used [-Wunused-function] 95 | mkdb_delete_index_entry( | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c fileinfo.c fileinfo.c: In function ‘write_file_struct’: fileinfo.c:218:22: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t’ {aka ‘long int’} [-Wformat=] 218 | fprintf(fp, "%s:%lld\n", MKDB_SIZE_TAG, fi->size); | ~~~^ ~~~~~~~~ | | | | long long int off_t {aka long int} | %ld fileinfo.c: In function ‘modify_file_list’: fileinfo.c:401:25: warning: ‘%s’ directive writing up to 511 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 401 | sprintf(template, "%s/%s", dir, base_file); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:980, from ./../common/common.h:39, from fileinfo.h:15, from fileinfo.c:10: In function ‘sprintf’, inlined from ‘generate_file_name’ at fileinfo.c:401:3, inlined from ‘add_file_struct’ at fileinfo.c:460:22, inlined from ‘add_file_list’ at fileinfo.c:620:10, inlined from ‘modify_file_list’ at fileinfo.c:1251:5: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 1024 bytes into a destination of size 513 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c index.c index.c: In function ‘index_record’: index.c:279:21: warning: variable ‘global_attr_list’ set but not used [-Wunused-but-set-variable] 279 | dl_list_type *global_attr_list; | ^~~~~~~~~~~~~~~~ index.c: In function ‘encode_index_line’: index.c:587:21: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t’ {aka ‘long int’} [-Wformat=] 587 | sprintf(line, "%lld:%d:%d:%d:%s", item->offset, item->data_file_no, | ~~~^ ~~~~~~~~~~~~ | | | | long long int off_t {aka long int} | %ld gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c index_file.c index_file.c: In function ‘create_index_fp.isra.0’: index_file.c:93:5: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 93 | strncpy(file->prefix, base_name, sizeof(file->prefix)); | ^ index_file.c:102:34: warning: ‘.tmp’ directive writing 4 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 102 | sprintf(file->tmp_filename, "%s.tmp", file->real_filename); | ^~~~ In file included from /usr/include/stdio.h:980, from ./../common/common.h:39, from index_file.h:13, from index_file.c:10: In function ‘sprintf’, inlined from ‘create_index_fp.isra.0’ at index_file.c:102:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 5 and 516 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c metaphon.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c records.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c search.c In file included from mkdb_types.h:17, from search.h:18, from search.c:10: search.c: In function ‘search_soundex_index_file’: ./../common/defines.h:63:30: warning: the address of ‘search_val_buf’ will always evaluate as ‘true’ [-Waddress] 63 | #define NOT_STR_EXISTS(str) (!(str) || !*(str)) | ^ search.c:166:7: note: in expansion of macro ‘NOT_STR_EXISTS’ 166 | if (NOT_STR_EXISTS(search_val_buf)) | ^~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c search_prim.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c y.tab.c ./parse.y:224:1: warning: ‘display_query’ defined but not used [-Wunused-function] 224 | display_query() | ^~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c lex.yy.c lex.yy.c:1124:12: warning: ‘input’ defined but not used [-Wunused-function] 1124 | static int input() | ^~~~~ lex.yy.c:1078:13: warning: ‘yyunput’ defined but not used [-Wunused-function] 1078 | static void yyunput( int c, register char *yy_bp ) | ^~~~~~~ ar cru libmkdb.a anon_record.o delete.o fileinfo.o index.o index_file.o metaphon.o records.o search.o search_prim.o y.tab.o lex.yy.o ranlib libmkdb.a make[1]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/mkdb' making all in regexp make[1]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/regexp' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -DHAVE_CONFIG_H -c regerror.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -DHAVE_CONFIG_H -c regexp.c regexp.c: In function ‘reg’: regexp.c:352:17: warning: ‘parno’ may be used uninitialized [-Wmaybe-uninitialized] 352 | ender = regnode((paren) ? CLOSE+parno : END); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regexp.c:314:22: note: ‘parno’ was declared here 314 | register int parno; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -DHAVE_CONFIG_H -c regsub.c regsub.c: In function ‘regsub’: regsub.c:71:63: warning: ‘strncpy’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 71 | (void) strncpy(dst, prog->startp[no], len); | ^~~ regsub.c:45:22: note: built-in ‘strncpy’ declared here 45 | extern char *strncpy(); | ^~~~~~~ ar cru libregexp.a regerror.o regexp.o regsub.o ranlib libregexp.a make[1]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/regexp' making all in server make[1]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/server' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c class_directive.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c daemon.c daemon.c: In function ‘run_daemon’: daemon.c:279:66: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 279 | newsockfd = accept(sockfd, (struct sockaddr *) &client_addr, &clilen); | ^~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from ./../common/common.h:44, from daemon.h:15, from daemon.c:10: /usr/include/sys/socket.h:307:42: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ daemon.c:193:25: warning: variable ‘failure’ set but not used [-Wunused-but-set-variable] 193 | int failure = 0; | ^~~~~~~ daemon.c:331:9: warning: ignoring return value of ‘nice’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 331 | nice(get_child_priority()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c deadman.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c directive.c directive.c: In function ‘run_directive’: directive.c:108:21: warning: comparison of constant ‘45’ with boolean expression is always false [-Wbool-compare] 108 | if (!query_str[0] == '-') | ^~ directive.c:108:21: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] directive.c:108:7: note: add parentheses around left hand side expression to silence this warning 108 | if (!query_str[0] == '-') | ^~~~~~~~~~~~~ | ( ) gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c display.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c dump.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c exit.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c forward.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c guardian.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c holdconnect.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c limit.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c main.c In file included from main.c:15: main.c: In function ‘initialize’: ./../common/defines.h:60:26: warning: the address of ‘orig_cwd’ will always evaluate as ‘true’ [-Waddress] 60 | #define STR_EXISTS(str) ((str) && *(str)) | ^ main.c:171:7: note: in expansion of macro ‘STR_EXISTS’ 171 | if (STR_EXISTS(orig_cwd)) | ^~~~~~~~~~ main.c:173:5: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 173 | chdir(orig_cwd); | ^~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:211:3: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 211 | getcwd(orig_cwd, sizeof(orig_cwd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c notify.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c referral.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c register.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c reg_ext.c reg_ext.c: In function ‘run_external_parser’: reg_ext.c:98:26: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 98 | sprintf(command, "%s %s", parse_prog, tmp_fname); | ^ In file included from /usr/include/stdio.h:980, from ./../common/common.h:39, from reg_ext.h:15, from reg_ext.c:10: In function ‘sprintf’, inlined from ‘run_external_parser’ at reg_ext.c:98:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 2 or more bytes (assuming 513) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ reg_ext.c: In function ‘run_external_parser’: reg_ext.c:141:8: warning: ‘status’ may be used uninitialized [-Wmaybe-uninitialized] 141 | if (! status) | ^ reg_ext.c:42:27: note: ‘status’ was declared here 42 | int status; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c reg_utils.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c register_directive.c In file included from ./../mkdb/mkdb_types.h:17, from reg_utils.h:17, from state.h:16, from register_directive.c:14: register_directive.c: In function ‘register_on’: ./../common/defines.h:60:26: warning: the address of ‘reg_email’ will always evaluate as ‘true’ [-Waddress] 60 | #define STR_EXISTS(str) ((str) && *(str)) | ^ register_directive.c:135:7: note: in expansion of macro ‘STR_EXISTS’ 135 | if (STR_EXISTS(reg_email)) | ^~~~~~~~~~ ./../common/defines.h:60:26: warning: the address of ‘reg_action’ will always evaluate as ‘true’ [-Waddress] 60 | #define STR_EXISTS(str) ((str) && *(str)) | ^ register_directive.c:140:7: note: in expansion of macro ‘STR_EXISTS’ 140 | if (STR_EXISTS(reg_action)) | ^~~~~~~~~~ register_directive.c:88:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 88 | strncpy(reg_action, action, MAX_LINE); | ^ register_directive.c:97:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 97 | strncpy(reg_email, email, MAX_LINE); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c rwhois_directive.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c schema_directive.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c security.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c security_directive.c security_directive.c:241:13: warning: ‘print_auth_struct’ defined but not used [-Wunused-function] 241 | static void print_auth_struct (void) | ^~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c session.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c soa.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c sresponse.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c sschema.c sschema.c: In function ‘create_schema_file’: sschema.c:114:34: warning: ‘.tmpl’ directive writing 5 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 114 | sprintf(attr_file, "%s/%s.tmpl", attr_dir, class); | ^~~~~ In file included from /usr/include/stdio.h:980, from ./../common/common.h:39, from sschema.h:6, from sschema.c:1: In function ‘sprintf’, inlined from ‘create_schema_file_record’ at sschema.c:114:9, inlined from ‘create_schema_file’ at sschema.c:364:11: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 7 or more bytes (assuming 518) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sschema.c: In function ‘create_schema_file’: sschema.c:114:34: warning: ‘.tmpl’ directive writing 5 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 114 | sprintf(attr_file, "%s/%s.tmpl", attr_dir, class); | ^~~~~ In function ‘sprintf’, inlined from ‘create_schema_file_record’ at sschema.c:114:9, inlined from ‘create_schema_file’ at sschema.c:364:11: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 7 or more bytes (assuming 518) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c sslave.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c ssoa.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c sstate.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c state.c state.c: In function ‘set_rwhois_spool_file_name’: state.c:67:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 67 | strncpy(state_info.spool_file_name, file, | ^ state.c: In function ‘move_spool_file’: state.c:67:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] state.c: In function ‘set_client_vendor_id’: state.c:173:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 173 | strncpy(state_info.client_vendor_id, id, | ^ state.c: In function ‘set_register_email’: state.c:184:3: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 184 | strncpy(state_info.register_email, email, sizeof(state_info.register_email)); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c status.c In file included from ./../common/auth_area.c:16, from status.c:13: ./../common/auth_area.c: In function ‘write_auth_area’: ./../common/defines.h:72:8: warning: the address of ‘aa_dir’ will always evaluate as ‘true’ [-Waddress] 72 | (str ? str : def) | ^ ./../common/auth_area.c:318:11: note: in expansion of macro ‘SAFE_STR’ 318 | SAFE_STR(aa_dir, ""), strerror(errno)); | ^~~~~~~~ ./../common/defines.h:72:8: warning: the address of ‘attr_dir’ will always evaluate as ‘true’ [-Waddress] 72 | (str ? str : def) | ^ ./../common/auth_area.c:349:13: note: in expansion of macro ‘SAFE_STR’ 349 | SAFE_STR(attr_dir, ""), strerror(errno)); | ^~~~~~~~ ./../common/auth_area.c: In function ‘add_server’: ./../common/defines.h:63:30: warning: the address of ‘name’ will always evaluate as ‘true’ [-Waddress] 63 | #define NOT_STR_EXISTS(str) (!(str) || !*(str)) | ^ ./../common/auth_area.c:1538:7: note: in expansion of macro ‘NOT_STR_EXISTS’ 1538 | if (NOT_STR_EXISTS(name)) | ^~~~~~~~~~~~~~ ./../common/auth_area.c: In function ‘check_root_referral’: ./../common/defines.h:63:30: warning: the address of ‘line’ will always evaluate as ‘true’ [-Waddress] 63 | #define NOT_STR_EXISTS(str) (!(str) || !*(str)) | ^ ./../common/auth_area.c:1870:9: note: in expansion of macro ‘NOT_STR_EXISTS’ 1870 | if (NOT_STR_EXISTS(line)) | ^~~~~~~~~~~~~~ ./../common/defines.h:60:26: warning: the address of ‘port’ will always evaluate as ‘true’ [-Waddress] 60 | #define STR_EXISTS(str) ((str) && *(str)) | ^ ./../common/auth_area.c:1920:9: note: in expansion of macro ‘STR_EXISTS’ 1920 | if (STR_EXISTS(port) && !is_valid_port(port)) | ^~~~~~~~~~ ./../common/auth_area.c: In function ‘get_aa_schema_directory’: ./../common/defines.h:60:26: warning: the address of ‘dir’ will always evaluate as ‘true’ [-Waddress] 60 | #define STR_EXISTS(str) ((str) && *(str)) | ^ ./../common/auth_area.c:1982:7: note: in expansion of macro ‘STR_EXISTS’ 1982 | if (STR_EXISTS(dir)) | ^~~~~~~~~~ ./../common/auth_area.c: In function ‘write_all_auth_areas’: ./../common/auth_area.c:340:5: warning: ‘__strncat_chk’ output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 340 | strncat(attr_dir, aa_dir, sizeof(attr_dir)-1); | ^ ./../common/auth_area.c: In function ‘create_auth_area’: ./../common/auth_area.c:2123:5: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2123 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ ./../common/auth_area.c:2136:5: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2136 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ ./../common/auth_area.c:2148:5: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2148 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ ./../common/auth_area.c:2204:5: warning: ‘__strncat_chk’ output may be truncated copying 511 bytes from a string of length 8191 [-Wstringop-truncation] 2204 | strncat(buffer, portstr, sizeof(buffer)-1); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c sxfer.c In function ‘class_in_xfer_arg’, inlined from ‘index_data_files_by_suffix’ at sxfer.c:517:12: sxfer.c:326:14: warning: ‘xs’ may be used uninitialized [-Wmaybe-uninitialized] 326 | not_done = dl_list_first(&(xs->xfer_class_list)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sxfer.c: In function ‘index_data_files_by_suffix’: sxfer.c:481:20: note: ‘xs’ was declared here 481 | xfer_arg_struct *xs; | ^~ sxfer.c: In function ‘create_data_files’: sxfer.c:111:33: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 111 | sprintf(data_dir, "%s/%s", aa->data_dir, class); | ^ In file included from /usr/include/stdio.h:980, from ./../common/common.h:39, from sxfer.h:6, from sxfer.c:1: In function ‘sprintf’, inlined from ‘create_data_file_record’ at sxfer.c:111:9, inlined from ‘create_data_files’ at sxfer.c:437:11: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 2 or more bytes (assuming 513) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c xfer.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o rwhoisd class_directive.o daemon.o deadman.o directive.o display.o dump.o exit.o forward.o guardian.o holdconnect.o limit.o main.o notify.o referral.o register.o reg_ext.o reg_utils.o register_directive.o rwhois_directive.o schema_directive.o security.o security_directive.o session.o soa.o sresponse.o sschema.o sslave.o ssoa.o sstate.o state.o status.o sxfer.o xfer.o -L../mkdb -lmkdb -L../common -lrwcommon -L../regexp -lregexp -lresolv -lcrypt /usr/bin/ld: /tmp/ccDcs26G.ltrans1.ltrans.o: in function `create_filename': /builddir/build/BUILD/rwhoisd-1.5.9.6/server/../common/fileutils.c:367:(.text+0x27e8): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[1]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/server' making all in tools make[1]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools' making all in rwhois_indexer make[2]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_indexer' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I../.. -I. -I./../../common -I./../../mkdb -DHAVE_CONFIG_H -c rwhois_indexer.c rwhois_indexer.c: In function ‘main’: rwhois_indexer.c:371:3: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 371 | getcwd(cwd, MAX_FILE); | ^~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o rwhois_indexer rwhois_indexer.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lresolv -lcrypt /usr/bin/ld: /tmp/cc83lsap.ltrans0.ltrans.o: in function `generate_index_file_tmpname.constprop.0': /builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_indexer/../../mkdb/index_file.c:69:(.text+0x4bf4): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_indexer' making all in rwhois_deleter make[2]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_deleter' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I../.. -I. -I./../../common -I./../../mkdb -I./../../regexp -DHAVE_CONFIG_H -c rwhois_deleter.c In file included from rwhois_deleter.c:13: rwhois_deleter.c: In function ‘assemble_query_string’: ./../../common/defines.h:60:26: warning: the address of ‘buf’ will always evaluate as ‘true’ [-Waddress] 60 | #define STR_EXISTS(str) ((str) && *(str)) | ^ rwhois_deleter.c:91:7: note: in expansion of macro ‘STR_EXISTS’ 91 | if (STR_EXISTS(buf)) | ^~~~~~~~~~ rwhois_deleter.c: In function ‘main’: rwhois_deleter.c:241:3: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 241 | getcwd(cwd, MAX_FILE); | ^~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o rwhois_deleter rwhois_deleter.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lresolv -lcrypt make[2]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_deleter' making all in rwhois_repack make[2]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_repack' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -DHAVE_CONFIG_H -I../.. -I. -I./../../common -I./../../mkdb -I./../../regexp -DHAVE_CONFIG_H -c rwhois_repack.c rwhois_repack.c: In function ‘run_repack_class_aa’: rwhois_repack.c:207:35: warning: ‘%s’ directive writing up to 511 bytes into a region of size 504 [-Wformat-overflow=] 207 | sprintf(command, "cat %s >> %s", f->filename, dest_filename); | ^~ In file included from /usr/include/stdio.h:980, from ./../../common/common.h:39, from rwhois_repack.h:4, from rwhois_repack.c:9: In function ‘sprintf’, inlined from ‘append_files’ at rwhois_repack.c:207:7, inlined from ‘repack_index_files’ at rwhois_repack.c:404:5, inlined from ‘run_repack_class_aa’ at rwhois_repack.c:576:12: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 9 or more bytes (assuming 520) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o rwhois_repack rwhois_repack.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lresolv -lcrypt /usr/bin/ld: /tmp/cct73FXc.ltrans0.ltrans.o: in function `generate_index_file_tmpname.constprop.0': /builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_repack/../../mkdb/index_file.c:69:(.text+0x3d14): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_repack' make[1]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.95DknC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64 ++ dirname /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rwhoisd-1.5.9.6 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64 'INSTALL=/usr/bin/install -p' making install in server make[1]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/server' if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/sbin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/sbin; fi /usr/bin/install -p rwhoisd /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/sbin make[1]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/server' making install in tools make[1]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools' making install in rwhois_indexer make[2]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_indexer' if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/bin; fi /usr/bin/install -p rwhois_indexer /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/bin make[2]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_indexer' making install in rwhois_deleter make[2]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_deleter' if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/bin; fi /usr/bin/install -p rwhois_deleter /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/bin make[2]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_deleter' making install in rwhois_repack make[2]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_repack' if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/bin; fi /usr/bin/install -p rwhois_repack /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/bin make[2]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_repack' make[1]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools' (cd sample.data; /usr/bin/make install) || exit 1 make[1]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/sample.data' [ -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples ] || mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples installing a.com into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples installing net-10.0.0.0-8 into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples installing net-fd00:1234::-32 into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples installing rwhoisd.allow into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples installing rwhoisd.auth_area into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples installing rwhoisd.conf into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples installing rwhoisd.deny into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples installing rwhoisd.dir into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples installing rwhoisd.root into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples installing rwhoisd.x.dir into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples (sh ./../tools/scripts/setup_rwhois_conf /var/rwhoisd/samples \ /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples/rwhoisd.conf) changing root-dir:* ==> root-dir: /var/rwhoisd/samples in /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/samples/rwhoisd.conf make[1]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/sample.data' + install -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/man/man8 + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/man/man8 doc/rwhois_indexer.8 doc/rwhoisd.8 + install -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/lib/systemd/system + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/lib/systemd/system /builddir/build/SOURCES/rwhoisd.service + install -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/etc + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/etc sample.data/rwhoisd.conf + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/etc sample.data/rwhoisd.dir + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/etc sample.data/rwhoisd.x.dir + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/etc sample.data/rwhoisd.root + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/ sample.data/rwhoisd.auth_area + install -d -m 0775 /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/var/rwhoisd/register-spool + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.5.9.6-30.fc41 --unique-debug-suffix -1.5.9.6-30.fc41.aarch64 --unique-debug-src-base rwhoisd-1.5.9.6-30.fc41.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rwhoisd-1.5.9.6 find-debuginfo: starting Extracting debug info from 4 files DWARF-compressing 4 files sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/rwhoisd-1.5.9.6-30.fc41.aarch64 1846 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j32 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rwhoisd-1.5.9.6-30.fc41.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8Tesln + umask 022 + cd /builddir/build/BUILD + cd rwhoisd-1.5.9.6 + DOCDIR=/builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/doc/rwhoisd + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/doc/rwhoisd + cp -pr /builddir/build/BUILD/rwhoisd-1.5.9.6/doc/operations_guide.txt /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/doc/rwhoisd + cp -pr /builddir/build/BUILD/rwhoisd-1.5.9.6/doc/security.txt /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/doc/rwhoisd + cp -pr /builddir/build/BUILD/rwhoisd-1.5.9.6/doc/TODO /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/doc/rwhoisd + cp -pr /builddir/build/BUILD/rwhoisd-1.5.9.6/doc/UPGRADE /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/doc/rwhoisd + cp -pr /builddir/build/BUILD/rwhoisd-1.5.9.6/README /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/doc/rwhoisd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FadwlN + umask 022 + cd /builddir/build/BUILD + cd rwhoisd-1.5.9.6 + LICENSEDIR=/builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/licenses/rwhoisd + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/licenses/rwhoisd + cp -pr /builddir/build/BUILD/rwhoisd-1.5.9.6/LICENSE /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/licenses/rwhoisd + cp -pr /builddir/build/BUILD/rwhoisd-1.5.9.6/regexp/COPYRIGHT /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64/usr/share/licenses/rwhoisd + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(rwhoisd) = 1.5.9.6-30.fc41 rwhoisd = 1.5.9.6-30.fc41 rwhoisd(aarch-64) = 1.5.9.6-30.fc41 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) rtld(GNU_HASH) Recommends: group(rwhoisd) Processing files: rwhoisd-example-1.5.9.6-30.fc41.noarch Provides: rwhoisd-example = 1.5.9.6-30.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rwhoisd-debugsource-1.5.9.6-30.fc41.aarch64 Provides: rwhoisd-debugsource = 1.5.9.6-30.fc41 rwhoisd-debugsource(aarch-64) = 1.5.9.6-30.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rwhoisd-debuginfo-1.5.9.6-30.fc41.aarch64 Provides: debuginfo(build-id) = 6b616626f3a8508f07995dbad3a9da418ffeb50c debuginfo(build-id) = 7f90bc0ef4b759be90183377cfb89f31a54f4d43 debuginfo(build-id) = 93617141973db614f29f5d0d152d38d18937a2b7 debuginfo(build-id) = 95abbe1c2c191f2b3c4ca9f6585cb599ff956fe1 rwhoisd-debuginfo = 1.5.9.6-30.fc41 rwhoisd-debuginfo(aarch-64) = 1.5.9.6-30.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rwhoisd-debugsource(aarch-64) = 1.5.9.6-30.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-30.fc41.aarch64 Wrote: /builddir/build/RPMS/rwhoisd-example-1.5.9.6-30.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rwhoisd-1.5.9.6-30.fc41.aarch64.rpm Wrote: /builddir/build/RPMS/rwhoisd-debugsource-1.5.9.6-30.fc41.aarch64.rpm Wrote: /builddir/build/RPMS/rwhoisd-debuginfo-1.5.9.6-30.fc41.aarch64.rpm Child return code was: 0