Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2021 13:58:52 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-powerpc64-default][benchmarks/dbs] Failed for dbs-1.1.5_7 in build
Message-ID:  <202103061358.126DwqD4006167@pylon.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: jbeich@FreeBSD.org
Ident:          $FreeBSD: head/benchmarks/dbs/Makefile 482846 2018-10-23 16:34:43Z jbeich $
Log URL:        http://pylon.nyi.freebsd.org/data/main-powerpc64-default/p566198_s81174cd8e2/logs/dbs-1.1.5_7.log
Build URL:      http://pylon.nyi.freebsd.org/build.html?mastername=main-powerpc64-default&build=p566198_s81174cd8e2
Log:

=>> Building benchmarks/dbs
build started at Sat Mar  6 13:58:38 UTC 2021
port directory: /usr/ports/benchmarks/dbs
package name: dbs-1.1.5_7
building for: FreeBSD main-powerpc64-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400005 powerpc
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/benchmarks/dbs/Makefile 482846 2018-10-23 16:34:43Z jbeich $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400003
Jail OSVERSION: 1400005
Job Id: 03




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1400005
UNAME_v=FreeBSD 14.0-CURRENT 1400005
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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/main-powerpc64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-powerpc64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64-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 dbs-1.1.5_7:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/benchmarks/dbs/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/benchmarks/dbs/work  HOME=/wrkdirs/usr/ports/benchmarks/dbs/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/benchmarks/dbs/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/benchmarks/dbs/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/benchmarks/dbs/work  HOME=/wrkdirs/usr/ports/benchmarks/dbs/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/benchmarks/dbs/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="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="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--
PORTDOCS="" PORTEXAMPLES="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/dbs"  EXAMPLESDIR="share/examples/dbs"  DATADIR="share/dbs"  WWWDIR="www/dbs"  ETCDIR="etc/dbs"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /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_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv2
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400005
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.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 dbs 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

===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   dbs-1.1.5_7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[main-powerpc64-default-job-03] Installing pkg-1.16.3...
[main-powerpc64-default-job-03] Extracting pkg-1.16.3: .......... done
===>   dbs-1.1.5_7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of dbs-1.1.5_7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

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

===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by dbs-1.1.5_7 for building
===========================================================================
<snip>
scan.c:190:88: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
            fprintf(stderr, "End Time         =(%-12d %-12d)\n",(*scan)->end_time.tv_sec,     (*scan)->start_time.tv_usec);
                                                      ~~~~~                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                      %-12ld
--- dbsc.o ---
dbsc.c:120:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc, argv)
^
dbsc.c:120:1: note: change return type to 'int'
void main(argc, argv)
^~~~
int
dbsc.c:584:3: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                cmd->start_time.tv_sec, cmd->start_time.tv_usec, 
                ^~~~~~~~~~~~~~~~~~~~~~
dbsc.c:584:27: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
                cmd->start_time.tv_sec, cmd->start_time.tv_usec, 
                                        ^~~~~~~~~~~~~~~~~~~~~~~
dbsc.c:587:3: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                cmd->end_time.tv_sec, cmd->end_time.tv_usec,
                ^~~~~~~~~~~~~~~~~~~~
dbsc.c:587:25: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
                cmd->end_time.tv_sec, cmd->end_time.tv_usec,
                                      ^~~~~~~~~~~~~~~~~~~~~
dbsc.c:1062:53: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Current Time = (%-12d, %-12d)\n", current_time.tv_sec, current_time.tv_usec);
                                         ~~~~~             ^~~~~~~~~~~~~~~~~~~
                                         %-12ld
dbsc.c:1062:74: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Current Time = (%-12d, %-12d)\n", current_time.tv_sec, current_time.tv_usec);
                                                ~~~~~                           ^~~~~~~~~~~~~~~~~~~~
                                                %-12ld
dbsc.c:1063:53: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Offset       = (%-12d, %-12d)\n", offset_time.tv_sec,  offset_time.tv_usec);
                                         ~~~~~             ^~~~~~~~~~~~~~~~~~
                                         %-12ld
dbsc.c:1063:74: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Offset       = (%-12d, %-12d)\n", offset_time.tv_sec,  offset_time.tv_usec);
                                                ~~~~~                           ^~~~~~~~~~~~~~~~~~~
                                                %-12ld
dbsc.c:1064:54: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Origin Time  = (%-12d, %-12d)\n", origin_time->tv_sec, origin_time->tv_usec);
                                         ~~~~~             ^~~~~~~~~~~~~~~~~~~
                                         %-12ld
dbsc.c:1064:75: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Origin Time  = (%-12d, %-12d)\n", origin_time->tv_sec, origin_time->tv_usec);
                                                ~~~~~                           ^~~~~~~~~~~~~~~~~~~~
                                                %-12ld
--- scan.o ---
6 warnings generated.
--- dbs.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DHAVE_SYS_PARAM_H -c dbs.c -o dbs.o
--- sendrecv.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DHAVE_SYS_PARAM_H -c sendrecv.c -o sendrecv.o
--- dbsc.o ---
11 warnings generated.
--- sendrecv.o ---
In file included from sendrecv.c:68:
In file included from ./record.h:84:
/usr/include/netinet/tcp_debug.h:60:15: error: field has incomplete type 'struct tcpcb'
        struct  tcpcb td_cb;
                      ^
/usr/include/netinet/tcp_debug.h:60:9: note: forward declaration of 'struct tcpcb'
        struct  tcpcb td_cb;
                ^
sendrecv.c:199:74: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                if ((cmd->fd = accept(cmd->sockfd, (struct sockaddr *)&cmd->d_address, &d_len)) < 0)
                                                                                       ^~~~~~
/usr/include/sys/socket.h:679:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
sendrecv.c:400:74: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                if ((cmd->fd = accept(cmd->sockfd, (struct sockaddr *)&cmd->d_address, &d_len)) < 0) {
                                                                                       ^~~~~~
/usr/include/sys/socket.h:679:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
sendrecv.c:760:88: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    if ((r = (int)recvfrom(cmd->fd, (char *)data + offset, traffic->packet, 0, dest, &length)) < 0)
                                                                                                     ^~~~~~~
/usr/include/sys/socket.h:692:96: note: passing argument to parameter here
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                                               ^
sendrecv.c:833:48: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Current Time (%12d %12d)\n", tp.tv_sec, tp.tv_usec);
                                       ~~~~           ^~~~~~~~~
                                       %12ld
sendrecv.c:833:59: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Current Time (%12d %12d)\n", tp.tv_sec, tp.tv_usec);
                                            ~~~~                 ^~~~~~~~~~
                                            %12ld
sendrecv.c:834:48: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Sleep To     (%12d %12d)\n", tpp->tv_sec, tpp->tv_usec);    
                                       ~~~~           ^~~~~~~~~~~
                                       %12ld
sendrecv.c:834:61: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Sleep To     (%12d %12d)\n", tpp->tv_sec, tpp->tv_usec);    
                                            ~~~~                   ^~~~~~~~~~~~
                                            %12ld
--- net.o ---
--- sendrecv.o ---
sendrecv.c:842:48: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Sleep Time   (%12d %12d)\n", tp.tv_sec, tp.tv_usec);    
                                       ~~~~           ^~~~~~~~~
                                       %12ld
sendrecv.c:842:59: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Sleep Time   (%12d %12d)\n", tp.tv_sec, tp.tv_usec);    
                                            ~~~~                 ^~~~~~~~~~
                                            %12ld
sendrecv.c:846:48: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Waked Up At  (%12d %12d)\n", tp.tv_sec, tp.tv_usec);
                                       ~~~~           ^~~~~~~~~
                                       %12ld
sendrecv.c:846:59: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
        fprintf(stderr, "Waked Up At  (%12d %12d)\n", tp.tv_sec, tp.tv_usec);
                                            ~~~~                 ^~~~~~~~~~
                                            %12ld
sendrecv.c:872:64: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
    DEBUGMSG2(3, fprintf(stderr, "Current Time (%12d %12d)\n", tp.tv_sec, tp.tv_usec));
                                                ~~~~           ^~~~~~~~~
                                                %12ld
./dbs.h:191:42: note: expanded from macro 'DEBUGMSG2'
#define DEBUGMSG2(A,B) if(debug >= (A)) {B; fflush(stderr);}
                                         ^
sendrecv.c:872:75: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
    DEBUGMSG2(3, fprintf(stderr, "Current Time (%12d %12d)\n", tp.tv_sec, tp.tv_usec));
                                                     ~~~~                 ^~~~~~~~~~
                                                     %12ld
./dbs.h:191:42: note: expanded from macro 'DEBUGMSG2'
#define DEBUGMSG2(A,B) if(debug >= (A)) {B; fflush(stderr);}
                                         ^
sendrecv.c:881:64: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
    DEBUGMSG2(3, fprintf(stderr, "Alarm Set    (%12d %12d)\n", tpp->tv_sec, tpp->tv_usec));
                                                ~~~~           ^~~~~~~~~~~
                                                %12ld
./dbs.h:191:42: note: expanded from macro 'DEBUGMSG2'
#define DEBUGMSG2(A,B) if(debug >= (A)) {B; fflush(stderr);}
                                         ^
sendrecv.c:881:77: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
    DEBUGMSG2(3, fprintf(stderr, "Alarm Set    (%12d %12d)\n", tpp->tv_sec, tpp->tv_usec));
                                                     ~~~~                   ^~~~~~~~~~~~
                                                     %12ld
./dbs.h:191:42: note: expanded from macro 'DEBUGMSG2'
#define DEBUGMSG2(A,B) if(debug >= (A)) {B; fflush(stderr);}
                                         ^
15 warnings and 1 error generated.
--- net.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DHAVE_SYS_PARAM_H -c net.c -o net.o
--- sendrecv.o ---
*** [sendrecv.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/benchmarks/dbs/work/dbs-1.1.5/obj/FreeBSD
--- net.o ---
net.c:164:48: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    getpeername(fd, (struct sockaddr *) &dest, &len);
                                               ^~~~
/usr/include/sys/socket.h:687:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
net.c:167:50: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    getsockname(fd, (struct sockaddr *) &source, &len);
                                                 ^~~~
/usr/include/sys/socket.h:688:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
net.c:217:73: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((cmd->fd = accept(cmd->sockfd, (struct sockaddr *)&cmd->d_address, &d_len)) < 0)
                                                                               ^~~~~~
/usr/include/sys/socket.h:679:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
net.c:341:58: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (getsockopt(fd, IPPROTO_TCP, TCP_MAXSEG, (char *)&i, &l) < 0)
                                                                ^~
/usr/include/sys/socket.h:689:72: note: passing argument to parameter here
int     getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
                                                                           ^
net.c:347:56: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, (char *)&i, &l) < 0)
                                                              ^~
/usr/include/sys/socket.h:689:72: note: passing argument to parameter here
int     getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
                                                                           ^
net.c:353:56: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, (char *)&i, &l) < 0)
                                                              ^~
/usr/include/sys/socket.h:689:72: note: passing argument to parameter here
int     getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
                                                                           ^
6 warnings generated.
1 error

make[1]: stopped in /wrkdirs/usr/ports/benchmarks/dbs/work/dbs-1.1.5/obj/FreeBSD
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/benchmarks/dbs



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