Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2019 16:22:15 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][security/tcpcrypt] Failed for tcpcrypt-0.3.r1 in build
Message-ID:  <201902131622.x1DGMFD6046257@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:     jmg@FreeBSD.org
Last committer: marino@FreeBSD.org
Ident:          $FreeBSD: head/security/tcpcrypt/Makefile 421817 2016-09-11 13:37:41Z marino $
Log URL:        http://beefy8.nyi.freebsd.org/data/head-armv6-default/p492744_s344025/logs/tcpcrypt-0.3.r1.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p492744_s344025
Log:

=>> Building security/tcpcrypt
build started at Wed Feb 13 16:20:25 UTC 2019
port directory: /usr/ports/security/tcpcrypt
package name: tcpcrypt-0.3.r1
building for: FreeBSD head-armv6-default-job-06 13.0-CURRENT FreeBSD 13.0-CURRENT 1300010 arm
maintained by: jmg@FreeBSD.org
Makefile ident:      $FreeBSD: head/security/tcpcrypt/Makefile 421817 2016-09-11 13:37:41Z marino $
Poudriere version: 3.2.8
Host OSVERSION: 1300009
Jail OSVERSION: 1300010
Job Id: 06




!!! Jail is newer than host. (Jail: 1300010, Host: 1300009) !!!
!!! 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=1300010
UNAME_v=FreeBSD 13.0-CURRENT 1300010
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
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---
---End OPTIONS List---

--MAINTAINER--
jmg@FreeBSD.org
--End MAINTAINER--

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

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/tcpcrypt/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/tcpcrypt/work  HOME=/wrkdirs/usr/ports/security/tcpcrypt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/tcpcrypt/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/security/tcpcrypt/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/tcpcrypt/work  HOME=/wrkdirs/usr/ports/security/tcpcrypt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/tcpcrypt/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  -I/usr/include -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/lib  " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -I/usr/include -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--
OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tcpcrypt"  EXAMPLESDIR="share/examples/tcpcrypt"  DATADIR="share/tcpcrypt"  WWWDIR="www/tcpcrypt"  ETCDIR="etc/tcpcrypt"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/tcpcrypt DOCSDIR=/usr/local/share/doc/tcpcrypt EXAMPLESDIR=/usr/local/share/examples/tcpcrypt  WWWDIR=/usr/local/www/tcpcrypt ETCDIR=/usr/local/etc/tcpcrypt
--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 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) 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 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) 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=1300010
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 BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   tcpcrypt-0.3.r1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[head-armv6-default-job-06] Installing pkg-1.10.5_5...
[head-armv6-default-job-06] Extracting pkg-1.10.5_5: .......... done
===>   tcpcrypt-0.3.r1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of tcpcrypt-0.3.r1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD2CLAUSE accepted by the user
<snip>
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 dlfcn.h... (cached) yes
checking for objdir... .libs
checking if /nxb-bin/usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking for /nxb-bin/usr/bin/cc option to produce PIC... -fPIC -DPIC
checking if /nxb-bin/usr/bin/cc PIC flag -fPIC -DPIC works... yes
checking if /nxb-bin/usr/bin/cc static flag -static works... yes
checking if /nxb-bin/usr/bin/cc supports -c -o file.o... yes
checking if /nxb-bin/usr/bin/cc supports -c -o file.o... (cached) yes
checking whether the /nxb-bin/usr/bin/cc linker (/nxb-bin/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd13.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking dependency style of /nxb-bin/usr/bin/cc... gcc3
checking OS... freebsd13.0
checking whether to use asm checksum routine... no
checking for cap_set_flag in -lcap... no
checking for EVP_OpenInit in -lcrypto... yes
checking for nfq_open in -lnetfilter_queue... no
checking for nfnl_rcvbufsiz in -lnfnetlink... no
checking for pthread_create in -lpthread... yes
checking for clock_gettime in -lrt... yes
checking for compress in -lz... yes
checking for bind in -lwsock32... no
checking for GetAdaptersInfo in -liphlpapi... no
checking for arpa/inet.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for inline... inline
checking for mode_t... (cached) yes
checking for size_t... (cached) yes
checking for ssize_t... (cached) yes
checking for uint16_t... (cached) yes
checking for uint32_t... (cached) yes
checking for uint64_t... (cached) yes
checking for uint8_t... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for working alloca.h... no
checking for alloca... yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for bzero... (cached) yes
checking for clock_gettime... (cached) yes
checking for gettimeofday... (cached) yes
checking for inet_ntoa... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking for select... (cached) yes
checking for socket... yes
checking for strchr... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating util/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===========================================================================
=======================<phase: build          >============================
===>  Building for tcpcrypt-0.3.r1
/nxb-bin/usr/bin/make  all-recursive
Making all in lib
/bin/sh ../libtool  --tag=CC   --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..    -I../include/ -iquote../ -O2 -pipe  -I/usr/include -fno-strict-aliasing  -Wall -Wno-deprecated-declarations -MT libtcpcrypt_la-sockopt.lo -MD -MP -MF .deps/libtcpcrypt_la-sockopt.Tpo -c -o libtcpcrypt_la-sockopt.lo `test -f 'sockopt.c' || echo './'`sockopt.c
libtool: compile:  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include/ -iquote../ -O2 -pipe -I/usr/include -fno-strict-aliasing -Wall -Wno-deprecated-declarations -MT libtcpcrypt_la-sockopt.lo -MD -MP -MF .deps/libtcpcrypt_la-sockopt.Tpo -c sockopt.c  -fPIC -DPIC -o .libs/libtcpcrypt_la-sockopt.o
libtool: compile:  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include/ -iquote../ -O2 -pipe -I/usr/include -fno-strict-aliasing -Wall -Wno-deprecated-declarations -MT libtcpcrypt_la-sockopt.lo -MD -MP -MF .deps/libtcpcrypt_la-sockopt.Tpo -c sockopt.c -o libtcpcrypt_la-sockopt.o >/dev/null 2>&1
mv -f .deps/libtcpcrypt_la-sockopt.Tpo .deps/libtcpcrypt_la-sockopt.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..    -I../include/ -iquote../ -O2 -pipe  -I/usr/include -fno-strict-aliasing  -Wall -Wno-deprecated-declarations -MT libtcpcrypt_la-socket_address.lo -MD -MP -MF .deps/libtcpcrypt_la-socket_address.Tpo -c -o libtcpcrypt_la-socket_address.lo `test -f '../shared/socket_address.c' || echo './'`../shared/socket_address.c
libtool: compile:  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include/ -iquote../ -O2 -pipe -I/usr/include -fno-strict-aliasing -Wall -Wno-deprecated-declarations -MT libtcpcrypt_la-socket_address.lo -MD -MP -MF .deps/libtcpcrypt_la-socket_address.Tpo -c ../shared/socket_address.c  -fPIC -DPIC -o .libs/libtcpcrypt_la-socket_address.o
./shared/socket_address.c:42:19: warning: incompatible pointer types passing 'char (*)[104]' to parameter of type 'const char *' [-Wincompatible-pointer-types]
                                strncpy(name, &sa->addr.un.sun_path, n);
                                              ^~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:103:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
1 warning generated.
libtool: compile:  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include/ -iquote../ -O2 -pipe -I/usr/include -fno-strict-aliasing -Wall -Wno-deprecated-declarations -MT libtcpcrypt_la-socket_address.lo -MD -MP -MF .deps/libtcpcrypt_la-socket_address.Tpo -c ../shared/socket_address.c -o libtcpcrypt_la-socket_address.o >/dev/null 2>&1
mv -f .deps/libtcpcrypt_la-socket_address.Tpo .deps/libtcpcrypt_la-socket_address.Plo
/bin/sh ../libtool  --tag=CC    --mode=link /nxb-bin/usr/bin/cc  -I../include/ -iquote../ -O2 -pipe  -I/usr/include -fno-strict-aliasing  -Wall -Wno-deprecated-declarations -version-info 0:0:0  -L/usr/lib   -L/usr/local/lib -o libtcpcrypt.la -rpath /usr/local/lib libtcpcrypt_la-sockopt.lo  libtcpcrypt_la-socket_address.lo  -lz -lrt -lpthread -lcrypto
libtool: link: /nxb-bin/usr/bin/cc -shared  -fPIC -DPIC  .libs/libtcpcrypt_la-sockopt.o .libs/libtcpcrypt_la-socket_address.o   -L/usr/lib -L/usr/local/lib -lz -lrt -lpthread -lcrypto  -O2   -Wl,-soname -Wl,libtcpcrypt.so.0 -o .libs/libtcpcrypt.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libtcpcrypt.so.0" && ln -s "libtcpcrypt.so.0.0.0" "libtcpcrypt.so.0")
libtool: link: (cd ".libs" && rm -f "libtcpcrypt.so" && ln -s "libtcpcrypt.so.0.0.0" "libtcpcrypt.so")
libtool: link: ar cru .libs/libtcpcrypt.a  libtcpcrypt_la-sockopt.o libtcpcrypt_la-socket_address.o
libtool: link: ranlib .libs/libtcpcrypt.a
libtool: link: ( cd ".libs" && rm -f "libtcpcrypt.la" && ln -s "../libtcpcrypt.la" "libtcpcrypt.la" )
Making all in src
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..    -I../include/ -I.. -O2 -pipe  -I/usr/include -fno-strict-aliasing  -Wall -Wno-deprecated-declarations -MT tcpcryptd-tcpcryptd.o -MD -MP -MF .deps/tcpcryptd-tcpcryptd.Tpo -c -o tcpcryptd-tcpcryptd.o `test -f 'tcpcryptd.c' || echo './'`tcpcryptd.c
In file included from tcpcryptd.c:20:
./tcpcrypt.h:39:19: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
} __attribute__ ((gcc_struct, __packed__));
                  ^
1 warning generated.
mv -f .deps/tcpcryptd-tcpcryptd.Tpo .deps/tcpcryptd-tcpcryptd.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..    -I../include/ -I.. -O2 -pipe  -I/usr/include -fno-strict-aliasing  -Wall -Wno-deprecated-declarations -MT tcpcryptd-tcpcrypt.o -MD -MP -MF .deps/tcpcryptd-tcpcrypt.Tpo -c -o tcpcryptd-tcpcrypt.o `test -f 'tcpcrypt.c' || echo './'`tcpcrypt.c
In file included from tcpcrypt.c:10:
./tcpcrypt.h:39:19: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
} __attribute__ ((gcc_struct, __packed__));
                  ^
tcpcrypt.c:1013:31: warning: taking address of packed member 'ip_dst' of class or structure 'ip' may result in an unaligned pointer value [-Waddress-of-packed-member]
                ts = session_find_host(tc, &ip->ip_dst, tcp->th_dport);
                                            ^~~~~~~~~~
2 warnings generated.
mv -f .deps/tcpcryptd-tcpcrypt.Tpo .deps/tcpcryptd-tcpcrypt.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..    -I../include/ -I.. -O2 -pipe  -I/usr/include -fno-strict-aliasing  -Wall -Wno-deprecated-declarations -MT tcpcryptd-crypto.o -MD -MP -MF .deps/tcpcryptd-crypto.Tpo -c -o tcpcryptd-crypto.o `test -f 'crypto.c' || echo './'`crypto.c
In file included from crypto.c:11:
./tcpcrypt.h:39:19: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
} __attribute__ ((gcc_struct, __packed__));
                  ^
1 warning generated.
mv -f .deps/tcpcryptd-crypto.Tpo .deps/tcpcryptd-crypto.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..    -I../include/ -I.. -O2 -pipe  -I/usr/include -fno-strict-aliasing  -Wall -Wno-deprecated-declarations -MT tcpcryptd-crypto_rsa.o -MD -MP -MF .deps/tcpcryptd-crypto_rsa.Tpo -c -o tcpcryptd-crypto_rsa.o `test -f 'crypto_rsa.c' || echo './'`crypto_rsa.c
In file included from crypto_rsa.c:13:
./tcpcrypt.h:39:19: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
} __attribute__ ((gcc_struct, __packed__));
                  ^
crypto_rsa.c:63:35: error: incomplete definition of type 'struct rsa_st'
        k->k_blen = BN_num_bytes(k->k_rsa->n);
                                 ~~~~~~~~^
/usr/include/openssl/bn.h:181:40: note: expanded from macro 'BN_num_bytes'
# define BN_num_bytes(a) ((BN_num_bits(a)+7)/8)
                                       ^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
crypto_rsa.c:65:20: error: incomplete definition of type 'struct rsa_st'
        BN_bn2bin(k->k_rsa->n, k->k_bin);
                  ~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
crypto_rsa.c:83:12: error: incomplete definition of type 'struct rsa_st'
                tp->r_rsa->e = NULL;
                ~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
crypto_rsa.c:155:3: error: incomplete definition of type 'struct rsa_st'
        r->n = pub = BN_bin2bn(key, len, NULL);
        ~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
crypto_rsa.c:163:3: error: incomplete definition of type 'struct rsa_st'
        r->e = get_key()->k_rsa->e;
        ~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
crypto_rsa.c:163:25: error: incomplete definition of type 'struct rsa_st'
        r->e = get_key()->k_rsa->e;
               ~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
1 warning and 6 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/security/tcpcrypt/work/tcpcrypt-0.3-rc1/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/security/tcpcrypt/work/tcpcrypt-0.3-rc1
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/security/tcpcrypt/work/tcpcrypt-0.3-rc1
*** Error code 1

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



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