Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2019 18:56:44 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][security/softether5] Failed for softether5-5.01.9670_1 in build
Message-ID:  <201906081856.x58IuiMe097196@beefy8.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:     meta@FreeBSD.org
Last committer: sunpoet@FreeBSD.org
Ident:          $FreeBSD: head/security/softether5/Makefile 498476 2019-04-09 14:04:49Z sunpoet $
Log URL:        http://beefy8.nyi.freebsd.org/data/head-armv6-default/p503555_s348712/logs/softether5-5.01.9670_1.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p503555_s348712
Log:

=>> Building security/softether5
build started at Sat Jun  8 18:55:32 UTC 2019
port directory: /usr/ports/security/softether5
package name: softether5-5.01.9670_1
building for: FreeBSD head-armv6-default-job-01 13.0-CURRENT FreeBSD 13.0-CURRENT 1300030 arm
maintained by: meta@FreeBSD.org
Makefile ident:      $FreeBSD: head/security/softether5/Makefile 498476 2019-04-09 14:04:49Z sunpoet $
Poudriere version: 3.2.8-4-g701d8fe1
Host OSVERSION: 1300018
Jail OSVERSION: 1300030
Job Id: 01




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300030
UNAME_v=FreeBSD 13.0-CURRENT 1300030
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-4-g701d8fe1
MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv6-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 softether5-5.01.9670_1:
     DOCS=on: Build and/or install documentation
     UNLOCK=off: Unlock regional lockout (JP and CN)
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
meta@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/softether5/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/softether5/work  HOME=/wrkdirs/usr/ports/security/softether5/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/softether5/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/softether5/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/softether5/work  HOME=/wrkdirs/usr/ports/security/softether5/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/softether5/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-I/usr/local/include -isystem /usr/local/include"  LDFLAGS=" -L/usr/local/lib  -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  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--
SE_DBDIR="/var/db/softether" SE_LOGDIR="/var/log/softether" PORTDOCS="" CMAKE_BUILD_TYPE="release" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/softether"  EXAMPLESDIR="share/examples/softether"  DATADIR="share/softether"  WWWDIR="www/softether"  ETCDIR="etc/softether"
--End PLIST_SUB--

--SUB_LIST--
SE_DBDIR="/var/db/softether" SE_LOGDIR="/var/log/softether" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/softether DOCSDIR=/usr/local/share/doc/softether EXAMPLESDIR=/usr/local/share/examples/softether  WWWDIR=/usr/local/www/softether ETCDIR=/usr/local/etc/softether
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
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

# 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_9d218390=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300030
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---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   softether5-5.01.9670_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.11.1.txz
[head-armv6-default-job-01] Installing pkg-1.11.1...
[head-armv6-default-job-01] Extracting pkg-1.11.1: .......... done
===>   softether5-5.01.9670_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of softether5-5.01.9670_1
===========================================================================
<snip>
[ 13%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Secure.c.o
cd /wrkdirs/usr/ports/security/softether5/work/.build/src/Mayaqua && /nxb-bin/usr/bin/cc -DBRIDGE_BPF -DNDEBUG -DREENTRANT -DTHREADSAFE -DTHREAD_SAFE -DUNIX -DUNIX_BSD -DVPN_SPEED -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREADSAFE -D_THREAD_SAFE -Dmayaqua_EXPORTS -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/. -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/. -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fsigned-char -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -fPIC   -pthread -o CMakeFiles/mayaqua.dir/Secure.c.o   -c /wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:322:66: warning: incompatible pointer types passing 'UINT *' (aka 'unsigned int *') to parameter of type 'CK_ULONG_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
        ret = sec->Api->C_Sign(sec->SessionId, hash, sizeof(hash), dst, &size);
                                                                        ^~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:326:67: warning: incompatible pointer types passing 'UINT *' (aka 'unsigned int *') to parameter of type 'CK_ULONG_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
                ret = sec->Api->C_Sign(sec->SessionId, hash, sizeof(hash), dst, &size);
                                                                                ^~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:364:41: warning: passing 'char *' to parameter of type 'CK_UTF8CHAR_PTR' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (sec->Api->C_SetPIN(sec->SessionId, old_pin, StrLen(old_pin),
                                               ^~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:365:3: warning: passing 'char *' to parameter of type 'CK_UTF8CHAR_PTR' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                new_pin, StrLen(new_pin)) != CKR_OK)
                ^~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:503:83: warning: incompatible pointer types passing 'UINT *' (aka 'unsigned int *') to parameter of type 'CK_OBJECT_HANDLE_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
        if ((ret = sec->Api->C_CreateObject(sec->SessionId, a, sizeof(a) / sizeof(a[0]), &object)) != CKR_OK)
                                                                                         ^~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:680:24: warning: passing 'UCHAR [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        A_SIZE(a, 0) = StrLen(subject);
                              ^~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Str.h:27:19: note: passing argument to parameter 'str' here
UINT StrLen(char *str);
                  ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:685:25: warning: passing 'UCHAR [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                A_SIZE(a, 1) = StrLen(issuer);
                                      ^~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Str.h:27:19: note: passing argument to parameter 'str' here
UINT StrLen(char *str);
                  ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:709:83: warning: incompatible pointer types passing 'UINT *' (aka 'unsigned int *') to parameter of type 'CK_OBJECT_HANDLE_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
        if ((ret = sec->Api->C_CreateObject(sec->SessionId, a, sizeof(a) / sizeof(a[0]), &object)) != CKR_OK)
                                                                                         ^~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1215:46: warning: incompatible pointer types passing 'UINT [1024]' to parameter of type 'CK_OBJECT_HANDLE_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
        if (sec->Api->C_FindObjects(sec->SessionId, objects, sizeof(objects) / sizeof(objects[0]), &num_objects) != CKR_OK)
                                                    ^~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1215:93: warning: incompatible pointer types passing 'UINT *' (aka 'unsigned int *') to parameter of type 'CK_ULONG_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
        if (sec->Api->C_FindObjects(sec->SessionId, objects, sizeof(objects) / sizeof(objects[0]), &num_objects) != CKR_OK)
                                                                                                   ^~~~~~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1336:76: warning: incompatible pointer types passing 'UINT *' (aka 'unsigned int *') to parameter of type 'CK_OBJECT_HANDLE_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
        if (sec->Api->C_CreateObject(sec->SessionId, a, sizeof(a) / sizeof(a[0]), &object) != CKR_OK)
                                                                                  ^~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1446:38: warning: passing 'char [512]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        s->Label = ZeroMalloc(CalcUtf8ToUni(buf, 0));
                                            ^~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:60:26: note: passing argument to parameter 'u' here
UINT CalcUtf8ToUni(BYTE *u, UINT u_size);
                         ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1447:25: warning: passing 'char [512]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        Utf8ToUni(s->Label, 0, buf, 0);
                               ^~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:61:45: note: passing argument to parameter 'u' here
UINT Utf8ToUni(wchar_t *s, UINT size, BYTE *u, UINT u_size);
                                            ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1452:47: warning: passing 'char [512]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        s->ManufacturerId = ZeroMalloc(CalcUtf8ToUni(buf, 0));
                                                     ^~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:60:26: note: passing argument to parameter 'u' here
UINT CalcUtf8ToUni(BYTE *u, UINT u_size);
                         ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1453:34: warning: passing 'char [512]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        Utf8ToUni(s->ManufacturerId, 0, buf, 0);
                                        ^~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:61:45: note: passing argument to parameter 'u' here
UINT Utf8ToUni(wchar_t *s, UINT size, BYTE *u, UINT u_size);
                                            ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1458:38: warning: passing 'char [512]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        s->Model = ZeroMalloc(CalcUtf8ToUni(buf, 0));
                                            ^~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:60:26: note: passing argument to parameter 'u' here
UINT CalcUtf8ToUni(BYTE *u, UINT u_size);
                         ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1459:25: warning: passing 'char [512]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        Utf8ToUni(s->Model, 0, buf, 0);
                               ^~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:61:45: note: passing argument to parameter 'u' here
UINT Utf8ToUni(wchar_t *s, UINT size, BYTE *u, UINT u_size);
                                            ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1464:45: warning: passing 'char [512]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        s->SerialNumber = ZeroMalloc(CalcUtf8ToUni(buf, 0));
                                                   ^~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:60:26: note: passing argument to parameter 'u' here
UINT CalcUtf8ToUni(BYTE *u, UINT u_size);
                         ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1465:32: warning: passing 'char [512]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        Utf8ToUni(s->SerialNumber, 0, buf, 0);
                                      ^~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:61:45: note: passing argument to parameter 'u' here
UINT Utf8ToUni(wchar_t *s, UINT size, BYTE *u, UINT u_size);
                                            ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1554:50: warning: passing 'char *' to parameter of type 'CK_UTF8CHAR_PTR' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (sec->Api->C_Login(sec->SessionId, CKU_USER, pin, StrLen(pin)) != CKR_OK)
                                                        ^~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1620:52: warning: incompatible pointer types passing 'UINT *' (aka 'unsigned int *') to parameter of type 'CK_SESSION_HANDLE_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
                CKF_RW_SESSION | CKF_SERIAL_SESSION, NULL, NULL, &session)) != CKR_OK)
                                                                 ^~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1625:36: warning: incompatible pointer types passing 'UINT *' (aka 'unsigned int *') to parameter of type 'CK_SESSION_HANDLE_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
                        CKF_SERIAL_SESSION, NULL, NULL, &session)) != CKR_OK)
                                                        ^~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1713:49: warning: incompatible pointer types passing 'UINT *' (aka 'unsigned int *') to parameter of type 'CK_ULONG_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
        if ((err = sec->Api->C_GetSlotList(true, NULL, &sec->NumSlot)) != CKR_OK || sec->NumSlot == 0)
                                                       ^~~~~~~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1723:36: warning: incompatible pointer types passing 'UINT *' (aka 'unsigned int *') to parameter of type 'CK_SLOT_ID_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
        if (sec->Api->C_GetSlotList(TRUE, sec->SlotIdList, &sec->NumSlot) != CKR_OK)
                                          ^~~~~~~~~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Secure.c:1723:53: warning: incompatible pointer types passing 'UINT *' (aka 'unsigned int *') to parameter of type 'CK_ULONG_PTR' (aka 'unsigned long *') [-Wincompatible-pointer-types]
        if (sec->Api->C_GetSlotList(TRUE, sec->SlotIdList, &sec->NumSlot) != CKR_OK)
                                                           ^~~~~~~~~~~~~
25 warnings generated.
[ 14%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Str.c.o
cd /wrkdirs/usr/ports/security/softether5/work/.build/src/Mayaqua && /nxb-bin/usr/bin/cc -DBRIDGE_BPF -DNDEBUG -DREENTRANT -DTHREADSAFE -DTHREAD_SAFE -DUNIX -DUNIX_BSD -DVPN_SPEED -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREADSAFE -D_THREAD_SAFE -Dmayaqua_EXPORTS -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/. -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/. -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fsigned-char -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -fPIC   -pthread -o CMakeFiles/mayaqua.dir/Str.c.o   -c /wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Str.c
[ 15%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Table.c.o
cd /wrkdirs/usr/ports/security/softether5/work/.build/src/Mayaqua && /nxb-bin/usr/bin/cc -DBRIDGE_BPF -DNDEBUG -DREENTRANT -DTHREADSAFE -DTHREAD_SAFE -DUNIX -DUNIX_BSD -DVPN_SPEED -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREADSAFE -D_THREAD_SAFE -Dmayaqua_EXPORTS -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/. -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/. -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fsigned-char -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -fPIC   -pthread -o CMakeFiles/mayaqua.dir/Table.c.o   -c /wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Table.c
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Table.c:495:58: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                        Utf8ToUni(e->TitleEnglish, sizeof(e->TitleEnglish), t->Token[2], StrLen(t->Token[2]));
                                                                                            ^~~~~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:61:45: note: passing argument to parameter 'u' here
UINT Utf8ToUni(wchar_t *s, UINT size, BYTE *u, UINT u_size);
                                            ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Table.c:496:54: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                        Utf8ToUni(e->TitleLocal, sizeof(e->TitleLocal), t->Token[3], StrLen(t->Token[3]));
                                                                                        ^~~~~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:61:45: note: passing argument to parameter 'u' here
UINT Utf8ToUni(wchar_t *s, UINT size, BYTE *u, UINT u_size);
                                            ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Table.c:815:30: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        unistr_size = CalcUtf8ToUni(&line[string_start], StrLen(&line[string_start]));
                                    ^~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:60:26: note: passing argument to parameter 'u' here
UINT CalcUtf8ToUni(BYTE *u, UINT u_size);
                         ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Table.c:822:33: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        Utf8ToUni(unistr, unistr_size, &line[string_start], StrLen(&line[string_start]));
                                       ^~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:61:45: note: passing argument to parameter 'u' here
UINT Utf8ToUni(wchar_t *s, UINT size, BYTE *u, UINT u_size);
                                            ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Table.c:1035:44: warning: passing 'char [512]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                        Utf8ToUni(univalue, sizeof(univalue), value, StrLen(value));
                                                                              ^~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:61:45: note: passing argument to parameter 'u' here
UINT Utf8ToUni(wchar_t *s, UINT size, BYTE *u, UINT u_size);
                                            ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Table.c:1138:20: warning: passing 'UCHAR [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        GetCurrentCharSet(c.CharSet, sizeof(c.CharSet));
                          ^~~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:106:30: note: passing argument to parameter 'name' here
void GetCurrentCharSet(char *name, UINT size);
                             ^
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Table.c:1229:20: warning: passing 'UCHAR [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        GetCurrentCharSet(c.CharSet, sizeof(c.CharSet));
                          ^~~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/./Mayaqua/Internat.h:106:30: note: passing argument to parameter 'name' here
void GetCurrentCharSet(char *name, UINT size);
                             ^
7 warnings generated.
[ 17%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/TcpIp.c.o
cd /wrkdirs/usr/ports/security/softether5/work/.build/src/Mayaqua && /nxb-bin/usr/bin/cc -DBRIDGE_BPF -DNDEBUG -DREENTRANT -DTHREADSAFE -DTHREAD_SAFE -DUNIX -DUNIX_BSD -DVPN_SPEED -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREADSAFE -D_THREAD_SAFE -Dmayaqua_EXPORTS -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/. -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/. -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fsigned-char -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -fPIC   -pthread -o CMakeFiles/mayaqua.dir/TcpIp.c.o   -c /wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/TcpIp.c
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/TcpIp.c:1719:38: warning: taking address of packed member 'IPv6HeaderPacketInfo' of class or structure 'PKT' may result in an unaligned pointer value [-Waddress-of-packed-member]
                IPV6_HEADER_PACKET_INFO *v6info = &p->IPv6HeaderPacketInfo;
                                                   ^~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/TcpIp.c:2549:29: warning: taking address of packed member 'IPv6HeaderPacketInfo' of class or structure 'PKT' may result in an unaligned pointer value [-Waddress-of-packed-member]
        if (ParsePacketIPv6Header(&p->IPv6HeaderPacketInfo, buf, size) == false)
                                   ^~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 18%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Tick64.c.o
cd /wrkdirs/usr/ports/security/softether5/work/.build/src/Mayaqua && /nxb-bin/usr/bin/cc -DBRIDGE_BPF -DNDEBUG -DREENTRANT -DTHREADSAFE -DTHREAD_SAFE -DUNIX -DUNIX_BSD -DVPN_SPEED -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREADSAFE -D_THREAD_SAFE -Dmayaqua_EXPORTS -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/. -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/. -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fsigned-char -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -fPIC   -pthread -o CMakeFiles/mayaqua.dir/Tick64.c.o   -c /wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Tick64.c
[ 19%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Tracking.c.o
cd /wrkdirs/usr/ports/security/softether5/work/.build/src/Mayaqua && /nxb-bin/usr/bin/cc -DBRIDGE_BPF -DNDEBUG -DREENTRANT -DTHREADSAFE -DTHREAD_SAFE -DUNIX -DUNIX_BSD -DVPN_SPEED -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREADSAFE -D_THREAD_SAFE -Dmayaqua_EXPORTS -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/. -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/. -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fsigned-char -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -fPIC   -pthread -o CMakeFiles/mayaqua.dir/Tracking.c.o   -c /wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Tracking.c
[ 20%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Unix.c.o
cd /wrkdirs/usr/ports/security/softether5/work/.build/src/Mayaqua && /nxb-bin/usr/bin/cc -DBRIDGE_BPF -DNDEBUG -DREENTRANT -DTHREADSAFE -DTHREAD_SAFE -DUNIX -DUNIX_BSD -DVPN_SPEED -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREADSAFE -D_THREAD_SAFE -Dmayaqua_EXPORTS -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/. -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/. -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fsigned-char -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -fPIC   -pthread -o CMakeFiles/mayaqua.dir/Unix.c.o   -c /wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Unix.c
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Unix.c:227:18: warning: incompatible pointer types assigning to 'void (*)(int, struct __siginfo *, void *)' from 'void *(int, siginfo_t *, void *)' (aka 'void *(int, struct __siginfo *, void *)') [-Wincompatible-pointer-types]
        sa.sa_sigaction = signal_received_for_ignore;
                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Unix.c:1148:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
[ 21%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Win32.c.o
cd /wrkdirs/usr/ports/security/softether5/work/.build/src/Mayaqua && /nxb-bin/usr/bin/cc -DBRIDGE_BPF -DNDEBUG -DREENTRANT -DTHREADSAFE -DTHREAD_SAFE -DUNIX -DUNIX_BSD -DVPN_SPEED -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREADSAFE -D_THREAD_SAFE -Dmayaqua_EXPORTS -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/. -I/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/. -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fsigned-char -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -fPIC   -pthread -o CMakeFiles/mayaqua.dir/Win32.c.o   -c /wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/Mayaqua/Win32.c
[ 22%] Linking C shared library /wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/build/libmayaqua.so
cd /wrkdirs/usr/ports/security/softether5/work/.build/src/Mayaqua && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/mayaqua.dir/link.txt --verbose=1
/nxb-bin/usr/bin/cc -fPIC -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fsigned-char -O2 -pipe  -DSKIP_CPU_FEATURES -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2  -L/usr/local/lib  -fstack-protector-strong -L/usr/local/lib -shared -Wl,-soname,libmayaqua.so -o /wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/build/libmayaqua.so CMakeFiles/mayaqua.dir/Cfg.c.o CMakeFiles/mayaqua.dir/Encrypt.c.o CMakeFiles/mayaqua.dir/FileIO.c.o CMakeFiles/mayaqua.dir/Internat.c.o CMakeFiles/mayaqua.dir/Kernel.c.o CMakeFiles/mayaqua.dir/Mayaqua.c.o CMakeFiles/mayaqua.dir/Memory.c.o CMakeFiles/mayaqua.dir/Microsoft.c.o CMakeFiles/mayaqua.dir/Network.c.o CMakeFiles/mayaqua.dir/OS.c.o CMakeFiles/mayaqua.dir/Object.c.o CMakeFiles/mayaqua.dir/Pack.c.o CMakeFiles/mayaqua.dir/Secure.c.o CMakeFiles/mayaqua.dir/Str.c.o CMakeFiles/mayaqua.dir/Table.c.o CMakeFiles/mayaqua.dir/TcpIp.c.o CMakeFiles/mayaqua.di
 r/Tick64.c.o CMakeFiles/mayaqua.dir/Tracking.c.o CMakeFiles/mayaqua.dir/Unix.c.o CMakeFiles/mayaqua.dir/Win32.c.o  -L/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/SYSTEM -Wl,-rpath,/wrkdirs/usr/ports/security/softether5/work/SoftEtherVPN-5.01.9670/src/SYSTEM: /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libz.so -lcpu_features -lrt /usr/local/lib/libiconv.so -pthread 
/nxb-bin/usr/bin/ld: cannot find -lcpu_features
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/security/softether5/work/.build
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/security/softether5/work/.build
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/security/softether5/work/.build
*** Error code 1

Stop.
make: stopped in /usr/ports/security/softether5



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