=> Building net/pfinger Started : Friday, 8 MAR 2019 at 02:23:03 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/pfinger XDG_CONFIG_HOME=/construction/net/pfinger HOME=/construction/net/pfinger TMPDIR="/tmp" PATH=/construction/net/pfinger/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --without-client --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/pfinger XDG_CONFIG_HOME=/construction/net/pfinger HOME=/construction/net/pfinger TMPDIR="/tmp" PATH=/construction/net/pfinger/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net/pfinger/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/pfinger" EXAMPLESDIR="share/examples/pfinger" DATADIR="share/pfinger" WWWDIR="www/pfinger" ETCDIR="etc/pfinger" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pfinger DOCSDIR=/usr/local/share/doc/pfinger EXAMPLESDIR=/usr/local/share/examples/pfinger WWWDIR=/usr/local/www/pfinger ETCDIR=/usr/local/etc/pfinger -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The pfinger port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> pfinger-0.7.10_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> pfinger-0.7.10_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pfinger-0.7.10_5 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The pfinger port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by pfinger-0.7.10_5 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The pfinger port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by pfinger-0.7.10_5 for building => SHA256 Checksum OK for pfinger-0.7.10.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The pfinger port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by pfinger-0.7.10_5 for building ===> Extracting for pfinger-0.7.10_5 => SHA256 Checksum OK for pfinger-0.7.10.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for pfinger-0.7.10_5 ===> Applying ports patches for pfinger-0.7.10_5 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for pfinger-0.7.10_5 configure: warning: x86_64-portbld-dragonfly5.5: invalid host type loading site script /xports/Templates/config.site creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking host system type... x86_64-portbld-dragonfly5.5 checking for strerror in -lcposix... no checking for gcc... cc checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking how to run the C preprocessor... cpp checking for main in -libs... no checking for getpeername in -lxnet... no checking for crypt in -lcrypt... (cached) yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for malloc.h... (cached) no checking for paths.h... (cached) yes checking for strings.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for utmpx.h... (cached) yes checking for working const... yes checking for inline... inline checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for getopt declaration... yes checking for ut_type in utmp.h... yes checking for ut_user in utmp.h... no checking for ut_host in utmp.h... yes checking for strftime... (cached) yes checking return type of signal handlers... void checking for flock... yes checking for getcwd... (cached) yes checking for getdomainname... yes checking for gethostname... (cached) yes checking for getwd... (cached) yes checking for putenv... (cached) yes checking for socket... yes checking for strdup... (cached) yes checking for strstr... (cached) yes checking for strsep... (cached) yes checking for setutent... yes checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for inet_ntoa... (cached) yes checking for setsid... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating doc/Makefile creating test/Makefile creating config.h -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for pfinger-0.7.10_5 --- ./config.h.in --- --- all-recursive-am --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- finger.o --- --- conn.o --- --- compat.o --- --- log.o --- --- in.fingerd.o --- --- compat.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c compat.c --- in.fingerd.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c in.fingerd.c --- log.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c log.c --- finger.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c finger.c --- conn.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c conn.c --- in.fingerd.o --- In file included from in.fingerd.c:40: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ in.fingerd.c: In function 'StartConnection': in.fingerd.c:93:11: warning: implicit declaration of function 'make_conn'; did you mean 'makecontext'? [-Wimplicit-function-declaration] s = make_conn(config.sitehost, NULL); ^~~~~~~~~ makecontext --- conn.o --- In file included from conn.c:29: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ --- local_user.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c local_user.c --- log.o --- In file included from log.c:27: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ log.c: In function 'log_open': log.c:44:27: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] syslog_mem = (char *)malloc(SYSLOG_LEN); ^~~~~~ log.c:44:27: warning: incompatible implicit declaration of built-in function 'malloc' log.c:44:27: note: include '' or provide a declaration of 'malloc' log.c:28:1: +#include log.c:44:27: syslog_mem = (char *)malloc(SYSLOG_LEN); ^~~~~~ --- finger.o --- finger.c: In function 'main': finger.c:102:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ finger.c:102:7: warning: incompatible implicit declaration of built-in function 'exit' finger.c:102:7: note: include '' or provide a declaration of 'exit' finger.c:38:1: +#include finger.c:102:7: exit(0); ^~~~ finger.c:144:15: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] query = malloc(strlen(argv[optind]) + 10); ^~~~~~ finger.c:144:15: warning: incompatible implicit declaration of built-in function 'malloc' finger.c:144:15: note: include '' or provide a declaration of 'malloc' finger.c:150:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(query); ^~~~ finger.c:150:2: warning: incompatible implicit declaration of built-in function 'free' finger.c:150:2: note: include '' or provide a declaration of 'free' --- local_user.o --- In file included from local_user.c:36: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ local_user.c: In function 'pwd_search_login': local_user.c:76:11: warning: implicit declaration of function 'findUserFile' [-Wimplicit-function-declaration] if (findUserFile(&finfo, "nofinger")) { ^~~~~~~~~~~~ --- readutmp.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c readutmp.c readutmp.c: In function 'read_utmp': readutmp.c:80:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(tmp->login_user, ut->ut_user)) { ^~~~~~ readutmp.c:87:8: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(tmp->hostname, hostname); ^~~~~~ readutmp.c:87:8: warning: incompatible implicit declaration of built-in function 'strcpy' readutmp.c:87:8: note: include '' or provide a declaration of 'strcpy' readutmp.c:28:1: +#include #include "utmplib.h" readutmp.c:87:8: strcpy(tmp->hostname, hostname); ^~~~~~ readutmp.c:89:12: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (strlen(ut->ut_host)<1) ^~~~~~ readutmp.c:89:12: warning: incompatible implicit declaration of built-in function 'strlen' readutmp.c:89:12: note: include '' or provide a declaration of 'strlen' readutmp.c:122:37: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] current->next = (login_info *)malloc(sizeof(login_info)); ^~~~~~ readutmp.c:122:37: warning: incompatible implicit declaration of built-in function 'malloc' readutmp.c:122:37: note: include '' or provide a declaration of 'malloc' readutmp.c:28:1: +#include #include "utmplib.h" readutmp.c:122:37: current->next = (login_info *)malloc(sizeof(login_info)); ^~~~~~ readutmp.c:123:7: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(current->next, 0, sizeof(login_info)); ^~~~~~ readutmp.c:123:7: warning: incompatible implicit declaration of built-in function 'memset' readutmp.c:123:7: note: include '' or provide a declaration of 'memset' readutmp.c:127:7: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(current->login_user, ut->ut_user, UT_NAMESIZE - 1); ^~~~~~~ readutmp.c:127:7: warning: incompatible implicit declaration of built-in function 'strncpy' readutmp.c:127:7: note: include '' or provide a declaration of 'strncpy' readutmp.c:128:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(current->realname, finfo->pw_realname); ^~~~~~ readutmp.c:128:7: note: include '' or provide a declaration of 'strcpy' readutmp.c:134:11: warning: incompatible implicit declaration of built-in function 'strlen' if (strlen(ut->ut_host)<1) ^~~~~~ readutmp.c:134:11: note: include '' or provide a declaration of 'strlen' --- finger1.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c finger1.c --- file.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c file.c --- flock.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c flock.c --- file.o --- In file included from file.c:35: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ --- parser.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c parser.c --- finger_handler.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c finger_handler.c --- online_handler.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c online_handler.c --- parser.o --- In file included from parser.c:29: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ --- gnufinger.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c gnufinger.c --- online_handler.o --- In file included from online_handler.c:37: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ online_handler.c: In function 'online_forwarder': online_handler.c:146:7: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write(s, pip, strlen(pip)); ^~~~~ fwrite online_handler.c:149:10: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] nread = read(s, &inbuf[pos], sizeof(inbuf) - 1); ^~~~ fread online_handler.c:151:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ online_handler.c:151:4: warning: incompatible implicit declaration of built-in function 'exit' online_handler.c:151:4: note: include '' or provide a declaration of 'exit' online_handler.c:39:1: +#include online_handler.c:151:4: exit(0); ^~~~ online_handler.c:155:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ online_handler.c:155:2: note: include '' or provide a declaration of 'exit' --- idle.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c idle.c --- configfile.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c configfile.c In file included from configfile.c:39: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ configfile.c: In function 'readFingerconf': configfile.c:73:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen(confid); ^~~~~~ configfile.c:73:9: warning: incompatible implicit declaration of built-in function 'strlen' configfile.c:73:9: note: include '' or provide a declaration of 'strlen' configfile.c:40:1: +#include configfile.c:73:9: len = strlen(confid); ^~~~~~ configfile.c:102:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(node->id, "fingerconf"); ^~~~~~ configfile.c:102:3: warning: incompatible implicit declaration of built-in function 'strcpy' configfile.c:102:3: note: include '' or provide a declaration of 'strcpy' configfile.c: In function 'writeFingerconf': configfile.c:134:20: warning: incompatible implicit declaration of built-in function 'strlen' write(fd, buf, strlen(buf)); ^~~~~~ configfile.c:134:20: note: include '' or provide a declaration of 'strlen' --- mail.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c mail.c --- utmplib.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c utmplib.c --- statusdb.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c statusdb.c --- login_handler.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c login_handler.c --- init.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c init.c --- statusdb.o --- In file included from statusdb.c:45: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ statusdb.c: In function 'read_utmp_db': statusdb.c:82:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] char dbfile[strlen(config.dbpath) + 32]; ^~~~~~ statusdb.c:82:15: warning: incompatible implicit declaration of built-in function 'strlen' statusdb.c:82:15: note: include '' or provide a declaration of 'strlen' statusdb.c:46:1: +#include statusdb.c:82:15: char dbfile[strlen(config.dbpath) + 32]; ^~~~~~ statusdb.c:84:3: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] sprintf(dbfile, "%s/statusdb", config.dbpath); ^~~~~~~ statusdb.c:84:3: warning: incompatible implicit declaration of built-in function 'sprintf' statusdb.c:84:3: note: include '' or provide a declaration of 'sprintf' statusdb.c:46:1: +#include statusdb.c:84:3: sprintf(dbfile, "%s/statusdb", config.dbpath); ^~~~~~~ statusdb.c:113:7: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(current->login_user, entry.login_user, UT_NAMESIZE); ^~~~~~~ statusdb.c:113:7: warning: incompatible implicit declaration of built-in function 'strncpy' statusdb.c:113:7: note: include '' or provide a declaration of 'strncpy' statusdb.c: In function 'write_entry': statusdb.c:153:15: warning: incompatible implicit declaration of built-in function 'strlen' char dbfile[strlen(config.dbpath) + 32]; ^~~~~~ statusdb.c:153:15: note: include '' or provide a declaration of 'strlen' statusdb.c:155:3: warning: incompatible implicit declaration of built-in function 'sprintf' sprintf(dbfile, "%s/statusdb", config.dbpath); ^~~~~~~ statusdb.c:155:3: note: include '' or provide a declaration of 'sprintf' statusdb.c: In function 'db_login': statusdb.c:190:15: warning: incompatible implicit declaration of built-in function 'strlen' char dbfile[strlen(config.dbpath) + 32]; ^~~~~~ statusdb.c:190:15: note: include '' or provide a declaration of 'strlen' statusdb.c:193:3: warning: incompatible implicit declaration of built-in function 'sprintf' sprintf(dbfile, "%s/statusdb", config.dbpath); ^~~~~~~ statusdb.c:193:3: note: include '' or provide a declaration of 'sprintf' statusdb.c:211:10: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(_entry.login_user, username, UT_NAMESIZE)) { ^~~~~~~ statusdb.c:248:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(_entry.status, "Online"); ^~~~~~ statusdb.c:248:3: warning: incompatible implicit declaration of built-in function 'strcpy' statusdb.c:248:3: note: include '' or provide a declaration of 'strcpy' statusdb.c:251:3: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(_entry.hostname, hostname, HOSTNAME_LEN); ^~~~~~~ statusdb.c:251:3: note: include '' or provide a declaration of 'strncpy' statusdb.c: In function 'db_add_user': statusdb.c:272:15: warning: incompatible implicit declaration of built-in function 'strlen' char dbfile[strlen(config.dbpath) + 32]; ^~~~~~ statusdb.c:272:15: note: include '' or provide a declaration of 'strlen' statusdb.c:283:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(_entry.login_user, finfo->pw_name); ^~~~~~ statusdb.c:283:3: note: include '' or provide a declaration of 'strcpy' statusdb.c:286:5: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(_entry.hostname, hostname, HOSTNAME_LEN); ^~~~~~~ statusdb.c:286:5: note: include '' or provide a declaration of 'strncpy' statusdb.c:290:5: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(_entry.hostname, "(unknown)", HOSTNAME_LEN); ^~~~~~~ statusdb.c:290:5: note: include '' or provide a declaration of 'strncpy' statusdb.c:293:3: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(_entry.fromhost, "", HOSTNAME_LEN); ^~~~~~~ statusdb.c:293:3: note: include '' or provide a declaration of 'strncpy' --- init.o --- In file included from init.c:28: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ --- statusdb.o --- statusdb.c:300:3: warning: incompatible implicit declaration of built-in function 'sprintf' sprintf(dbfile, "%s/statusdb", config.dbpath); ^~~~~~~ statusdb.c:300:3: note: include '' or provide a declaration of 'sprintf' --- init.o --- init.c: In function 'Init': init.c:73:24: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] config.acl = (aclT *)malloc(sizeof(struct aclT)); ^~~~~~ init.c:73:24: warning: incompatible implicit declaration of built-in function 'malloc' init.c:73:24: note: include '' or provide a declaration of 'malloc' init.c:31:1: +#include init.c:73:24: config.acl = (aclT *)malloc(sizeof(struct aclT)); ^~~~~~ --- statusdb.o --- In file included from statusdb.c:42: statusdb.c: In function 'db_logout': statusdb.h:60:28: warning: incompatible implicit declaration of built-in function 'strcpy' #define setEntry_status(x) strcpy(_entry.status, x) ^~~~~~ statusdb.c:344:5: note: in expansion of macro 'setEntry_status' setEntry_status("Offline"); ^~~~~~~~~~~~~~~ statusdb.h:60:28: note: include '' or provide a declaration of 'strcpy' #define setEntry_status(x) strcpy(_entry.status, x) ^~~~~~ statusdb.c:344:5: note: in expansion of macro 'setEntry_status' setEntry_status("Offline"); ^~~~~~~~~~~~~~~ statusdb.c: In function 'db_insertlist': statusdb.c:366:15: warning: incompatible implicit declaration of built-in function 'strlen' char dbfile[strlen(config.dbpath) + 32]; ^~~~~~ statusdb.c:366:15: note: include '' or provide a declaration of 'strlen' statusdb.c:374:3: warning: incompatible implicit declaration of built-in function 'sprintf' sprintf(dbfile, "%s/statusdb", config.dbpath); ^~~~~~~ statusdb.c:374:3: note: include '' or provide a declaration of 'sprintf' statusdb.c:396:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(fileentry->login_user, list->login_user)) { ^~~~~~ statusdb.c:411:4: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(fileentry->status, list->status); ^~~~~~ statusdb.c:411:4: note: include '' or provide a declaration of 'strcpy' --- init.o --- init.c:119:20: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] config.interval = atoi(cfnode->value); ^~~~ --- statusdb.o --- statusdb.c:436:4: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(fileentry->status, "Offline"); ^~~~~~ statusdb.c:436:4: note: include '' or provide a declaration of 'strcpy' statusdb.c:486:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(_entry.login_user, finfo->pw_name); ^~~~~~ statusdb.c:486:7: note: include '' or provide a declaration of 'strcpy' --- init.o --- init.c:179:21: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] tmp = (char *)realloc(config.clients, (16+config.numclients)*sizeof(void *)); ^~~~~~~ init.c:179:21: warning: incompatible implicit declaration of built-in function 'realloc' init.c:179:21: note: include '' or provide a declaration of 'realloc' --- statusdb.o --- statusdb.c:488:7: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(_entry.hostname, list->hostname, HOSTNAME_LEN); ^~~~~~~ statusdb.c:488:7: note: include '' or provide a declaration of 'strncpy' --- init.o --- init.c: In function 'parse_acl': init.c:216:17: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] acl = (aclT *)calloc(1, sizeof(aclT)); ^~~~~~ init.c:216:17: warning: incompatible implicit declaration of built-in function 'calloc' init.c:216:17: note: include '' or provide a declaration of 'calloc' init.c:250:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(acl); ^~~~ init.c:250:5: warning: incompatible implicit declaration of built-in function 'free' init.c:250:5: note: include '' or provide a declaration of 'free' --- gnufinger.o --- In file included from gnufinger.c:44: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ gnufinger.c: In function 'gnufinger_read_utmp': gnufinger.c:87:3: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] sprintf(hostdatafile, "%s/hostdata", config.gnufingerdir); ^~~~~~~ gnufinger.c:87:3: warning: incompatible implicit declaration of built-in function 'sprintf' gnufinger.c:87:3: note: include '' or provide a declaration of 'sprintf' gnufinger.c:45:1: +#include gnufinger.c:87:3: sprintf(hostdatafile, "%s/hostdata", config.gnufingerdir); ^~~~~~~ --- acl.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c acl.c --- fingerd.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c fingerd.c --- acl.o --- acl.c: In function 'findACLbyhost': acl.c:18:12: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(acl->from, ipaddr)) ^~~~~~ --- fingerd.o --- In file included from fingerd.c:45: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ In file included from fingerd.c:46: poll_clients.h:29:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif POLL_CLIENTS_H ^~~~~~~~~~~~~~ fingerd.c: In function 'main': fingerd.c:121:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ fingerd.c:121:2: warning: incompatible implicit declaration of built-in function 'exit' fingerd.c:121:2: note: include '' or provide a declaration of 'exit' fingerd.c:47:1: +#include fingerd.c:121:2: exit(0); ^~~~ fingerd.c:123:15: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] portnumber = atoi(optarg); ^~~~ fingerd.c:136:5: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^~~~ fingerd.c:136:5: note: include '' or provide a declaration of 'exit' fingerd.c:146:7: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^~~~ fingerd.c:146:7: note: include '' or provide a declaration of 'exit' fingerd.c:150:7: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ fingerd.c:150:7: note: include '' or provide a declaration of 'exit' fingerd.c:161:5: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(0); /* Clear file creation mask */ ^~~~~ --- request.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c request.c --- poll_clients.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -c poll_clients.c --- finger --- cc -pipe -O2 -fno-strict-aliasing -o finger finger.o conn.o compat.o log.o -lcrypt --- request.o --- In file included from request.c:24: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ request.c: In function 'send_request': request.c:53:24: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (write(fdin, pip, strlen(pip)+1)<0) ^~~~~~ request.c:53:24: warning: incompatible implicit declaration of built-in function 'strlen' request.c:53:24: note: include '' or provide a declaration of 'strlen' request.c:26:1: +#include request.c:53:24: if (write(fdin, pip, strlen(pip)+1)<0) ^~~~~~ request.c:66:10: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(inbuf, "", 5)) { ^~~~~~~ request.c:70:28: warning: incompatible implicit declaration of built-in function 'strlen' if (write(fdin, cmd, strlen(cmd)+1) < 0) ^~~~~~ request.c:70:28: note: include '' or provide a declaration of 'strlen' request.c:82:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(pipnode.id, "pip"); ^~~~~~ request.c:82:2: warning: incompatible implicit declaration of built-in function 'strcpy' request.c:82:2: note: include '' or provide a declaration of 'strcpy' request.c:84:26: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] pipnode.value = (char *)malloc(BUFSIZE); ^~~~~~ request.c:84:26: warning: incompatible implicit declaration of built-in function 'malloc' request.c:84:26: note: include '' or provide a declaration of 'malloc' request.c:26:1: +#include request.c:84:26: pipnode.value = (char *)malloc(BUFSIZE); ^~~~~~ --- poll_clients.o --- In file included from poll_clients.c:40: log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ In file included from poll_clients.c:41: poll_clients.h:29:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif POLL_CLIENTS_H ^~~~~~~~~~~~~~ poll_clients.c: In function 'handle_online_user': poll_clients.c:82:15: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] login_time = atoi(s2node->value); ^~~~ poll_clients.c:103:26: warning: implicit declaration of function 'times'; did you mean 'utimes'? [-Wimplicit-function-declaration] cur_entry->login_time = times(NULL); ^~~~~ utimes poll_clients.c:107:37: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] cur_entry->next = (db_entry *)calloc(1, sizeof(db_entry)); ^~~~~~ poll_clients.c:107:37: warning: incompatible implicit declaration of built-in function 'calloc' poll_clients.c:107:37: note: include '' or provide a declaration of 'calloc' poll_clients.c:42:1: +#include poll_clients.c:107:37: cur_entry->next = (db_entry *)calloc(1, sizeof(db_entry)); ^~~~~~ poll_clients.c: In function 'pollClients': poll_clients.c:137:32: warning: incompatible implicit declaration of built-in function 'calloc' firstentry = (db_entry *)calloc(1, sizeof(db_entry)); ^~~~~~ poll_clients.c:137:32: note: include '' or provide a declaration of 'calloc' poll_clients.c:141:31: warning: incompatible implicit declaration of built-in function 'calloc' liststart = (db_entry *)calloc(1, sizeof(db_entry)); ^~~~~~ poll_clients.c:141:31: note: include '' or provide a declaration of 'calloc' poll_clients.c:158:7: warning: implicit declaration of function 'send_request' [-Wimplicit-function-declaration] send_request(s, s, cmd); ^~~~~~~~~~~~ poll_clients.c:197:8: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(tmp2); ^~~~ poll_clients.c:197:8: warning: incompatible implicit declaration of built-in function 'free' poll_clients.c:197:8: note: include '' or provide a declaration of 'free' poll_clients.c:202:8: warning: incompatible implicit declaration of built-in function 'free' free(prev2->next); ^~~~ poll_clients.c:202:8: note: include '' or provide a declaration of 'free' poll_clients.c:216:2: warning: incompatible implicit declaration of built-in function 'free' free(firstentry); ^~~~ poll_clients.c:216:2: note: include '' or provide a declaration of 'free' poll_clients.c:223:2: warning: incompatible implicit declaration of built-in function 'free' free(tmp->next); ^~~~ poll_clients.c:223:2: note: include '' or provide a declaration of 'free' poll_clients.c:235:5: warning: incompatible implicit declaration of built-in function 'free' free(cur_entry); ^~~~ poll_clients.c:235:5: note: include '' or provide a declaration of 'free' --- in.fingerd --- --- fingerd --- --- in.fingerd --- cc -pipe -O2 -fno-strict-aliasing -o in.fingerd in.fingerd.o local_user.o readutmp.o finger1.o file.o flock.o parser.o finger_handler.o online_handler.o gnufinger.o idle.o configfile.o mail.o utmplib.o statusdb.o login_handler.o init.o conn.o compat.o log.o acl.o -lcrypt --- fingerd --- cc -pipe -O2 -fno-strict-aliasing -o fingerd fingerd.o init.o configfile.o parser.o conn.o request.o local_user.o file.o flock.o statusdb.o compat.o log.o poll_clients.o -lcrypt Making all in doc Making all in test --- db_test.o --- --- poll_test.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -pipe -O2 -fno-strict-aliasing -c poll_test.c --- db_test.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -pipe -O2 -fno-strict-aliasing -c db_test.c --- poll_test.o --- In file included from poll_test.c:29: ../src/log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ poll_test.c: In function 'send_request': poll_test.c:142:5: warning: implicit declaration of function 'handle_online_user' [-Wimplicit-function-declaration] handle_online_user(&mynode); ^~~~~~~~~~~~~~~~~~ poll_test.c: In function 'main': poll_test.c:268:7: warning: implicit declaration of function 'pollClients'; did you mean 'init_clients'? [-Wimplicit-function-declaration] pollClients(); ^~~~~~~~~~~ init_clients --- db_test.o --- In file included from db_test.c:28: ../src/log.h:38:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int level, char *fmt, ...); ^~~ db_test.c: In function 'create_logins': db_test.c:65:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(login, "aaaa"); ^~~~~~ db_test.c:65:3: warning: incompatible implicit declaration of built-in function 'strcpy' db_test.c:65:3: note: include '' or provide a declaration of 'strcpy' db_test.c:30:1: +#include db_test.c:65:3: strcpy(login, "aaaa"); ^~~~~~ db_test.c:81:6: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(-1); ^~~~ db_test.c:81:6: warning: incompatible implicit declaration of built-in function 'exit' db_test.c:81:6: note: include '' or provide a declaration of 'exit' db_test.c:30:1: +#include db_test.c:81:6: exit(-1); ^~~~ db_test.c: In function 'create_list': db_test.c:94:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] first = (db_entry *)malloc(sizeof(struct db_entry)); ^~~~~~ db_test.c:94:23: warning: incompatible implicit declaration of built-in function 'malloc' db_test.c:94:23: note: include '' or provide a declaration of 'malloc' db_test.c:97:5: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^~~~ db_test.c:97:5: note: include '' or provide a declaration of 'exit' db_test.c:99:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(first, 0, sizeof(struct db_entry)); ^~~~~~ db_test.c:99:3: warning: incompatible implicit declaration of built-in function 'memset' db_test.c:99:3: note: include '' or provide a declaration of 'memset' db_test.c:103:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cur->login_user, users[i]); ^~~~~~ db_test.c:103:5: note: include '' or provide a declaration of 'strcpy' db_test.c:111:7: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^~~~ db_test.c:111:7: note: include '' or provide a declaration of 'exit' --- db_test --- cc -pipe -O2 -fno-strict-aliasing -o db_test db_test.o ../src/statusdb.o ../src/log.o ../src/configfile.o ../src/parser.o ../src/file.o ../src/compat.o ../src/flock.o -lcrypt --- poll_test --- cc -pipe -O2 -fno-strict-aliasing -o poll_test poll_test.o ../src/poll_clients.o ../src/log.o ../src/compat.o -lcrypt --- ./config.h.in --- -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for pfinger-0.7.10_5 ===> Generating temporary packing list Making install in src /bin/sh ../mkinstalldirs /construction/net/pfinger/stage/usr/local/bin install -s -m 555 finger /construction/net/pfinger/stage/usr/local/bin/finger /bin/sh ../mkinstalldirs /construction/net/pfinger/stage/usr/local/sbin install -s -m 555 in.fingerd /construction/net/pfinger/stage/usr/local/sbin/in.fingerd install -s -m 555 fingerd /construction/net/pfinger/stage/usr/local/sbin/fingerd Making install in doc /usr/bin/make install-man1 install-man5 install-man8 /bin/sh ../mkinstalldirs /construction/net/pfinger/stage/usr/local/man/man1 install -m 0644 ./finger.1 /construction/net/pfinger/stage/usr/local/man/man1/finger.1 install -m 0644 ./pfinger.1 /construction/net/pfinger/stage/usr/local/man/man1/pfinger.1 /bin/sh ../mkinstalldirs /construction/net/pfinger/stage/usr/local/man/man5 install -m 0644 ./fingerconf.5 /construction/net/pfinger/stage/usr/local/man/man5/fingerconf.5 /bin/sh ../mkinstalldirs /construction/net/pfinger/stage/usr/local/man/man8 install -m 0644 ./in.fingerd.8 /construction/net/pfinger/stage/usr/local/man/man8/in.fingerd.8 Making install in test ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for pfinger-0.7.10_5 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 02:23:13 UTC Duration: 00:00:10