Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2018 13:00:13 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][benchmarks/postal] Failed for postal-0.73_3 in build
Message-ID:  <201806131300.w5DD0DZ5059397@beefy11.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: mat@FreeBSD.org
Ident:          $FreeBSD: head/benchmarks/postal/Makefile 436248 2017-03-15 14:45:54Z mat $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p472224_s334983/logs/postal-0.73_3.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p472224_s334983
Log:

=>> Building benchmarks/postal
build started at Wed Jun 13 12:59:50 UTC 2018
port directory: /usr/ports/benchmarks/postal
package name: postal-0.73_3
building for: FreeBSD head-i386-default-job-16 12.0-CURRENT FreeBSD 12.0-CURRENT 1200067 i386
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/benchmarks/postal/Makefile 436248 2017-03-15 14:45:54Z mat $
Poudriere version: 3.2.7-1-g7087c444
Host OSVERSION: 1200062
Jail OSVERSION: 1200067
Job Id: 16




!!! Jail is newer than host. (Jail: 1200067, Host: 1200062) !!!
!!! 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
OSVERSION=1200067
UNAME_v=FreeBSD 12.0-CURRENT 1200067
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
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.7-1-g7087c444
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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 postal-0.73_3:
====> Secure network connection support via TLS: you can only select none or one of them
     GNUTLS=off: SSL/TLS support via GnuTLS
     OPENSSL=on: SSL/TLS support via OpenSSL
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--
--disable-gnutls --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/benchmarks/postal/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/benchmarks/postal/work  HOME=/wrkdirs/usr/ports/benchmarks/postal/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/benchmarks/postal/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=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/benchmarks/postal/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/benchmarks/postal/work  HOME=/wrkdirs/usr/ports/benchmarks/postal/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/benchmarks/postal/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 -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/include"  LDFLAGS=" -L/usr/lib -L/usr/lib -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 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=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/postal"  EXAMPLESDIR="share/examples/postal"  DATADIR="share/postal"  WWWDIR="www/postal"  ETCDIR="etc/postal"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/postal DOCSDIR=/usr/local/share/doc/postal EXAMPLESDIR=/usr/local/share/examples/postal  WWWDIR=/usr/local/www/postal ETCDIR=/usr/local/etc/postal
--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
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
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-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 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200067
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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 postal 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 GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   postal-0.73_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_1.txz
[head-i386-default-job-16] Installing pkg-1.10.5_1...
[head-i386-default-job-16] Extracting pkg-1.10.5_1: .......... done
===>   postal-0.73_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of postal-0.73_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The postal 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>
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for size_t... (cached) yes
checking for bind in -lsocket... no
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking vector usability... yes
checking vector presence... yes
checking for vector... yes
checking ext/hash_map usability... yes
checking ext/hash_map presence... yes
checking for ext/hash_map... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating postal.h
config.status: creating port.h
config.status: creating postal.spec
config.status: creating sun/pkginfo
config.status: creating conf.h
config.status: conf.h is unchanged
===========================================================================
=======================<phase: build          >============================
===>  Building for postal-0.73_3
gmake[1]: Entering directory '/wrkdirs/usr/ports/benchmarks/postal/work/postal-0.73'
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c expand.cpp
In file included from expand.cpp:1:
./expand.h:4:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope postal-list.cpp expand.o -o postal-list  -L/usr/lib -L/usr/lib -fstack-protector  -pthread
In file included from postal-list.cpp:1:
./expand.h:4:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c userlist.cpp
In file included from userlist.cpp:1:
./userlist.h:4:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c thread.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c results.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c address.cpp
address.cpp:92:35: warning: cast from 'char *' to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]
  m_addr[ind].sin_addr.s_addr = *((unsigned int *)he->h_addr_list[0]);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c tcp.cpp
In file included from tcp.cpp:3:
./tcp.h:7:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
tcp.cpp:159:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 1 to 4 [-Wcast-align]
                  , inet_ntoa(((sockaddr_in *)sa)->sin_addr)
                               ^~~~~~~~~~~~~~~~~
tcp.cpp:160:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 1 to 4 [-Wcast-align]
                  , int(ntohs(((sockaddr_in *)sa)->sin_port)) );
                               ^~~~~~~~~~~~~~~~~
/usr/include/netinet/in.h:122:26: note: expanded from macro 'ntohs'
#define ntohs(x)        __ntohs(x)
                                ^
/usr/include/x86/endian.h:131:30: note: expanded from macro '__ntohs'
#define __ntohs(x)      __bswap16(x)
                                  ^
/usr/include/x86/endian.h:76:37: note: expanded from macro '__bswap16'
        ((__uint16_t)(__builtin_constant_p(x) ? \
                                           ^
tcp.cpp:160:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 1 to 4 [-Wcast-align]
                  , int(ntohs(((sockaddr_in *)sa)->sin_port)) );
                               ^~~~~~~~~~~~~~~~~
/usr/include/netinet/in.h:122:26: note: expanded from macro 'ntohs'
#define ntohs(x)        __ntohs(x)
                                ^
/usr/include/x86/endian.h:131:30: note: expanded from macro '__ntohs'
#define __ntohs(x)      __bswap16(x)
                                  ^
/usr/include/x86/endian.h:77:33: note: expanded from macro '__bswap16'
            __bswap16_gen((__uint16_t)(x)) : __bswap16_var(x)))
                                       ^
/usr/include/x86/endian.h:68:40: note: expanded from macro '__bswap16_gen'
#define __bswap16_gen(x)        (__uint16_t)((x) << 8 | (x) >> 8)
                                              ^
tcp.cpp:160:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 1 to 4 [-Wcast-align]
                  , int(ntohs(((sockaddr_in *)sa)->sin_port)) );
                               ^~~~~~~~~~~~~~~~~
/usr/include/netinet/in.h:122:26: note: expanded from macro 'ntohs'
#define ntohs(x)        __ntohs(x)
                                ^
/usr/include/x86/endian.h:131:30: note: expanded from macro '__ntohs'
#define __ntohs(x)      __bswap16(x)
                                  ^
/usr/include/x86/endian.h:77:33: note: expanded from macro '__bswap16'
            __bswap16_gen((__uint16_t)(x)) : __bswap16_var(x)))
                                       ^
/usr/include/x86/endian.h:68:51: note: expanded from macro '__bswap16_gen'
#define __bswap16_gen(x)        (__uint16_t)((x) << 8 | (x) >> 8)
                                                         ^
tcp.cpp:160:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 1 to 4 [-Wcast-align]
                  , int(ntohs(((sockaddr_in *)sa)->sin_port)) );
                               ^~~~~~~~~~~~~~~~~
/usr/include/netinet/in.h:122:26: note: expanded from macro 'ntohs'
#define ntohs(x)        __ntohs(x)
                                ^
/usr/include/x86/endian.h:131:30: note: expanded from macro '__ntohs'
#define __ntohs(x)      __bswap16(x)
                                  ^
/usr/include/x86/endian.h:77:53: note: expanded from macro '__bswap16'
            __bswap16_gen((__uint16_t)(x)) : __bswap16_var(x)))
                                                           ^
6 warnings generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c cmd5.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c mutex.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c logit.cpp
In file included from logit.cpp:1:
./logit.h:4:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c smtp.cpp
In file included from smtp.cpp:1:
./smtp.h:4:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope postal.cpp userlist.o thread.o results.o address.o tcp.o cmd5.o mutex.o logit.o expand.o  smtp.o -o postal  -L/usr/lib -L/usr/lib -fstack-protector  -pthread -lssl -lcrypto
In file included from postal.cpp:5:
./userlist.h:4:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c client.cpp
client.cpp:327:12: warning: enumeration value 'eEnd' not handled in switch [-Wswitch]
    switch(state)
           ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope rabid.cpp userlist.o thread.o results.o address.o tcp.o cmd5.o mutex.o logit.o expand.o  client.o -o rabid  -L/usr/lib -L/usr/lib -fstack-protector  -pthread -lssl -lcrypto
In file included from rabid.cpp:5:
./userlist.h:4:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c basictcp.cpp
In file included from basictcp.cpp:3:
./basictcp.h:4:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope -c bhmusers.cpp
In file included from bhmusers.cpp:1:
./bhmusers.h:4:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing -I/usr/include -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual  -Woverloaded-virtual -ffor-scope bhm.cpp userlist.o basictcp.o logit.o results.o mutex.o bhmusers.o -o bhm  -L/usr/lib -L/usr/lib -fstack-protector  -pthread -lssl -lcrypto
In file included from bhm.cpp:5:
./bhmusers.h:4:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
bhm.cpp:70:26: warning: unused parameter 'addr' [-Wunused-parameter]
int check_sender(CPCCHAR addr)
                         ^
bhm.cpp:420:25: error: value of type '__bind<int &, sockaddr *, unsigned int>' is not contextually convertible to 'bool'
  if(listen_fd == -1 || bind(listen_fd, (sockaddr *)&in, sizeof(in))
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bhm.cpp:420:22: error: invalid operands to binary expression ('bool' and '__bind<int &, sockaddr *, unsigned int>')
  if(listen_fd == -1 || bind(listen_fd, (sockaddr *)&in, sizeof(in))
     ~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings and 2 errors generated.
gmake[1]: *** [Makefile:33: bhm] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/benchmarks/postal/work/postal-0.73'
*** Error code 1

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



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