Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rwhoisd.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660145566.058305/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t5jhvcw7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t5jhvcw7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'b3d0f472147f467fa19c715627029c01', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660145566.058305/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t5jhvcw7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rwhoisd-1.5.9.6-24.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rwhoisd.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660145566.058305/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t5jhvcw7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t5jhvcw7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '6a790e1d3dd84a62bcccfdc639a76140', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660145566.058305/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t5jhvcw7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mQCJ9v + 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 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rwhoisd-1.5.9.6-Install-database-to-var.patch):' Patch #0 (rwhoisd-1.5.9.6-Install-database-to-var.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .destdir --fuzz=0 patching file sample.data/Makefile.in Patch #1 (rwhoisd-1.5.9.5-Use-configure-options-instead-of-GCC-test.patch): + echo 'Patch #1 (rwhoisd-1.5.9.5-Use-configure-options-instead-of-GCC-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .config_gcc --fuzz=0 patching file configure.ac Patch #2 (rwhoisd-1.5.9.5-Use-AC_SYS_LARGEFILE-for-large-file-support-check.patch): + echo 'Patch #2 (rwhoisd-1.5.9.5-Use-AC_SYS_LARGEFILE-for-large-file-support-check.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .config_lfs --fuzz=0 patching file configure.ac Patch #3 (rwhoisd-1.5.9.5-Respect-without-local-libwrap.patch): + echo 'Patch #3 (rwhoisd-1.5.9.5-Respect-without-local-libwrap.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .config_libwrap --fuzz=0 patching file configure.ac Patch #4 (rwhoisd-1.5.9.5-Do-not-include-bundled-tcpd.h.patch): + echo 'Patch #4 (rwhoisd-1.5.9.5-Do-not-include-bundled-tcpd.h.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .system_tcp --fuzz=0 patching file server/security.c Patch #5 (rwhoisd-1.5.9.5-Select-which-way-to-call-sort.patch): + echo 'Patch #5 (rwhoisd-1.5.9.5-Select-which-way-to-call-sort.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sort --fuzz=0 patching file configure.ac Patch #6 (rwhoisd-1.5.9.5-Adjust-sample-configuration.patch): + echo 'Patch #6 (rwhoisd-1.5.9.5-Adjust-sample-configuration.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .config --fuzz=0 patching file sample.data/rwhoisd.auth_area patching file sample.data/rwhoisd.conf patching file sample.data/rwhoisd.dir patching file sample.data/rwhoisd.root patching file sample.data/rwhoisd.x.dir Patch #7 (rwhoisd-1.5.9.6-Allow-disabling-TCP-wrappers.patch): + echo 'Patch #7 (rwhoisd-1.5.9.6-Allow-disabling-TCP-wrappers.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .tcpwrappers --fuzz=0 patching file configure.ac patching file server/Makefile.in + find tools/tcpd_wrapper -depth -mindepth 1 '!' -name Makefile.in -exec rm '{}' + + 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:32: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: 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:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: 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:704: 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:743: 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:776: 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:1766: 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.zf2BX0 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rwhoisd-1.5.9.6/.package_note-rwhoisd-1.5.9.6-24.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh rwhoisd 1.5.9.6-24.fc37 x86_64 + cd rwhoisd-1.5.9.6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rwhoisd-1.5.9.6/.package_note-rwhoisd-1.5.9.6-24.fc37.x86_64.ld' + 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 --- ./configure.backup 2022-08-10 15:34:21.485675016 +0000 +++ ./configure 2022-08-10 15:34:21.662677063 +0000 @@ -1945,7 +1945,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + 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' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --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 x86_64-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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for x86_64-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 egrep... (cached) /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 special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether to enable IPv6... Linux IPv6 checking for GNU libc 2.1... 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:1556:7: note: in expansion of macro 'NOT_STR_EXISTS' 1556 | 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:1897:9: note: in expansion of macro 'NOT_STR_EXISTS' 1897 | 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:1947:9: note: in expansion of macro 'STR_EXISTS' 1947 | 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:2013:7: note: in expansion of macro 'STR_EXISTS' 2013 | 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:2155:5: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2155 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ auth_area.c:2168:5: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2168 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ auth_area.c:2180:5: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2180 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ auth_area.c:2236:5: warning: '__strncat_chk' output may be truncated copying 511 bytes from a string of length 8191 [-Wstringop-truncation] 2236 | strncat(buffer, portstr, sizeof(buffer)-1); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c directive_conf.c directive_conf.c: In function 'write_extended_directive_file': directive_conf.c:671:34: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 671 | 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:335:29: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] 335 | sprintf(command, "X-%s", datum); | ^~ ~~~~~ In file included from /usr/include/stdio.h:906, 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:335: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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:1269:7: note: in expansion of macro 'STR_EXISTS' 1269 | if (STR_EXISTS(dir)) | ^~~~~~~~~~ fileutils.c: In function 'split_path': fileutils.c:232:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 232 | strncpy(dir, path, len); | ^ fileutils.c:231:11: note: length computed here 231 | len = strlen(path) - (strlen(file) + 1); | ^~~~~~~~~~~~ fileutils.c: In function 'get_dot_lock': fileutils.c:117:28: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 117 | sprintf(lockname, ".%s.%d.lock", file, (int) getpid()); | ^~ In file included from /usr/include/stdio.h:906, from common.h:39, from fileutils.h:15, from fileutils.c:10: In function 'sprintf', inlined from 'generate_uniq_dot_lock_name' at fileutils.c:117:5, inlined from 'get_dot_lock' at fileutils.c:524:8: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 9 and 530 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 ()); | ~~~~~~~~~~~~~~~~~ fileutils.c: In function 'get_dot_lock': fileutils.c:113:28: warning: '%s' directive writing up to 511 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 113 | sprintf(lockname, "%s/.%s.%d.lock", dir, file, (int) getpid()); | ^~ ~~~~ In function 'sprintf', inlined from 'generate_uniq_dot_lock_name' at fileutils.c:113:5, inlined from 'get_dot_lock' at fileutils.c:524:8: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 10 and 1042 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 ()); | ~~~~~~~~~~~~~~~~~ fileutils.c: In function 'get_updated_timestamp': fileutils.c:866:3: warning: 'strncpy' output may be truncated copying 17 bytes from a string of length 17 [-Wstringop-truncation] 866 | 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c log.c log.c: In function 'get_client_hostname': log.c:228:51: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 228 | if (getpeername(sock, (struct sockaddr *)&name, &namelen) != 0) | ^~~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from common.h:44, from log.h:24, from log.c:10: /usr/include/sys/socket.h:131:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ log.c: In function 'file_context_str': log.c:133:20: warning: '%s' directive writing up to 1023 bytes into a region of size 511 [-Wformat-overflow=] 133 | sprintf(buf, "(%s)", context.cur_file); | ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from common.h:39: In function 'sprintf', inlined from 'file_context_str' at log.c:133:5, inlined from 'file_context_str' at log.c:118:1: /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:129:20: warning: '%s' directive writing up to 1023 bytes into a region of size 511 [-Wformat-overflow=] 129 | sprintf(buf, "(%s:%ld)", context.cur_file, context.cur_line_num); | ^~ ~~~~~~~~~~~~~~~~ In function 'file_context_str', inlined from 'file_context_str' at log.c:118:1: log.c:129:18: note: directive argument in the range [0, 9223372036854775807] 129 | sprintf(buf, "(%s:%ld)", context.cur_file, context.cur_line_num); | ^~~~~~~~~~ In function 'sprintf', inlined from 'file_context_str' at log.c:129:5, inlined from 'file_context_str' at log.c:118:1: /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:506:3: warning: '__strncat_chk' output may be truncated copying 8191 bytes from a string of length 8191 [-Wstringop-truncation] 506 | strncat(buff, numstr, sizeof(buff)-1); | ^ log.c:498:7: warning: '__strncat_chk' output may be truncated copying 8191 bytes from a string of length 8191 [-Wstringop-truncation] 498 | strncat(buff, numstr, sizeof(buff)-1); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c main_config.c main_config.c: In function 'verify_server_config_data': main_config.c:414:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 414 | getcwd(buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~ main_config.c: In function 'canonicalize_conf_path.constprop.0': main_config.c:98:3: warning: 'strncpy' output may be truncated copying 512 bytes from a string of length 512 [-Wstringop-truncation] 98 | strncpy(path, canon_path, path_len); | ^ main_config.c: In function 'set_root_dir': main_config.c:646:7: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 646 | strncpy(server_config_data.root_dir, dir, MAX_FILE); | ^ main_config.c: In function 'set_bin_path': main_config.c:692:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 692 | strncpy(server_config_data.bin_path, path, MAX_FILE); | ^ main_config.c: In function 'set_notify_log': main_config.c:706:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 706 | strncpy(server_config_data.notify_log, log, MAX_FILE); | ^ main_config.c: In function 'set_log_default': main_config.c:720:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 720 | strncpy(server_config_data.log_default_file, file, MAX_FILE); | ^ main_config.c: In function 'init_server_config_data': main_config.c:1053:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1053 | strncpy(server_config_data.hostname, name, MAX_LINE); | ^ main_config.c: In function 'set_log_emerg': main_config.c:833:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 833 | strncpy(server_config_data.log_emerg_file, log, MAX_FILE); | ^ main_config.c: In function 'set_log_alert': main_config.c:846:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 846 | strncpy(server_config_data.log_alert_file, log, MAX_FILE); | ^ main_config.c: In function 'set_log_crit': main_config.c:859:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 859 | strncpy(server_config_data.log_crit_file, log, MAX_FILE); | ^ main_config.c: In function 'set_log_err': main_config.c:873:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 873 | strncpy(server_config_data.log_err_file, log, MAX_FILE); | ^ main_config.c: In function 'set_log_warn': main_config.c:887:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 887 | strncpy(server_config_data.log_warn_file, log, MAX_FILE); | ^ main_config.c: In function 'set_log_notice': main_config.c:901:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 901 | strncpy(server_config_data.log_notice_file, log, MAX_FILE); | ^ main_config.c: In function 'set_log_info': main_config.c:914:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 914 | strncpy(server_config_data.log_info_file, log, MAX_FILE); | ^ main_config.c: In function 'set_log_debug': main_config.c:927:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 927 | strncpy(server_config_data.log_debug_file, log, MAX_FILE); | ^ main_config.c: In function 'set_directive_file': main_config.c:941:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 941 | strncpy(server_config_data.directive_file, file, MAX_FILE); | ^ main_config.c: In function 'set_x_directive_file': main_config.c:955:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 955 | strncpy(server_config_data.x_directive_file, file, MAX_FILE); | ^ main_config.c: In function 'set_auth_area_file': main_config.c:969:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 969 | strncpy(server_config_data.auth_area_file, file, MAX_FILE); | ^ main_config.c: In function 'set_register_log': main_config.c:983:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 983 | strncpy(server_config_data.register_log, log, MAX_FILE); | ^ main_config.c: In function 'set_register_spool': main_config.c:997:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 997 | strncpy(server_config_data.register_spool, spool, MAX_FILE); | ^ main_config.c: In function 'set_punt_file': main_config.c:1011:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1011 | strncpy(server_config_data.punt_file, file, MAX_FILE); | ^ main_config.c: In function 'set_security_allow': main_config.c:1025:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1025 | strncpy(server_config_data.security_allow, file, MAX_FILE); | ^ main_config.c: In function 'set_security_deny': main_config.c:1039:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1039 | strncpy(server_config_data.security_deny, file, MAX_FILE); | ^ main_config.c: In function 'set_local_hostname': main_config.c:1053:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1053 | strncpy(server_config_data.hostname, name, MAX_LINE); | ^ main_config.c: In function 'set_process_userid': main_config.c:1067:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1067 | strncpy(server_config_data.process_userid, id, MAX_LINE); | ^ main_config.c: In function 'set_pid_file': main_config.c:1266:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1266 | strncpy(server_config_data.pid_file, file, MAX_FILE); | ^ main_config.c: In function 'set_server_contact': main_config.c:1280:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1280 | strncpy(server_config_data.server_contact, contact, MAX_LINE); | ^ main_config.c: In function 'set_display': main_config.c:1364:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1364 | 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c read_config.c read_config.c: In function 'moveto_new_configuration': read_config.c:509:11: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 509 | 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c schema.c schema.c: In function 'create_class': schema.c:1169:5: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 1169 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ schema.c:1182:5: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 1182 | 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c delete.c delete.c: In function 'mkdb_delete_data_entry': delete.c:205:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 205 | 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(fi_list, index_file_index, data_file_index, offset, | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:906, 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:1256: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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c index.c index.c: In function 'index_record': index.c:292:21: warning: variable 'global_attr_list' set but not used [-Wunused-but-set-variable] 292 | dl_list_type *global_attr_list; | ^~~~~~~~~~~~~~~~ index.c: In function 'encode_index_line': index.c:600:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 600 | 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c index_file.c index_file.c: In function 'create_index_fp.constprop.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:906, from ./../common/common.h:39, from index_file.h:13, from index_file.c:10: In function 'sprintf', inlined from 'create_index_fp.constprop.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:168:7: note: in expansion of macro 'NOT_STR_EXISTS' 168 | 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c y.tab.c /usr/local/share/bison.simple: In function 'yyparse': /usr/local/share/bison.simple:327:4: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] /usr/local/share/bison.simple:93:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] /usr/local/share/bison.simple:387:16: note: in expansion of macro 'YYLEX' ./parse.y: At top level: ./parse.y:224:1: warning: 'display_query' defined but not used [-Wunused-function] 224 | display_query() | ^~~~~~~~~~~~~ /usr/local/share/bison.simple: In function 'yyparse': /usr/local/share/bison.simple:516:12: warning: 'yyval.val' may be used uninitialized [-Wmaybe-uninitialized] /usr/local/share/bison.simple:254:11: note: 'yyval.val' was declared here gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:278:66: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 278 | 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:192:25: warning: variable 'failure' set but not used [-Wunused-but-set-variable] 192 | int failure = 0; | ^~~~~~~ daemon.c:330:9: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 330 | nice(get_child_priority()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:115:21: warning: comparison of constant '45' with boolean expression is always false [-Wbool-compare] 115 | if (!query_str[0] == '-') | ^~ directive.c:115:21: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] directive.c:115:7: note: add parentheses around left hand side expression to silence this warning 115 | if (!query_str[0] == '-') | ^~~~~~~~~~~~~ | ( ) gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:178:7: note: in expansion of macro 'STR_EXISTS' 178 | if (STR_EXISTS(orig_cwd)) | ^~~~~~~~~~ main.c:180:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 180 | chdir(orig_cwd); | ^~~~~~~~~~~~~~~ main.c: In function 'main': main.c:221:3: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 221 | getcwd(orig_cwd, sizeof(orig_cwd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:906, 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:147:7: note: in expansion of macro 'STR_EXISTS' 147 | 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:152:7: note: in expansion of macro 'STR_EXISTS' 152 | if (STR_EXISTS(reg_action)) | ^~~~~~~~~~ register_directive.c:97:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 97 | strncpy(reg_action, action, MAX_LINE); | ^ register_directive.c:106:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | strncpy(reg_email, email, MAX_LINE); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:244:1: warning: 'print_auth_struct' defined but not used [-Wunused-function] 244 | print_auth_struct() | ^~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:32: warning: '%s' directive writing up to 511 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:906, 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:367:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 1029 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 ()); | ~~~~~~~~~~~~~~~~~ sschema.c: In function 'create_schema_file': sschema.c:114:32: warning: '%s' directive writing up to 511 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:367:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 1029 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:71:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 71 | strncpy(state_info.spool_file_name, file, | ^ state.c: In function 'move_spool_file': state.c:71:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] state.c: In function 'set_client_vendor_id': state.c:184:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 184 | strncpy(state_info.client_vendor_id, id, | ^ state.c: In function 'set_register_email': state.c:198:3: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 198 | 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:1556:7: note: in expansion of macro 'NOT_STR_EXISTS' 1556 | 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:1897:9: note: in expansion of macro 'NOT_STR_EXISTS' 1897 | 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:1947:9: note: in expansion of macro 'STR_EXISTS' 1947 | 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:2013:7: note: in expansion of macro 'STR_EXISTS' 2013 | 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:2155:5: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2155 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ ./../common/auth_area.c:2168:5: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2168 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ ./../common/auth_area.c:2180:5: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 2180 | strncpy(buffer, aa_dir, sizeof(buffer)-1); | ^ ./../common/auth_area.c:2236:5: warning: '__strncat_chk' output may be truncated copying 511 bytes from a string of length 8191 [-Wstringop-truncation] 2236 | strncat(buffer, portstr, sizeof(buffer)-1); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:525:12: sxfer.c:334:14: warning: 'xs' may be used uninitialized [-Wmaybe-uninitialized] 334 | not_done = dl_list_first(&(xs->xfer_class_list)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sxfer.c: In function 'index_data_files_by_suffix': sxfer.c:489:20: note: 'xs' was declared here 489 | 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:906, 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:445: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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rwhoisd-1.5.9.6/.package_note-rwhoisd-1.5.9.6-24.fc37.x86_64.ld -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/ccApJgVW.ltrans0.ltrans.o: in function `run_external_parser': /builddir/build/BUILD/rwhoisd-1.5.9.6/server/../common/fileutils.c:407: 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -I../.. -I. -I./../../common -I./../../mkdb -DHAVE_CONFIG_H -c rwhois_indexer.c rwhois_indexer.c: In function 'main': rwhois_indexer.c:392:3: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 392 | getcwd(cwd, MAX_FILE); | ^~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rwhoisd-1.5.9.6/.package_note-rwhoisd-1.5.9.6-24.fc37.x86_64.ld -o rwhois_indexer rwhois_indexer.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lresolv -lcrypt /usr/bin/ld: /tmp/cc065eRC.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: 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rwhoisd-1.5.9.6/.package_note-rwhoisd-1.5.9.6-24.fc37.x86_64.ld -o rwhois_deleter rwhois_deleter.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lresolv -lcrypt In function 'strncat', inlined from 'path_rel_to_full' at ../../common/fileutils.c:307:3, inlined from 'canonicalize_conf_path.constprop' at ../../common/main_config.c:69:5: /usr/include/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 513 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:209:35: warning: '%s' directive writing up to 511 bytes into a region of size 504 [-Wformat-overflow=] 209 | sprintf(command, "cat %s >> %s", f->filename, dest_filename); | ^~ In file included from /usr/include/stdio.h:906, 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:209:7, inlined from 'repack_index_files' at rwhois_repack.c:406:5, inlined from 'run_repack_class_aa' at rwhois_repack.c:578: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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rwhoisd-1.5.9.6/.package_note-rwhoisd-1.5.9.6-24.fc37.x86_64.ld -o rwhois_repack rwhois_repack.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lresolv -lcrypt /usr/bin/ld: /tmp/ccfw2B1K.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: 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.A2DEMj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64 ++ dirname /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rwhoisd-1.5.9.6/.package_note-rwhoisd-1.5.9.6-24.fc37.x86_64.ld' + 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 + make install DESTDIR=/builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64 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-24.fc37.x86_64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/sbin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/sbin; fi /usr/bin/install -c rwhoisd /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/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-24.fc37.x86_64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/bin; fi /usr/bin/install -c rwhois_indexer /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/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-24.fc37.x86_64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/bin; fi /usr/bin/install -c rwhois_deleter /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/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-24.fc37.x86_64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/bin; fi /usr/bin/install -c rwhois_repack /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/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; 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-24.fc37.x86_64/var/rwhoisd/samples ] || mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples installing a.com into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples installing net-10.0.0.0-8 into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples installing net-fd00:1234::-32 into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples installing rwhoisd.allow into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples installing rwhoisd.auth_area into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples installing rwhoisd.conf into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples installing rwhoisd.deny into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples installing rwhoisd.dir into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples installing rwhoisd.root into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples installing rwhoisd.x.dir into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples (sh ./../tools/scripts/setup_rwhois_conf /var/rwhoisd/samples \ /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/samples/rwhoisd.conf) changing root-dir:* ==> root-dir: /var/rwhoisd/samples in /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/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-24.fc37.x86_64/usr/share/man/man8 + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/share/man/man8 doc/rwhois_indexer.8 doc/rwhoisd.8 + install -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/lib/systemd/system + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/lib/systemd/system /builddir/build/SOURCES/rwhoisd.service + install -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/etc + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/etc sample.data/rwhoisd.conf + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/etc sample.data/rwhoisd.dir + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/etc sample.data/rwhoisd.x.dir + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/etc sample.data/rwhoisd.root + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/ sample.data/rwhoisd.auth_area + install -d -m 0775 /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/var/rwhoisd/register-spool + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.5.9.6-24.fc37 --unique-debug-suffix -1.5.9.6-24.fc37.x86_64 --unique-debug-src-base rwhoisd-1.5.9.6-24.fc37.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/rwhoisd-1.5.9.6 extracting debug info from /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/bin/rwhois_deleter extracting debug info from /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/bin/rwhois_indexer extracting debug info from /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/bin/rwhois_repack extracting debug info from /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/sbin/rwhoisd original debug info size: 2256kB, size after compression: 1836kB /usr/bin/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 1820 blocks + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rwhoisd-1.5.9.6-24.fc37.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rJrND6 + umask 022 + cd /builddir/build/BUILD + cd rwhoisd-1.5.9.6 + DOCDIR=/builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/share/doc/rwhoisd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/share/doc/rwhoisd + cp -pr doc/operations_guide.txt /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/share/doc/rwhoisd + cp -pr doc/security.txt /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/share/doc/rwhoisd + cp -pr doc/TODO /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/share/doc/rwhoisd + cp -pr doc/UPGRADE /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/share/doc/rwhoisd + cp -pr README /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/share/doc/rwhoisd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TjWsf9 + umask 022 + cd /builddir/build/BUILD + cd rwhoisd-1.5.9.6 + LICENSEDIR=/builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/share/licenses/rwhoisd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/share/licenses/rwhoisd + cp -pr LICENSE /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64/usr/share/licenses/rwhoisd + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(rwhoisd) = 1.5.9.6-24.fc37 rwhoisd = 1.5.9.6-24.fc37 rwhoisd(x86-64) = 1.5.9.6-24.fc37 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) rtld(GNU_HASH) Processing files: rwhoisd-example-1.5.9.6-24.fc37.noarch Provides: rwhoisd-example = 1.5.9.6-24.fc37 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-24.fc37.x86_64 Provides: rwhoisd-debugsource = 1.5.9.6-24.fc37 rwhoisd-debugsource(x86-64) = 1.5.9.6-24.fc37 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-24.fc37.x86_64 Provides: debuginfo(build-id) = 70e1bd690fddc3d20e0c0d296ba6105660d9a44c debuginfo(build-id) = 71af0d211db79aba3f8bf47cb6dcb69df17cca90 debuginfo(build-id) = 936c2df4142443d58e0874cc809a1b1ea7c7a369 debuginfo(build-id) = 986ab74be5142af7eb7efc26114affa104566dfb rwhoisd-debuginfo = 1.5.9.6-24.fc37 rwhoisd-debuginfo(x86-64) = 1.5.9.6-24.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rwhoisd-debugsource(x86-64) = 1.5.9.6-24.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64 Wrote: /builddir/build/RPMS/rwhoisd-debugsource-1.5.9.6-24.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/rwhoisd-debuginfo-1.5.9.6-24.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/rwhoisd-1.5.9.6-24.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/rwhoisd-example-1.5.9.6-24.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.S7VYe4 + umask 022 + cd /builddir/build/BUILD + cd rwhoisd-1.5.9.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-24.fc37.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ZGkU49 + umask 022 + cd /builddir/build/BUILD + rm -rf rwhoisd-1.5.9.6 rwhoisd-1.5.9.6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0