+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/rwhoisd.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MCIPff + 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 + echo 'Patch #1 (rwhoisd-1.5.9.5-Use-configure-options-instead-of-GCC-test.patch):' 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 + echo 'Patch #2 (rwhoisd-1.5.9.5-Use-AC_SYS_LARGEFILE-for-large-file-support-check.patch):' 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 + echo 'Patch #4 (rwhoisd-1.5.9.5-Do-not-include-bundled-tcpd.h.patch):' 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 + echo 'Patch #5 (rwhoisd-1.5.9.5-Select-which-way-to-call-sort.patch):' 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 + echo 'Patch #6 (rwhoisd-1.5.9.5-Adjust-sample-configuration.patch):' 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 + find tools/tcpd_wrapper -depth -mindepth 1 '!' -name Makefile.in -exec rm '{}' + + autoreconf configure.ac:65: 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:65: the top level configure.ac:65: 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:65: the top level configure.ac:65: 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:65: the top level configure.ac:65: 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:65: the top level + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UyZO6N + umask 022 + cd /builddir/build/BUILD + cd rwhoisd-1.5.9.6 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-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 --enable-warnings --without-local-libwrap configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking 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 for hosts_access in -lwrap... yes 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c attributes.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c auth_area.c In file included from auth_area.c:16:0: auth_area.c: In function 'write_auth_area': defines.h:72:8: warning: the address of 'aa_dir' will always evaluate as 'true' [-Waddress] (str ? str : def) ^ auth_area.c:318:11: note: in expansion of macro 'SAFE_STR' SAFE_STR(aa_dir, ""), strerror(errno)); ^~~~~~~~ defines.h:72:8: warning: the address of 'attr_dir' will always evaluate as 'true' [-Waddress] (str ? str : def) ^ auth_area.c:349:13: note: in expansion of macro 'SAFE_STR' 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] #define NOT_STR_EXISTS(str) (!(str) || !*(str)) ^ auth_area.c:1556:7: note: in expansion of macro 'NOT_STR_EXISTS' 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] #define NOT_STR_EXISTS(str) (!(str) || !*(str)) ^ auth_area.c:1897:9: note: in expansion of macro 'NOT_STR_EXISTS' if (NOT_STR_EXISTS(line)) ^~~~~~~~~~~~~~ defines.h:63:30: warning: the address of 'line' will always evaluate as 'true' [-Waddress] #define NOT_STR_EXISTS(str) (!(str) || !*(str)) ^ auth_area.c:1910:9: note: in expansion of macro 'NOT_STR_EXISTS' if (NOT_STR_EXISTS(line)) ^~~~~~~~~~~~~~ defines.h:60:26: warning: the address of 'port' will always evaluate as 'true' [-Waddress] #define STR_EXISTS(str) ((str) && *(str)) ^ auth_area.c:1947:9: note: in expansion of macro 'STR_EXISTS' 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] #define STR_EXISTS(str) ((str) && *(str)) ^ auth_area.c:2013:7: note: in expansion of macro 'STR_EXISTS' if (STR_EXISTS(dir)) ^~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c client_msgs.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c compat.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=] fprintf(fp, "command-len: %u\n", strlen(&(dir->name[2]))); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %lu gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c dir_security.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c dl_list.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c fileutils.c In file included from fileutils.c:14:0: fileutils.c: In function 'open_file_to_write': defines.h:60:26: warning: the address of 'dir' will always evaluate as 'true' [-Waddress] #define STR_EXISTS(str) ((str) && *(str)) ^ fileutils.c:1269:7: note: in expansion of macro 'STR_EXISTS' if (STR_EXISTS(dir)) ^~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c ip_network.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] if (getpeername(sock, (struct sockaddr *)&name, &namelen) != 0) ^ In file included from /usr/include/netinet/in.h:23:0, from common.h:44, from log.h:24, from log.c:10: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ log.c: In function 'file_context_str': log.c:129:20: warning: '%s' directive writing up to 1023 bytes into a region of size 511 [-Wformat-overflow=] sprintf(buf, "(%s:%ld)", context.cur_file, context.cur_line_num); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:861:0, from common.h:39, from log.h:24, from log.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 1047 bytes into a destination of size 512 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log.c:133:20: warning: '%s' directive writing up to 1023 bytes into a region of size 511 [-Wformat-overflow=] sprintf(buf, "(%s)", context.cur_file); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:861:0, from common.h:39, from log.h:24, from log.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 1026 bytes into a destination of size 512 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] getcwd(buf, sizeof(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c misc.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c procutils.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c punt_ref.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c read_config.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] int fd; ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c schema.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I.. -I./../regexp -DHAVE_CONFIG_H -c strutil.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c anon_record.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] fgets(buffer,MAX_LINE,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~ At top level: delete.c:95:1: warning: 'mkdb_delete_index_entry' defined but not used [-Wunused-function] mkdb_delete_index_entry(fi_list, index_file_index, data_file_index, offset, ^~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=] fprintf(fp, "%s:%lld\n", MKDB_SIZE_TAG, fi->size); ~~~^ ~~~~~~~~ %ld gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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=] sprintf(line, "%lld:%d:%d:%d:%s", item->offset, item->data_file_no, ~~~^ ~~~~~~~~~~~~ %ld gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c index_file.c index_file.c: In function 'create_index_fp.isra.1': index_file.c:102:34: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 512 [-Wformat-overflow=] sprintf(file->tmp_filename, "%s.tmp", file->real_filename); ^~~~ In file included from /usr/include/stdio.h:861:0, from ./../common/common.h:39, from index_file.h:13, from index_file.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 516 bytes into a destination of size 512 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c metaphon.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c records.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c search.c In file included from mkdb_types.h:17:0, 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] #define NOT_STR_EXISTS(str) (!(str) || !*(str)) ^ search.c:168:7: note: in expansion of macro 'NOT_STR_EXISTS' if (NOT_STR_EXISTS(search_val_buf)) ^~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c search_prim.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] static int input() ^~~~~ lex.yy.c:1078:13: warning: 'yyunput' defined but not used [-Wunused-function] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I. -DHAVE_CONFIG_H -c regerror.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I. -DHAVE_CONFIG_H -c regexp.c regexp.c: In function 'reg': regexp.c:352:17: warning: 'parno' may be used uninitialized in this function [-Wmaybe-uninitialized] ender = regnode((paren) ? CLOSE+parno : END); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I. -DHAVE_CONFIG_H -c regsub.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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] newsockfd = accept(sockfd, (struct sockaddr *) &client_addr, &clilen); ^ In file included from /usr/include/netinet/in.h:23:0, from ./../common/common.h:44, from daemon.h:15, from daemon.c:10: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ daemon.c:192:25: warning: variable 'failure' set but not used [-Wunused-but-set-variable] int failure = 0; ^~~~~~~ daemon.c:330:9: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] nice(get_child_priority()); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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] 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 if (!query_str[0] == '-') ^~~~~~~~~~~~~ ( ) gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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:0: main.c: In function 'initialize': ./../common/defines.h:60:26: warning: the address of 'orig_cwd' will always evaluate as 'true' [-Waddress] #define STR_EXISTS(str) ((str) && *(str)) ^ main.c:178:7: note: in expansion of macro 'STR_EXISTS' if (STR_EXISTS(orig_cwd)) ^~~~~~~~~~ main.c:180:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] 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] getcwd(orig_cwd, sizeof(orig_cwd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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:141:8: warning: 'status' may be used uninitialized in this function [-Wmaybe-uninitialized] if (! status) ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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:0, 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] #define STR_EXISTS(str) ((str) && *(str)) ^ register_directive.c:147:7: note: in expansion of macro 'STR_EXISTS' if (STR_EXISTS(reg_email)) ^~~~~~~~~~ ./../common/defines.h:60:26: warning: the address of 'reg_action' will always evaluate as 'true' [-Waddress] #define STR_EXISTS(str) ((str) && *(str)) ^ register_directive.c:152:7: note: in expansion of macro 'STR_EXISTS' if (STR_EXISTS(reg_action)) ^~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c security.c security.c: In function 'authorized_directive': security.c:160:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] inet_ntop( AF_INET, (void *) sin->sin_addr.s_addr, addr, ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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] print_auth_struct() ^~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c sschema.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../mkdb -I./../regexp -c state.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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:0, 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] (str ? str : def) ^ ./../common/auth_area.c:318:11: note: in expansion of macro 'SAFE_STR' SAFE_STR(aa_dir, ""), strerror(errno)); ^~~~~~~~ ./../common/defines.h:72:8: warning: the address of 'attr_dir' will always evaluate as 'true' [-Waddress] (str ? str : def) ^ ./../common/auth_area.c:349:13: note: in expansion of macro 'SAFE_STR' 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] #define NOT_STR_EXISTS(str) (!(str) || !*(str)) ^ ./../common/auth_area.c:1556:7: note: in expansion of macro 'NOT_STR_EXISTS' 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] #define NOT_STR_EXISTS(str) (!(str) || !*(str)) ^ ./../common/auth_area.c:1897:9: note: in expansion of macro 'NOT_STR_EXISTS' if (NOT_STR_EXISTS(line)) ^~~~~~~~~~~~~~ ./../common/defines.h:63:30: warning: the address of 'line' will always evaluate as 'true' [-Waddress] #define NOT_STR_EXISTS(str) (!(str) || !*(str)) ^ ./../common/auth_area.c:1910:9: note: in expansion of macro 'NOT_STR_EXISTS' if (NOT_STR_EXISTS(line)) ^~~~~~~~~~~~~~ ./../common/defines.h:60:26: warning: the address of 'port' will always evaluate as 'true' [-Waddress] #define STR_EXISTS(str) ((str) && *(str)) ^ ./../common/auth_area.c:1947:9: note: in expansion of macro 'STR_EXISTS' 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] #define STR_EXISTS(str) ((str) && *(str)) ^ ./../common/auth_area.c:2013:7: note: in expansion of macro 'STR_EXISTS' if (STR_EXISTS(dir)) ^~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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] not_done = dl_list_first(&(xs->xfer_class_list)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sxfer.c:489:20: note: 'xs' was declared here xfer_arg_struct *xs; ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -DUSE_TCP_WRAPPERS -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 -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 -lwrap -L../mkdb -lmkdb -L../common -lrwcommon -L../regexp -lregexp -lcrypt ../mkdb/libmkdb.a(index_file.o): In function `generate_index_file_tmpname': /builddir/build/BUILD/rwhoisd-1.5.9.6/mkdb/index_file.c:69: 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] getcwd(cwd, MAX_FILE); ^~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o rwhois_indexer rwhois_indexer.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lcrypt ../../mkdb/libmkdb.a(index_file.o): In function `generate_index_file_tmpname': /builddir/build/BUILD/rwhoisd-1.5.9.6/mkdb/index_file.c:69: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_indexer' making all in rwhois_deleter make[2]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_deleter' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -I../.. -I. -I./../../common -I./../../mkdb -I./../../regexp -DHAVE_CONFIG_H -c rwhois_deleter.c In file included from rwhois_deleter.c:13:0: rwhois_deleter.c: In function 'assemble_query_string': ./../../common/defines.h:60:26: warning: the address of 'buf' will always evaluate as 'true' [-Waddress] #define STR_EXISTS(str) ((str) && *(str)) ^ rwhois_deleter.c:91:7: note: in expansion of macro 'STR_EXISTS' 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] getcwd(cwd, MAX_FILE); ^~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o rwhois_deleter rwhois_deleter.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lcrypt ../../common/librwcommon.a(fileutils.o): In function `create_filename': /builddir/build/BUILD/rwhoisd-1.5.9.6/common/fileutils.c:407: 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_deleter' making all in rwhois_repack make[2]: Entering directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_repack' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=] sprintf(command, "cat %s >> %s", f->filename, dest_filename); ^~ In file included from /usr/include/stdio.h:861:0, from ./../../common/common.h:39, from rwhois_repack.h:4, from rwhois_repack.c:9: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 520) into a destination of size 512 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o rwhois_repack rwhois_repack.o -L../../mkdb -lmkdb -L../../common -lrwcommon -L../../regexp -lregexp -lcrypt ../../mkdb/libmkdb.a(index_file.o): In function `generate_index_file_tmpname': /builddir/build/BUILD/rwhoisd-1.5.9.6/mkdb/index_file.c:69: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools/rwhois_repack' make[1]: Leaving directory '/builddir/build/BUILD/rwhoisd-1.5.9.6/tools' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HLk7ph + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64 + cd rwhoisd-1.5.9.6 + make install DESTDIR=/builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.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-8.fc28.riscv64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/sbin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/sbin; fi /usr/bin/install -c rwhoisd /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.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-8.fc28.riscv64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/bin; fi /usr/bin/install -c rwhois_indexer /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.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-8.fc28.riscv64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/bin; fi /usr/bin/install -c rwhois_deleter /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.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-8.fc28.riscv64/usr ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr; fi if [ ! -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/bin ]; then mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/bin; fi /usr/bin/install -c rwhois_repack /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.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-8.fc28.riscv64/var/rwhoisd/samples ] || mkdir -p /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples installing a.com into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples installing net-10.0.0.0-8 into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples installing net-fd00:1234::-32 into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples installing rwhoisd.allow into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples installing rwhoisd.auth_area into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples installing rwhoisd.conf into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples installing rwhoisd.deny into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples installing rwhoisd.dir into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples installing rwhoisd.root into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples installing rwhoisd.x.dir into /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples (sh ./../tools/scripts/setup_rwhois_conf /var/rwhoisd/samples \ /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/samples/rwhoisd.conf) changing root-dir:* ==> root-dir: /var/rwhoisd/samples in /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.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-8.fc28.riscv64/usr/share/man/man8 + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/share/man/man8 doc/rwhois_indexer.8 doc/rwhoisd.8 + install -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/lib/systemd/system + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/lib/systemd/system /builddir/build/SOURCES/rwhoisd.service + install -d /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/etc + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/etc sample.data/rwhoisd.conf + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/etc sample.data/rwhoisd.dir + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/etc sample.data/rwhoisd.x.dir + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/etc sample.data/rwhoisd.root + install -m 0644 -t /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/ sample.data/rwhoisd.auth_area + install -d -m 0775 /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/var/rwhoisd/register-spool + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rwhoisd-1.5.9.6-8.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3QI0Hn + umask 022 + cd /builddir/build/BUILD + cd rwhoisd-1.5.9.6 + DOCDIR=/builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.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-8.fc28.riscv64/usr/share/doc/rwhoisd + cp -pr LICENSE /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/share/doc/rwhoisd + cp -pr README /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/share/doc/rwhoisd + cp -pr doc/operations_guide.txt /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/share/doc/rwhoisd + cp -pr doc/security.txt /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/share/doc/rwhoisd + cp -pr doc/TODO /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/share/doc/rwhoisd + cp -pr doc/UPGRADE /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64/usr/share/doc/rwhoisd + exit 0 Provides: config(rwhoisd) = 1.5.9.6-8.fc28 rwhoisd = 1.5.9.6-8.fc28 rwhoisd(riscv-64) = 1.5.9.6-8.fc28 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.1()(64bit) libcrypt.so.1(XCRYPT_2.0)(64bit) libwrap.so.0()(64bit) rtld(GNU_HASH) Processing files: rwhoisd-example-1.5.9.6-8.fc28.noarch Provides: rwhoisd-example = 1.5.9.6-8.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64 Wrote: /builddir/build/SRPMS/rwhoisd-1.5.9.6-8.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/rwhoisd-1.5.9.6-8.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/noarch/rwhoisd-example-1.5.9.6-8.fc28.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.a0wDxo + umask 022 + cd /builddir/build/BUILD + cd rwhoisd-1.5.9.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rwhoisd-1.5.9.6-8.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff