Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2019 19:00:41 GMT
From:      pkg-fallout@FreeBSD.org
To:        hrs@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [exp - 112amd64-default-build-as-user][security/openssl_tpm_engine] Failed for openssl_tpm_engine-0.5.0_1 in package
Message-ID:  <201903171900.x2HJ0feN000303@package19.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: hrs@FreeBSD.org
Ident:          $FreeBSD: head/security/openssl_tpm_engine/Makefile 494670 2019-03-05 02:12:44Z hrs $
Log URL:        http://package19.nyi.freebsd.org/data/112amd64-default-build-as-user/495839/logs/openssl_tpm_engine-0.5.0_1.log
Build URL:      http://package19.nyi.freebsd.org/build.html?mastername=112amd64-default-build-as-user&build=495839
Log:

=>> Building security/openssl_tpm_engine
build started at Sun Mar 17 19:00:22 UTC 2019
port directory: /usr/ports/security/openssl_tpm_engine
package name: openssl_tpm_engine-0.5.0_1
building for: FreeBSD 112amd64-default-build-as-user-job-04 11.2-RELEASE-p9 FreeBSD 11.2-RELEASE-p9 amd64
maintained by: hrs@FreeBSD.org
Makefile ident:      $FreeBSD: head/security/openssl_tpm_engine/Makefile 494670 2019-03-05 02:12:44Z hrs $
Poudriere version: 3.2.8-3-g02cc9753
Host OSVERSION: 1300009
Jail OSVERSION: 1102000
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1102000
UNAME_v=FreeBSD 11.2-RELEASE-p9
UNAME_r=11.2-RELEASE-p9
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-3-g02cc9753
MASTERMNT=/poudriere/data/.m/112amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/112amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=112amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/112amd64-default-build-as-user/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 openssl_tpm_engine-0.5.0_1:
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

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

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/security/openssl_tpm_engine/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/openssl_tpm_engine/work  HOME=/wrkdirs/usr/ports/security/openssl_tpm_engine/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/openssl_tpm_engine/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" 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/openssl_tpm_engine/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/openssl_tpm_engine/work  HOME=/wrkdirs/usr/ports/security/openssl_tpm_engine/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/openssl_tpm_engine/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 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="inst
 all  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTEXAMPLES="" OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/openssl_tpm_engine"  EXAMPLESDIR="share/examples/openssl_tpm_engine"  DATADIR="share/openssl_tpm_engine"  WWWDIR="www/openssl_tpm_engine"  ETCDIR="etc/openssl_tpm_engine"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/openssl_tpm_engine DOCSDIR=/usr/local/share/doc/openssl_tpm_engine EXAMPLESDIR=/usr/local/share/examples/openssl_tpm_engine  WWWDIR=/usr/local/www/openssl_tpm_engine ETCDIR=/usr/local/etc/openssl_tpm_engine
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# 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.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 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 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=11.2-RELEASE-p9
OSREL=11.2
OSVERSION=1102000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  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 OpenSSL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   openssl_tpm_engine-0.5.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[112amd64-default-build-as-user-job-04] Installing pkg-1.10.5_5...
[112amd64-default-build-as-user-job-04] Extracting pkg-1.10.5_5: .......... done
===>   openssl_tpm_engine-0.5.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of openssl_tpm_engine-0.5.0_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License OpenSSL accepted by the user
===> Fetching all distfiles required by openssl_tpm_engine-0.5.0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License OpenSSL accepted by the user
===> Fetching all distfiles required by openssl_tpm_engine-0.5.0_1 for building
=> SHA256 Checksum OK for mgerstner-openssl_tpm_engine-v0.5.0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License OpenSSL accepted by the user
===> Fetching all distfiles required by openssl_tpm_engine-0.5.0_1 for building
===>  Extracting for openssl_tpm_engine-0.5.0_1
=> SHA256 Checksum OK for mgerstner-openssl_tpm_engine-v0.5.0_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for openssl_tpm_engine-0.5.0_1
===>  Applying FreeBSD patches for openssl_tpm_engine-0.5.0_1
===========================================================================
=======================<phase: build-depends  >============================
===>   openssl_tpm_engine-0.5.0_1 depends on package: autoconf>=2.69 - not found
===>   Installing existing package /packages/All/autoconf-2.69_2.txz
[112amd64-default-build-as-user-job-04] Installing autoconf-2.69_2...
[112amd64-default-build-as-user-job-04] `-- Installing autoconf-wrapper-20131203...
[112amd64-default-build-as-user-job-04] `-- Extracting autoconf-wrapper-20131203: .......... done
[112amd64-default-build-as-user-job-04] `-- Installing indexinfo-0.3.1...
[112amd64-default-build-as-user-job-04] `-- Extracting indexinfo-0.3.1: .... done
[112amd64-default-build-as-user-job-04] `-- Installing m4-1.4.18_1,1...
[112amd64-default-build-as-user-job-04] `-- Extracting m4-1.4.18_1,1: .......... done
[112amd64-default-build-as-user-job-04] `-- Installing perl5-5.28.1_1...
[112amd64-default-build-as-user-job-04] `-- Extracting perl5-5.28.1_1: .......... done
[112amd64-default-build-as-user-job-04] Extracting autoconf-2.69_2: .......... done
Message from perl5-5.28.1_1:

<snip>
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (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 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... freebsd11.2 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... no
checking for OpenSSL 1.1... no
checking pkg-config is at least version 0.9.0... yes
checking for libcrypto... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
CFLAGS=-O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -L/usr/lib -I/usr/include -Wall
===========================================================================
=======================<phase: build          >============================
===>  Building for openssl_tpm_engine-0.5.0_1
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
Making all in src
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/src'
cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.5.0\" -DPACKAGE_STRING=\"openssl-tpm-engine\ 0.5.0\" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.5.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.   -isystem /usr/local/include  -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -L/usr/lib -I/usr/include -Wall -MT create_tpm_key.o -MD -MP -MF .deps/create_tpm_key.Tpo -c -o create_tpm_key.o create_tpm_key.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
mv -f .deps/create_tpm_key.Tpo .deps/create_tpm_key.Po
/bin/sh ../libtool  --tag=CC   --mode=link cc  -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -L/usr/lib -I/usr/include -Wall  -fstack-protector  -o create_tpm_key create_tpm_key.o -ltspi -lcrypto -L/usr/local/lib
libtool: link: cc -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -I/usr/include -Wall -fstack-protector -o create_tpm_key create_tpm_key.o  -L/usr/lib -ltspi -lcrypto -L/usr/local/lib
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.5.0\" -DPACKAGE_STRING=\"openssl-tpm-engine\ 0.5.0\" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.5.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.   -isystem /usr/local/include  -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -L/usr/lib -I/usr/include -Wall -MT e_tpm.lo -MD -MP -MF .deps/e_tpm.Tpo -c -o e_tpm.lo e_tpm.c
libtool: compile:  cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.5.0\" "-DPACKAGE_STRING=\"openssl-tpm-engine 0.5.0\"" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.5.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -isystem /usr/local/include -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -L/usr/lib -I/usr/include -Wall -MT e_tpm.lo -MD -MP -MF .deps/e_tpm.Tpo -c e_tpm.c  -fPIC -DPIC -o .libs/e_tpm.o
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
e_tpm.c:202:37: warning: incompatible pointer types passing 'int (int, unsigned char *, unsigned char *, RSA *, int)' (aka 'int (int, unsigned char *, unsigned char *, struct rsa_st *, int)') to parameter of type 'func_rsa_pub_enc' (aka 'int (*)(int, const unsigned char *, unsigned char *, struct rsa_st *, int)') [-Wincompatible-pointer-types]
            !RSA_meth_set_pub_enc(tpm_rsa, tpm_rsa_pub_enc) ||
                                           ^~~~~~~~~~~~~~~
./ssl_compat.h:96:63: note: passing argument to parameter 'pub_enc' here
int RSA_meth_set_pub_enc(RSA_METHOD *method, func_rsa_pub_enc pub_enc)
                                                              ^
e_tpm.c:203:37: warning: incompatible pointer types passing 'int (int, unsigned char *, unsigned char *, RSA *, int)' (aka 'int (int, unsigned char *, unsigned char *, struct rsa_st *, int)') to parameter of type 'func_rsa_pub_dec' (aka 'int (*)(int, const unsigned char *, unsigned char *, struct rsa_st *, int)') [-Wincompatible-pointer-types]
            !RSA_meth_set_pub_dec(tpm_rsa, tpm_rsa_pub_dec) ||
                                           ^~~~~~~~~~~~~~~
./ssl_compat.h:107:63: note: passing argument to parameter 'pub_dec' here
int RSA_meth_set_pub_dec(RSA_METHOD *method, func_rsa_pub_dec pub_dec)
                                                              ^
e_tpm.c:204:38: warning: incompatible pointer types passing 'int (int, unsigned char *, unsigned char *, RSA *, int)' (aka 'int (int, unsigned char *, unsigned char *, struct rsa_st *, int)') to parameter of type 'func_rsa_priv_enc' (aka 'int (*)(int, const unsigned char *, unsigned char *, struct rsa_st *, int)') [-Wincompatible-pointer-types]
            !RSA_meth_set_priv_enc(tpm_rsa, tpm_rsa_priv_enc) ||
                                            ^~~~~~~~~~~~~~~~
./ssl_compat.h:118:65: note: passing argument to parameter 'priv_enc' here
int RSA_meth_set_priv_enc(RSA_METHOD *method, func_rsa_priv_enc priv_enc)
                                                                ^
e_tpm.c:205:38: warning: incompatible pointer types passing 'int (int, unsigned char *, unsigned char *, RSA *, int)' (aka 'int (int, unsigned char *, unsigned char *, struct rsa_st *, int)') to parameter of type 'func_rsa_priv_dec' (aka 'int (*)(int, const unsigned char *, unsigned char *, struct rsa_st *, int)') [-Wincompatible-pointer-types]
            !RSA_meth_set_priv_dec(tpm_rsa, tpm_rsa_priv_dec) ||
                                            ^~~~~~~~~~~~~~~~
./ssl_compat.h:129:65: note: passing argument to parameter 'priv_dec' here
int RSA_meth_set_priv_dec(RSA_METHOD *method, func_rsa_priv_dec priv_dec)
                                                                ^
e_tpm.c:353:9: warning: variable 'auth' is uninitialized when used here [-Wuninitialized]
                        free(auth);
                             ^~~~
e_tpm.c:276:12: note: initialize the variable 'auth' to silence this warning
        BYTE *auth;
                  ^
                   = NULL
e_tpm.c:637:11: warning: implicit declaration of function 'p_tspi_Context_CreateObject' is invalid in C99 [-Wimplicit-function-declaration]
        result = p_tspi_Context_CreateObject(hContext, TSS_OBJECT_TYPE_NV, 0,
                 ^
e_tpm.c:647:11: warning: implicit declaration of function 'p_tspi_SetAttribUint32' is invalid in C99 [-Wimplicit-function-declaration]
        result = p_tspi_SetAttribUint32(hNVStore, TSS_TSPATTRIB_NV_INDEX, 0,
                 ^
e_tpm.c:656:11: warning: implicit declaration of function 'p_tspi_NV_ReadValue' is invalid in C99 [-Wimplicit-function-declaration]
        result = p_tspi_NV_ReadValue(hNVStore, 0, &length, &dataRead);
                 ^
e_tpm.c:658:2: warning: implicit declaration of function 'p_tspi_Context_FreeMemory' is invalid in C99 [-Wimplicit-function-declaration]
        p_tspi_Context_FreeMemory(hContext, dataRead);
        ^
e_tpm.c:877:4: warning: implicit declaration of function 'p_tspi_Context_CreateObject' is invalid in C99 [-Wimplicit-function-declaration]
                 p_tspi_Context_CreateObject(hContext, TSS_OBJECT_TYPE_PCRS,
                 ^
e_tpm.c:887:15: warning: implicit declaration of function 'p_tspi_PcrComposite_SelectPcrIndex' is invalid in C99 [-Wimplicit-function-declaration]
                          result = p_tspi_PcrComposite_SelectPcrIndex(hPcrComposite, i);
                                   ^
e_tpm.c:897:25: warning: assigning to 'BYTE *' (aka 'unsigned char *') from 'const unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        tssVal.rgbExternalData = request->nonce;
                               ^ ~~~~~~~~~~~~~~
e_tpm.c:900:11: warning: implicit declaration of function 'p_tspi_TPM_Quote' is invalid in C99 [-Wimplicit-function-declaration]
        result = p_tspi_TPM_Quote(hTPM, app_data->hKey, hPcrComposite, &tssVal);
                 ^
e_tpm.c:911:2: warning: implicit declaration of function 'p_tspi_Context_CloseObject' is invalid in C99 [-Wimplicit-function-declaration]
        p_tspi_Context_CloseObject(hContext, hPcrComposite);
        ^
14 warnings generated.
mv -f .deps/e_tpm.Tpo .deps/e_tpm.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.5.0\" -DPACKAGE_STRING=\"openssl-tpm-engine\ 0.5.0\" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.5.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.   -isystem /usr/local/include  -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -L/usr/lib -I/usr/include -Wall -MT e_tpm_err.lo -MD -MP -MF .deps/e_tpm_err.Tpo -c -o e_tpm_err.lo e_tpm_err.c
libtool: compile:  cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.5.0\" "-DPACKAGE_STRING=\"openssl-tpm-engine 0.5.0\"" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.5.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -isystem /usr/local/include -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -L/usr/lib -I/usr/include -Wall -MT e_tpm_err.lo -MD -MP -MF .deps/e_tpm_err.Tpo -c e_tpm_err.c  -fPIC -DPIC -o .libs/e_tpm_err.o
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
mv -f .deps/e_tpm_err.Tpo .deps/e_tpm_err.Plo
/bin/sh ../libtool  --tag=CC   --mode=link cc  -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -L/usr/lib -I/usr/include -Wall -avoid-version -module -shared -export-dynamic -fstack-protector  -o libtpm.la -rpath /usr/local/lib/openssl/engines e_tpm.lo e_tpm_err.lo -lcrypto -lc -ltspi -L/usr/local/lib
libtool: link: cc -shared  -fPIC -DPIC  .libs/e_tpm.o .libs/e_tpm_err.o   -L/usr/lib -lcrypto -ltspi -L/usr/local/lib  -O2 -fstack-protector -fstack-protector   -Wl,-soname -Wl,libtpm.so -o .libs/libtpm.so
libtool: link: ( cd ".libs" && rm -f "libtpm.la" && ln -s "../libtpm.la" "libtpm.la" )
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/src'
Making all in test
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/test'
cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.5.0\" -DPACKAGE_STRING=\"openssl-tpm-engine\ 0.5.0\" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.5.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.   -isystem /usr/local/include -I../src -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -L/usr/lib -I/usr/include -Wall -MT engine_key_loading-engine_key_loading.o -MD -MP -MF .deps/engine_key_loading-engine_key_loading.Tpo -c -o engine_key_loading-engine_key_loading.o `test -f 'engine_key_loading.c' || echo './'`engine_key_loading.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
mv -f .deps/engine_key_loading-engine_key_loading.Tpo .deps/engine_key_loading-engine_key_loading.Po
/bin/sh ../libtool  --tag=CC   --mode=link cc -I../src -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -L/usr/lib -I/usr/include -Wall  -fstack-protector  -o engine_key_loading engine_key_loading-engine_key_loading.o -ltspi -lcrypto -L/usr/local/lib
libtool: link: cc -I../src -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -I/usr/include -Wall -fstack-protector -o engine_key_loading engine_key_loading-engine_key_loading.o  -L/usr/lib -ltspi -lcrypto -L/usr/local/lib
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/test'
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
gmake[2]: Nothing to be done for 'all-am'.
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
===========================================================================
=======================<phase: run-depends    >============================
===>   openssl_tpm_engine-0.5.0_1 depends on file: /usr/local/sbin/tcsd - found
===========================================================================
=======================<phase: stage          >============================
===>  Staging for openssl_tpm_engine-0.5.0_1
===>   Generating temporary packing list
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
if test -z 'strip'; then \
  gmake  INSTALL_PROGRAM="/bin/sh /wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/install-sh -c -s" \
    install_sh_PROGRAM="/bin/sh /wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
      install; \
else \
  gmake  INSTALL_PROGRAM="/bin/sh /wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/install-sh -c -s" \
    install_sh_PROGRAM="/bin/sh /wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
    "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; \
fi
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
Making install in src
gmake[3]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/src'
gmake[4]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/src'
 /bin/mkdir -p '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/stage/usr/local/bin'
 STRIPPROG='strip' /bin/sh ../libtool   --mode=install /bin/sh /wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/install-sh -c -s create_tpm_key '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/stage/usr/local/bin'
libtool: install: /bin/sh /wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/install-sh -c -s create_tpm_key /wrkdirs/usr/ports/security/openssl_tpm_engine/work/stage/usr/local/bin/create_tpm_key
 /bin/mkdir -p '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/stage/usr/local/lib/openssl/engines'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c -s  libtpm.la '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/stage/usr/local/lib/openssl/engines'
libtool: install: /usr/bin/install -c .libs/libtpm.so /wrkdirs/usr/ports/security/openssl_tpm_engine/work/stage/usr/local/lib/openssl/engines/libtpm.so
libtool: install: strip --strip-unneeded /wrkdirs/usr/ports/security/openssl_tpm_engine/work/stage/usr/local/lib/openssl/engines/libtpm.so
libtool: install: /usr/bin/install -c .libs/libtpm.lai /wrkdirs/usr/ports/security/openssl_tpm_engine/work/stage/usr/local/lib/openssl/engines/libtpm.la
libtool: warning: remember to run 'libtool --finish /usr/local/lib/openssl/engines'
gmake[4]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/src'
gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/src'
Making install in test
gmake[3]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/test'
gmake[4]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/test'
gmake[4]: Nothing to be done for 'install-exec-am'.
gmake[4]: Nothing to be done for 'install-data-am'.
gmake[4]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/test'
gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/test'
gmake[3]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
gmake[4]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
gmake  install-exec-hook
gmake[5]: Entering directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
find /wrkdirs/usr/ports/security/openssl_tpm_engine/work/stage -name "*.la" -delete
gmake[5]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
gmake[4]: Nothing to be done for 'install-data-am'.
gmake[4]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0'
install  -m 0644 /wrkdirs/usr/ports/security/openssl_tpm_engine/work/openssl_tpm_engine-0.5.0/dist/openssl.cnf.sample  /wrkdirs/usr/ports/security/openssl_tpm_engine/work/stage/usr/local/share/examples/openssl_tpm_engine
====> Compressing man pages (compress-man)
===========================================================================
=======================<phase: package        >============================
===>  Building package for openssl_tpm_engine-0.5.0_1
pkg-static: Unable to access file /wrkdirs/usr/ports/security/openssl_tpm_engine/work/stage/usr/local/lib/openssl/engines/tpm.so:No such file or directory
*** Error code 1

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



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