Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2021 14:43:59 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-armv7-default][news/nntpcache] Failed for nntpcache-3.0.2_11 in build
Message-ID:  <202102031443.113Ehx70055334@beefy12.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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:     ports@FreeBSD.org
Last committer: linimon@FreeBSD.org
Ident:          $FreeBSD: head/news/nntpcache/Makefile 559890 2021-01-01 23:51:48Z linimon $
Log URL:        http://beefy12.nyi.freebsd.org/data/main-armv7-default/p562626_sb42a2ea55/logs/nntpcache-3.0.2_11.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=main-armv7-default&build=p562626_sb42a2ea55
Log:

=>> Building news/nntpcache
build started at Wed Feb  3 14:42:13 UTC 2021
port directory: /usr/ports/news/nntpcache
package name: nntpcache-3.0.2_11
building for: FreeBSD main-armv7-default-job-07 14.0-CURRENT FreeBSD 14.0-CURRENT 1400001 arm
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/news/nntpcache/Makefile 559890 2021-01-01 23:51:48Z linimon $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300134
Jail OSVERSION: 1400001
Job Id: 07




!!! Jail is newer than host. (Jail: 1400001, Host: 1300134) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400001
UNAME_v=FreeBSD 14.0-CURRENT 1400001
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for nntpcache-3.0.2_11:
     DOCS=on: Build and/or install documentation
     LDAP=off: LDAP protocol support
     RADIUS=off: RADIUS protocol support
     SPAMPHOBIA=off: Spamphobia NoCeM support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--localstatedir=/var/spool  --program-transform-name='' --without-authinfo-ldap --without-authinfo-radius --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/news/nntpcache/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/nntpcache/work  HOME=/wrkdirs/usr/ports/news/nntpcache/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/news/nntpcache/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/news/nntpcache/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/nntpcache/work  HOME=/wrkdirs/usr/ports/news/nntpcache/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/news/nntpcache/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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"
--End MAKE_ENV--

--PLIST_SUB--
SPOOLDIR=/var/spool/nntpcache PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nntpcache"  EXAMPLESDIR="share/examples/nntpcache"  DATADIR="share/nntpcache"  WWWDIR="www/nntpcache"  ETCDIR="etc/nntpcache"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/nntpcache DOCSDIR=/usr/local/share/doc/nntpcache EXAMPLESDIR=/usr/local/share/examples/nntpcache  WWWDIR=/usr/local/www/nntpcache ETCDIR=/usr/local/etc/nntpcache
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv7
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
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400001
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>   NOTICE:

The nntpcache 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

===========================================================================
<snip>
             assert ("PC" == "never at this location, by george!");\
                     ~~~~ ^
./assert.h:11:8: note: expanded from macro 'assert'
        if (!(x)){\
              ^
1 warning generated.
mv -f .deps/debug.Tpo .deps/debug.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT expire.o -MD -MP -MF .deps/expire.Tpo -c -o expire.o expire.c
expire.c:159:31: warning: if statement has empty body [-Wempty-body]
                                if (unlink (l->data) == 0);
                                                          ^
expire.c:159:31: note: put the semicolon on a separate line to silence this warning
expire.c:236:8: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
                            NOTREACHED;
                            ^~~~~~~~~~
./cf/nconf.h:132:20: note: expanded from macro 'NOTREACHED'
             assert ("PC" == "never at this location, by george!");\
                     ~~~~ ^
./assert.h:11:8: note: expanded from macro 'assert'
        if (!(x)){\
              ^
2 warnings generated.
mv -f .deps/expire.Tpo .deps/expire.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT filter.o -MD -MP -MF .deps/filter.Tpo -c -o filter.o filter.c
mv -f .deps/filter.Tpo .deps/filter.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT group.o -MD -MP -MF .deps/group.Tpo -c -o group.o group.c
mv -f .deps/group.Tpo .deps/group.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT history.o -MD -MP -MF .deps/history.Tpo -c -o history.o history.c
mv -f .deps/history.Tpo .deps/history.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT http.o -MD -MP -MF .deps/http.Tpo -c -o http.o http.c
http.c:263:13: warning: unused function 'add_i' [-Wunused-function]
static void add_i(struct strStack *out, int i)
            ^
http.c:289:13: warning: unused function 'html_tdf' [-Wunused-function]
static void html_tdf(struct strStack *out, float f, char *align)
            ^
2 warnings generated.
mv -f .deps/http.Tpo .deps/http.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT ihave.o -MD -MP -MF .deps/ihave.Tpo -c -o ihave.o ihave.c
mv -f .deps/ihave.Tpo .deps/ihave.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT ipc.o -MD -MP -MF .deps/ipc.Tpo -c -o ipc.o ipc.c
mv -f .deps/ipc.Tpo .deps/ipc.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
list.c:524:44: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'long long') [-Wformat]
                bytes+=emitf ("%s %lu %s\r\n", n->group, n->creation_time, n->creator);
                                  ~~~                    ^~~~~~~~~~~~~~~~
                                  %lld
list.c:724:24: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
                                assert("PC" == "never here");
                                       ~~~~ ^
./assert.h:11:8: note: expanded from macro 'assert'
        if (!(x)){\
              ^
list.c:739:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
        NOTREACHED;
        ^~~~~~~~~~
./cf/nconf.h:132:20: note: expanded from macro 'NOTREACHED'
             assert ("PC" == "never at this location, by george!");\
                     ~~~~ ^
./assert.h:11:8: note: expanded from macro 'assert'
        if (!(x)){\
              ^
3 warnings generated.
mv -f .deps/list.Tpo .deps/list.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT lock.o -MD -MP -MF .deps/lock.Tpo -c -o lock.o lock.c
mv -f .deps/lock.Tpo .deps/lock.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c
mv -f .deps/log.Tpo .deps/log.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT newgroups.o -MD -MP -MF .deps/newgroups.Tpo -c -o newgroups.o newgroups.c
mv -f .deps/newgroups.Tpo .deps/newgroups.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT newnews.o -MD -MP -MF .deps/newnews.Tpo -c -o newnews.o newnews.c
mv -f .deps/newnews.Tpo .deps/newnews.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT next.o -MD -MP -MF .deps/next.Tpo -c -o next.o next.c
mv -f .deps/next.Tpo .deps/next.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT nocem.o -MD -MP -MF .deps/nocem.Tpo -c -o nocem.o nocem.c
nocem.c:418:5: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
    NOTREACHED;
    ^~~~~~~~~~
./cf/nconf.h:132:20: note: expanded from macro 'NOTREACHED'
             assert ("PC" == "never at this location, by george!");\
                     ~~~~ ^
./assert.h:11:8: note: expanded from macro 'assert'
        if (!(x)){\
              ^
1 warning generated.
mv -f .deps/nocem.Tpo .deps/nocem.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT nmalloc.o -MD -MP -MF .deps/nmalloc.Tpo -c -o nmalloc.o nmalloc.c
nmalloc.c:52:11: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
        default: NOTREACHED;
                 ^~~~~~~~~~
./cf/nconf.h:132:20: note: expanded from macro 'NOTREACHED'
             assert ("PC" == "never at this location, by george!");\
                     ~~~~ ^
./assert.h:11:8: note: expanded from macro 'assert'
        if (!(x)){\
              ^
1 warning generated.
mv -f .deps/nmalloc.Tpo .deps/nmalloc.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT nntpcache.o -MD -MP -MF .deps/nntpcache.Tpo -c -o nntpcache.o nntpcache.c
nntpcache.c:1082:3: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
                NOTREACHED;
                ^~~~~~~~~~
./cf/nconf.h:132:20: note: expanded from macro 'NOTREACHED'
             assert ("PC" == "never at this location, by george!");\
                     ~~~~ ^
./assert.h:11:8: note: expanded from macro 'assert'
        if (!(x)){\
              ^
nntpcache.c:1187:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
        NOTREACHED;
        ^~~~~~~~~~
./cf/nconf.h:132:20: note: expanded from macro 'NOTREACHED'
             assert ("PC" == "never at this location, by george!");\
                     ~~~~ ^
./assert.h:11:8: note: expanded from macro 'assert'
        if (!(x)){\
              ^
nntpcache.c:1296:67: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        if ((client = accept (NNTPportFD, (struct sockaddr *) &remote, &remlen)) == -1)
                                                                                       ^~~~~~~
/usr/include/sys/socket.h:679:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
nntpcache.c:1331:72: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        if ((http_client = accept (HTTPportFD, (struct sockaddr *) &remote, &remlen)) == -1)
                                                                                            ^~~~~~~
/usr/include/sys/socket.h:679:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
nntpcache.c:1372:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
        NOTREACHED;
        ^~~~~~~~~~
./cf/nconf.h:132:20: note: expanded from macro 'NOTREACHED'
             assert ("PC" == "never at this location, by george!");\
                     ~~~~ ^
./assert.h:11:8: note: expanded from macro 'assert'
        if (!(x)){\
              ^
nntpcache.c:1629:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
        NOTREACHED;
        ^~~~~~~~~~
./cf/nconf.h:132:20: note: expanded from macro 'NOTREACHED'
             assert ("PC" == "never at this location, by george!");\
                     ~~~~ ^
./assert.h:11:8: note: expanded from macro 'assert'
        if (!(x)){\
              ^
nntpcache.c:1638:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
        calloc(0, 0);
        ^~~~~~ ~~~~
7 warnings generated.
mv -f .deps/nntpcache.Tpo .deps/nntpcache.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT post.o -MD -MP -MF .deps/post.Tpo -c -o post.o post.c
mv -f .deps/post.Tpo .deps/post.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT sockets.o -MD -MP -MF .deps/sockets.Tpo -c -o sockets.o sockets.c
sockets.c:138:74: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                   (getpeername (scfg->fd, (struct sockaddr *) (struct sockaddr *)&sa, &slen) == 0))
                                                                                       ^~~~~
/usr/include/sys/socket.h:687:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
sockets.c:347:6: warning: unused variable 'got_r' [-Wunused-variable]
        int got_r = 0;
            ^
2 warnings generated.
mv -f .deps/sockets.Tpo .deps/sockets.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT stats.o -MD -MP -MF .deps/stats.Tpo -c -o stats.o stats.c
mv -f .deps/stats.Tpo .deps/stats.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT xover.o -MD -MP -MF .deps/xover.Tpo -c -o xover.o xover.c
xover.c:552:51: warning: if statement has empty body [-Wempty-body]
                        if (!(xf->writer = xf_check_buf (xf, readAll)));
                                                                       ^
xover.c:552:51: note: put the semicolon on a separate line to silence this warning
1 warning generated.
mv -f .deps/xover.Tpo .deps/xover.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../cf -I../common -I../libproff -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe -MT xpath.o -MD -MP -MF .deps/xpath.Tpo -c -o xpath.o xpath.c
mv -f .deps/xpath.Tpo .deps/xpath.Po
/nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -pipe  -fstack-protector-strong  -o nntpcached  acc.o article.o authinfo_ldap.o authinfo_passwd.o authinfo_pipe.o authinfo_radius.o authinfo_pam.o authinfo.o bregex.o build_history.o nnconf.o date.o debug.o expire.o filter.o group.o history.o http.o ihave.o ipc.o list.o lock.o log.o newgroups.o newnews.o next.o nocem.o nmalloc.o nntpcache.o post.o sockets.o stats.o xover.o xpath.o ../libproff/libproff.a ../libconfused/libconfused.a ../libmmalloc/libmmalloc.a ../libdbz/libdbz.a ../libradius/libradius.a -lpam -lwrap -lcrypt -lutil 
ld: error: duplicate symbol: jmp
>>> defined at acc.c
>>>            acc.o:(jmp)
>>> defined at authinfo_pipe.c
>>>            authinfo_pipe.o:(.bss+0x0)

ld: error: duplicate symbol: deny_severity
>>> defined at acc.c
>>>            acc.o:(deny_severity)
>>> defined at utils.c
>>>            utils.o:(.data+0x0) in archive ../libproff/libproff.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:456: nntpcached] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/news/nntpcache/work/nntpcache-3.0.2/src'
gmake[2]: *** [Makefile:420: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/news/nntpcache/work/nntpcache-3.0.2'
gmake[1]: *** [Makefile:360: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/news/nntpcache/work/nntpcache-3.0.2'
*** Error code 1

Stop.
make: stopped in /usr/ports/news/nntpcache



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102031443.113Ehx70055334>