Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2018 17:29:29 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 120armv7-quarterly][security/pks] Failed for pks-0.9.6.20040312_7 in build
Message-ID:  <201811191729.wAJHTTR0005277@beefy13.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:     tphilipp@potion-studios.com
Last committer: gerald@FreeBSD.org
Ident:          $FreeBSD: branches/2018Q4/security/pks/Makefile 475857 2018-07-29 22:18:44Z gerald $
Log URL:        http://beefy13.nyi.freebsd.org/data/120armv7-quarterly/485105/logs/pks-0.9.6.20040312_7.log
Build URL:      http://beefy13.nyi.freebsd.org/build.html?mastername=120armv7-quarterly&build=485105
Log:

=>> Building security/pks
build started at Mon Nov 19 17:28:39 UTC 2018
port directory: /usr/ports/security/pks
package name: pks-0.9.6.20040312_7
building for: FreeBSD 120armv7-quarterly-job-12 12.0-PRERELEASE FreeBSD 12.0-PRERELEASE 1200500 arm
maintained by: tphilipp@potion-studios.com
Makefile ident:      $FreeBSD: branches/2018Q4/security/pks/Makefile 475857 2018-07-29 22:18:44Z gerald $
Poudriere version: 3.2.8
Host OSVERSION: 1300002
Jail OSVERSION: 1200500
Job Id: 12

---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1200500
UNAME_v=FreeBSD 12.0-PRERELEASE 1200500
UNAME_r=12.0-PRERELEASE
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/120armv7-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/120armv7-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=120armv7-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/120armv7-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---
===> The following configuration options are available for pks-0.9.6.20040312_7:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
tphilipp@potion-studios.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--datadir=/usr/local/share/pks  --localstatedir=/var/pks  --with-libwrap  --with-openssl=/usr --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
DBLIB="-L/usr/local/lib/db5 -ldb-5.3"  DBINC=-I/usr/local/include/db5 DBHDR=db.h XDG_DATA_HOME=/wrkdirs/usr/ports/security/pks/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pks/work  HOME=/wrkdirs/usr/ports/security/pks/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/pks/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
SUBDIRS= OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/pks/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pks/work  HOME=/wrkdirs/usr/ports/security/pks/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/pks/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc7" CFLAGS="-O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc7 -fno-strict-aliasing "  CPP="cpp7" CPPFLAGS=""  LDFLAGS=" -L/usr/local
 /lib  -Wl,-rpath=/usr/local/lib/gcc7 -L/usr/local/lib/gcc7 " LIBS=""  CXX="g++7" CXXFLAGS="-O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc7  -Wl,-rpath=/usr/local/lib/gcc7 "  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=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pks"  EXAMPLESDIR="share/examples/pks"  DATADIR="share/pks"  WWWDIR="www/pks"  ETCDIR="etc/pks"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/pks DOCSDIR=/usr/local/share/doc/pks EXAMPLESDIR=/usr/local/share/examples/pks  WWWDIR=/usr/local/www/pks ETCDIR=/usr/local/etc/pks
--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=armv7
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 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd12.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 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=12.0-PRERELEASE
OSREL=12.0
OSVERSION=1200500
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 BSD4CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   pks-0.9.6.20040312_7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[120armv7-quarterly-job-12] Installing pkg-1.10.5_5...
[120armv7-quarterly-job-12] Extracting pkg-1.10.5_5: .......... done
===>   pks-0.9.6.20040312_7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pks-0.9.6.20040312_7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD4CLAUSE accepted by the user
===> Fetching all distfiles required by pks-0.9.6.20040312_7 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD4CLAUSE accepted by the user
===> Fetching all distfiles required by pks-0.9.6.20040312_7 for building
=> SHA256 Checksum OK for pks-current.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD4CLAUSE accepted by the user
===> Fetching all distfiles required by pks-0.9.6.20040312_7 for building
===>  Extracting for pks-0.9.6.20040312_7
=> SHA256 Checksum OK for pks-current.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for pks-0.9.6.20040312_7
===>  Applying FreeBSD patches for pks-0.9.6.20040312_7
===========================================================================
=======================<phase: build-depends  >============================
===>   pks-0.9.6.20040312_7 depends on executable: gcc7 - not found
===>   Installing existing package /packages/All/gcc7-7.3.0_5.txz
[120armv7-quarterly-job-12] Installing gcc7-7.3.0_5...
[120armv7-quarterly-job-12] `-- Installing binutils-2.30_5,1...
[120armv7-quarterly-job-12] |   `-- Installing gettext-runtime-0.19.8.1_1...
[120armv7-quarterly-job-12] |   | `-- Installing indexinfo-0.3.1...
[120armv7-quarterly-job-12] |   | `-- Extracting indexinfo-0.3.1: .... done
[120armv7-quarterly-job-12] |   `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[120armv7-quarterly-job-12] `-- Extracting binutils-2.30_5,1: .......... done
[120armv7-quarterly-job-12] `-- Installing gmp-6.1.2...
[120armv7-quarterly-job-12] `-- Extracting gmp-6.1.2: .......... done
[120armv7-quarterly-job-12] `-- Installing mpc-1.1.0_1...
[120armv7-quarterly-job-12] |   `-- Installing mpfr-4.0.1...
[120armv7-quarterly-job-12] |   `-- Extracting mpfr-4.0.1: .......... done
[120armv7-quarterly-job-12] `-- Extracting mpc-1.1.0_1: ......... done
[120armv7-quarterly-job-12] Extracting gcc7-7.3.0_5: .......... done
Message from gcc7-7.3.0_5:

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

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

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   pks-0.9.6.20040312_7 depends on executable: gcc7 - found
===>   Returning to build of pks-0.9.6.20040312_7
===>   pks-0.9.6.20040312_7 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   pks-0.9.6.20040312_7 depends on shared library: libdb-5.3.so - not found
===>   Installing existing package /packages/All/db5-5.3.28_7.txz
[120armv7-quarterly-job-12] Installing db5-5.3.28_7...
[120armv7-quarterly-job-12] Extracting db5-5.3.28_7: .......... done
===>   pks-0.9.6.20040312_7 depends on shared library: libdb-5.3.so - found (/usr/local/lib/libdb-5.3.so)
===>   Returning to build of pks-0.9.6.20040312_7
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for pks-0.9.6.20040312_7
configure: loading site script /usr/ports/Templates/config.site
checking for gawk... (cached) /usr/bin/awk
checking for gcc... gcc7
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc7 accepts -g... yes
checking for gcc7 option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for cat... /bin/cat
checking for date... /bin/date
checking for mv... /bin/mv
checking for sendmail... /usr/sbin/sendmail
checking for true... /usr/bin/true
checking if IPv6 support is enabled... no
checking for main in -lwrap... yes
checking for OpenSSL... /usr
yes
checking how to run the C preprocessor... cpp7
checking for egrep... grep -E
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking for ctype.h... (cached) yes
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking "for socklen_t"... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for connect... yes
checking for dup2... (cached) yes
checking for unistd.h... (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 gethostbyaddr... yes
checking for inet_ntoa... (cached) yes
checking for madvise... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for memchr... (cached) yes
checking for working memcmp... yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for munmap... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for select... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for socket... yes
checking for strchr... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating db_selector.h
config.status: creating mkpksdconf
config.status: creating pks-mail.sh
config.status: creating pks-queue-run.sh
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for pks-0.9.6.20040312_7
gcc7  -Wall -pedantic -I/usr/local/include/db5 -I/usr/include -I. -DHAVE_CONFIG_H -c pksclient.c -o pksclient.o
gcc7  -Wall -pedantic -I/usr/local/include/db5 -I/usr/include -I. -DHAVE_CONFIG_H -c kd_add.c -o kd_add.o
gcc7  -Wall -pedantic -I/usr/local/include/db5 -I/usr/include -I. -DHAVE_CONFIG_H -c kd_delete.c -o kd_delete.o
gcc7  -Wall -pedantic -I/usr/local/include/db5 -I/usr/include -I. -DHAVE_CONFIG_H -c kd_disable.c -o kd_disable.o
gcc7  -Wall -pedantic -I/usr/local/include/db5 -I/usr/include -I. -DHAVE_CONFIG_H -c kd_generic.c -o kd_generic.o
kd_generic.c: In function 'kd_open_1':
kd_generic.c:633:45: warning: passing argument 2 of 'worddb->set_dup_compare' from incompatible pointer type [-Wincompatible-pointer-types]
   db_err = worddb->set_dup_compare (worddb, kd_worddata_compare);
                                             ^~~~~~~~~~~~~~~~~~~
kd_generic.c:633:45: note: expected 'int (*)(DB *, const DBT *, const DBT *) {aka int (*)(struct __db *, const struct __db_dbt *, const struct __db_dbt *)}' but argument is of type 'int (*)(DB *, const DBT *, const DBT *, size_t *) {aka int (*)(struct __db *, const struct __db_dbt *, const struct __db_dbt *, unsigned int *)}'
gcc7  -Wall -pedantic -I/usr/local/include/db5 -I/usr/include -I. -DHAVE_CONFIG_H -c kd_get.c -o kd_get.o
gcc7  -Wall -pedantic -I/usr/local/include/db5 -I/usr/include -I. -DHAVE_CONFIG_H -c kd_index.c -o kd_index.o
gcc7  -Wall -pedantic -I/usr/local/include/db5 -I/usr/include -I. -DHAVE_CONFIG_H -c kd_search.c -o kd_search.o
gcc7  -Wall -pedantic -I/usr/local/include/db5 -I/usr/include -I. -DHAVE_CONFIG_H -c kd_since.c -o kd_since.o
gcc7  -Wall -pedantic -I/usr/local/include/db5 -I/usr/include -I. -DHAVE_CONFIG_H -c kd_types.c -o kd_types.o
gcc7  -Wall -pedantic -I/usr/local/include/db5 -I/usr/include -I. -DHAVE_CONFIG_H -c pgputil.c -o pgputil.o
pgputil.c: In function 'decode_x509':
pgputil.c:208:24: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type [-Wincompatible-pointer-types]
   if (d2i_X509 (&cert, &data_start, len) == NULL)
                        ^
In file included from /usr/include/openssl/objects.h:15:0,
                 from /usr/include/openssl/evp.h:28,
                 from /usr/include/openssl/x509.h:18,
                 from pgputil.c:41:
/usr/include/openssl/x509.h:551:1: note: expected 'const unsigned char **' but argument is of type 'unsigned char **'
 DECLARE_ASN1_FUNCTIONS(X509)
 ^
pgputil.c:224:15: error: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   switch (pkey->type)
               ^~
*** Error code 1

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

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



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