------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/gmake-4.3.txz Installing /packages/All/openssl-1.1.1g,1.txz Installing /packages/All/pkgconf-1.6.3,1.txz Installing /packages/All/m4-1.4.18_1,1.txz Installing /packages/All/autoconf-wrapper-20131203.txz Installing /packages/All/perl5-5.30.2.txz ===== Message from perl5-5.30.2: -- 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. Installing /packages/All/autoconf-2.69_3.txz Installing /packages/All/automake-1.16.2.txz Installing /packages/All/libtool-2.4.6_1.txz Installing /packages/All/gmp-6.2.0.txz Installing /packages/All/tpm-emulator-0.7.4_2.txz ===> Creating groups. Creating group '_tss' with gid '601'. ===> Creating users Creating user '_tss' with uid '601'. Installing /packages/All/trousers-0.3.14_2.txz ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. ===== 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 SUCCEEDED 00:00:15 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- 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 ------------------------------------------------------------------------------- ===> 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:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> 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 ------------------------------------------------------------------------------- ===> 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 ===> 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:01 ------------------------------------------------------------------------------- -- 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 ===> Cleanly applied ports patch(es) patch-dist-openssl.cnf.sample patch-src-e_tpm.c patch-src-e_tpm.h patch-src-e_tpm_err.c /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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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.69 - found ===> openssl_tpm_engine-0.5.0_2 depends on package: automake>=1.16.1 - found ===> openssl_tpm_engine-0.5.0_2 depends on executable: libtoolize - 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.69 - found ===> openssl_tpm_engine-0.5.0_2 depends on package: automake>=1.16.1 - found ===> openssl_tpm_engine-0.5.0_2 depends on executable: libtoolize - 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: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.9 checking host system type... x86_64-portbld-dragonfly5.9 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.9 file names to x86_64-portbld-dragonfly5.9 format... func_convert_file_noop checking how to convert x86_64-portbld-dragonfly5.9 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.9 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:12 ------------------------------------------------------------------------------- -- 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 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.lo -MD -MP -MF .deps/e_tpm.Tpo -c e_tpm.c -fPIC -DPIC -o .libs/e_tpm.o 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 '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; ^ mv -f .deps/e_tpm_err.Tpo .deps/e_tpm_err.Plo 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/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' SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- 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:00 ------------------------------------------------------------------------------- -- 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/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 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for openssl_tpm_engine-0.5.0_2 file sizes/checksums [2]: 0% file sizes/checksums [2]: 100% packing files [2]: 0% packing files [2]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:31