------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/construction/security/openssl_tpm_engine XDG_CONFIG_HOME=/construction/security/openssl_tpm_engine XDG_CACHE_HOME=/construction/security/openssl_tpm_engine/.cache 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 PKG_CONFIG_LIBDIR=/construction/security/openssl_tpm_engine/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 DEFAULT_AUTOCONF=2.71 CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --with-openssl="/usr/local" --with-enginedir="/usr/local/lib/openssl/engines" --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 XDG_CACHE_HOME=/construction/security/openssl_tpm_engine/.cache 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 PKG_CONFIG_LIBDIR=/construction/security/openssl_tpm_engine/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 DEFAULT_AUTOCONF=2.71 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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/security/openssl_tpm_engine/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTEXAMPLES="" OSREL=6.5 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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/openssl-1.1.1u,1.pkg Installing /packages/All/pkgconf-1.8.1,1.pkg Installing /packages/All/autoconf-switch-20220527.pkg Installing /packages/All/m4-1.4.19,1.pkg Installing /packages/All/perl5-5.32.1_3.pkg Installing /packages/All/autoconf-2.71.pkg Installing /packages/All/automake-1.16.5.pkg Installing /packages/All/libtool-2.4.7_1.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/gmp-6.2.1.pkg Installing /packages/All/tpm-emulator-0.7.4_2.pkg ===> Creating groups. Creating group '_tss' with gid '601'. ===> Creating users Creating user '_tss' with uid '601'. Installing /packages/All/trousers-0.3.14_4.pkg ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. ===== Message from trousers-0.3.14_4: -- 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 SUCCEEDED 00:00:11 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Requires older openssl and upstream unmaintained since 2017. It is scheduled to be removed on or after 2023-07-02. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Requires older openssl and upstream unmaintained since 2017. It is scheduled to be removed on or after 2023-07-02. ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openssl_tpm_engine-0.5.0_2 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Requires older openssl and upstream unmaintained since 2017. It is scheduled to be removed on or after 2023-07-02. ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/sbin/pkg - found ===> 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. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Requires older openssl and upstream unmaintained since 2017. It is scheduled to be removed on or after 2023-07-02. ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openssl_tpm_engine-0.5.0_2 for building ===> Extracting for openssl_tpm_engine-0.5.0_2 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Requires older openssl and upstream unmaintained since 2017. It is scheduled to be removed on or after 2023-07-02. ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/sbin/pkg - found ===> 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. Extracted Memory Use: 0.14M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for openssl_tpm_engine-0.5.0_2 ===> Applying ports patches for openssl_tpm_engine-0.5.0_2 from /xports/security/openssl_tpm_engine/files /usr/bin/env WRKSRC=/construction/security/openssl_tpm_engine/openssl_tpm_engine-0.5.0 REWARNFILE=/construction/security/openssl_tpm_engine/reinplace_warnings.txt /bin/sh /xports/Mk/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 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> openssl_tpm_engine-0.5.0_2 depends on package: gmake>=4.3 - found ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> openssl_tpm_engine-0.5.0_2 depends on package: pkgconf>=1.3.0_1 - found ===> openssl_tpm_engine-0.5.0_2 depends on package: autoconf>=2.71 - found ===> openssl_tpm_engine-0.5.0_2 depends on package: automake>=1.16.5 - found ===> openssl_tpm_engine-0.5.0_2 depends on executable: libtoolize - found ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> openssl_tpm_engine-0.5.0_2 depends on shared library: libtspi.so - found (/usr/local/lib/libtspi.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> openssl_tpm_engine-0.5.0_2 depends on package: gmake>=4.3 - found ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> openssl_tpm_engine-0.5.0_2 depends on package: pkgconf>=1.3.0_1 - found ===> openssl_tpm_engine-0.5.0_2 depends on package: autoconf>=2.71 - found ===> openssl_tpm_engine-0.5.0_2 depends on package: automake>=1.16.5 - found ===> openssl_tpm_engine-0.5.0_2 depends on executable: libtoolize - found ===> openssl_tpm_engine-0.5.0_2 depends on file: /usr/local/bin/ccache - found ===> openssl_tpm_engine-0.5.0_2 depends on shared library: libtspi.so - found (/usr/local/lib/libtspi.so) ===> 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:10: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:10: the top level configure.ac:49: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:49: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.ac:49: the top level configure.ac:52: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:52: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:52: the top level configure.ac:85: warning: AC_OUTPUT should be used without arguments. configure.ac:85: You should run autoupdate. 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 race-free 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 the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... 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-dragonfly6.5 checking host system type... x86_64-portbld-dragonfly6.5 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-dragonfly6.5 file names to x86_64-portbld-dragonfly6.5 format... func_convert_file_noop checking how to convert x86_64-portbld-dragonfly6.5 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file 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 for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.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... dragonfly6.5 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 SUCCEEDED 00:00:17 ------------------------------------------------------------------------------- -- 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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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 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: 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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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 mv -f .deps/e_tpm_err.Tpo .deps/e_tpm_err.Plo 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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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:435: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:442: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:449: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:456: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 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.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/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/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\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=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' SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for openssl_tpm_engine-0.5.0_2 ===> 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 ===> 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/openssl/engines' /bin/sh ../libtool --mode=install /usr/bin/install -c -s tpm.la '/construction/security/openssl_tpm_engine/stage/usr/local/lib/openssl/engines' libtool: install: /usr/bin/install -c .libs/tpm.so /construction/security/openssl_tpm_engine/stage/usr/local/lib/openssl/engines/tpm.so libtool: install: strip --strip-unneeded /construction/security/openssl_tpm_engine/stage/usr/local/lib/openssl/engines/tpm.so libtool: install: /usr/bin/install -c .libs/tpm.lai /construction/security/openssl_tpm_engine/stage/usr/local/lib/openssl/engines/tpm.la libtool: warning: remember to run 'libtool --finish /usr/local/lib/openssl/engines' 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 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: lib/openssl/engines/tpm.so ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: lib/engines-1.1/tpm.so ===> Error: Plist issues found. *** Error code 1 Stop. make: stopped in /xports/security/openssl_tpm_engine FAILED 00:00:01