Building openssl_tpm_engine-0.4.2.txz (origin /buildshare/ports/355755/security/openssl_tpm_engine) for powerpc-10-0 on XXX slot2: created x distfiles/ x distfiles/openssl_tpm_engine-0.4.2.tar.gz x packages/ x packages/libtool-2.4.2_3.txz x packages/autoconf-wrapper-20131203.txz x packages/pkgconf-0.9.5.txz x packages/automake-wrapper-20131203.txz x packages/gmake-3.82_1.txz x packages/automake-1.14.txz x packages/m4-1.4.17_1,1.txz x packages/autoconf-2.69.txz x packages/help2man-1.43.3_1.txz x packages/trousers-tddl-0.3.10_4.txz x packages/p5-Locale-gettext-1.05_3.txz x packages/perl5-5.16.3_10.txz x packages/gettext-0.18.3.1_1.txz x packages/pkg-1.2.7_2.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> openssl_tpm_engine-0.4.2 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of openssl_tpm_engine-0.4.2 ===> openssl_tpm_engine-0.4.2 depends on shared library: tspi - not found ===> Verifying install for tspi in /buildshare/ports/355755/security/trousers ===> Installing existing package /packages/trousers-tddl-0.3.10_4.txz Installing trousers-tddl-0.3.10_4...===> Creating users and/or groups. Creating group '_tss' with gid '601'. Creating user '_tss' with uid '601'. done 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. To use TPM, add your_account to '_tss' group like following: # pw groupadd _tss -m your_account ===> Returning to build of openssl_tpm_engine-0.4.2 ===> openssl_tpm_engine-0.4.2 depends on executable: gmake - not found ===> Verifying install for gmake in /buildshare/ports/355755/devel/gmake ===> Installing existing package /packages/gmake-3.82_1.txz Installing gmake-3.82_1...Installing gettext-0.18.3.1_1... done done ===> Returning to build of openssl_tpm_engine-0.4.2 ===> openssl_tpm_engine-0.4.2 depends on file: /usr/local/bin/autoconf-2.69 - not found ===> Verifying install for /usr/local/bin/autoconf-2.69 in /buildshare/ports/355755/devel/autoconf ===> Installing existing package /packages/autoconf-2.69.txz Installing autoconf-2.69...Installing autoconf-wrapper-20131203... done Installing m4-1.4.17_1,1... done Installing perl5-5.16.3_10... done done ===> Returning to build of openssl_tpm_engine-0.4.2 ===> openssl_tpm_engine-0.4.2 depends on package: libtool>=2.4 - not found ===> Verifying install for libtool>=2.4 in /buildshare/ports/355755/devel/libtool ===> Installing existing package /packages/libtool-2.4.2_3.txz Installing libtool-2.4.2_3... done ===> Returning to build of openssl_tpm_engine-0.4.2 ===> openssl_tpm_engine-0.4.2 depends on file: /usr/local/sbin/tcsd - found Make install ===> License GPLv2 accepted by the user ===> openssl_tpm_engine-0.4.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openssl_tpm_engine-0.4.2 for building ===> Extracting for openssl_tpm_engine-0.4.2 => SHA256 Checksum OK for openssl_tpm_engine-0.4.2.tar.gz. ===> Patching for openssl_tpm_engine-0.4.2 ===> Applying FreeBSD patches for openssl_tpm_engine-0.4.2 ===> openssl_tpm_engine-0.4.2 depends on executable: gmake - found ===> openssl_tpm_engine-0.4.2 depends on file: /usr/local/bin/autoconf-2.69 - found ===> openssl_tpm_engine-0.4.2 depends on package: libtool>=2.4 - found ===> openssl_tpm_engine-0.4.2 depends on shared library: tspi - found ===> Configuring for openssl_tpm_engine-0.4.2 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/configure aclocal.m4:17: warning: this file was generated for autoconf 2.68. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. configure: loading site script /buildshare/ports/355755/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel 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 Non-standard OpenSSL... no 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 for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking build system type... powerpc-portbld-freebsd11.0 checking host system type... powerpc-portbld-freebsd11.0 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert powerpc-portbld-freebsd11.0 file names to powerpc-portbld-freebsd11.0 format... func_convert_file_noop checking how to convert powerpc-portbld-freebsd11.0 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... no 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 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... freebsd11.0 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 configure: creating ./config.status config.status: creating Makefile config.status: creating test/Makefile config.status: executing depfiles commands config.status: executing libtool commands CFLAGS=-O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall ===> Building for openssl_tpm_engine-0.4.2 gmake[1]: Entering directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' cd . && /bin/sh /obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/missing --run automake-1.11 --foreign /obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/missing: automake-1.11: not found WARNING: `automake-1.11' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh ./config.status Makefile depfiles config.status: creating Makefile config.status: executing depfiles commands gmake[1]: Leaving directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' gmake[1]: Entering directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' Making all in . gmake[2]: Entering directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.4.2\" -DPACKAGE_STRING=\"openssl-tpm-engine\ 0.4.2\" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.4.2\" -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. -O2 -pipe -I/usr/local/include -fno-strict-aliasing -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.4.2\" "-DPACKAGE_STRING=\"openssl-tpm-engine 0.4.2\"" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.4.2\" -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. -O2 -pipe -I/usr/local/include -fno-strict-aliasing -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:100: warning: initialization from incompatible pointer type e_tpm.c:101: warning: initialization from incompatible pointer type e_tpm.c:102: warning: initialization from incompatible pointer type e_tpm.c:103: warning: initialization from incompatible pointer type e_tpm.c: In function 'BIO_from_nvram': e_tpm.c:613: warning: implicit declaration of function 'p_tspi_Context_CreateObject' e_tpm.c:623: warning: implicit declaration of function 'p_tspi_SetAttribUint32' e_tpm.c:632: warning: implicit declaration of function 'p_tspi_NV_ReadValue' e_tpm.c:634: warning: implicit declaration of function 'p_tspi_Context_FreeMemory' e_tpm.c: In function 'tpm_quote': e_tpm.c:866: warning: implicit declaration of function 'p_tspi_PcrComposite_SelectPcrIndex' e_tpm.c:876: warning: assignment discards qualifiers from pointer target type e_tpm.c:879: warning: implicit declaration of function 'p_tspi_TPM_Quote' e_tpm.c:890: warning: implicit declaration of function 'p_tspi_Context_CloseObject' e_tpm.c: In function 'tpm_rand_seed': e_tpm.c:1430: warning: passing argument 3 of 'Tspi_TPM_StirRandom' discards qualifiers from pointer target type e_tpm.c:1438: warning: passing argument 3 of 'Tspi_TPM_StirRandom' discards qualifiers from pointer target type e_tpm.c: In function 'tpm_load_srk': e_tpm.c:339: warning: 'auth' is used uninitialized in this function libtool: compile: cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.4.2\" "-DPACKAGE_STRING=\"openssl-tpm-engine 0.4.2\"" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.4.2\" -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. -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -MT e_tpm.lo -MD -MP -MF .deps/e_tpm.Tpo -c e_tpm.c -o e_tpm.o >/dev/null 2>&1 mv -f .deps/e_tpm.Tpo .deps/e_tpm.Plo /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.4.2\" -DPACKAGE_STRING=\"openssl-tpm-engine\ 0.4.2\" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.4.2\" -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. -O2 -pipe -I/usr/local/include -fno-strict-aliasing -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.4.2\" "-DPACKAGE_STRING=\"openssl-tpm-engine 0.4.2\"" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.4.2\" -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. -O2 -pipe -I/usr/local/include -fno-strict-aliasing -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 libtool: compile: cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.4.2\" "-DPACKAGE_STRING=\"openssl-tpm-engine 0.4.2\"" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.4.2\" -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. -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -MT e_tpm_err.lo -MD -MP -MF .deps/e_tpm_err.Tpo -c e_tpm_err.c -o e_tpm_err.o >/dev/null 2>&1 mv -f .deps/e_tpm_err.Tpo .deps/e_tpm_err.Plo /bin/sh /usr/local/bin/libtool --tag=CC --mode=link cc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -L/usr/local/lib -o libtpm.la -rpath /usr/local/lib/openssl/engines e_tpm.lo e_tpm_err.lo -lcrypto -lc -ltspi libtool: link: cc -shared -fPIC -DPIC .libs/e_tpm.o .libs/e_tpm_err.o -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libtspi.so -L/usr/lib -lcrypto -O2 -pthread -Wl,-soname -Wl,libtpm.so.0 -o .libs/libtpm.so.0 libtool: link: (cd ".libs" && rm -f "libtpm.so" && ln -s "libtpm.so.0" "libtpm.so") libtool: link: (cd ".libs" && rm -f "libtpm.so" && ln -s "libtpm.so.0" "libtpm.so") libtool: link: ar cru .libs/libtpm.a e_tpm.o e_tpm_err.o libtool: link: ranlib .libs/libtpm.a libtool: link: ( cd ".libs" && rm -f "libtpm.la" && ln -s "../libtpm.la" "libtpm.la" ) cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.4.2\" -DPACKAGE_STRING=\"openssl-tpm-engine\ 0.4.2\" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.4.2\" -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. -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -MT create_tpm_key.o -MD -MP -MF .deps/create_tpm_key.Tpo -c -o create_tpm_key.o create_tpm_key.c create_tpm_key.c: In function 'main': create_tpm_key.c:159: warning: comparison is always false due to limited range of data type mv -f .deps/create_tpm_key.Tpo .deps/create_tpm_key.Po /bin/sh /usr/local/bin/libtool --tag=CC --mode=link cc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -L/usr/local/lib -o create_tpm_key create_tpm_key.o -ltspi libtool: link: cc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -o create_tpm_key create_tpm_key.o -L/usr/local/lib /usr/local/lib/libtspi.so -L/usr/lib -lcrypto -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib gmake[2]: Leaving directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' Making all in test gmake[2]: Entering directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/test' cd .. && /bin/sh ./config.status test/Makefile depfiles config.status: creating test/Makefile config.status: executing depfiles commands gmake[2]: Leaving directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/test' gmake[2]: Entering directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/test' cc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.4.2\" -DPACKAGE_STRING=\"openssl-tpm-engine\ 0.4.2\" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.4.2\" -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. -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -MT engine_key_loading.o -MD -MP -MF .deps/engine_key_loading.Tpo -c -o engine_key_loading.o engine_key_loading.c engine_key_loading.c: In function 'run_test': engine_key_loading.c:78: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness engine_key_loading.c:92: warning: pointer targets in passing argument 2 of 'RSA_public_encrypt' differ in signedness engine_key_loading.c:92: warning: pointer targets in passing argument 3 of 'RSA_public_encrypt' differ in signedness engine_key_loading.c:100: warning: pointer targets in passing argument 2 of 'RSA_private_decrypt' differ in signedness engine_key_loading.c:100: warning: pointer targets in passing argument 3 of 'RSA_private_decrypt' differ in signedness engine_key_loading.c:115: warning: pointer targets in passing argument 2 of 'RSA_private_encrypt' differ in signedness engine_key_loading.c:115: warning: pointer targets in passing argument 3 of 'RSA_private_encrypt' differ in signedness engine_key_loading.c:123: warning: pointer targets in passing argument 2 of 'RSA_public_decrypt' differ in signedness engine_key_loading.c:123: warning: pointer targets in passing argument 3 of 'RSA_public_decrypt' differ in signedness mv -f .deps/engine_key_loading.Tpo .deps/engine_key_loading.Po /bin/sh /usr/local/bin/libtool --tag=CC --mode=link cc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -L/usr/local/lib -o engine_key_loading engine_key_loading.o -ltspi -lcrypto libtool: link: cc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -o engine_key_loading engine_key_loading.o -L/usr/local/lib /usr/local/lib/libtspi.so -L/usr/lib -lcrypto -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib gmake[2]: Leaving directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/test' gmake[1]: Leaving directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' ===> Installing for openssl_tpm_engine-0.4.2 ===> openssl_tpm_engine-0.4.2 depends on file: /usr/local/sbin/tcsd - found ===> Generating temporary packing list ===> Checking if security/openssl_tpm_engine already installed gmake[1]: Entering directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' Making install in . gmake[2]: Entering directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' gmake[3]: Entering directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' /bin/mkdir -p '/usr/local/bin' /bin/sh /usr/local/bin/libtool --mode=install install -s -o root -g wheel -m 555 create_tpm_key '/usr/local/bin' libtool: install: install -o root -g wheel -m 555 -s create_tpm_key /usr/local/bin/create_tpm_key /bin/mkdir -p '/usr/local/lib/openssl/engines' /bin/sh /usr/local/bin/libtool --mode=install /usr/bin/install -c -o root -g wheel libtpm.la '/usr/local/lib/openssl/engines' libtool: install: /usr/bin/install -c -o root -g wheel .libs/libtpm.so.0 /usr/local/lib/openssl/engines/libtpm.so.0 libtool: install: (cd /usr/local/lib/openssl/engines && { ln -s -f libtpm.so.0 libtpm.so || { rm -f libtpm.so && ln -s libtpm.so.0 libtpm.so; }; }) libtool: install: (cd /usr/local/lib/openssl/engines && { ln -s -f libtpm.so.0 libtpm.so || { rm -f libtpm.so && ln -s libtpm.so.0 libtpm.so; }; }) libtool: install: /usr/bin/install -c -o root -g wheel .libs/libtpm.lai /usr/local/lib/openssl/engines/libtpm.la libtool: install: /usr/bin/install -c -o root -g wheel .libs/libtpm.a /usr/local/lib/openssl/engines/libtpm.a libtool: install: chmod 644 /usr/local/lib/openssl/engines/libtpm.a libtool: install: ranlib /usr/local/lib/openssl/engines/libtpm.a gmake[3]: Leaving directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' gmake[2]: Leaving directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' Making install in test gmake[2]: Entering directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/test' gmake[3]: Entering directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/test' gmake[3]: Nothing to be done for `install-exec-am'. gmake[3]: Nothing to be done for `install-data-am'. gmake[3]: Leaving directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/test' gmake[2]: Leaving directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/test' gmake[1]: Leaving directory `/obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2' /bin/mkdir -p /usr/local/share/examples/openssl_tpm_engine install -o root -g wheel -m 444 /obj/buildshare/ports/355755/security/openssl_tpm_engine/work/openssl_tpm_engine-0.4.2/openssl.cnf.sample /usr/local/share/examples/openssl_tpm_engine A sample openssl.cnf was copied to /usr/local/share/examples/tpm/openssl.cnf.sample To use 'tpm' openssl engine, please add above sample configuration to /etc/ssl/openssl.cnf. If you setup tpm engine to openssl.cnf, please start always tcsd daemon (ports/security/trousers), or many applications using openssl like sshd/httpd doesn't work soon / you get following messages like: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Auto configuration failed 65738:error:80066070:tpm engine:TPM_ENGINE_INIT:unit failure:e_tpm.c:484: 65738:error:260B806D:engine routines:ENGINE_TABLE_REGISTER:init failed:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_table.c:161: 65738:error:260BC065:engine routines:INT_ENGINE_CONFIGURE:engine configuration error:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_cnf.c:204:section=tpm_section, name=default_algorithms, value=ALL 65738:error:0E07606D:configuration file routines:MODULE_RUN:module initialization error:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_mod.c:235:module=engines, value=engine_section, retcode=-1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for openssl_tpm_engine-0.4.2 Installing openssl_tpm_engine-0.4.2... done Make package ===> Building package for openssl_tpm_engine-0.4.2 Creating package for openssl_tpm_engine-0.4.2 slot2: removed