Created
September 29, 2023 02:56
-
-
Save micwoj92/4e0448866bc8b1334c629d7b86b832b6 to your computer and use it in GitHub Desktop.
rwhoisd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Starting build()... | |
checking for gcc... gcc | |
checking for C compiler default output file name... a.out | |
checking whether the C compiler works... yes | |
checking whether we are cross compiling... no | |
checking for suffix of executables... | |
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 ANSI C... none needed | |
checking how to run the C preprocessor... gcc -E | |
checking for egrep... 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 ranlib... ranlib | |
checking for flex... flex | |
checking for yywrap in -lfl... no | |
checking for yywrap in -ll... no | |
checking lex output file root... lex.yy | |
checking whether yytext is a pointer... no | |
checking for bison... bison -y | |
checking for crypt in -lcrypt... yes | |
checking for gethostbyname in -lnsl... no | |
checking for res_search in -lresolv... yes | |
checking for connect in -lsocket... no | |
checking for connect in -linet... no | |
checking for hosts_access in -lwrap... no | |
checking for hosts_access in -lwrap (again)... no | |
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 for off_t... (cached) 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 function prototypes... yes | |
checking whether setvbuf arguments are reversed... 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 | |
checking whether to enable largefile suport... no | |
checking whether to enable IPv6... Linux IPv6 | |
checking for GNU libc 2.1... yes | |
checking for getipnodebyname... no | |
checking for sockaddr_storage... yes | |
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 | |
making all in common | |
Making | |
making all in server | |
(cd tools/tcpd_wrapper; make -j8 --jobserver-auth=fifo:/tmp/GMfifo3779 REAL_DAEMON_DIR="/" LIBS="-lresolv -lcrypt " RANLIB=ranlib TLI= CC="gcc" EXTRA_CFLAGS="-DUSE_STRERROR" config-check; \ | |
make -j8 --jobserver-auth=fifo:/tmp/GMfifo3779 REAL_DAEMON_DIR="/" LIBS="-lresolv -lcrypt " RANLIB=ranlib TLI= CC="gcc" EXTRA_CFLAGS="-DUSE_STRERROR" libwrap.a) | |
make[1]: Entering directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/server' | |
make[1]: warning: -j8 forced in submake: resetting jobserver mode. | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c class_directive.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c daemon.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c deadman.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c directive.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c display.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c dump.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c exit.c | |
make[1]: Entering directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/common' | |
make[1]: warning: -j8 forced in submake: resetting jobserver mode. | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c forward.c | |
make[1]: Entering directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/tools/tcpd_wrapper' | |
make[1]: warning: -j8 forced in submake: resetting jobserver mode. | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c attributes.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c auth_area.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c client_msgs.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c compat.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c directive_conf.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c dir_security.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c dl_list.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c fileutils.c | |
make[1]: Leaving directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/tools/tcpd_wrapper' | |
make[1]: Entering directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/tools/tcpd_wrapper' | |
make[1]: warning: -j8 forced in submake: resetting jobserver mode. | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c guardian.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c holdconnect.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c hosts_access.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c options.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c shell_cmd.c | |
daemon.c: In function ‘run_daemon’: | |
daemon.c:330:9: warning: ignoring return value of ‘nice’ declared with attribute ‘warn_unused_result’ [-Wunused-result] | |
330 | nice(get_child_priority()); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c limit.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c rfc931.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c main.c | |
hosts_access.c: In function ‘host_match’: | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c eval.c | |
hosts_access.c:316:24: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration] | |
316 | mask = atoi(slash+1); | |
| ^~~~ | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c hosts_ctl.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c refuse.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c notify.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c percent_x.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c referral.c | |
rfc931.c: In function ‘fsocket’: | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c ip_network.c | |
rfc931.c:54:13: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] | |
54 | close(s); | |
| ^~~~~ | |
| pclose | |
rfc931.c: In function ‘rfc931’: | |
rfc931.c:104:13: warning: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration] | |
104 | alarm(rfc931_timeout); | |
| ^~~~~ | |
shell_cmd.c: In function ‘shell_cmd’: | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c clean_exit.c | |
directive_conf.c: In function ‘write_extended_directive_file’: | |
shell_cmd.c:47:25: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration] | |
47 | switch (child_pid = fork()) { | |
| ^~~~ | |
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 | |
shell_cmd.c:55:28: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration] | |
55 | while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid) | |
| ^~~~ | |
shell_cmd.c: In function ‘do_child’: | |
shell_cmd.c:78:16: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] | |
78 | (void) close(tmp_fd); | |
| ^~~~~ | |
| pclose | |
shell_cmd.c:79:9: warning: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration] | |
79 | if (open("/dev/null", 2) != 0) { | |
| ^~~~ | |
| popen | |
shell_cmd.c:81:16: warning: implicit declaration of function ‘dup’ [-Wimplicit-function-declaration] | |
81 | } else if (dup(0) != 1 || dup(0) != 2) { | |
| ^~~ | |
shell_cmd.c:84:16: warning: implicit declaration of function ‘execl’ [-Wimplicit-function-declaration] | |
84 | (void) execl("/bin/sh", "sh", "-c", command, (char *) 0); | |
| ^~~~~ | |
shell_cmd.c:84:16: warning: incompatible implicit declaration of built-in function ‘execl’ [-Wbuiltin-declaration-mismatch] | |
shell_cmd.c:91:5: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration] | |
91 | _exit(0); | |
| ^~~~~ | |
shell_cmd.c:91:5: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] | |
clean_exit.c: In function ‘clean_exit’: | |
clean_exit.c:40:5: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration] | |
40 | sleep(5); | |
| ^~~~~ | |
options.c: In function ‘banners_option’: | |
options.c:230:13: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] | |
230 | write(request->fd, "", 1); | |
| ^~~~~ | |
| fwrite | |
options.c: In function ‘group_option’: | |
options.c:259:25: warning: implicit declaration of function ‘setgid’; did you mean ‘setbit’? [-Wimplicit-function-declaration] | |
259 | if (dry_run == 0 && setgid(grp->gr_gid)) | |
| ^~~~~~ | |
| setbit | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c register.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c setenv.c | |
percent_x.c: In function ‘percent_x’: | |
percent_x.c:78:13: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration] | |
78 | sleep(5); | |
| ^~~~~ | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c fromhost.c | |
options.c: In function ‘user_option’: | |
options.c:281:25: warning: implicit declaration of function ‘setuid’; did you mean ‘setbit’? [-Wimplicit-function-declaration] | |
281 | if (dry_run == 0 && setuid(pwd->pw_uid)) | |
| ^~~~~~ | |
| setbit | |
options.c: In function ‘nice_option’: | |
options.c:363:25: warning: implicit declaration of function ‘nice’ [-Wimplicit-function-declaration] | |
363 | if (dry_run == 0 && nice(niceval) < 0) | |
| ^~~~ | |
options.c: In function ‘twist_option’: | |
options.c:385:52: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] | |
385 | #define maybe_dup2(from, to) ((from == to) ? to : (close(to), dup(from))) | |
| ^~~~~ | |
options.c:387:13: note: in expansion of macro ‘maybe_dup2’ | |
387 | if (maybe_dup2(request->fd, 0) != 0 || | |
| ^~~~~~~~~~ | |
options.c:385:63: warning: implicit declaration of function ‘dup’ [-Wimplicit-function-declaration] | |
385 | #define maybe_dup2(from, to) ((from == to) ? to : (close(to), dup(from))) | |
| ^~~ | |
options.c:387:13: note: in expansion of macro ‘maybe_dup2’ | |
387 | if (maybe_dup2(request->fd, 0) != 0 || | |
| ^~~~~~~~~~ | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c log.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c reg_ext.c | |
options.c:394:20: warning: implicit declaration of function ‘execl’ [-Wimplicit-function-declaration] | |
394 | (void) execl("/bin/sh", "sh", "-c", value, (char *) 0); | |
| ^~~~~ | |
options.c:394:20: warning: incompatible implicit declaration of built-in function ‘execl’ [-Wbuiltin-declaration-mismatch] | |
options.c: In function ‘setenv_option’: | |
options.c:434:9: warning: implicit declaration of function ‘setenv’ [-Wimplicit-function-declaration] | |
434 | if (setenv(chop_string(value), chop_string(var_value), 1)) | |
| ^~~~~~ | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c fix_options.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c socket.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c main_config.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c tli.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c reg_utils.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c workarounds.c | |
setenv.c: In function ‘setenv’: | |
setenv.c:24:13: warning: conflicting types for built-in function ‘malloc’; expected ‘void *(long unsigned int)’ [-Wbuiltin-declaration-mismatch] | |
24 | char *malloc(); | |
| ^~~~~~ | |
setenv.c:1:1: note: ‘malloc’ is declared in header ‘<stdlib.h>’ | |
+++ |+#include <stdlib.h> | |
1 | /* | |
setenv.c:30:22: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] | |
30 | if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0) | |
| ^~~~~~ | |
setenv.c:1:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’ | |
+++ |+#include <string.h> | |
1 | /* | |
setenv.c:30:22: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] | |
30 | if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0) | |
| ^~~~~~ | |
setenv.c:30:22: note: include ‘<string.h>’ or provide a declaration of ‘strlen’ | |
setenv.c:32:5: warning: implicit declaration of function ‘sprintf’ [-Wimplicit-function-declaration] | |
32 | sprintf(cp, "%s=%s", name, value); | |
| ^~~~~~~ | |
setenv.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘sprintf’ | |
+++ |+#include <stdio.h> | |
1 | /* | |
setenv.c:32:5: warning: incompatible implicit declaration of built-in function ‘sprintf’ [-Wbuiltin-declaration-mismatch] | |
32 | sprintf(cp, "%s=%s", name, value); | |
| ^~~~~~~ | |
setenv.c:32:5: note: include ‘<stdio.h>’ or provide a declaration of ‘sprintf’ | |
setenv.c:33:13: warning: implicit declaration of function ‘putenv’; did you mean ‘getenv’? [-Wimplicit-function-declaration] | |
33 | return (putenv(cp)); | |
| ^~~~~~ | |
| getenv | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c update.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c register_directive.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c misc.c | |
socket.c: In function ‘sock_hostaddr’: | |
socket.c:139:16: warning: implicit declaration of function ‘inet_ntop’; did you mean ‘inet_ntoa’? [-Wimplicit-function-declaration] | |
139 | (void) inet_ntop(SGFAM(sin), SGADDRP(sin), host->addr, sizeof(host->addr)); | |
| ^~~~~~~~~ | |
| inet_ntoa | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c diag.c | |
main.c: In function ‘initialize’: | |
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 -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c percent_m.c | |
gcc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -c myvsyslog.c | |
update.c: In function ‘request_init’: | |
update.c:100:33: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration] | |
100 | sprintf(request->pid, "%d", getpid()); | |
| ^~~~~~ | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c rwhois_directive.c | |
fix_options.c:32:1: warning: return type defaults to ‘int’ [-Wimplicit-int] | |
32 | fix_options(request) | |
| ^~~~~~~~~~~ | |
main_config.c: In function ‘verify_server_config_data’: | |
fix_options.c: In function ‘fix_options’: | |
fix_options.c:85:17: warning: ‘return’ with no value, in function returning non-void | |
85 | return; | |
| ^~~~~~ | |
fix_options.c:32:1: note: declared here | |
32 | fix_options(request) | |
| ^~~~~~~~~~~ | |
reg_ext.c: In function ‘run_external_parser’: | |
reg_ext.c:98:26: warning: ‘__builtin___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:964, | |
from ./../common/common.h:39, | |
from reg_ext.h:15, | |
from reg_ext.c:10: | |
In function ‘sprintf’, | |
inlined from ‘run_external_parser’ at reg_ext.c:98:3: | |
main_config.c:414:5: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] | |
414 | getcwd(buf, sizeof(buf)); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 513) into a destination of size 512 | |
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
31 | __glibc_objsize (__s), __fmt, | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
32 | __va_arg_pack ()); | |
| ~~~~~~~~~~~~~~~~~ | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c schema_directive.c | |
myvsyslog.c:21:1: warning: return type defaults to ‘int’ [-Wimplicit-int] | |
21 | myvsyslog(severity, format, ap) | |
| ^~~~~~~~~ | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c security.c | |
myvsyslog.c: In function ‘myvsyslog’: | |
myvsyslog.c:30:5: warning: implicit declaration of function ‘syslog’; did you mean ‘vsyslog’? [-Wimplicit-function-declaration] | |
30 | syslog(severity, "%s", obuf); | |
| ^~~~~~ | |
| vsyslog | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c security_directive.c | |
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:964, | |
from common.h:39, | |
from log.h:24, | |
from log.c:10: | |
In function ‘sprintf’, | |
inlined from ‘file_context_str’ at log.c:133:5: | |
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1026 bytes into a destination of size 512 | |
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
31 | __glibc_objsize (__s), __fmt, | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
32 | __va_arg_pack ()); | |
| ~~~~~~~~~~~~~~~~~ | |
log.c: In function ‘file_context_str’: | |
log.c:129:20: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 511 [-Wformat-overflow=] | |
129 | sprintf(buf, "(%s:%ld)", context.cur_file, context.cur_line_num); | |
| ^~ ~~~~~~~~~~~~~~~~ | |
log.c:129:18: note: directive argument in the range [0, 9223372036854775807] | |
129 | sprintf(buf, "(%s:%ld)", context.cur_file, context.cur_line_num); | |
| ^~~~~~~~~~ | |
In function ‘sprintf’, | |
inlined from ‘file_context_str’ at log.c:129:5: | |
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 5 and 1046 bytes into a destination of size 512 | |
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
31 | __glibc_objsize (__s), __fmt, | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
32 | __va_arg_pack ()); | |
| ~~~~~~~~~~~~~~~~~ | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c misc.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c session.c | |
directive_conf.c: In function ‘read_extended_directive_file’: | |
directive_conf.c:335:29: warning: ‘%s’ directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] | |
335 | sprintf(command, "X-%s", datum); | |
| ^~ ~~~~~ | |
In file included from /usr/include/stdio.h:964, | |
from common.h:39, | |
from directive_conf.h:15, | |
from directive_conf.c:10: | |
In function ‘sprintf’, | |
inlined from ‘read_extended_directive_file’ at directive_conf.c:335:9: | |
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 258 bytes into a destination of size 256 | |
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
31 | __glibc_objsize (__s), __fmt, | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
32 | __va_arg_pack ()); | |
| ~~~~~~~~~~~~~~~~~ | |
rm -f libwrap.a | |
ar rv libwrap.a hosts_access.o options.o shell_cmd.o rfc931.o eval.o hosts_ctl.o refuse.o percent_x.o clean_exit.o setenv.o fromhost.o fix_options.o socket.o tli.o workarounds.o update.o misc.o diag.o percent_m.o myvsyslog.o | |
ar: creating libwrap.a | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c soa.c | |
a - hosts_access.o | |
a - options.o | |
a - shell_cmd.o | |
a - rfc931.o | |
a - eval.o | |
a - hosts_ctl.o | |
a - refuse.o | |
a - percent_x.o | |
a - clean_exit.o | |
a - setenv.o | |
a - fromhost.o | |
a - fix_options.o | |
a - socket.o | |
a - tli.o | |
a - workarounds.o | |
a - update.o | |
a - misc.o | |
a - diag.o | |
a - percent_m.o | |
a - myvsyslog.o | |
ranlib libwrap.a | |
make[1]: Leaving directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/tools/tcpd_wrapper' | |
security.c: In function ‘authorized_directive’: | |
security.c:160:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
160 | inet_ntop( AF_INET, (void *) sin->sin_addr.s_addr, addr, | |
| ^ | |
security.c:178:11: warning: implicit declaration of function ‘hosts_ctl’ [-Wimplicit-function-declaration] | |
178 | return( hosts_ctl( directive, client_name, wrapper_addr, STRING_UNKNOWN ) ); | |
| ^~~~~~~~~ | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c procutils.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c punt_ref.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c read_config.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c sresponse.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c sschema.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c sslave.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c ssoa.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c sstate.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c state.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c status.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c rw_log.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c sxfer.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c schema.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c strutil.c | |
sschema.c: In function ‘create_schema_file’: | |
sschema.c:114:34: warning: ‘.tmpl’ directive writing 5 bytes into a region of size between 0 and 511 [-Wformat-overflow=] | |
114 | sprintf(attr_file, "%s/%s.tmpl", attr_dir, class); | |
| ^~~~~ | |
In file included from /usr/include/stdio.h:964, | |
from ./../common/common.h:39, | |
from sschema.h:6, | |
from sschema.c:1: | |
In function ‘sprintf’, | |
inlined from ‘create_schema_file_record’ at sschema.c:114:9, | |
inlined from ‘create_schema_file’ at sschema.c:367:11: | |
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 7 or more bytes (assuming 518) into a destination of size 512 | |
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
31 | __glibc_objsize (__s), __fmt, | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
32 | __va_arg_pack ()); | |
| ~~~~~~~~~~~~~~~~~ | |
sschema.c: In function ‘create_schema_file’: | |
sschema.c:114:34: warning: ‘.tmpl’ directive writing 5 bytes into a region of size between 0 and 511 [-Wformat-overflow=] | |
114 | sprintf(attr_file, "%s/%s.tmpl", attr_dir, class); | |
| ^~~~~ | |
In function ‘sprintf’, | |
inlined from ‘create_schema_file_record’ at sschema.c:114:9, | |
inlined from ‘create_schema_file’ at sschema.c:367:11: | |
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 7 or more bytes (assuming 518) into a destination of size 512 | |
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
31 | __glibc_objsize (__s), __fmt, | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
32 | __va_arg_pack ()); | |
| ~~~~~~~~~~~~~~~~~ | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DUSE_TCP_WRAPPERS -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -DHAVE_CONFIG_H -I. -I.. -I. -I./../common -I./../tools/tcpd_wrapper -I./../mkdb -I./../regexp -c xfer.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I.. -I./../regexp -DHAVE_CONFIG_H -c validate_rec.c | |
sxfer.c: In function ‘create_data_files’: | |
sxfer.c:111:33: warning: ‘__builtin___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:964, | |
from ./../common/common.h:39, | |
from sxfer.h:6, | |
from sxfer.c:1: | |
In function ‘sprintf’, | |
inlined from ‘create_data_file_record’ at sxfer.c:111:9, | |
inlined from ‘create_data_files’ at sxfer.c:445:11: | |
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 513) into a destination of size 512 | |
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
31 | __glibc_objsize (__s), __fmt, | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
32 | __va_arg_pack ()); | |
| ~~~~~~~~~~~~~~~~~ | |
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 | |
ar: `u' modifier ignored since `D' is the default (see `U') | |
ranlib librwcommon.a | |
make[1]: Leaving directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/common' | |
making all in mkdb | |
make[1]: Entering directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/mkdb' | |
make[1]: warning: -j8 forced in submake: resetting jobserver mode. | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c anon_record.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c delete.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c fileinfo.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c index.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c index_file.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c metaphon.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c records.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c search.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 | |
index_file.c: In function ‘create_index_fp.isra’: | |
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:964, | |
from ./../common/common.h:39, | |
from index_file.h:13, | |
from index_file.c:10: | |
In function ‘sprintf’, | |
inlined from ‘create_index_fp.isra’ at index_file.c:102:3: | |
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 5 and 516 bytes into a destination of size 512 | |
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
31 | __glibc_objsize (__s), __fmt, | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
32 | __va_arg_pack ()); | |
| ~~~~~~~~~~~~~~~~~ | |
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 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c search_prim.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); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c y.tab.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c lex.yy.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’ | |
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:964, | |
from ./../common/common.h:39, | |
from fileinfo.h:15, | |
from fileinfo.c:10: | |
In function ‘sprintf’, | |
inlined from ‘generate_file_name’ at fileinfo.c:401:3, | |
inlined from ‘add_file_struct’ at fileinfo.c:460:22, | |
inlined from ‘add_file_list’ at fileinfo.c:620:10, | |
inlined from ‘modify_file_list’ at fileinfo.c:1256:5: | |
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 2 and 1024 bytes into a destination of size 513 | |
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
31 | __glibc_objsize (__s), __fmt, | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
32 | __va_arg_pack ()); | |
| ~~~~~~~~~~~~~~~~~ | |
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -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../tools/tcpd_wrapper -lwrap -L../mkdb -lmkdb -L../common -lrwcommon -L../regexp -lregexp -lresolv -lcrypt | |
/usr/bin/ld: cannot find -lmkdb: No such file or directory | |
/usr/bin/ld: cannot find -lregexp: No such file or directory | |
collect2: error: ld returned 1 exit status | |
make[1]: *** [Makefile:86: rwhoisd] Error 1 | |
make[1]: Leaving directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/server' | |
make: *** [Makefile:42: binaries] Error 1 | |
make: *** Waiting for unfinished jobs.... | |
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 | |
ar: `u' modifier ignored since `D' is the default (see `U') | |
ranlib libmkdb.a | |
make[1]: Leaving directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/mkdb' | |
making all in regexp | |
make[1]: Entering directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/regexp' | |
make[1]: warning: -j8 forced in submake: resetting jobserver mode. | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -DHAVE_CONFIG_H -c regerror.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -DHAVE_CONFIG_H -c regexp.c | |
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I. -DHAVE_CONFIG_H -c regsub.c | |
regsub.c: In function ‘regsub’: | |
regsub.c:71:63: warning: ‘strncpy’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] | |
71 | (void) strncpy(dst, prog->startp[no], len); | |
| ^~~ | |
regsub.c:45:22: note: built-in ‘strncpy’ declared here | |
45 | extern char *strncpy(); | |
| ^~~~~~~ | |
ar cru libregexp.a regerror.o regexp.o regsub.o | |
ar: `u' modifier ignored since `D' is the default (see `U') | |
ranlib libregexp.a | |
make[1]: Leaving directory '/build/rwhoisd/src/rwhoisd-1.5.9.6/rwhoisd/regexp' | |
==> ERROR: A failure occurred in build(). | |
Aborting... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment