Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2020 04:09:53 GMT
From:      pkg-fallout@FreeBSD.org
To:        hrs@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][net-mgmt/send] Failed for send-0.3_3 in build
Message-ID:  <202011020409.0A249rio078619@beefy18.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:     hrs@FreeBSD.org
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/send/Makefile 514143 2019-10-09 12:17:15Z bapt $
Log URL:        http://beefy18.nyi.freebsd.org/data/head-amd64-default/p553725_s367189/logs/send-0.3_3.log
Build URL:      http://beefy18.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p553725_s367189
Log:

=>> Building net-mgmt/send
build started at Mon Nov  2 04:09:41 UTC 2020
port directory: /usr/ports/net-mgmt/send
package name: send-0.3_3
building for: FreeBSD head-amd64-default-job-11 13.0-CURRENT FreeBSD 13.0-CURRENT 1300124 amd64
maintained by: hrs@FreeBSD.org
Makefile ident:      $FreeBSD: head/net-mgmt/send/Makefile 514143 2019-10-09 12:17:15Z bapt $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300121
Jail OSVERSION: 1300124
Job Id: 11




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300124
UNAME_v=FreeBSD 13.0-CURRENT 1300124
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for send-0.3_3:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
hrs@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/send/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/send/work  HOME=/wrkdirs/usr/ports/net-mgmt/send/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/send/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

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

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/send DOCSDIR=/usr/local/share/doc/send EXAMPLESDIR=/usr/local/share/examples/send  WWWDIR=/usr/local/www/send ETCDIR=/usr/local/etc/send
--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
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300124
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   send-0.3_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.15.10.txz
[head-amd64-default-job-11] Installing pkg-1.15.10...
[head-amd64-default-job-11] Extracting pkg-1.15.10: .......... done
===>   send-0.3_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of send-0.3_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by send-0.3_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by send-0.3_3 for building
=> SHA256 Checksum OK for hrs-allbsd-send-v0.3_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by send-0.3_3 for building
===>  Extracting for send-0.3_3
=> SHA256 Checksum OK for hrs-allbsd-send-v0.3_GH0.tar.gz.
install  -m 0644 /wrkdirs/usr/ports/net-mgmt/send/work/send-0.3/examples/ipext/ipext_verify.conf  /wrkdirs/usr/ports/net-mgmt/send/work/send-0.3/examples/ipext/ca/ipext.conf  /wrkdirs/usr/ports/net-mgmt/send/work/send-0.3/examples/
install  -m 0644 /wrkdirs/usr/ports/net-mgmt/send/work/send-0.3/docs/UserGuide.pdf  /wrkdirs/usr/ports/net-mgmt/send/work/send-0.3/UserGuide.pdf
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for send-0.3_3
===>  Applying FreeBSD patches for send-0.3_3 from /usr/ports/net-mgmt/send/files
===========================================================================
=======================<phase: build-depends  >============================
===>   send-0.3_3 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.txz
[head-amd64-default-job-11] Installing gmake-4.3_2...
[head-amd64-default-job-11] `-- Installing gettext-runtime-0.21...
[head-amd64-default-job-11] |   `-- Installing indexinfo-0.3.1...
<snip>
cps.c:277:11: warning: incompatible pointer types passing 'struct stack_st_X509_NAME *' to parameter of type 'OPENSSL_STACK *' (aka 'struct stack_st *') [-Wincompatible-pointer-types]
                sk_free(dns);
                        ^~~
/usr/include/openssl/stack.h:32:37: note: passing argument to parameter here
void OPENSSL_sk_free(OPENSSL_STACK *);
                                    ^
cps.c:283:25: warning: incompatible pointer types passing 'struct stack_st_X509 *' to parameter of type 'const OPENSSL_STACK *' (aka 'const struct stack_st *') [-Wincompatible-pointer-types]
        for (i = 0; i < sk_num(snd_trustanchors); i++) {
                               ^~~~~~~~~~~~~~~~
/usr/include/openssl/stack.h:23:41: note: passing argument to parameter here
int OPENSSL_sk_num(const OPENSSL_STACK *);
                                        ^
5 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o ctl.o ctl.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o net.o net.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o openssl.o openssl.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o opt.o opt.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o params.o params.c
params.c:449:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        if (indent) printf(indent);
                           ^~~~~~
params.c:449:21: note: treat the string as an argument to avoid this
        if (indent) printf(indent);
                           ^
                           "%s", 
params.c:456:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        if (indent) printf(indent);
                                           ^~~~~~
params.c:456:23: note: treat the string as an argument to avoid this
                        if (indent) printf(indent);
                                           ^
                                           "%s", 
2 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o proto.o proto.c
proto.c:157:11: warning: taking address of packed member 'nd_na_target' of class or structure 'nd_neighbor_advert' may result in an unaligned pointer value [-Waddress-of-packed-member]
                        tgt = &na->nd_na_target;
                               ^~~~~~~~~~~~~~~~
proto.c:190:10: warning: taking address of packed member 'nd_ns_target' of class or structure 'nd_neighbor_solicit' may result in an unaligned pointer value [-Waddress-of-packed-member]
                tgt = &ns->nd_ns_target;
                       ^~~~~~~~~~~~~~~~
proto.c:200:10: warning: taking address of packed member 'nd_na_target' of class or structure 'nd_neighbor_advert' may result in an unaligned pointer value [-Waddress-of-packed-member]
                tgt = &na->nd_na_target;
                       ^~~~~~~~~~~~~~~~
proto.c:266:11: warning: taking address of packed member 'nd_ns_target' of class or structure 'nd_neighbor_solicit' may result in an unaligned pointer value [-Waddress-of-packed-member]
                        tgt = &ns->nd_ns_target;
                               ^~~~~~~~~~~~~~~~
proto.c:284:11: warning: taking address of packed member 'nd_na_target' of class or structure 'nd_neighbor_advert' may result in an unaligned pointer value [-Waddress-of-packed-member]
                        tgt = &na->nd_na_target;
                               ^~~~~~~~~~~~~~~~
proto.c:592:30: warning: taking address of packed member 'nd_ns_target' of class or structure 'nd_neighbor_solicit' may result in an unaligned pointer value [-Waddress-of-packed-member]
                if (IN6_IS_ADDR_MULTICAST(&ns->nd_ns_target)) {
                                           ^~~~~~~~~~~~~~~~
/usr/include/netinet6/in6.h:304:36: note: expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a)        ((a)->s6_addr[0] == 0xff)
                                          ^
proto.c:599:15: warning: taking address of packed member 'nd_ns_target' of class or structure 'nd_neighbor_solicit' may result in an unaligned pointer value [-Waddress-of-packed-member]
                        pi->cga = &ns->nd_ns_target;
                                   ^~~~~~~~~~~~~~~~
proto.c:612:30: warning: taking address of packed member 'nd_na_target' of class or structure 'nd_neighbor_advert' may result in an unaligned pointer value [-Waddress-of-packed-member]
                if (IN6_IS_ADDR_MULTICAST(&na->nd_na_target)) {
                                           ^~~~~~~~~~~~~~~~
/usr/include/netinet6/in6.h:304:36: note: expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a)        ((a)->s6_addr[0] == 0xff)
                                          ^
8 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o proto_nonce.o proto_nonce.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o proto_sig.o proto_sig.c
proto_sig.c:91:23: warning: taking address of packed member 'ip6_src' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
        fill_snd_pseudo_hdr(&iph->ip6_src, &iph->ip6_dst, psh);
                             ^~~~~~~~~~~~
proto_sig.c:91:38: warning: taking address of packed member 'ip6_dst' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
        fill_snd_pseudo_hdr(&iph->ip6_src, &iph->ip6_dst, psh);
                                            ^~~~~~~~~~~~
proto_sig.c:116:23: warning: taking address of packed member 'ip6_src' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
        fill_snd_pseudo_hdr(&iph->ip6_src, &iph->ip6_dst, psh);
                             ^~~~~~~~~~~~
proto_sig.c:116:38: warning: taking address of packed member 'ip6_dst' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
        fill_snd_pseudo_hdr(&iph->ip6_src, &iph->ip6_dst, psh);
                                            ^~~~~~~~~~~~
4 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o proto_timestamp.o proto_timestamp.c
proto_timestamp.c:414:20: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
               tp->ifidx, TS_PRINT(tp->rdlast), TS_PRINT(tp->tslast));
                          ^~~~~~~~~~~~~~~~~~~~
proto_timestamp.c:99:24: note: expanded from macro 'TS_PRINT'
#define TS_PRINT(__ts)  TS_SECS(__ts), TS_FRAC(__ts)
                        ^~~~~~~~~~~~~
proto_timestamp.c:97:23: note: expanded from macro 'TS_SECS'
#define TS_SECS(__ts)   (__ts >> 16)
                        ^~~~~~~~~~~~
proto_timestamp.c:414:20: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
               tp->ifidx, TS_PRINT(tp->rdlast), TS_PRINT(tp->tslast));
                          ^~~~~~~~~~~~~~~~~~~~
proto_timestamp.c:99:39: note: expanded from macro 'TS_PRINT'
#define TS_PRINT(__ts)  TS_SECS(__ts), TS_FRAC(__ts)
                                       ^~~~~~~~~~~~~
proto_timestamp.c:98:23: note: expanded from macro 'TS_FRAC'
#define TS_FRAC(__ts)   (__ts & 0xffff)
                        ^~~~~~~~~~~~~~~
proto_timestamp.c:414:42: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
               tp->ifidx, TS_PRINT(tp->rdlast), TS_PRINT(tp->tslast));
                                                ^~~~~~~~~~~~~~~~~~~~
proto_timestamp.c:99:24: note: expanded from macro 'TS_PRINT'
#define TS_PRINT(__ts)  TS_SECS(__ts), TS_FRAC(__ts)
                        ^~~~~~~~~~~~~
proto_timestamp.c:97:23: note: expanded from macro 'TS_SECS'
#define TS_SECS(__ts)   (__ts >> 16)
                        ^~~~~~~~~~~~
proto_timestamp.c:414:42: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
               tp->ifidx, TS_PRINT(tp->rdlast), TS_PRINT(tp->tslast));
                                                ^~~~~~~~~~~~~~~~~~~~
proto_timestamp.c:99:39: note: expanded from macro 'TS_PRINT'
#define TS_PRINT(__ts)  TS_SECS(__ts), TS_FRAC(__ts)
                                       ^~~~~~~~~~~~~
proto_timestamp.c:98:23: note: expanded from macro 'TS_FRAC'
#define TS_FRAC(__ts)   (__ts & 0xffff)
                        ^~~~~~~~~~~~~~~
4 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o ra.o ra.c
ra.c:220:16: warning: taking address of packed member 'nd_opt_pi_prefix' of class or structure 'nd_opt_prefix_info' may result in an unaligned pointer value [-Waddress-of-packed-member]
        p = find_pfx(&pi->nd_opt_pi_prefix, ifidx);
                      ^~~~~~~~~~~~~~~~~~~~
ra.c:364:14: warning: incompatible pointer types passing 'IPAddrBlocks *' (aka 'struct stack_st_IPAddressFamily *') to parameter of type 'OPENSSL_STACK *' (aka 'struct stack_st *') [-Wincompatible-pointer-types]
        if (sk_push(ipb, (char *)ipf) == 0) {
                    ^~~
/usr/include/openssl/stack.h:42:36: note: passing argument to parameter 'st' here
int OPENSSL_sk_push(OPENSSL_STACK *st, const void *data);
                                   ^
ra.c:375:10: warning: incompatible pointer types passing 'IPAddressOrRanges *' (aka 'struct stack_st_IPAddressOrRange *') to parameter of type 'OPENSSL_STACK *' (aka 'struct stack_st *') [-Wincompatible-pointer-types]
        sk_sort(ipf->ipAddressChoice->u.addressesOrRanges);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/stack.h:50:37: note: passing argument to parameter 'st' here
void OPENSSL_sk_sort(OPENSSL_STACK *st);
                                    ^
ra.c:403:14: warning: incompatible pointer types passing 'IPAddressOrRanges *' (aka 'struct stack_st_IPAddressOrRange *') to parameter of type 'OPENSSL_STACK *' (aka 'struct stack_st *') [-Wincompatible-pointer-types]
        if (sk_push(ipc->u.addressesOrRanges, (char *)aor) == 0) {
                    ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/stack.h:42:36: note: passing argument to parameter 'st' here
int OPENSSL_sk_push(OPENSSL_STACK *st, const void *data);
                                   ^
ra.c:469:41: warning: incompatible function pointer types passing 'int (const IPAddressOrRange *const *, const IPAddressOrRange *const *)' (aka 'int (const struct IPAddressOrRange_st *const *, const struct IPAddressOrRange_st *const *)') to parameter of type 'OPENSSL_sk_compfunc' (aka 'int (*)(const void *, const void *)') [-Wincompatible-function-pointer-types]
        if ((ipc->u.addressesOrRanges = sk_new(pkixip_aor_cmp)) == NULL) {
                                               ^~~~~~~~~~~~~~
/usr/include/openssl/stack.h:28:51: note: passing argument to parameter 'cmp' here
OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp);
                                                  ^
ra.c:469:32: warning: incompatible pointer types assigning to 'IPAddressOrRanges *' (aka 'struct stack_st_IPAddressOrRange *') from 'OPENSSL_STACK *' (aka 'struct stack_st *') [-Wincompatible-pointer-types]
        if ((ipc->u.addressesOrRanges = sk_new(pkixip_aor_cmp)) == NULL) {
                                      ^ ~~~~~~~~~~~~~~~~~~~~~~
ra.c:494:24: warning: taking address of packed member 'nd_opt_pi_prefix' of class or structure 'nd_opt_prefix_info' may result in an unaligned pointer value [-Waddress-of-packed-member]
                if (add_prefix(ipf, &pfxinfo->nd_opt_pi_prefix,
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
ra.c:508:13: warning: incompatible pointer types passing 'IPAddressOrRanges *' (aka 'struct stack_st_IPAddressOrRange *') to parameter of type 'const OPENSSL_STACK *' (aka 'const struct stack_st *') [-Wincompatible-pointer-types]
        if (sk_num(ipc->u.addressesOrRanges) == 0) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/stack.h:23:41: note: passing argument to parameter here
int OPENSSL_sk_num(const OPENSSL_STACK *);
                                        ^
ra.c:527:36: warning: taking address of packed member 'ip6_src' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
                if (snd_make_cps(khash, x, ipb, &hdr->ip6_src, ifidx, pi)
                                                 ^~~~~~~~~~~~
9 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o sigmeth.o sigmeth.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o sig_rfc3971.o sig_rfc3971.c
sig_rfc3971.c:178:10: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]
                return (NULL);
                       ^~~~~~
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o console.o console.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o os/addr.o os/addr.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o os/snd_freebsd.o os/snd_freebsd.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o os-linux/rand.o os-linux/rand.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o dbg.o dbg.c
yacc -d -p params_ params_gram.y 
mv -f y.tab.c params_gram.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o params_gram.o params_gram.c
lex -Pparams_ -t params_lex.l > params_lex.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -I/usr/local/include -I../include -I../../src/sys  -I/usr/local/include  -c -o params_lex.o params_lex.c
cc  -L/usr/local/lib  -fstack-protector-strong   sendd.o addr.o cert.o cga.o config.o cpa.o cps.o ctl.o net.o openssl.o opt.o params.o proto.o proto_nonce.o proto_sig.o proto_timestamp.o ra.o sigmeth.o sig_rfc3971.o console.o os/addr.o os/snd_freebsd.o os-linux/rand.o dbg.o params_gram.o params_lex.o  ../libs/.libs/libcga.a ../libs/.libs/liblog.a ../libs/.libs/libconfig.a ../libs/.libs/libhashtbl.a ../libs/.libs/libincksum.a ../libs/.libs/libtimer.a ../libs/.libs/libprioq.a ../libs/.libs/libpkixipext.a ../libs/.libs/libsenddctl.a ../libs/.libs/libappconsole.a -lcrypto -L/usr/local/lib -ldnet -lreadline -lncurses -o sendd
ld: error: duplicate symbol: params_linecnt
>>> defined at params_gram.y:80
>>>            params_gram.o:(params_linecnt)
>>> defined at params_lex.l:46
>>>            params_lex.o:(.data+0x4)

ld: error: duplicate symbol: linecnt
>>> defined at pkixip_ext_gram.y:45
>>>            pkixip_ext_gram.o:(linecnt) in archive ../libs/.libs/libpkixipext.a
>>> defined at pkixip_ext_lex.l:46
>>>            pkixip_ext_lex.o:(.data+0x4) in archive ../libs/.libs/libpkixipext.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [<builtin>: sendd] Error 1
rm params_gram.c params_lex.c
gmake[2]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/send/work/send-0.3/sendd'
gmake[1]: *** [Makefile:15: sendd] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/send/work/send-0.3'
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/send



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