From owner-freebsd-pkg-fallout@freebsd.org Sat Oct 29 17:49:31 2016 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DA1FC20DD2 for ; Sat, 29 Oct 2016 17:49:31 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2BD2839F for ; Sat, 29 Oct 2016 17:49:31 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 28390C20DD1; Sat, 29 Oct 2016 17:49:31 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27CCDC20DD0 for ; Sat, 29 Oct 2016 17:49:31 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy3.nyi.freebsd.org (beefy3.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:e6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB4C939E; Sat, 29 Oct 2016 17:49:30 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy3.nyi.freebsd.org (localhost [127.0.0.1]) by beefy3.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9THnUth070182; Sat, 29 Oct 2016 17:49:30 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy3.nyi.freebsd.org (8.15.2/8.15.2/Submit) id u9THnUKX070171; Sat, 29 Oct 2016 17:49:30 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sat, 29 Oct 2016 17:49:30 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201610291749.u9THnUKX070171@beefy3.nyi.freebsd.org> To: dinoex@FreeBSD.org Subject: [package - head-i386-default][news/nntp] Failed for nntp-1.5.12.2_7 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2016 17:49:31 -0000 You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: dinoex@FreeBSD.org Last committer: dinoex@FreeBSD.org Ident: $FreeBSD: head/news/nntp/Makefile 422237 2016-09-16 05:42:59Z dinoex $ Log URL: http://beefy3.nyi.freebsd.org/data/head-i386-default/p424740_s307979/logs/nntp-1.5.12.2_7.log Build URL: http://beefy3.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p424740_s307979 Log: ====>> Building news/nntp build started at Sat Oct 29 17:49:21 UTC 2016 port directory: /usr/ports/news/nntp building for: FreeBSD head-i386-default-job-19 12.0-CURRENT FreeBSD 12.0-CURRENT r307979 i386 maintained by: dinoex@FreeBSD.org Makefile ident: $FreeBSD: head/news/nntp/Makefile 422237 2016-09-16 05:42:59Z dinoex $ Poudriere version: 3.1.14 Host OSVERSION: 1200005 Jail OSVERSION: 1200014 !!! Jail is newer than host. (Jail: 1200014, Host: 1200005) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 UNAME_v=FreeBSD 12.0-CURRENT r307979 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 OPSYS=FreeBSD ARCH=i386 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref UID=0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin _JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+ POUDRIERE_BUILD_TYPE=bulk PKGNAME=nntp-1.5.12.2_7 OSREL=12.0 _OSRELEASE=12.0-CURRENT PYTHONBASE=/usr/local OLDPWD=/ _SMP_CPUS=24 PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool MASTERNAME=head-i386-default SCRIPTPREFIX=/usr/local/share/poudriere _JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun USER=root HOME=/root POUDRIERE_VERSION=3.1.14 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh CONFIGURE_MAX_CMD_LEN=262144 LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes _JAVA_OS_LIST_REGEXP=native\|linux OSVERSION=1200014 ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for nntp-1.5.12.2_7: INETD=off: build to run from inetd only DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/news/nntp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/nntp/work HOME=/wrkdirs/usr/ports/news/nntp/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- DBLIBS="/usr/local/lib/libcnews.a -lcrypt -lutil" ETCDIR="/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/sbin" BINDIR="/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/libexec/cnews" MANDIR="/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/man" XDG_DATA_HOME=/wrkdirs/usr/ports/news/nntp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/nntp/work HOME=/wrkdirs/usr/ports/news/nntp/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu89" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- VARBASE=/var NEWSBIN=libexec/cnews NEWSCTL=lib/news OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/nntp" EXAMPLESDIR="share/examples/nntp" DATADIR="share/nntp" WWWDIR="www/nntp" ETCDIR="etc/nntp" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nntp DOCSDIR=/usr/local/share/doc/nntp EXAMPLESDIR=/usr/local/share/examples/nntp WWWDIR=/usr/local/www/nntp ETCDIR=/usr/local/etc/nntp --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- =================================================== =========================================================================== =================================================== ===> nntp-1.5.12.2_7 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.9.1.txz [head-i386-default-job-19] Installing pkg-1.9.1... [head-i386-default-job-19] Extracting pkg-1.9.1: .......... done ===> nntp-1.5.12.2_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of nntp-1.5.12.2_7 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by nntp-1.5.12.2_7 for building =========================================================================== =================================================== ===> Fetching all distfiles required by nntp-1.5.12.2_7 for building => SHA256 Checksum OK for nntp.1.5.12.2.tar.gz. => SHA256 Checksum OK for nntp-patch-y2k. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by nntp-1.5.12.2_7 for building ===> Extracting for nntp-1.5.12.2_7 => SHA256 Checksum OK for nntp.1.5.12.2.tar.gz. => SHA256 Checksum OK for nntp-patch-y2k. cp -f /wrkdirs/usr/ports/news/nntp/work/nntp-1.5.12.2_7/conf.h.dist /wrkdirs/usr/ports/news/nntp/work/nntp-1.5.12.2_7/conf.h =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for nntp-1.5.12.2_7 ===> Applying distribution patches for nntp-1.5.12.2_7 ===> Applying FreeBSD patches for nntp-1.5.12.2_7 =========================================================================== =================================================== ===> nntp-1.5.12.2_7 depends on file: /usr/local/lib/libcnews.a - not found ===> Installing existing package /packages/All/cnews-cr.g_16.txz [head-i386-default-job-19] Installing cnews-cr.g_16... [head-i386-default-job-19] Extracting cnews-cr.g_16: .......... done Message from cnews-cr.g_16: you MUST change the configuration of this news setup: cd to /var/lib/news and change the following files... mailname, whoami, organization, mailpaths, sys, readnews.ctl, postdefltgroup to suit your local system and news topology. check that you have vaild aliases in report.ctl, so any problem can be reported. for ease of administration you may add a shell: pw usermod news -d /var/lib/news -s /bin/csh ===> nntp-1.5.12.2_7 depends on file: /usr/local/lib/libcnews.a - found ===> Returning to build of nntp-1.5.12.2_7 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for nntp-1.5.12.2_7 /usr/bin/sed -i.bak -e 's|\([(! ]\)log\([)+ ]\)|\1dolog\2|g' /wrkdirs/usr/ports/news/nntp/work/nntp-1.5.12.2_7/server/msgidd.c /usr/bin/sed -i.bak -e "s=/usr/local/news/lib/bin/config=/usr/local/libexec/cnews/config=" -e "s=/usr/local/news/cnewsbin=/usr/local/libexec/cnews=" -e "s=/usr/local/news/lib=/var/lib/news=" -e "s=/var/news/over.view=/var/news/over.view=" -e "s=/var/news=/var/news=" -e "s=/usr/local/bin=/usr/local/bin=" -e "s=/usr/local/sbin=/usr/local/sbin=" -e "s=/usr/local/man=/usr/local/man=" /wrkdirs/usr/ports/news/nntp/work/nntp-1.5.12.2_7/conf.h =========================================================================== =================================================== ===> Building for nntp-1.5.12.2_7 /usr/bin/make -C server "LIBS=/usr/local/lib/libcnews.a -lcrypt -lutil " "CFLAGS=-O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu89 -I/usr/local/include" "ETCDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/sbin" "BINDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/libexec/cnews" "MANDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/man" cc -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu89 -I/usr/local/include -c main.c -o main.o In file included from main.c:18: In file included from ./common.h:8: ./../conf.h:197:39: warning: '/*' within block comment [-Wcomment] /*define ROVER_DIR "/var/news/r.over" /* base directory */ ^ ./../conf.h:212:44: warning: '/*' within block comment [-Wcomment] /*#define THREAD_DIR "/usr/spool/threads" /* base directory */ ^ main.c:105:25: warning: incompatible pointer types passing 'int ()' to parameter of type '__sighandler_t *' (aka 'void (*)(int)') [-Wincompatible-pointer-types] (void) signal(SIGCHLD, reaper); #define STRN_EQ(s1, s2, n) (*(s1) == *(s2) && strncmp(s1, s2, n) == 0) ^ msgidd.c:505:9: note: include the header or explicitly provide a declaration for 'strncmp' msgidd.c:22:47: note: expanded from macro 'STRN_EQ' #define STRN_EQ(s1, s2, n) (*(s1) == *(s2) && strncmp(s1, s2, n) == 0) ^ msgidd.c:519:18: warning: expression result unused [-Wunused-value] dprintf(stderr, "Old(%d/%s): `%s'\n", fd, hosts[fd], bufp); ^~~~~~~~~~~~~~~~~~~~ msgidd.c:519:40: warning: expression result unused [-Wunused-value] dprintf(stderr, "Old(%d/%s): `%s'\n", fd, hosts[fd], bufp); ^~ msgidd.c:519:52: warning: expression result unused [-Wunused-value] dprintf(stderr, "Old(%d/%s): `%s'\n", fd, hosts[fd], bufp); ~~~~~ ~~^ msgidd.c:527:18: warning: expression result unused [-Wunused-value] dprintf(stderr, "Connect(%d/%s)\n", fd, hosts[fd]); ^~~~~~~~~~~~~~~~~~ msgidd.c:527:38: warning: expression result unused [-Wunused-value] dprintf(stderr, "Connect(%d/%s)\n", fd, hosts[fd]); ^~ msgidd.c:534:18: warning: expression result unused [-Wunused-value] dprintf(stderr, "Error(%d/%s) unknown-cmd %s\n", fd, hosts[fd], cmdp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msgidd.c:534:51: warning: expression result unused [-Wunused-value] dprintf(stderr, "Error(%d/%s) unknown-cmd %s\n", fd, hosts[fd], cmdp); ^~ msgidd.c:534:63: warning: expression result unused [-Wunused-value] dprintf(stderr, "Error(%d/%s) unknown-cmd %s\n", fd, hosts[fd], cmdp); ~~~~~ ~~^ msgidd.c:545:29: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'int *') [-Wincompatible-pointer-types] register time_t now = time((long *)0); ^~~~~~~~~ /usr/include/time.h:154:21: note: passing argument to parameter here time_t time(time_t *); ^ 45 warnings generated. /usr/bin/make -C support "LIBS=/usr/local/lib/libcnews.a -lcrypt -lutil " "CFLAGS=-O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu89 -I/usr/local/include" "ETCDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/sbin" "BINDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/libexec/cnews" "MANDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/man" cc -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu89 -I/usr/local/include -c acttimes.c -o acttimes.o In file included from acttimes.c:26: ./../conf.h:197:39: warning: '/*' within block comment [-Wcomment] /*define ROVER_DIR "/var/news/r.over" /* base directory */ ^ ./../conf.h:212:44: warning: '/*' within block comment [-Wcomment] /*#define THREAD_DIR "/usr/spool/threads" /* base directory */ ^ acttimes.c:62:26: warning: '/*' within block comment [-Wcomment] /*#define index strchr /* uncomment these if you need them */ ^ acttimes.c:63:27: warning: '/*' within block comment [-Wcomment] /*#define rindex strrchr /* (i.e. if index is undefined) */ ^ acttimes.c:74:28: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] char *index(), *rindex(), *malloc(); ^ acttimes.c:74:28: note: 'malloc' is a builtin with type 'void *(unsigned int)' acttimes.c:123:7: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ acttimes.c:123:7: note: include the header or explicitly provide a declaration for 'exit' acttimes.c:137:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(lockfile, ACTIVE_TIMES_FILE); ^ acttimes.c:137:5: note: include the header or explicitly provide a declaration for 'strcpy' acttimes.c:153:5: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(lockfile, "LOCKacttimes"); ^ acttimes.c:153:5: note: include the header or explicitly provide a declaration for 'strcat' acttimes.c:356:23: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' [-Wimplicit-function-declaration] pline->name = malloc(strlen(buf) + 1); ^ acttimes.c:356:23: note: include the header or explicitly provide a declaration for 'strlen' acttimes.c:384:7: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned int)' [-Wimplicit-function-declaration] if (strnEQ(buf, pline->name, strlen(pline->name))) { ^ acttimes.c:70:25: note: expanded from macro 'strnEQ' #define strnEQ(x,y,n) (!strncmp((x),(y),(n))) ^ acttimes.c:384:7: note: include the header or explicitly provide a declaration for 'strncmp' acttimes.c:70:25: note: expanded from macro 'strnEQ' #define strnEQ(x,y,n) (!strncmp((x),(y),(n))) ^ 10 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu89 -I/usr/local/include -o acttimes acttimes.o /usr/bin/make -C doc "LIBS=/usr/local/lib/libcnews.a -lcrypt -lutil " "CFLAGS=-O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu89 -I/usr/local/include" "ETCDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/sbin" "BINDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/libexec/cnews" "MANDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/man" ./config.sh nntpd.dst nntpd.8c Extracting nntpd.8c from nntpd.dst ... Finished. ./config.sh nntpxmit.dst nntpxmit.1 Extracting nntpxmit.1 from nntpxmit.dst ... Finished. ./config.sh acttimes.dst acttimes.8c Extracting acttimes.8c from acttimes.dst ... Finished. Done /usr/bin/make -C xmit "LIBS=/usr/local/lib/libcnews.a -lcrypt -lutil " "CFLAGS=-O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu89 -I/usr/local/include" "ETCDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/sbin" "BINDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/libexec/cnews" "MANDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/man" cc -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu89 -I/usr/local/include -c nntpxmit.c -o nntpxmit.o In file included from nntpxmit.c:66: ./../conf.h:197:39: warning: '/*' within block comment [-Wcomment] /*define ROVER_DIR "/var/news/r.over" /* base directory */ ^ ./../conf.h:212:44: warning: '/*' within block comment [-Wcomment] /*#define THREAD_DIR "/usr/spool/threads" /* base directory */ ^ nntpxmit.c:105:7: error: conflicting types for 'getline' char *getline(); ^ /usr/include/stdio.h:361:10: note: previous declaration is here ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); ^ nntpxmit.c:184:20: warning: implicitly declaring library function 'rindex' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] Pname = ((Pname = rindex(av[0],'/')) ? Pname + 1 : av[0]); ^ nntpxmit.c:184:20: note: include the header or explicitly provide a declaration for 'rindex' nntpxmit.c:188:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(EX_USAGE); ^ nntpxmit.c:188:3: note: include the header or explicitly provide a declaration for 'exit' nntpxmit.c:240:16: warning: implicitly declaring library function 'index' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] if ((Qfile = index(Host, ':')) != (char *)NULL) { ^ nntpxmit.c:240:16: note: include the header or explicitly provide a declaration for 'index' nntpxmit.c:250:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned int)' [-Wimplicit-function-declaration] bzero((caddr_t)&Stats, sizeof(Stats)); ^ nntpxmit.c:250:3: note: include the header or explicitly provide a declaration for 'bzero' nntpxmit.c:257:11: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(Article, Qfile); ^ nntpxmit.c:257:11: note: include the header or explicitly provide a declaration for 'strcpy' nntpxmit.c:382:27: warning: incompatible pointer types passing 'FILE *' (aka 'struct __sFILE *') to parameter of type 'char **' [-Wincompatible-pointer-types] while ((msgid = getline(Qfp, Article, sizeof(Article))) != NULL) { ^~~ /usr/include/stdio.h:361:36: note: passing argument to parameter here ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); ^ nntpxmit.c:382:32: warning: incompatible pointer types passing 'char [1024]' to parameter of type 'size_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] while ((msgid = getline(Qfp, Article, sizeof(Article))) != NULL) { ^~~~~~~ /usr/include/stdio.h:361:57: note: passing argument to parameter here ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); ^ nntpxmit.c:382:41: warning: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wint-conversion] while ((msgid = getline(Qfp, Article, sizeof(Article))) != NULL) { ^~~~~~~~~~~~~~~ /usr/include/stdio.h:361:76: note: passing argument to parameter here ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); ^ nntpxmit.c:382:17: warning: incompatible integer to pointer conversion assigning to 'char *' from 'ssize_t' (aka 'int') [-Wint-conversion] while ((msgid = getline(Qfp, Article, sizeof(Article))) != NULL) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpxmit.c:536:10: warning: returning 'const char *const' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] return sys_errlist[code]; ^~~~~~~~~~~~~~~~~ nntpxmit.c:554:10: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' [-Wimplicit-function-declaration] cp = &s[strlen(s) - 1]; ^ nntpxmit.c:554:10: note: include the header or explicitly provide a declaration for 'strlen' nntpxmit.c:610:8: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned int)' [-Wimplicit-function-declaration] if (strncmp(lcase(buf), msgid, strlen(msgid)) == 0) { ^ nntpxmit.c:610:8: note: include the header or explicitly provide a declaration for 'strncmp' nntpxmit.c:821:1: error: conflicting types for 'getline' getline(fp, line, len) ^ /usr/include/stdio.h:361:10: note: previous declaration is here ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); ^ nntpxmit.c:899:10: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcat(strcat(buf, " "), msgid); ^ nntpxmit.c:899:10: note: include the header or explicitly provide a declaration for 'strcat' nntpxmit.c:1070:3: warning: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion] {NULL} ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ nntpxmit.c:1080:31: warning: comparison between pointer and integer ('int' and 'void *') for(i = 0; SigList[i].signo != NULL; i++) { ~~~~~~~~~~~~~~~~ ^ ~~~~ nntpxmit.c:1084:31: warning: comparison between pointer and integer ('int' and 'void *') for(i = 0; SigList[i].signo != NULL; i++) { ~~~~~~~~~~~~~~~~ ^ ~~~~ nntpxmit.c:1095:30: warning: comparison between pointer and integer ('int' and 'void *') for(i = 0; SigList[i].signo != NULL; i++) { ~~~~~~~~~~~~~~~~ ^ ~~~~ 19 warnings and 2 errors generated. *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/news/nntp/work/nntp-1.5.12.2_7/xmit *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/news/nntp/work/nntp-1.5.12.2_7 *** Error code 1 Stop. make: stopped in /usr/ports/news/nntp