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: [email protected] Last committer: [email protected] Ident: $FreeBSD: head/news/cnews/Makefile 402733 2015-12-01 13:08:08Z amdmi3 $ Log URL: http://beefy3.nyi.freebsd.org/data/head-i386-default/p419292_s303524/logs/cnews-cr.g_14.log Build URL: http://beefy3.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p419292_s303524 Log: ====>> Building news/cnews build started at Sat Jul 30 21:22:12 UTC 2016 port directory: /usr/ports/news/cnews building for: FreeBSD head-i386-default-job-22 12.0-CURRENT FreeBSD 12.0-CURRENT r303524 i386 maintained by: [email protected] Makefile ident: $FreeBSD: head/news/cnews/Makefile 402733 2015-12-01 13:08:08Z amdmi3 $ Poudriere version: 3.1.14 Host OSVERSION: 1200001 Jail OSVERSION: 1200001 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 UNAME_v=FreeBSD 12.0-CURRENT r303524 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 OPSYS=FreeBSD ARCH=i386 LINUX_OSRELEASE=2.6.32 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=cnews-cr.g_14 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=1200001 ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for cnews-cr.g_14: EXAMPLES=on: Build and/or install examples SENDMAIL=off: use sendmail instead of /bin/mail ====> Options available for the single VERIFY: you have to select exactly one of them PGP2=off: use pgp-2.6.3ia for control messages PGPIN=off: use pgp-2.6.3in for control messages PGPGPG=on: use pgpgpg for control messages ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/news/cnews/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/cnews/work HOME=/wrkdirs/usr/ports/news/cnews/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/news/cnews/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/cnews/work HOME=/wrkdirs/usr/ports/news/cnews/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="gcc48" CFLAGS="-O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing" CPP="cpp48" CPPFLAGS="" LDFLAGS=" -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -L/usr/local/lib/gcc48" LIBS="" CXX="g++48" CXXFLAGS="-O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48" 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 NEWSCTLBASE=lib NEWSARTS=news NEWSOV=news/over.view NEWSCTL_FILES="active active.times batchparms controlperm explist history history.dir history.pag inews mailname mailpaths organization postdefltgroup readnews.ctl readnews.help report.ctl sys versionname whoami" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/cnews" EXAMPLESDIR="share/examples/cnews" DATADIR="share/cnews" WWWDIR="www/cnews" ETCDIR="etc/cnews" --End PLIST_SUB-- --SUB_LIST-- NEWSCTL=/var/lib/news PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cnews DOCSDIR=/usr/local/share/doc/cnews EXAMPLESDIR=/usr/local/share/examples/cnews WWWDIR=/usr/local/www/cnews ETCDIR=/usr/local/etc/cnews --End SUB_LIST-- ---Begin make.conf--- MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /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--- =======================<phase: check-sanity >============================ ===> License BSD2CLAUSE accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> cnews-cr.g_14 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7.txz [head-i386-default-job-22] Installing pkg-1.8.7... [head-i386-default-job-22] Extracting pkg-1.8.7: .......... done ===> cnews-cr.g_14 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of cnews-cr.g_14 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by cnews-cr.g_14 for building =========================================================================== =======================<phase: checksum >============================ ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by cnews-cr.g_14 for building => SHA256 Checksum OK for c-news/c-news.tar.Z. => SHA256 Checksum OK for c-news/pgpverify-1.12. => SHA256 Checksum OK for c-news/c-news-patch-fileart.c. => SHA256 Checksum OK for c-news/c-news-patch-namelen. => SHA256 Checksum OK for c-news/c-news-patch-newsrun. => SHA256 Checksum OK for c-news/c-news-patch-sendbatches2. => SHA256 Checksum OK for c-news/c-news-patch-ctl-pgp3. => SHA256 Checksum OK for c-news/c-news-patch-ctl-more. => SHA256 Checksum OK for c-news/c-news-patch-ctl-regexp. => SHA256 Checksum OK for c-news/c-news-patch-doexpire. => SHA256 Checksum OK for c-news/c-news-patch-queuelen.tay. => SHA256 Checksum OK for c-news/c-news-patch-bunzip2. => SHA256 Checksum OK for c-news/c-news-patch-ctl-underscore. => SHA256 Checksum OK for c-news/c-news-patch-y2k-2. => SHA256 Checksum OK for c-news/c-news-patch-inews-path. => SHA256 Checksum OK for c-news/c-news-patch-expovguts.c. => SHA256 Checksum OK for c-news/c-news-patch-gawk3. => SHA256 Checksum OK for c-news/c-news-patch-pgpverify-1.12-perl4. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by cnews-cr.g_14 for building ===> Extracting for cnews-cr.g_14 => SHA256 Checksum OK for c-news/c-news.tar.Z. => SHA256 Checksum OK for c-news/pgpverify-1.12. => SHA256 Checksum OK for c-news/c-news-patch-fileart.c. => SHA256 Checksum OK for c-news/c-news-patch-namelen. => SHA256 Checksum OK for c-news/c-news-patch-newsrun. => SHA256 Checksum OK for c-news/c-news-patch-sendbatches2. => SHA256 Checksum OK for c-news/c-news-patch-ctl-pgp3. => SHA256 Checksum OK for c-news/c-news-patch-ctl-more. => SHA256 Checksum OK for c-news/c-news-patch-ctl-regexp. => SHA256 Checksum OK for c-news/c-news-patch-doexpire. => SHA256 Checksum OK for c-news/c-news-patch-queuelen.tay. => SHA256 Checksum OK for c-news/c-news-patch-bunzip2. <snip> gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include ctime.o ../libcnews.a -o ctime gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c canonhdr.c -o canonhdr.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include canonhdr.o ../libcnews.a -o canonhdr ./libcnews.a(lock.o): In function `newslock': lock.c:(.text+0x30): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c getabsdate.c -o getabsdate.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include getabsdate.o ../libcnews.a -o getabsdate ./libcnews.a(lock.o): In function `newslock': lock.c:(.text+0x30): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c sizeof.c -o sizeof.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include sizeof.o ../libcnews.a -o sizeof cp ../libdbz/dbzmain.c dbz.c gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c dbz.c -o dbz.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include dbz.o ../libcnews.a -o dbz gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c now.c -o now.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include now.o ../libcnews.a -o now gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c dowhatever.c -o dowhatever.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c dostatfs.c -o dostatfs.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include dowhatever.o dostatfs.o ../libcnews.a -o dospacefor cp sfcproto sf.statfs cp sf.statfs spacefor cp queuelen.tay queuelen chmod +x gngp newslock ctime canonhdr getabsdate sizeof dbz now dospacefor newshostname report lock unlock touchlock staleness dbzinfo spacefor queuelen mkpdir ==== batch: gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c batcher.c -o batcher.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include batcher.o ../libcnews.a -o batcher gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c bencode.c -o bencode.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c crctab.c -o crctab.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include bencode.o crctab.o ../libcnews.a -o bencode gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c c7encode.c -o c7encode.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include c7encode.o ../libcnews.a -o c7encode chmod +x batcher bencode c7encode batchih batchsm batchsplit compcun viainews viauux sendbatches viamail viarsh batchcheck batchra batchsplitter bpfind nencode usenntpxmit ==== conf: sed 's/ .*/ 0 unknown/' active.eg >active.times echo "urgentto=newscrisis" >report.ctl echo "nonurgentto=newsmaster" >>report.ctl egrep -v '^#' cron.proto >crontab chmod +x report.ctl config histsetup ==== ctl: chmod +x checkgroups newgroup rmgroup sendsys version delsendsys delversion dodelayed newsreply ==== expire: gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c expire.c -o expire.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include expire.o ../libcnews.a -o expire ./libcnews.a(lock.o): In function `newslock': lock.c:(.text+0x30): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() chmod +x expire upact doexpire expireiflow ==== explode: gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c explode.c -o explode.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c trbatch.c -o trbatch.o trbatch.c: In function 'hfinstall': trbatch.c:78:9: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] (void) memset((char *)bf, 0, sizeof *bf); ^ gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c morefds.c -o morefds.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -o explode explode.o trbatch.o morefds.o ../libcnews.a ./libcnews.a(lock.o): In function `newslock': lock.c:(.text+0x30): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() chmod +x explode doexplode ==== inject: gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../relay -I. -I../include -c actflag.c -o actflag.o cd ../relay ; make active.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I. -DFLUSHEVERY=6 -I../include -c active.c -o active.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../relay -I. -I../include actflag.o ../relay/active.o ../libcnews.a -o actflag ./libcnews.a(lock.o): In function `newslock': lock.c:(.text+0x30): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../relay -I. -I../include -c defaults.c -o defaults.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../relay -I. -I../include -c fullname.c -o fullname.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../relay -I. -I../include -c getmypwent.c -o getmypwent.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../relay -I. -I../include -c intcode.c -o intcode.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../relay -I. -I../include defaults.o fullname.o getmypwent.o intcode.o ../libcnews.a -o defaults ./libcnews.a(lock.o): In function `newslock': lock.c:(.text+0x30): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() chmod +x actflag defaults defhdrs.awk inews lines modroute injnews pnews tear ==== input: gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c c7decode.c -o c7decode.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include c7decode.o ../libcnews.a -o c7decode gcc48 -c -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -I../batch bdecode.c cp ../batch/crctab.c crctab.c gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c crctab.c -o crctab.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include bdecode.o crctab.o ../libcnews.a -o bdecode gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c newsspool.c -o newsspool.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include newsspool.o ../libcnews.a -o newsspool newsspool.o: In function `outname': newsspool.c:(.text+0x1e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() cp rnews cunbatch chmod +x c7decode bdecode newsspool bunzip2 newsrun newsrunning recenews recpnews rnews cunbatch c7decode bdecode gunzip bunzip2 ==== maint: gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c histinfo.c -o histinfo.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include histinfo.o ../libcnews.a -o histinfo ./libcnews.a(lock.o): In function `newslock': lock.c:(.text+0x30): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() chmod +x histinfo newsdaily newswatch newsboot addgroup delgroup adddirs act.to.times histfrom newsfrom addmissing newshist badexpiry newsflag mkhistory locknews histdups logroll mergeactive checkactive spaceshort cnewsdo ==== nov: gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c mkov.c -o mkov.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include mkov.o ../libcnews.a -o mkov ./libcnews.a(lock.o): In function `newslock': lock.c:(.text+0x30): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c expovguts.c -o expovguts.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include expovguts.o ../libcnews.a -o expovguts ./libcnews.a(lock.o): In function `newslock': lock.c:(.text+0x30): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c ovsplit.c -o ovsplit.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include ovsplit.o ../libcnews.a -o ovsplit ./libcnews.a(lock.o): In function `newslock': lock.c:(.text+0x30): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() chmod +x mkov expovguts ovsplit domkov expov initov ==== readnews: gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c header.c -o header.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c readnews.c -o readnews.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c funcs.c -o funcs.o gcc48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -I../include -c active.c -o active.o active.c:15:1: error: static declaration of 'getline' follows non-static declaration getline(f, g, d, d2) ^ In file included from defs.h:3:0, from active.c:9: /usr/local/lib/gcc48/gcc/i386-portbld-freebsd12.0/4.8.5/include-fixed/stdio.h:374:10: note: previous declaration of 'getline' was here ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); ^ active.c: In function 'getline': active.c:16:16: error: argument 'f' doesn't match prototype register FILE *f; ^ In file included from defs.h:3:0, from active.c:9: /usr/local/lib/gcc48/gcc/i386-portbld-freebsd12.0/4.8.5/include-fixed/stdio.h:374:10: error: prototype declaration ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); ^ active.c:17:7: error: argument 'g' doesn't match prototype char *g, *d, *d2; ^ In file included from defs.h:3:0, from active.c:9: /usr/local/lib/gcc48/gcc/i386-portbld-freebsd12.0/4.8.5/include-fixed/stdio.h:374:10: error: prototype declaration ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); ^ active.c:17:11: error: argument 'd' doesn't match prototype char *g, *d, *d2; ^ In file included from defs.h:3:0, from active.c:9: /usr/local/lib/gcc48/gcc/i386-portbld-freebsd12.0/4.8.5/include-fixed/stdio.h:374:10: error: prototype declaration ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); ^ active.c:18:1: error: number of arguments doesn't match prototype { ^ In file included from defs.h:3:0, from active.c:9: /usr/local/lib/gcc48/gcc/i386-portbld-freebsd12.0/4.8.5/include-fixed/stdio.h:374:10: error: prototype declaration ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); ^ active.c: In function 'readactive': active.c:64:2: warning: passing argument 1 of 'getline' from incompatible pointer type [enabled by default] while (getline(f, gbuf, dbuf, dbuf2)) { ^ active.c:15:1: note: expected 'char **' but argument is of type 'struct FILE *' getline(f, g, d, d2) ^ active.c:64:2: warning: passing argument 2 of 'getline' from incompatible pointer type [enabled by default] while (getline(f, gbuf, dbuf, dbuf2)) { ^ active.c:15:1: note: expected 'size_t *' but argument is of type 'char *' getline(f, g, d, d2) ^ active.c:64:2: warning: passing argument 3 of 'getline' from incompatible pointer type [enabled by default] while (getline(f, gbuf, dbuf, dbuf2)) { ^ active.c:15:1: note: expected 'struct FILE *' but argument is of type 'char *' getline(f, g, d, d2) ^ active.c:64:2: error: too many arguments to function 'getline' while (getline(f, gbuf, dbuf, dbuf2)) { ^ active.c:15:1: note: declared here getline(f, g, d, d2) ^ *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/news/cnews/work/cnews-cr.g_14/readnews *** conf/inall terminated *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/news/cnews/work/cnews-cr.g_14 *** Error code 1 Stop. make: stopped in /usr/ports/news/cnews _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-pkg-fallout To unsubscribe, send any mail to "[email protected]"
