=> Building security/openssl_tpm_engine Started : Saturday, 15 FEB 2020 at 17:17:30 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for openssl_tpm_engine-0.5.0_2: EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/construction/security/openssl_tpm_engine XDG_CONFIG_HOME=/construction/security/openssl_tpm_engine HOME=/construction/security/openssl_tpm_engine TMPDIR="/tmp" PATH=/construction/security/openssl_tpm_engine/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --with-openssl="/usr/local" --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/security/openssl_tpm_engine XDG_CONFIG_HOME=/construction/security/openssl_tpm_engine HOME=/construction/security/openssl_tpm_engine TMPDIR="/tmp" PATH=/construction/security/openssl_tpm_engine/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -Wl,-rpath,/usr/local/lib " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS=" -pipe -O2 -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="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/security/openssl_tpm_engine/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTEXAMPLES="" OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " 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" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of openssl_tpm_engine-0.5.0_2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- => mgerstner-openssl_tpm_engine-v0.5.0_GH0.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch https://codeload.github.com/mgerstner/openssl_tpm_engine/tar.gz/v0.5.0?dummy=/mgerstner-openssl_tpm_engine-v0.5.0_GH0.tar.gz fetch: https://codeload.github.com/mgerstner/openssl_tpm_engine/tar.gz/v0.5.0?dummy=/mgerstner-openssl_tpm_engine-v0.5.0_GH0.tar.gz: size unknown fetch: https://codeload.github.com/mgerstner/openssl_tpm_engine/tar.gz/v0.5.0?dummy=/mgerstner-openssl_tpm_engine-v0.5.0_GH0.tar.gz: size of remote file is not known mgerstner-openssl_tpm_engine-v0.5.0_GH0.tar.gz 24 kB 345 kBps 00s ===> Fetching all distfiles required by openssl_tpm_engine-0.5.0_2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by openssl_tpm_engine-0.5.0_2 for building => SHA256 Checksum OK for mgerstner-openssl_tpm_engine-v0.5.0_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by openssl_tpm_engine-0.5.0_2 for building ===> Extracting for openssl_tpm_engine-0.5.0_2 ===> Fetching all distfiles required by openssl_tpm_engine-0.5.0_2 for building => 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_2 ===> Applying ports patches for openssl_tpm_engine-0.5.0_2 /usr/bin/env WRKSRC=/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0 REWARNFILE=/construction/security/openssl_tpm_engine/reinplace_warnings.txt /xports/Tools/scripts/sed_checked.sh "s|%%TPMSO%%|/usr/local/lib/openssl/engines/tpm.so|g" /construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/dist/openssl.cnf.sample -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> openssl_tpm_engine-0.5.0_2 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.20.1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: . done `-- Extracting gettext-runtime-0.20.1: .......... done Extracting gmake-4.2.1_3: .......... done ===> openssl_tpm_engine-0.5.0_2 depends on executable: gmake - found ===> Returning to build of openssl_tpm_engine-0.5.0_2 ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/lib/libcrypto.so.11 - not found ===> Installing existing package /packages/All/openssl-1.1.1d,1.txz Installing openssl-1.1.1d,1... Extracting openssl-1.1.1d,1: .......... done ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> Returning to build of openssl_tpm_engine-0.5.0_2 ===> openssl_tpm_engine-0.5.0_2 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.6.3,1.txz Installing pkgconf-1.6.3,1... Extracting pkgconf-1.6.3,1: .......... done ===> openssl_tpm_engine-0.5.0_2 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of openssl_tpm_engine-0.5.0_2 ===> openssl_tpm_engine-0.5.0_2 depends on package: autoconf>=2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_3.txz Installing autoconf-2.69_3... `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: ........ done `-- Installing m4-1.4.18_1,1... `-- Extracting m4-1.4.18_1,1: .......... done `-- Installing perl5-5.30.1... `-- Extracting perl5-5.30.1: .......... done Extracting autoconf-2.69_3: .......... done ===== Message from perl5-5.30.1: -- The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> openssl_tpm_engine-0.5.0_2 depends on package: autoconf>=2.69 - found ===> Returning to build of openssl_tpm_engine-0.5.0_2 ===> openssl_tpm_engine-0.5.0_2 depends on package: automake>=1.16.1 - not found ===> Installing existing package /packages/All/automake-1.16.1_2.txz Installing automake-1.16.1_2... Extracting automake-1.16.1_2: .......... done ===> openssl_tpm_engine-0.5.0_2 depends on package: automake>=1.16.1 - found ===> Returning to build of openssl_tpm_engine-0.5.0_2 ===> openssl_tpm_engine-0.5.0_2 depends on executable: libtoolize - not found ===> Installing existing package /packages/All/libtool-2.4.6_1.txz Installing libtool-2.4.6_1... Extracting libtool-2.4.6_1: .......... done ===> openssl_tpm_engine-0.5.0_2 depends on executable: libtoolize - found ===> Returning to build of openssl_tpm_engine-0.5.0_2 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> openssl_tpm_engine-0.5.0_2 depends on shared library: libtspi.so - not found ===> Installing existing package /packages/All/trousers-0.3.14_2.txz Installing trousers-0.3.14_2... `-- Installing tpm-emulator-0.7.4_2... | `-- Installing gmp-6.1.2_1... | `-- Extracting gmp-6.1.2_1: .......... done ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. `-- Extracting tpm-emulator-0.7.4_2: ........ done ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. Extracting trousers-0.3.14_2: .......... done ===== Message from trousers-0.3.14_2: -- To run tcsd automatically, add the following line to /etc/rc.conf: tcsd_enable="YES" You might want to edit /usr/local/etc/tcsd.conf to reflect your setup. If you want to use tcsd with software TPM emulator, use the following configuration in /etc/rc.conf: tcsd_enable="YES" tcsd_mode="emulator" tpmd_enable="YES" To use TPM, add your_account to '_tss' group like following: # pw groupmod _tss -m your_account ===> openssl_tpm_engine-0.5.0_2 depends on shared library: libtspi.so - found (/usr/local/lib/libtspi.so) ===> Returning to build of openssl_tpm_engine-0.5.0_2 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for openssl_tpm_engine-0.5.0_2 libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:48: installing './compile' configure.ac:49: installing './config.guess' configure.ac:49: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './COPYING' using GNU General Public License v3 file Makefile.am: Consider adding the COPYING file to the version control system Makefile.am: for your code, to avoid questions about which license your project uses src/Makefile.am: installing './depcomp' configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking Non-standard OpenSSL... yes checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking whether gmake supports the include directive... yes (GNU style) checking dependency style of cc... gcc3 checking build system type... x86_64-portbld-dragonfly5.7 checking host system type... x86_64-portbld-dragonfly5.7 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking how to convert x86_64-portbld-dragonfly5.7 file names to x86_64-portbld-dragonfly5.7 format... func_convert_file_noop checking how to convert x86_64-portbld-dragonfly5.7 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B 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... no 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... dragonfly5.7 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... yes checking pkg-config is at least version 0.9.0... yes checking for libcrypto... yes 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=-pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -I/usr/local/include -Wall -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for openssl_tpm_engine-0.5.0_2 gmake[2]: Entering directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' Making all in src gmake[3]: Entering directory '/construction/security/openssl_tpm_engine/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 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -I/usr/local/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 /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 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -I/usr/local/include -Wall -MT e_tpm.lo -MD -MP -MF .deps/e_tpm.Tpo -c -o e_tpm.lo e_tpm.c /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 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -I/usr/local/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 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -I/usr/local/include -Wall -MT e_tpm.lo -MD -MP -MF .deps/e_tpm.Tpo -c e_tpm.c -fPIC -DPIC -o .libs/e_tpm.o e_tpm.c: In function 'setup_rsa_method': e_tpm.c:202:37: warning: passing argument 2 of 'RSA_meth_set_pub_enc' from incompatible pointer type [-Wincompatible-pointer-types] !RSA_meth_set_pub_enc(tpm_rsa, tpm_rsa_pub_enc) || ^~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/engine.h:19, from e_tpm.c:22: /usr/local/include/openssl/rsa.h:434:32: note: expected 'int (*)(int, const unsigned char *, unsigned char *, RSA *, int)' {aka 'int (*)(int, const unsigned char *, unsigned char *, struct rsa_st *, int)'} but argument is of type 'int (*)(int, unsigned char *, unsigned char *, RSA *, int)' {aka 'int (*)(int, unsigned char *, unsigned char *, struct rsa_st *, int)'} int (*pub_enc) (int flen, const unsigned char *from, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsigned char *to, RSA *rsa, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int padding)); ~~~~~~~~~~~~ e_tpm.c:203:37: warning: passing argument 2 of 'RSA_meth_set_pub_dec' from incompatible pointer type [-Wincompatible-pointer-types] !RSA_meth_set_pub_dec(tpm_rsa, tpm_rsa_pub_dec) || ^~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/engine.h:19, from e_tpm.c:22: /usr/local/include/openssl/rsa.h:441:32: note: expected 'int (*)(int, const unsigned char *, unsigned char *, RSA *, int)' {aka 'int (*)(int, const unsigned char *, unsigned char *, struct rsa_st *, int)'} but argument is of type 'int (*)(int, unsigned char *, unsigned char *, RSA *, int)' {aka 'int (*)(int, unsigned char *, unsigned char *, struct rsa_st *, int)'} int (*pub_dec) (int flen, const unsigned char *from, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsigned char *to, RSA *rsa, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int padding)); ~~~~~~~~~~~~ e_tpm.c:204:38: warning: passing argument 2 of 'RSA_meth_set_priv_enc' from incompatible pointer type [-Wincompatible-pointer-types] !RSA_meth_set_priv_enc(tpm_rsa, tpm_rsa_priv_enc) || ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/engine.h:19, from e_tpm.c:22: /usr/local/include/openssl/rsa.h:448:33: note: expected 'int (*)(int, const unsigned char *, unsigned char *, RSA *, int)' {aka 'int (*)(int, const unsigned char *, unsigned char *, struct rsa_st *, int)'} but argument is of type 'int (*)(int, unsigned char *, unsigned char *, RSA *, int)' {aka 'int (*)(int, unsigned char *, unsigned char *, struct rsa_st *, int)'} int (*priv_enc) (int flen, const unsigned char *from, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsigned char *to, RSA *rsa, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int padding)); ~~~~~~~~~~~~ e_tpm.c:205:38: warning: passing argument 2 of 'RSA_meth_set_priv_dec' from incompatible pointer type [-Wincompatible-pointer-types] !RSA_meth_set_priv_dec(tpm_rsa, tpm_rsa_priv_dec) || ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/engine.h:19, from e_tpm.c:22: /usr/local/include/openssl/rsa.h:455:33: note: expected 'int (*)(int, const unsigned char *, unsigned char *, RSA *, int)' {aka 'int (*)(int, const unsigned char *, unsigned char *, struct rsa_st *, int)'} but argument is of type 'int (*)(int, unsigned char *, unsigned char *, RSA *, int)' {aka 'int (*)(int, unsigned char *, unsigned char *, struct rsa_st *, int)'} int (*priv_dec) (int flen, const unsigned char *from, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsigned char *to, RSA *rsa, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int padding)); ~~~~~~~~~~~~ e_tpm.c: In function 'BIO_from_nvram': e_tpm.c:637:11: warning: implicit declaration of function 'p_tspi_Context_CreateObject'; did you mean 'Tspi_Context_CreateObject'? [-Wimplicit-function-declaration] result = p_tspi_Context_CreateObject(hContext, TSS_OBJECT_TYPE_NV, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Tspi_Context_CreateObject e_tpm.c:647:11: warning: implicit declaration of function 'p_tspi_SetAttribUint32'; did you mean 'Tspi_SetAttribUint32'? [-Wimplicit-function-declaration] result = p_tspi_SetAttribUint32(hNVStore, TSS_TSPATTRIB_NV_INDEX, 0, ^~~~~~~~~~~~~~~~~~~~~~ Tspi_SetAttribUint32 e_tpm.c:656:11: warning: implicit declaration of function 'p_tspi_NV_ReadValue'; did you mean 'Tspi_NV_ReadValue'? [-Wimplicit-function-declaration] result = p_tspi_NV_ReadValue(hNVStore, 0, &length, &dataRead); ^~~~~~~~~~~~~~~~~~~ Tspi_NV_ReadValue e_tpm.c:658:2: warning: implicit declaration of function 'p_tspi_Context_FreeMemory'; did you mean 'Tspi_Context_FreeMemory'? [-Wimplicit-function-declaration] p_tspi_Context_FreeMemory(hContext, dataRead); ^~~~~~~~~~~~~~~~~~~~~~~~~ Tspi_Context_FreeMemory e_tpm.c: In function 'tpm_quote': e_tpm.c:887:15: warning: implicit declaration of function 'p_tspi_PcrComposite_SelectPcrIndex'; did you mean 'Tspi_PcrComposite_SelectPcrIndex'? [-Wimplicit-function-declaration] result = p_tspi_PcrComposite_SelectPcrIndex(hPcrComposite, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tspi_PcrComposite_SelectPcrIndex e_tpm.c:897:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tssVal.rgbExternalData = request->nonce; ^ e_tpm.c:900:11: warning: implicit declaration of function 'p_tspi_TPM_Quote'; did you mean 'Tspi_TPM_Quote'? [-Wimplicit-function-declaration] result = p_tspi_TPM_Quote(hTPM, app_data->hKey, hPcrComposite, &tssVal); ^~~~~~~~~~~~~~~~ Tspi_TPM_Quote e_tpm.c:911:2: warning: implicit declaration of function 'p_tspi_Context_CloseObject'; did you mean 'Tspi_Context_CloseObject'? [-Wimplicit-function-declaration] p_tspi_Context_CloseObject(hContext, hPcrComposite); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Tspi_Context_CloseObject mv -f .deps/create_tpm_key.Tpo .deps/create_tpm_key.Po /bin/sh ../libtool --tag=CC --mode=link cc -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -I/usr/local/include -Wall -Wl,-rpath,/usr/local/lib -o create_tpm_key create_tpm_key.o -ltspi -lcrypto -L/usr/local/lib libtool: link: cc -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/include -Wall -Wl,-rpath -Wl,/usr/local/lib -o create_tpm_key create_tpm_key.o -L/usr/local/lib -ltspi -lcrypto 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 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -I/usr/local/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 e_tpm.c: In function 'tpm_load_srk': e_tpm.c:353:4: warning: 'auth' may be used uninitialized in this function [-Wmaybe-uninitialized] free(auth); ^~~~~~~~~~ mv -f .deps/e_tpm_err.Tpo .deps/e_tpm_err.Plo mv -f .deps/e_tpm.Tpo .deps/e_tpm.Plo /bin/sh ../libtool --tag=CC --mode=link cc -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -I/usr/local/include -Wall -avoid-version -module -shared -export-dynamic -Wl,-rpath,/usr/local/lib -o tpm.la -rpath /usr/local/lib/engines-1.1 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/local/lib -lcrypto -ltspi -O2 -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,tpm.so -o .libs/tpm.so libtool: link: ( cd ".libs" && rm -f "tpm.la" && ln -s "../tpm.la" "tpm.la" ) gmake[3]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/src' Making all in test gmake[3]: Entering directory '/construction/security/openssl_tpm_engine/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 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -I/usr/local/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 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 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -I/usr/local/include -Wall -Wl,-rpath,/usr/local/lib -o engine_key_loading engine_key_loading-engine_key_loading.o -ltspi -lcrypto -L/usr/local/lib libtool: link: cc -I../src -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/include -Wall -Wl,-rpath -Wl,/usr/local/lib -o engine_key_loading engine_key_loading-engine_key_loading.o -L/usr/local/lib -ltspi -lcrypto gmake[3]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/test' gmake[3]: Entering directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' gmake[2]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/sbin/tcsd - found ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/lib/libcrypto.so.11 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for openssl_tpm_engine-0.5.0_2 ===> Generating temporary packing list gmake[2]: Entering directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' if test -z 'strip'; then \ gmake INSTALL_PROGRAM="/bin/sh /construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/install-sh -c -s" \ install_sh_PROGRAM="/bin/sh /construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ install; \ else \ gmake INSTALL_PROGRAM="/bin/sh /construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/install-sh -c -s" \ install_sh_PROGRAM="/bin/sh /construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; \ fi gmake[3]: Entering directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' Making install in src gmake[4]: Entering directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/src' gmake[5]: Entering directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/src' /bin/mkdir -p '/construction/security/openssl_tpm_engine/stage/usr/local/bin' STRIPPROG='strip' /bin/sh ../libtool --mode=install /bin/sh /construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/install-sh -c -s create_tpm_key '/construction/security/openssl_tpm_engine/stage/usr/local/bin' libtool: install: /bin/sh /construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/install-sh -c -s create_tpm_key /construction/security/openssl_tpm_engine/stage/usr/local/bin/create_tpm_key /bin/mkdir -p '/construction/security/openssl_tpm_engine/stage/usr/local/lib/engines-1.1' /bin/sh ../libtool --mode=install /usr/bin/install -c -s tpm.la '/construction/security/openssl_tpm_engine/stage/usr/local/lib/engines-1.1' libtool: install: /usr/bin/install -c .libs/tpm.so /construction/security/openssl_tpm_engine/stage/usr/local/lib/engines-1.1/tpm.so libtool: install: strip --strip-unneeded /construction/security/openssl_tpm_engine/stage/usr/local/lib/engines-1.1/tpm.so libtool: install: /usr/bin/install -c .libs/tpm.lai /construction/security/openssl_tpm_engine/stage/usr/local/lib/engines-1.1/tpm.la libtool: warning: remember to run 'libtool --finish /usr/local/lib/engines-1.1' gmake[5]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/src' gmake[4]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/src' Making install in test gmake[4]: Entering directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/test' gmake[5]: Entering directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/test' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/test' gmake[4]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/test' gmake[4]: Entering directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' gmake[5]: Entering directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' gmake install-exec-hook gmake[6]: Entering directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' find /construction/security/openssl_tpm_engine/stage -name "*.la" -delete gmake[6]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' gmake[4]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' gmake[3]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' gmake[2]: Leaving directory '/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0' (/bin/cat /construction/security/openssl_tpm_engine/.tpmso; echo "@postexec /usr/sbin/service ldconfig restart > /dev/null " >> /construction/security/openssl_tpm_engine/.PLIST.mktmp; echo "@postunexec /usr/sbin/service ldconfig restart > /dev/null " >> /construction/security/openssl_tpm_engine/.PLIST.mktmp; ) >> /construction/security/openssl_tpm_engine/.PLIST.mktmp cat: /construction/security/openssl_tpm_engine/.tpmso: No such file or directory install -m 0644 /construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0/dist/openssl.cnf.sample /construction/security/openssl_tpm_engine/stage/usr/local/share/examples/openssl_tpm_engine ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for openssl_tpm_engine-0.5.0_2 file sizes/checksums [2]: . done packing files [2]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 15 FEB 2020 at 17:18:18 UTC Duration: 00:00:48