Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rwhoisd.spec'], chrootPath='/var/lib/mock/f33-build-299532-56362/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/rwhoisd-1.5.9.6-19.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rwhoisd.spec'], chrootPath='/var/lib/mock/f33-build-299532-56362/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4GgyBZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rwhoisd-1.5.9.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/rwhoisd-1.5.9.6.tar.gz + /usr/bin/tar -xof - + 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 -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 -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 -p1 -b --suffix .config_lfs --fuzz=0 patching file configure.ac + echo 'Patch #3 (rwhoisd-1.5.9.5-Respect-without-local-libwrap.patch):' Patch #3 (rwhoisd-1.5.9.5-Respect-without-local-libwrap.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -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 -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 -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 -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:74: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.ac:74: the top level configure.ac:74: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.ac:74: the top level configure.ac:74: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.ac:74: the top level configure.ac:74: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.ac:74: the top level + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a8ZXtZ + umask 022 + cd /builddir/build/BUILD + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + 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 2020-08-14 22:11:22.457608794 -0400 +++ ./configure 2020-08-14 22:11:35.587609178 -0400 @@ -1984,7 +1984,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=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --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 riscv64-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking 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 riscv64-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... no checking for connect in -lsocket... no checking for connect in -linet... no checking whether to enable TCP wrappers... disabled checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for mode_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... 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 for _doprnt... no 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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:63:30: warning: the address of 'line' will always evaluate as 'true' [-Waddress] 63 | #define NOT_STR_EXISTS(str) (!(str) || !*(str)) | ^ auth_area.c:1910:9: note: in expansion of macro 'NOT_STR_EXISTS' 1910 | 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)) | ^~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:76, from auth_area.h:15, from auth_area.c:10: In function 'strncat', inlined from 'write_auth_area' at auth_area.c:340:5, inlined from 'write_all_auth_areas.part.0' at auth_area.c:2083:10: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'create_auth_area' at auth_area.c:2155:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'create_auth_area' at auth_area.c:2168:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'create_auth_area' at auth_area.c:2180:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'create_auth_area' at auth_area.c:2236:5: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 511 bytes from a string of length 8191 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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.part.0': 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:866, from common.h:39, from directive_conf.h:15, from directive_conf.c:10: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 258 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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)) | ^~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:76, from fileutils.h:15, from fileutils.c:10: In function 'strncpy', inlined from 'split_path.part.0' at fileutils.c:232:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileutils.c: In function 'split_path.part.0': 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:866, from common.h:39, from fileutils.h:15, from fileutils.c:10: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 9 and 530 bytes into a destination of size 513 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:866, from common.h:39, from fileutils.h:15, from fileutils.c:10: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 10 and 1042 bytes into a destination of size 513 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:76, from fileutils.h:15, from fileutils.c:10: In function 'strncpy', inlined from 'get_updated_timestamp' at fileutils.c:866:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 17 bytes from a string of length 17 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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:26: 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:866, from common.h:39, from log.h:24, from log.c:10: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 1026 bytes into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~ ~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:866, from common.h:39, from log.h:24, from log.c:10: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 1046 bytes into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:76, from log.h:24, from log.c:10: In function 'strncat', inlined from 'examin_error_string' at log.c:506:3: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 8191 bytes from a string of length 8191 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'examin_error_string' at log.c:498:7: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 8191 bytes from a string of length 8191 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:76, from main_config.h:15, from main_config.c:10: In function 'strncpy', inlined from 'canonicalize_conf_path.constprop.0' at main_config.c:98:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 512 bytes from a string of length 512 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_root_dir' at main_config.c:646:7, inlined from 'set_root_dir' at main_config.c:639:1: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_bin_path' at main_config.c:692:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_notify_log' at main_config.c:706:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_log_default' at main_config.c:720:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_local_hostname' at main_config.c:1053:3, inlined from 'init_server_config_data' at main_config.c:352:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_log_emerg' at main_config.c:833:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_log_alert' at main_config.c:846:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_log_crit' at main_config.c:859:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_log_err' at main_config.c:873:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_log_warn' at main_config.c:887:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_log_notice' at main_config.c:901:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_log_info' at main_config.c:914:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_log_debug' at main_config.c:927:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_directive_file' at main_config.c:941:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_x_directive_file' at main_config.c:955:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_auth_area_file' at main_config.c:969:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_register_log' at main_config.c:983:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_register_spool' at main_config.c:997:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_punt_file' at main_config.c:1011:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_security_allow' at main_config.c:1025:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_security_deny' at main_config.c:1039:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_local_hostname' at main_config.c:1053:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_process_userid' at main_config.c:1067:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_pid_file' at main_config.c:1266:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_server_contact' at main_config.c:1280:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_display' at main_config.c:1364:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c read_config.c In file included from /usr/include/string.h:519, from common.h:76, from read_config.h:15, from read_config.c:10: In function 'strncpy', inlined from 'moveto_new_configuration' at read_config.c:509:11: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c schema.c In file included from /usr/include/string.h:519, from common.h:76, from schema.h:12, from schema.c:10: In function 'strncpy', inlined from 'create_class' at schema.c:1169:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'create_class' at schema.c:1182:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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:866, from ./../common/common.h:39, from fileinfo.h:15, from fileinfo.c:10: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 1024 bytes into a destination of size 513 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c index_file.c In file included from /usr/include/string.h:519, from ./../common/common.h:76, from index_file.h:13, from index_file.c:10: In function 'strncpy', inlined from 'create_index_fp.constprop.0' at index_file.c:93:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ index_file.c: In function 'create_index_fp.constprop.0': 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:866, from ./../common/common.h:39, from index_file.h:13, from index_file.c:10: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 516 bytes into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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' 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 in this function [-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I. -DHAVE_CONFIG_H -c regexp.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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I. -DHAVE_CONFIG_H -c regsub.c regsub.c: In function 'regsub': regsub.c:71:42: 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:15: 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 233 | 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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:866, from ./../common/common.h:39, from reg_ext.h:15, from reg_ext.c:10: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reg_ext.c:141:8: warning: 'status' may be used uninitialized in this function [-Wmaybe-uninitialized] 141 | if (! 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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)) | ^~~~~~~~~~ In file included from /usr/include/string.h:519, from ./../common/common.h:76, from register_directive.h:15, from register_directive.c:10: In function 'strncpy', inlined from 'handle_registration_header' at register_directive.c:97:3, inlined from 'register_on' at register_directive.c:142:8: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'handle_registration_header' at register_directive.c:106:3, inlined from 'register_on' at register_directive.c:142:8: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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.part.0': 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:866, from ./../common/common.h:39, from sschema.h:6, from sschema.c:1: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 7 and 1029 bytes into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:866, from ./../common/common.h:39, from sschema.h:6, from sschema.c:1: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 7 and 1029 bytes into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 In file included from /usr/include/string.h:519, from ./../common/common.h:76, from state.h:15, from state.c:10: In function 'strncpy', inlined from 'set_rwhois_spool_file_name' at state.c:71:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_rwhois_spool_file_name' at state.c:71:3, inlined from 'move_spool_file' at state.c:144:3, inlined from 'move_spool_file' at state.c:113:1: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_client_vendor_id' at state.c:184:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_register_email' at state.c:198:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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: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:1910:9: note: in expansion of macro 'NOT_STR_EXISTS' 1910 | 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)) | ^~~~~~~~~~ In file included from /usr/include/string.h:519, from ./../common/common.h:76, from status.h:15, from status.c:10: In function 'strncat', inlined from 'write_auth_area' at ./../common/auth_area.c:340:5, inlined from 'write_all_auth_areas.part.0' at ./../common/auth_area.c:2083:10: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'create_auth_area' at ./../common/auth_area.c:2155:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'create_auth_area' at ./../common/auth_area.c:2168:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'create_auth_area' at ./../common/auth_area.c:2180:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'create_auth_area' at ./../common/auth_area.c:2236:5: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 511 bytes from a string of length 8191 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 sxfer.c: In function 'index_data_files_by_suffix': sxfer.c:334:14: warning: 'xs' may be used uninitialized in this function [-Wmaybe-uninitialized] 334 | not_done = dl_list_first(&(xs->xfer_class_list)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sxfer.c:489:20: note: 'xs' was declared here 489 | xfer_arg_struct *xs; | ^~ sxfer.c: In function 'create_data_files.part.0': 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:866, from ./../common/common.h:39, from sxfer.h:6, from sxfer.c:1: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __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 -fasynchronous-unwind-tables -fstack-clash-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 -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 -lcrypt In function 'strncpy', inlined from 'split_path.part.0' at fileutils.c:232:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ fileutils.c: In function 'split_path.part.0': fileutils.c:231:11: note: length computed here /usr/bin/ld: /tmp/rwhoisd.jP8wb5.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/rwhoisd-1.5.9.6/server/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 -fasynchronous-unwind-tables -fstack-clash-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 -o rwhois_indexer rwhois_indexer.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lcrypt In function 'strncpy', inlined from 'split_path.part.0' at fileutils.c:232:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ fileutils.c: In function 'split_path.part.0': fileutils.c:231:11: note: length computed here /usr/bin/ld: /tmp/rwhois_indexer.J5Dq8V.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_indexer/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 -fasynchronous-unwind-tables -fstack-clash-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 -o rwhois_deleter rwhois_deleter.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lcrypt make[2]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_deleter' making all in rwhois_repack make[2]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_repack' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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 -fasynchronous-unwind-tables -fstack-clash-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:866, from ./../../common/common.h:39, from rwhois_repack.h:4, from rwhois_repack.c:9: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 9 or more bytes (assuming 520) into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o rwhois_repack rwhois_repack.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lcrypt In function 'strncpy', inlined from 'split_path.part.0' at fileutils.c:232:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ fileutils.c: In function 'split_path.part.0': fileutils.c:231:11: note: length computed here /usr/bin/ld: /tmp/rwhois_repack.L4qi26.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_repack/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.eIcDKY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64 + cd rwhoisd-1.5.9.6 + make install DESTDIR=/builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64 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-19.fc33.riscv64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/sbin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/sbin; fi /usr/bin/install -c rwhoisd /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/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-19.fc33.riscv64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin; fi /usr/bin/install -c rwhois_indexer /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/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-19.fc33.riscv64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin; fi /usr/bin/install -c rwhois_deleter /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/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-19.fc33.riscv64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin; fi /usr/bin/install -c rwhois_repack /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/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-19.fc33.riscv64/var/rwhoisd/samples ] || mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples installing a.com into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples installing net-10.0.0.0-8 into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples installing net-fd00:1234::-32 into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples installing rwhoisd.allow into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples installing rwhoisd.auth_area into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples installing rwhoisd.conf into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples installing rwhoisd.deny into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples installing rwhoisd.dir into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples installing rwhoisd.root into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples installing rwhoisd.x.dir into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples (sh ./../tools/scripts/setup_rwhois_conf /var/rwhoisd/samples \ /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/samples/rwhoisd.conf) changing root-dir:* ==> root-dir: /var/rwhoisd/samples in /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/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-19.fc33.riscv64/usr/share/man/man8 + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/share/man/man8 doc/rwhois_indexer.8 doc/rwhoisd.8 + install -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/lib/systemd/system + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/lib/systemd/system /builddir/build/SOURCES/rwhoisd.service + install -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/etc + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/etc sample.data/rwhoisd.conf + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/etc sample.data/rwhoisd.dir + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/etc sample.data/rwhoisd.x.dir + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/etc sample.data/rwhoisd.root + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/ sample.data/rwhoisd.auth_area + install -d -m 0775 /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/var/rwhoisd/register-spool + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.5.9.6-19.fc33 --unique-debug-suffix -1.5.9.6-19.fc33.riscv64 --unique-debug-src-base rwhoisd-1.5.9.6-19.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rwhoisd-1.5.9.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin/rwhois_indexer explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin/rwhois_deleter explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/sbin/rwhoisd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin/rwhois_repack extracting debug info from /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin/rwhois_indexer extracting debug info from /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin/rwhois_deleter extracting debug info from /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/sbin/rwhoisd extracting debug info from /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/bin/rwhois_repack original debug info size: 7784kB, size after compression: 7320kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. cpio: server/anon_record.c: Cannot stat: No such file or directory cpio: server/attributes.c: Cannot stat: No such file or directory cpio: server/client_msgs.c: Cannot stat: No such file or directory cpio: server/compat.c: Cannot stat: No such file or directory cpio: server/delete.c: Cannot stat: No such file or directory cpio: server/directive_conf.c: Cannot stat: No such file or directory cpio: server/dl_list.c: Cannot stat: No such file or directory cpio: server/fileinfo.c: Cannot stat: No such file or directory cpio: server/fileutils.c: Cannot stat: No such file or directory cpio: server/index.c: Cannot stat: No such file or directory cpio: server/index_file.c: Cannot stat: No such file or directory cpio: server/ip_network.c: Cannot stat: No such file or directory cpio: server/lex.yy.c: Cannot stat: No such file or directory cpio: server/log.c: Cannot stat: No such file or directory cpio: server/main_config.c: Cannot stat: No such file or directory cpio: server/metaphon.c: Cannot stat: No such file or directory cpio: server/misc.c: Cannot stat: No such file or directory cpio: server/parse.l: Cannot stat: No such file or directory cpio: server/parse.y: Cannot stat: No such file or directory cpio: server/procutils.c: Cannot stat: No such file or directory cpio: server/read_config.c: Cannot stat: No such file or directory cpio: server/records.c: Cannot stat: No such file or directory cpio: server/regerror.c: Cannot stat: No such file or directory cpio: server/regexp.c: Cannot stat: No such file or directory cpio: server/rw_log.c: Cannot stat: No such file or directory cpio: server/schema.c: Cannot stat: No such file or directory cpio: server/search.c: Cannot stat: No such file or directory cpio: server/search_prim.c: Cannot stat: No such file or directory cpio: server/strutil.c: Cannot stat: No such file or directory cpio: server/validate_rec.c: Cannot stat: No such file or directory cpio: tools/rwhois_deleter/compat.c: Cannot stat: No such file or directory cpio: tools/rwhois_deleter/log.c: Cannot stat: No such file or directory cpio: tools/rwhois_deleter/main_config.c: Cannot stat: No such file or directory cpio: tools/rwhois_deleter/misc.c: Cannot stat: No such file or directory cpio: tools/rwhois_deleter/regerror.c: Cannot stat: No such file or directory cpio: tools/rwhois_deleter/regexp.c: Cannot stat: No such file or directory cpio: tools/rwhois_deleter/rw_log.c: Cannot stat: No such file or directory cpio: tools/rwhois_deleter/strutil.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/anon_record.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/attributes.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/auth_area.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/client_msgs.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/compat.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/directive_conf.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/dl_list.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/fileinfo.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/fileutils.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/index.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/index_file.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/ip_network.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/log.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/main_config.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/metaphon.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/misc.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/read_config.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/records.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/regerror.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/regexp.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/rw_log.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/schema.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/strutil.c: Cannot stat: No such file or directory cpio: tools/rwhois_indexer/validate_rec.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/attributes.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/auth_area.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/compat.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/directive_conf.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/dl_list.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/fileinfo.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/fileutils.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/index.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/index_file.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/ip_network.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/log.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/main_config.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/misc.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/read_config.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/regerror.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/regexp.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/rw_log.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/schema.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/strutil.c: Cannot stat: No such file or directory cpio: tools/rwhois_repack/validate_rec.c: Cannot stat: No such file or directory 1765 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rwhoisd-1.5.9.6-19.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IjktGX + umask 022 + cd /builddir/build/BUILD + cd rwhoisd-1.5.9.6 + DOCDIR=/builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/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-19.fc33.riscv64/usr/share/doc/rwhoisd + cp -pr doc/operations_guide.txt /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/share/doc/rwhoisd + cp -pr doc/security.txt /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/share/doc/rwhoisd + cp -pr doc/TODO /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/share/doc/rwhoisd + cp -pr doc/UPGRADE /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/share/doc/rwhoisd + cp -pr README /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/share/doc/rwhoisd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UvQhI0 + umask 022 + cd /builddir/build/BUILD + cd rwhoisd-1.5.9.6 + LICENSEDIR=/builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/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-19.fc33.riscv64/usr/share/licenses/rwhoisd + cp -pr LICENSE /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64/usr/share/licenses/rwhoisd + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(rwhoisd) = 1.5.9.6-19.fc33 rwhoisd = 1.5.9.6-19.fc33 rwhoisd(riscv-64) = 1.5.9.6-19.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) rtld(GNU_HASH) Processing files: rwhoisd-example-1.5.9.6-19.fc33.noarch Provides: rwhoisd-example = 1.5.9.6-19.fc33 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-19.fc33.riscv64 Provides: rwhoisd-debugsource = 1.5.9.6-19.fc33 rwhoisd-debugsource(riscv-64) = 1.5.9.6-19.fc33 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-19.fc33.riscv64 Provides: debuginfo(build-id) = 0ef8aefd65ca05fe7ee7b1c86db77daf1b6f5b54 debuginfo(build-id) = 5480edf9053267bf04a57cf620ef77e08d2a4c05 debuginfo(build-id) = cbaa3a9dfbb573bd1f48cf51e7d6689a93e50719 debuginfo(build-id) = e44f376727aa0d72f8e5b6004fd5115cc095764e rwhoisd-debuginfo = 1.5.9.6-19.fc33 rwhoisd-debuginfo(riscv-64) = 1.5.9.6-19.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rwhoisd-debugsource(riscv-64) = 1.5.9.6-19.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64 Wrote: /builddir/build/RPMS/rwhoisd-example-1.5.9.6-19.fc33.noarch.rpm Wrote: /builddir/build/RPMS/rwhoisd-1.5.9.6-19.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rwhoisd-debugsource-1.5.9.6-19.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rwhoisd-debuginfo-1.5.9.6-19.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6MJzDZ + umask 022 + cd /builddir/build/BUILD + cd rwhoisd-1.5.9.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-19.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0