Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2018 04:18:40 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 120arm64-quarterly][security/tcpcrypt] Failed for tcpcrypt-0.3.r1 in build
Message-ID:  <201812050418.wB54IefP086434@thunderx1.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: branches/2018Q4/security/tcpcrypt/Makefile 421817 2016-09-11 13:37:41Z marino $
Log URL:        http://thunderx1.nyi.freebsd.org/data/120arm64-quarterly/486152/logs/tcpcrypt-0.3.r1.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=120arm64-quarterly&build=486152
Log:

=>> Building security/tcpcrypt
build started at Wed Dec  5 04:17:26 UTC 2018
port directory: /usr/ports/security/tcpcrypt
package name: tcpcrypt-0.3.r1
building for: FreeBSD 120arm64-quarterly-job-16 12.0-RC2 FreeBSD 12.0-RC2 1200086 arm64
maintained by: jmg@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2018Q4/security/tcpcrypt/Makefile 421817 2016-09-11 13:37:41Z marino $
Poudriere version: 3.2.8
Host OSVERSION: 1300002
Jail OSVERSION: 1200086
Job Id: 16

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200086
UNAME_v=FreeBSD 12.0-RC2 1200086
UNAME_r=12.0-RC2
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
MASTERMNT=/usr/local/poudriere/data/.m/120arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/120arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=120arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/120arm64-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--
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="cc" CFLAGS="-O2 -pipe  -I/usr/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/lib  " LIBS=""  CXX="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=12.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---
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 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=12.0-RC2
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)  1048576
stack size              (kbytes, -s)  1048576
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
[120arm64-quarterly-job-16] Installing pkg-1.10.5_5...
[120arm64-quarterly-job-16] 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
===> Fetching all distfiles required by tcpcrypt-0.3.r1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by tcpcrypt-0.3.r1 for building
=> SHA256 Checksum OK for scslab-tcpcrypt-v0.3-rc1_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by tcpcrypt-0.3.r1 for building
===>  Extracting for tcpcrypt-0.3.r1
=> SHA256 Checksum OK for scslab-tcpcrypt-v0.3-rc1_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for tcpcrypt-0.3.r1
===>  Applying FreeBSD patches for tcpcrypt-0.3.r1
===========================================================================
=======================<phase: build-depends  >============================
===>   tcpcrypt-0.3.r1 depends on package: autoconf>=2.69 - not found
===>   Installing existing package /packages/All/autoconf-2.69_1.txz
[120arm64-quarterly-job-16] Installing autoconf-2.69_1...
[120arm64-quarterly-job-16] `-- Installing autoconf-wrapper-20131203...
[120arm64-quarterly-job-16] `-- Extracting autoconf-wrapper-20131203: .......... done
[120arm64-quarterly-job-16] `-- Installing indexinfo-0.3.1...
[120arm64-quarterly-job-16] `-- Extracting indexinfo-0.3.1: .... done
[120arm64-quarterly-job-16] `-- Installing m4-1.4.18,1...
[120arm64-quarterly-job-16] `-- Extracting m4-1.4.18,1: .......... done
[120arm64-quarterly-job-16] `-- Installing perl5-5.26.2...
[120arm64-quarterly-job-16] `-- Extracting perl5-5.26.2: .......... done
[120arm64-quarterly-job-16] Extracting autoconf-2.69_1: .......... done
Message from perl5-5.26.2:

<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 cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd12.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 cc... gcc3
checking OS... freebsd12.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
/usr/bin/make  all-recursive
Making all in lib
/bin/sh ../libtool  --tag=CC   --mode=compile 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:  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:  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 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:  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:  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 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: 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
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
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
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
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?201812050418.wB54IefP086434>