Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2019 04:54:49 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 120powerpc64-quarterly][net/libusipp] Failed for libusipp-2.24 in build
Message-ID:  <201904090454.x394sn7Z007611@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:     sunpoet@FreeBSD.org
Last committer: sunpoet@FreeBSD.org
Ident:          $FreeBSD: branches/2019Q2/net/libusipp/Makefile 493377 2019-02-19 19:46:44Z sunpoet $
Log URL:        http://pylon.nyi.freebsd.org/data/120powerpc64-quarterly/498441/logs/libusipp-2.24.log
Build URL:      http://pylon.nyi.freebsd.org/build.html?mastername=120powerpc64-quarterly&build=498441
Log:

=>> Building net/libusipp
build started at Tue Apr  9 04:53:04 UTC 2019
port directory: /usr/ports/net/libusipp
package name: libusipp-2.24
building for: FreeBSD 120powerpc64-quarterly-job-16 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 1200086 powerpc
maintained by: sunpoet@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2019Q2/net/libusipp/Makefile 493377 2019-02-19 19:46:44Z sunpoet $
Poudriere version: 3.2.8-3-g02cc9753
Host OSVERSION: 1300012
Jail OSVERSION: 1200086
Job Id: 16

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200086
UNAME_v=FreeBSD 12.0-RELEASE-p3 1200086
UNAME_r=12.0-RELEASE-p3
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/120powerpc64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/120powerpc64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=120powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/120powerpc64-quarterly/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---
---End OPTIONS List---

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

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

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/libusipp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/libusipp/work  HOME=/wrkdirs/usr/ports/net/libusipp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/libusipp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" 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/net/libusipp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/libusipp/work  HOME=/wrkdirs/usr/ports/net/libusipp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/libusipp/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc8" CFLAGS="-O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8 -fno-strict-aliasing "  CPP="cpp8" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc8 -L/usr/local/lib/gcc8 " LIBS=""  CXX="g++8" CXXFLAGS="-O2 -pipe  -Wl,-r
 path=/usr/local/lib/gcc8  -Wl,-rpath=/usr/local/lib/gcc8 "  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--
OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libusipp"  EXAMPLESDIR="share/examples/libusipp"  DATADIR="share/libusipp"  WWWDIR="www/libusipp"  ETCDIR="etc/libusipp"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libusipp DOCSDIR=/usr/local/share/doc/libusipp EXAMPLESDIR=/usr/local/share/examples/libusipp  WWWDIR=/usr/local/www/libusipp ETCDIR=/usr/local/etc/libusipp
--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=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11"
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11"
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x"
CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11"
CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14"
CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17"
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11"
CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14"
CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17"
_OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
OPSYS=FreeBSD
_OSRELEASE=12.0-RELEASE-p3
OSREL=12.0
OSVERSION=1200086
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)  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   >============================
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   libusipp-2.24 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[120powerpc64-quarterly-job-16] Installing pkg-1.10.5_5...
[120powerpc64-quarterly-job-16] Extracting pkg-1.10.5_5: .......... done
===>   libusipp-2.24 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libusipp-2.24
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by libusipp-2.24 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by libusipp-2.24 for building
=> SHA256 Checksum OK for stealth-libusipp-libusipp-2.24s_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by libusipp-2.24 for building
===>  Extracting for libusipp-2.24
=> SHA256 Checksum OK for stealth-libusipp-libusipp-2.24s_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for libusipp-2.24
===========================================================================
=======================<phase: build-depends  >============================
===>   libusipp-2.24 depends on package: autoconf>=2.69 - not found
===>   Installing existing package /packages/All/autoconf-2.69_2.txz
[120powerpc64-quarterly-job-16] Installing autoconf-2.69_2...
[120powerpc64-quarterly-job-16] `-- Installing autoconf-wrapper-20131203...
[120powerpc64-quarterly-job-16] `-- Extracting autoconf-wrapper-20131203: .......... done
[120powerpc64-quarterly-job-16] `-- Installing indexinfo-0.3.1...
[120powerpc64-quarterly-job-16] `-- Extracting indexinfo-0.3.1: .... done
[120powerpc64-quarterly-job-16] `-- Installing m4-1.4.18_1,1...
[120powerpc64-quarterly-job-16] `-- Extracting m4-1.4.18_1,1: .......... done
[120powerpc64-quarterly-job-16] `-- Installing perl5-5.28.1_1...
[120powerpc64-quarterly-job-16] `-- Extracting perl5-5.28.1_1: .......... done
[120powerpc64-quarterly-job-16] Extracting autoconf-2.69_2: .......... done
Message from perl5-5.28.1_1:

The /usr/bin/perl symlink has been removed starting with Perl 5.20.
<snip>
===>   libusipp-2.24 depends on executable: gcc8 - not found
===>   Installing existing package /packages/All/gcc8-8.3.0_1.txz
[120powerpc64-quarterly-job-16] Installing gcc8-8.3.0_1...
[120powerpc64-quarterly-job-16] `-- Installing binutils-2.32,1...
[120powerpc64-quarterly-job-16] `-- Extracting binutils-2.32,1: .......... done
[120powerpc64-quarterly-job-16] `-- Installing gmp-6.1.2_1...
[120powerpc64-quarterly-job-16] `-- Extracting gmp-6.1.2_1: .......... done
[120powerpc64-quarterly-job-16] `-- Installing mpc-1.1.0_2...
[120powerpc64-quarterly-job-16] |   `-- Installing mpfr-4.0.2...
[120powerpc64-quarterly-job-16] |   `-- Extracting mpfr-4.0.2: .......... done
[120powerpc64-quarterly-job-16] `-- Extracting mpc-1.1.0_2: ......... done
[120powerpc64-quarterly-job-16] Extracting gcc8-8.3.0_1: .......... done
Message from gcc8-8.3.0_1:

To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc8

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   libusipp-2.24 depends on executable: gcc8 - found
===>   Returning to build of libusipp-2.24
===>   libusipp-2.24 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for libusipp-2.24
configure: loading site script /usr/ports/Templates/config.site
checking whether the C++ compiler works... yes
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 g++8 accepts -g... yes
checking for gcc... gcc8
checking whether we are using the GNU C compiler... yes
checking whether gcc8 accepts -g... yes
checking for gcc8 option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp8
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... /usr/local/bin/ranlib
checking for pcap_open_live in -lpcap... yes
checking for pcap_inject... yes
checking for ip_open in -ldnet... no
checking for ip_open in -ldumbnet... no
checking for socket in -lsocket... no
checking for inet_ntoa in -lnsl... no
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 netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... (cached) yes
checking for _Bool... (cached) yes
checking for size_t... (cached) yes
checking for gethostbyaddr... yes
checking for gethostbyname... (cached) yes
checking for gethostname... (cached) yes
checking for inet_ntoa... (cached) yes
checking for memset... (cached) yes
checking for select... (cached) yes
checking for socket... yes
checking for strerror... (cached) yes
./configure: r+=: not found
./configure: r+=: not found
Enabling pcap_set_immediate_mode
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for libusipp-2.24
gmake[1]: Entering directory '/wrkdirs/usr/ports/net/libusipp/work/libusipp-libusipp-2.24s/src'
g++8 -I . -I .. -DBROKEN_BSD -DIMMEDIATE -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -Wl,-rpath=/usr/local/lib/gcc8  -fPIC -I/usr/local/include -Wall -c -pedantic -std=c++11  icmp.cc
g++8 -I . -I .. -DBROKEN_BSD -DIMMEDIATE -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -Wl,-rpath=/usr/local/lib/gcc8  -fPIC -I/usr/local/include -Wall -c -pedantic -std=c++11  datalink.cc
datalink.cc: In member function 'virtual int usipp::pcap::sniffpack(void*, size_t, int&)':
datalink.cc:464:20: warning: unused variable 'cooked_hdr' [-Wunused-variable]
  string::size_type cooked_hdr = 0, idx = d_framelen;
                    ^~~~~~~~~~
g++8 -I . -I .. -DBROKEN_BSD -DIMMEDIATE -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -Wl,-rpath=/usr/local/lib/gcc8  -fPIC -I/usr/local/include -Wall -c -pedantic -std=c++11  ip.cc
g++8 -I . -I .. -DBROKEN_BSD -DIMMEDIATE -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -Wl,-rpath=/usr/local/lib/gcc8  -fPIC -I/usr/local/include -Wall -c -pedantic -std=c++11  ipcomp.cc
ipcomp.cc: In constructor 'usipp::IPComp<T>::IPComp(const string&, usipp::RX*, usipp::TX*)':
ipcomp.cc:36:2: error: there are no arguments to 'memset' that depend on a template parameter, so a declaration of 'memset' must be available [-fpermissive]
  memset(&ipchdr, 0, sizeof(ipchdr));
  ^~~~~~
ipcomp.cc:36:2: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
ipcomp.cc: In member function 'virtual int usipp::IPComp<T>::sendpack(const void*, size_t)':
ipcomp.cc:78:2: error: there are no arguments to 'memset' that depend on a template parameter, so a declaration of 'memset' must be available [-fpermissive]
  memset(tmp, 0, sizeof(tmp));
  ^~~~~~
ipcomp.cc:80:2: error: there are no arguments to 'memcpy' that depend on a template parameter, so a declaration of 'memcpy' must be available [-fpermissive]
  memcpy(tmp, &ipchdr, sizeof(ipchdr));
  ^~~~~~
ipcomp.cc:83:2: error: there are no arguments to 'memcpy' that depend on a template parameter, so a declaration of 'memcpy' must be available [-fpermissive]
  memcpy(tmp + sizeof(ipchdr), buf, paylen);
  ^~~~~~
ipcomp.cc: In member function 'virtual int usipp::IPComp<T>::sniffpack(void*, size_t)':
ipcomp.cc:124:3: error: there are no arguments to 'memmove' that depend on a template parameter, so a declaration of 'memmove' must be available [-fpermissive]
   memmove(s, reinterpret_cast<char *>(s) + off, r - off);
   ^~~~~~~
ipcomp.cc: In member function 'virtual int usipp::IPComp<T>::sniffpack(void*, size_t, int&)':
ipcomp.cc:143:2: error: there are no arguments to 'memcpy' that depend on a template parameter, so a declaration of 'memcpy' must be available [-fpermissive]
  memcpy(&ipchdr, reinterpret_cast<char *>(buf) + off, sizeof(ipchdr));
  ^~~~~~
ipcomp.cc: In instantiation of 'usipp::IPComp<T>::IPComp(const string&, usipp::RX*, usipp::TX*) [with T = usipp::IP; std::__cxx11::string = std::__cxx11::basic_string<char>]':
ipcomp.cc:166:16:   required from here
ipcomp.cc:36:8: error: 'memset' was not declared in this scope
  memset(&ipchdr, 0, sizeof(ipchdr));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:36:8: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
ipcomp.cc:25:1:
+#include <cstring>
 
ipcomp.cc:36:8:
  memset(&ipchdr, 0, sizeof(ipchdr));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc: In instantiation of 'int usipp::IPComp<T>::sniffpack(void*, size_t) [with T = usipp::IP; size_t = long unsigned int]':
ipcomp.cc:166:16:   required from here
ipcomp.cc:124:10: error: 'memmove' was not declared in this scope
   memmove(s, reinterpret_cast<char *>(s) + off, r - off);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:124:10: note: 'memmove' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
ipcomp.cc: In instantiation of 'int usipp::IPComp<T>::sniffpack(void*, size_t, int&) [with T = usipp::IP; size_t = long unsigned int]':
ipcomp.cc:166:16:   required from here
ipcomp.cc:143:8: error: 'memcpy' was not declared in this scope
  memcpy(&ipchdr, reinterpret_cast<char *>(buf) + off, sizeof(ipchdr));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:143:8: note: 'memcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
ipcomp.cc: In instantiation of 'int usipp::IPComp<T>::sendpack(const void*, size_t) [with T = usipp::IP; size_t = long unsigned int]':
ipcomp.cc:166:16:   required from here
ipcomp.cc:78:8: error: 'memset' was not declared in this scope
  memset(tmp, 0, sizeof(tmp));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:78:8: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
ipcomp.cc:80:8: error: 'memcpy' was not declared in this scope
  memcpy(tmp, &ipchdr, sizeof(ipchdr));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:80:8: note: 'memcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
ipcomp.cc:83:8: error: 'memcpy' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  memcpy(tmp + sizeof(ipchdr), buf, paylen);
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:80:8: note: 'memcpy' declared here, later in the translation unit
  memcpy(tmp, &ipchdr, sizeof(ipchdr));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc: In instantiation of 'usipp::IPComp<T>::IPComp(const string&, usipp::RX*, usipp::TX*) [with T = usipp::IP6; std::__cxx11::string = std::__cxx11::basic_string<char>]':
ipcomp.cc:167:16:   required from here
ipcomp.cc:36:8: error: 'memset' was not declared in this scope
  memset(&ipchdr, 0, sizeof(ipchdr));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:36:8: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
ipcomp.cc: In instantiation of 'int usipp::IPComp<T>::sniffpack(void*, size_t) [with T = usipp::IP6; size_t = long unsigned int]':
ipcomp.cc:167:16:   required from here
ipcomp.cc:124:10: error: 'memmove' was not declared in this scope
   memmove(s, reinterpret_cast<char *>(s) + off, r - off);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:124:10: note: 'memmove' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
ipcomp.cc: In instantiation of 'int usipp::IPComp<T>::sniffpack(void*, size_t, int&) [with T = usipp::IP6; size_t = long unsigned int]':
ipcomp.cc:167:16:   required from here
ipcomp.cc:143:8: error: 'memcpy' was not declared in this scope
  memcpy(&ipchdr, reinterpret_cast<char *>(buf) + off, sizeof(ipchdr));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:143:8: note: 'memcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
ipcomp.cc: In instantiation of 'int usipp::IPComp<T>::sendpack(const void*, size_t) [with T = usipp::IP6; size_t = long unsigned int]':
ipcomp.cc:167:16:   required from here
ipcomp.cc:78:8: error: 'memset' was not declared in this scope
  memset(tmp, 0, sizeof(tmp));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:78:8: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
ipcomp.cc:80:8: error: 'memcpy' was not declared in this scope
  memcpy(tmp, &ipchdr, sizeof(ipchdr));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:80:8: note: 'memcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
ipcomp.cc:83:8: error: 'memcpy' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  memcpy(tmp + sizeof(ipchdr), buf, paylen);
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipcomp.cc:80:8: note: 'memcpy' declared here, later in the translation unit
  memcpy(tmp, &ipchdr, sizeof(ipchdr));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[1]: *** [Makefile:89: ipcomp.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/libusipp/work/libusipp-libusipp-2.24s/src'
*** Error code 1

Stop.
make: stopped in /usr/ports/net/libusipp



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