Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2019 11:47:42 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][devel/poslib] Failed for poslib-1.0.6_2 in build
Message-ID:  <201904191147.x3JBlgnG038808@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: amdmi3@FreeBSD.org
Ident:          $FreeBSD: head/devel/poslib/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p499228_s346255/logs/poslib-1.0.6_2.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p499228_s346255
Log:

=>> Building devel/poslib
build started at Fri Apr 19 11:46:51 UTC 2019
port directory: /usr/ports/devel/poslib
package name: poslib-1.0.6_2
building for: FreeBSD head-amd64-default-job-16 13.0-CURRENT FreeBSD 13.0-CURRENT 1300018 amd64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/poslib/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
Poudriere version: 3.2.8-3-g02cc9753
Host OSVERSION: 1300009
Jail OSVERSION: 1300018
Job Id: 16




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300018
UNAME_v=FreeBSD 13.0-CURRENT 1300018
UNAME_r=13.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.8-3-g02cc9753
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-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 poslib-1.0.6_2:
     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--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/poslib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/poslib/work  HOME=/wrkdirs/usr/ports/devel/poslib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/poslib/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/poslib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/poslib/work  HOME=/wrkdirs/usr/ports/devel/poslib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/poslib/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=""  LDFLAGS=" -fstack-protector " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
VERSION="1.0.6" PORTDOCS="" PORTEXAMPLES="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/poslib"  EXAMPLESDIR="share/examples/poslib"  DATADIR="share/poslib"  WWWDIR="www/poslib"  ETCDIR="etc/poslib"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/poslib DOCSDIR=/usr/local/share/doc/poslib EXAMPLESDIR=/usr/local/share/examples/poslib  WWWDIR=/usr/local/www/poslib ETCDIR=/usr/local/etc/poslib
--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

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd13.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" "-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 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300018
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
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)  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 poslib 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 GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   poslib-1.0.6_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[head-amd64-default-job-16] Installing pkg-1.10.5_5...
[head-amd64-default-job-16] Extracting pkg-1.10.5_5: .......... done
===>   poslib-1.0.6_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of poslib-1.0.6_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The poslib 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:

<snip>
                              ^
rr.cpp:499:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    if (ptr[x] == '\0') throw PException("RR does not contain that property");
                                         ^
27 warnings generated.
 c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT rr.lo -MD -MP -MF .deps/rr.Tpo -c rr.cpp -o rr.o >/dev/null 2>&1
if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H  -I. -I. -I.. -I..     -O2 -pipe -fstack-protector -fno-strict-aliasing   -Wall -funsigned-char -D_REENTRANT -MT socket.lo -MD -MP -MF ".deps/socket.Tpo" -c -o socket.lo socket.cpp;  then mv -f ".deps/socket.Tpo" ".deps/socket.Plo"; else rm -f ".deps/socket.Tpo"; exit 1; fi
 c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT socket.lo -MD -MP -MF .deps/socket.Tpo -c socket.cpp  -fPIC -DPIC -o .libs/socket.o
socket.cpp:78:87: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if (fcntl(sockid, F_SETFL, O_NONBLOCK) < 0) { closesocket(sockid); throw PException("Could not set socket to non-blocking"); }
                                                                                      ^
socket.cpp:86:95: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if ((sockid = socket(struct_pf(socketaddr), SOCK_DGRAM, IPPROTO_UDP)) < 0) throw PException("Could not create UDP socket!");
                                                                                              ^
socket.cpp:87:70: error: invalid operands to binary expression ('__bind<int &, sockaddr *, int>' and 'int')
  if (bind(sockid, (sockaddr *)(socketaddr), struct_len(socketaddr)) < 0) { closesocket(sockid); throw PException("Could not bind to socket!"); }
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
/usr/include/c++/v1/utility:596:1: note: candidate template ignored: could not match 'pair' against '__bind'
operator< (const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
^
/usr/include/c++/v1/iterator:720:1: note: candidate template ignored: could not match 'reverse_iterator' against '__bind'
operator<(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y)
^
/usr/include/c++/v1/iterator:1161:1: note: candidate template ignored: could not match 'move_iterator' against '__bind'
operator<(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y)
^
/usr/include/c++/v1/iterator:1533:1: note: candidate template ignored: could not match '__wrap_iter' against '__bind'
operator<(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
^
/usr/include/c++/v1/tuple:1165:1: note: candidate template ignored: could not match 'tuple' against '__bind'
operator<(const tuple<_Tp...>& __x, const tuple<_Up...>& __y)
^
/usr/include/c++/v1/memory:2974:1: note: candidate template ignored: could not match 'unique_ptr' against '__bind'
operator< (const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y)
^
/usr/include/c++/v1/memory:3032:1: note: candidate template ignored: could not match 'unique_ptr' against '__bind'
operator<(const unique_ptr<_T1, _D1>& __x, nullptr_t)
^
/usr/include/c++/v1/memory:3041:1: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'int'
operator<(nullptr_t, const unique_ptr<_T1, _D1>& __x)
^
/usr/include/c++/v1/memory:4812:1: note: candidate template ignored: could not match 'shared_ptr' against '__bind'
operator<(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT
^
/usr/include/c++/v1/memory:4882:1: note: candidate template ignored: could not match 'shared_ptr' against '__bind'
operator<(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
^
/usr/include/c++/v1/memory:4890:1: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'int'
operator<(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT
^
/usr/include/c++/v1/list:2412:1: note: candidate template ignored: could not match 'list' against '__bind'
operator< (const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
^
/usr/include/c++/v1/string_view:674:6: note: candidate template ignored: could not match 'basic_string_view' against '__bind'
bool operator<(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
     ^
/usr/include/c++/v1/string_view:681:6: note: candidate template ignored: could not match 'basic_string_view' against '__bind'
bool operator<(basic_string_view<_CharT, _Traits> __lhs,
     ^
/usr/include/c++/v1/string_view:689:6: note: candidate template ignored: could not match 'basic_string_view<type-parameter-0-0, type-parameter-0-1>' against 'int'
bool operator<(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs, 
     ^
/usr/include/c++/v1/string:3931:1: note: candidate template ignored: could not match 'basic_string' against '__bind'
operator< (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
^
/usr/include/c++/v1/string:3940:1: note: candidate template ignored: could not match 'basic_string' against '__bind'
operator< (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
^
/usr/include/c++/v1/string:3949:1: note: candidate template ignored: could not match 'const _CharT *' against '__bind<int &, sockaddr *, int>'
operator< (const _CharT* __lhs,
^
socket.cpp:87:115: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if (bind(sockid, (sockaddr *)(socketaddr), struct_len(socketaddr)) < 0) { closesocket(sockid); throw PException("Could not bind to socket!"); }
                                                                                                                  ^
socket.cpp:101:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if (ret <= 0) throw PException("Could not receive data from UDP socket");
                                 ^
socket.cpp:107:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    throw PException(true, "Could not send UDP packet: sock %d, err %d", sockid, errno);
                           ^
socket.cpp:114:96: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if ((sockid = socket(struct_pf(socketaddr), SOCK_STREAM, IPPROTO_TCP)) < 0) throw PException("Could not create TCP socket");
                                                                                               ^
socket.cpp:115:68: error: invalid operands to binary expression ('__bind<int &, sockaddr *, int>' and 'int')
  if (bind(sockid, (sockaddr *)socketaddr, struct_len(socketaddr)) < 0) { closesocket(sockid); throw PException("Could not bind TCP socket"); }
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
/usr/include/c++/v1/utility:596:1: note: candidate template ignored: could not match 'pair' against '__bind'
operator< (const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
^
/usr/include/c++/v1/iterator:720:1: note: candidate template ignored: could not match 'reverse_iterator' against '__bind'
operator<(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y)
^
/usr/include/c++/v1/iterator:1161:1: note: candidate template ignored: could not match 'move_iterator' against '__bind'
operator<(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y)
^
/usr/include/c++/v1/iterator:1533:1: note: candidate template ignored: could not match '__wrap_iter' against '__bind'
operator<(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG
^
/usr/include/c++/v1/tuple:1165:1: note: candidate template ignored: could not match 'tuple' against '__bind'
operator<(const tuple<_Tp...>& __x, const tuple<_Up...>& __y)
^
/usr/include/c++/v1/memory:2974:1: note: candidate template ignored: could not match 'unique_ptr' against '__bind'
operator< (const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y)
^
/usr/include/c++/v1/memory:3032:1: note: candidate template ignored: could not match 'unique_ptr' against '__bind'
operator<(const unique_ptr<_T1, _D1>& __x, nullptr_t)
^
/usr/include/c++/v1/memory:3041:1: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'int'
operator<(nullptr_t, const unique_ptr<_T1, _D1>& __x)
^
/usr/include/c++/v1/memory:4812:1: note: candidate template ignored: could not match 'shared_ptr' against '__bind'
operator<(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT
^
/usr/include/c++/v1/memory:4882:1: note: candidate template ignored: could not match 'shared_ptr' against '__bind'
operator<(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
^
/usr/include/c++/v1/memory:4890:1: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'int'
operator<(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT
^
/usr/include/c++/v1/list:2412:1: note: candidate template ignored: could not match 'list' against '__bind'
operator< (const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
^
/usr/include/c++/v1/string_view:674:6: note: candidate template ignored: could not match 'basic_string_view' against '__bind'
bool operator<(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
     ^
/usr/include/c++/v1/string_view:681:6: note: candidate template ignored: could not match 'basic_string_view' against '__bind'
bool operator<(basic_string_view<_CharT, _Traits> __lhs,
     ^
/usr/include/c++/v1/string_view:689:6: note: candidate template ignored: could not match 'basic_string_view<type-parameter-0-0, type-parameter-0-1>' against 'int'
bool operator<(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs, 
     ^
/usr/include/c++/v1/string:3931:1: note: candidate template ignored: could not match 'basic_string' against '__bind'
operator< (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
^
/usr/include/c++/v1/string:3940:1: note: candidate template ignored: could not match 'basic_string' against '__bind'
operator< (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
^
/usr/include/c++/v1/string:3949:1: note: candidate template ignored: could not match 'const _CharT *' against '__bind<int &, sockaddr *, int>'
operator< (const _CharT* __lhs,
^
socket.cpp:115:113: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if (bind(sockid, (sockaddr *)socketaddr, struct_len(socketaddr)) < 0) { closesocket(sockid); throw PException("Could not bind TCP socket"); }
                                                                                                                ^
socket.cpp:118:70: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if (listen(sockid, 5) < 0) { closesocket(sockid); throw PException("Could not listen to TCP socket"); }
                                                                     ^
socket.cpp:125:90: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if ((sockid = socket(struct_pf(addr), SOCK_STREAM, IPPROTO_TCP)) < 0) throw PException("Could not create TCP socket");
                                                                                         ^
socket.cpp:126:104: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if (connect(sockid, (sockaddr *)addr, struct_len(addr)) < 0) { closesocket(sockid); throw PException("Could not connect TCP socket"); }
                                                                                                       ^
socket.cpp:138:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if (ret < 0) throw PException("Could not accept TCP connection");
                                ^
socket.cpp:145:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if (ret < 0 && errno != EAGAIN) throw PException("Could not send TCP message");
                                                   ^
socket.cpp:153:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    throw PException(true, "Could not read TCP message");
                           ^
socket.cpp:175:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    if (!set.canwrite(0)) throw PException("Could not send buffer");
                                           ^
socket.cpp:202:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
      throw PException("Could not read TCP message: no data");
                       ^
socket.cpp:205:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    if (ret == 0) throw PException("TCP client hung up!");
                                   ^
socket.cpp:415:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
      throw PException(true, "Error during poll: %d->%d", ret, errno);
                             ^
socket.cpp:469:73: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if ((protocol = getprotobyname(name)) == NULL) throw PException(true, "Unknown protocol %s", name);
                                                                        ^
socket.cpp:479:77: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  if ((service = getservbyname(name, NULL)) == NULL) throw PException(true, "Unknown service %s", name);
                                                                            ^
19 warnings and 2 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /wrkdirs/usr/ports/devel/poslib/work/poslib-1.0.6/poslib
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/devel/poslib/work/poslib-1.0.6/poslib
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/devel/poslib/work/poslib-1.0.6
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/poslib/work/poslib-1.0.6
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/poslib



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