=> Building security/openssl_tpm_engine build started at Sun Oct 9 13:12:54 PDT 2016 port directory: /usr/ports/security/openssl_tpm_engine building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: hrs@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../05//usr/ports/security/openssl_tpm_engine/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400600 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release46-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=openssl_tpm_engine-0.4.2_4 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release46-default/ref/.p/pool MASTERNAME=Release46-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for openssl_tpm_engine-0.4.2_4: EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/security/openssl_tpm_engine XDG_CONFIG_HOME=/wrkdirs/security/openssl_tpm_engine HOME=/wrkdirs/security/openssl_tpm_engine TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/security/openssl_tpm_engine XDG_CONFIG_HOME=/wrkdirs/security/openssl_tpm_engine HOME=/wrkdirs/security/openssl_tpm_engine TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/lib -lcrypto -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" 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" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/openssl_tpm_engine DOCSDIR=/usr/local/share/doc/openssl_tpm_engine EXAMPLESDIR=/usr/local/share/examples/openssl_tpm_engine WWWDIR=/usr/local/www/openssl_tpm_engine ETCDIR=/usr/local/etc/openssl_tpm_engine --End SUB_LIST-- ---Begin make.conf--- NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License OpenSSL accepted by the user =========================================================================== =================================================== ===> openssl_tpm_engine-0.4.2_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> openssl_tpm_engine-0.4.2_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of openssl_tpm_engine-0.4.2_4 =========================================================================== =================================================== =========================================================================== =================================================== ===> License OpenSSL accepted by the user ===> Fetching all distfiles required by openssl_tpm_engine-0.4.2_4 for building =========================================================================== =================================================== ===> License OpenSSL accepted by the user ===> Fetching all distfiles required by openssl_tpm_engine-0.4.2_4 for building => SHA256 Checksum OK for openssl_tpm_engine-0.4.2.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License OpenSSL accepted by the user ===> Fetching all distfiles required by openssl_tpm_engine-0.4.2_4 for building ===> Extracting for openssl_tpm_engine-0.4.2_4 => SHA256 Checksum OK for openssl_tpm_engine-0.4.2.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for openssl_tpm_engine-0.4.2_4 ===> Applying ports patches for openssl_tpm_engine-0.4.2_4 =========================================================================== =================================================== ===> openssl_tpm_engine-0.4.2_4 depends on executable: autoconf-2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_1.txz Installing autoconf-2.69_1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: ........ done `-- Installing perl5-5.20.3_15... `-- Extracting perl5-5.20.3_15: .......... done `-- Installing m4-1.4.17_1,1... `-- Extracting m4-1.4.17_1,1: .......... done Extracting autoconf-2.69_1: .......... done Message from perl5-5.20.3_15: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> openssl_tpm_engine-0.4.2_4 depends on executable: autoconf-2.69 - found ===> Returning to build of openssl_tpm_engine-0.4.2_4 ===> openssl_tpm_engine-0.4.2_4 depends on executable: autoheader-2.69 - found ===> openssl_tpm_engine-0.4.2_4 depends on executable: autoreconf-2.69 - found ===> openssl_tpm_engine-0.4.2_4 depends on executable: aclocal-1.15 - not found ===> Installing existing package /packages/All/automake-1.15_1.txz Installing automake-1.15_1... `-- Installing automake-wrapper-20131203... `-- Extracting automake-wrapper-20131203: ... done Extracting automake-1.15_1: .......... done ===> openssl_tpm_engine-0.4.2_4 depends on executable: aclocal-1.15 - found ===> Returning to build of openssl_tpm_engine-0.4.2_4 ===> openssl_tpm_engine-0.4.2_4 depends on executable: automake-1.15 - found ===> openssl_tpm_engine-0.4.2_4 depends on executable: libtoolize - not found ===> Installing existing package /packages/All/libtool-2.4.6.txz Installing libtool-2.4.6... Extracting libtool-2.4.6: .......... done ===> openssl_tpm_engine-0.4.2_4 depends on executable: libtoolize - found ===> Returning to build of openssl_tpm_engine-0.4.2_4 ===> openssl_tpm_engine-0.4.2_4 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done Extracting gmake-4.2.1_1: .......... done ===> openssl_tpm_engine-0.4.2_4 depends on executable: gmake - found ===> Returning to build of openssl_tpm_engine-0.4.2_4 =========================================================================== =================================================== ===> openssl_tpm_engine-0.4.2_4 depends on shared library: libtspi.so - not found ===> Installing existing package /packages/All/trousers-0.3.13_1.txz Installing trousers-0.3.13_1... `-- Installing tpm-emulator-0.7.4_1... | `-- Installing gmp-5.1.3_3... | `-- Extracting gmp-5.1.3_3: .......... done ===> Creating groups. Creating group '_tss' with gid '601'. ===> Creating users Creating user '_tss' with uid '601'. `-- Extracting tpm-emulator-0.7.4_1: ......... done ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. Extracting trousers-0.3.13_1: .......... done Message from trousers-0.3.13_1: To run tcsd automatically, add the following line to /etc/rc.conf: tcsd_enable="YES" You might want to edit /usr/local/etc/tcsd.conf to reflect your setup. If you want to use tcsd with software TPM emulator, use the following configuration in /etc/rc.conf: tcsd_enable="YES" tcsd_mode="emulator" tpmd_enable="YES" To use TPM, add your_account to '_tss' group like following: # pw groupmod _tss -m your_account ===> openssl_tpm_engine-0.4.2_4 depends on shared library: libtspi.so - found (/usr/local/lib/libtspi.so) ===> Returning to build of openssl_tpm_engine-0.4.2_4 =========================================================================== =================================================== ===> Configuring for openssl_tpm_engine-0.4.2_4 aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:48: installing './compile' configure.in: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 automake-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in' Makefile.am: installing './depcomp' configure: loading site script /usr/ports/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... 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 whether cc understands -c and -o together... yes checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking build system type... x86_64-portbld-dragonfly4.6 checking host system type... x86_64-portbld-dragonfly4.6 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-dragonfly4.6 file names to x86_64-portbld-dragonfly4.6 format... func_convert_file_noop checking how to convert x86_64-portbld-dragonfly4.6 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... dragonfly4.6 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 that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating test/Makefile config.status: executing depfiles commands config.status: executing libtool commands CFLAGS=-pipe -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -Wall =========================================================================== =================================================== ===> Building for openssl_tpm_engine-0.4.2_4 gmake[1]: Entering directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' Making all in . gmake[2]: Entering directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' /bin/sh ./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. -pipe -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -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.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. -pipe -I/usr/include -I/usr/local/include -O2 -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 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. -pipe -I/usr/include -I/usr/local/include -O2 -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 mv -f .deps/create_tpm_key.Tpo .deps/create_tpm_key.Po /bin/sh ./libtool --tag=CC --mode=link cc -pipe -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -Wall -L/usr/lib -lcrypto -L/usr/local/lib -o create_tpm_key create_tpm_key.o -ltspi libtool: link: cc -pipe -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -Wall -o create_tpm_key create_tpm_key.o -L/usr/lib -lcrypto -L/usr/local/lib -ltspi 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. -pipe -I/usr/include -I/usr/local/include -O2 -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 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. -pipe -I/usr/include -I/usr/local/include -O2 -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 e_tpm.c:100:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] tpm_rsa_pub_enc, ^ e_tpm.c:100:2: note: (near initialization for 'tpm_rsa.rsa_pub_enc') e_tpm.c:101:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] tpm_rsa_pub_dec, ^ e_tpm.c:101:2: note: (near initialization for 'tpm_rsa.rsa_pub_dec') e_tpm.c:102:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] tpm_rsa_priv_enc, ^ e_tpm.c:102:2: note: (near initialization for 'tpm_rsa.rsa_priv_enc') e_tpm.c:103:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] tpm_rsa_priv_dec, ^ e_tpm.c:103:2: note: (near initialization for 'tpm_rsa.rsa_priv_dec') e_tpm.c: In function 'BIO_from_nvram': e_tpm.c:613:11: warning: implicit declaration of function 'p_tspi_Context_CreateObject' [-Wimplicit-function-declaration] result = p_tspi_Context_CreateObject(hContext, TSS_OBJECT_TYPE_NV, 0, ^ e_tpm.c:623:11: warning: implicit declaration of function 'p_tspi_SetAttribUint32' [-Wimplicit-function-declaration] result = p_tspi_SetAttribUint32(hNVStore, TSS_TSPATTRIB_NV_INDEX, 0, ^ e_tpm.c:632:11: warning: implicit declaration of function 'p_tspi_NV_ReadValue' [-Wimplicit-function-declaration] result = p_tspi_NV_ReadValue(hNVStore, 0, &length, &dataRead); ^ e_tpm.c:634:2: warning: implicit declaration of function 'p_tspi_Context_FreeMemory' [-Wimplicit-function-declaration] p_tspi_Context_FreeMemory(hContext, dataRead); ^ e_tpm.c: In function 'tpm_quote': e_tpm.c:866:15: warning: implicit declaration of function 'p_tspi_PcrComposite_SelectPcrIndex' [-Wimplicit-function-declaration] result = p_tspi_PcrComposite_SelectPcrIndex(hPcrComposite, i); ^ e_tpm.c:876:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tssVal.rgbExternalData = request->nonce; ^ e_tpm.c:879:11: warning: implicit declaration of function 'p_tspi_TPM_Quote' [-Wimplicit-function-declaration] result = p_tspi_TPM_Quote(hTPM, app_data->hKey, hPcrComposite, &tssVal); ^ e_tpm.c:890:2: warning: implicit declaration of function 'p_tspi_Context_CloseObject' [-Wimplicit-function-declaration] p_tspi_Context_CloseObject(hContext, hPcrComposite); ^ e_tpm.c: In function 'tpm_rand_seed': e_tpm.c:1430:48: warning: passing argument 3 of 'Tspi_TPM_StirRandom' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((result = Tspi_TPM_StirRandom(hTPM, 255, buf + total_stirred))) { ^ In file included from e_tpm.c:35:0: /usr/local/include/tss/tspi.h:457:10: note: expected 'BYTE * {aka unsigned char *}' but argument is of type 'const void *' TSPICALL Tspi_TPM_StirRandom ^ e_tpm.c:1438:63: warning: passing argument 3 of 'Tspi_TPM_StirRandom' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((result = Tspi_TPM_StirRandom(hTPM, num - total_stirred, buf + total_stirred))) { ^ In file included from e_tpm.c:35:0: /usr/local/include/tss/tspi.h:457:10: note: expected 'BYTE * {aka unsigned char *}' but argument is of type 'const void *' TSPICALL Tspi_TPM_StirRandom ^ mv -f .deps/e_tpm_err.Tpo .deps/e_tpm_err.Plo e_tpm.c: In function 'tpm_load_srk': e_tpm.c:339: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 -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -Wall -L/usr/lib -lcrypto -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 -L/usr/lib -L/usr/local/lib -lcrypto -ltspi -O2 -Wl,-soname -Wl,libtpm.so.0 -o .libs/libtpm.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libtpm.so.0" && ln -s "libtpm.so.0.0.0" "libtpm.so.0") libtool: link: (cd ".libs" && rm -f "libtpm.so" && ln -s "libtpm.so.0.0.0" "libtpm.so") libtool: link: ( cd ".libs" && rm -f "libtpm.la" && ln -s "../libtpm.la" "libtpm.la" ) gmake[2]: Leaving directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' Making all in test gmake[2]: Entering directory '/wrkdirs/security/openssl_tpm_engine/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. -pipe -I/usr/include -I/usr/local/include -O2 -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:17: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign] if (RAND_bytes(data_to_sign, sizeof(data_to_sign)) != 1) { ^ In file included from /usr/include/openssl/engine.h:91:0, from engine_key_loading.c:24: /usr/include/openssl/rand.h:101:5: note: expected 'unsigned char *' but argument is of type 'char *' int RAND_bytes(unsigned char *buf, int num); ^ engine_key_loading.c:91:59: warning: pointer targets in passing argument 2 of 'RSA_public_encrypt' differ in signedness [-Wpointer-sign] if ((sig_size = RSA_public_encrypt(sizeof(data_to_sign), data_to_sign, ^ In file included from /usr/include/openssl/engine.h:77:0, from engine_key_loading.c:24: /usr/include/openssl/rsa.h:311:5: note: expected 'const unsigned char *' but argument is of type 'char *' int RSA_public_encrypt(int flen, const unsigned char *from, ^ engine_key_loading.c:92:9: warning: pointer targets in passing argument 3 of 'RSA_public_encrypt' differ in signedness [-Wpointer-sign] signature, rsa, RSA_PKCS1_PADDING)) == -1) { ^ In file included from /usr/include/openssl/engine.h:77:0, from engine_key_loading.c:24: /usr/include/openssl/rsa.h:311:5: note: expected 'unsigned char *' but argument is of type 'char *' int RSA_public_encrypt(int flen, const unsigned char *from, ^ engine_key_loading.c:99:48: warning: pointer targets in passing argument 2 of 'RSA_private_decrypt' differ in signedness [-Wpointer-sign] if ((sig_size = RSA_private_decrypt(sig_size, signature, data_recovered, ^ In file included from /usr/include/openssl/engine.h:77:0, from engine_key_loading.c:24: /usr/include/openssl/rsa.h:317:5: note: expected 'const unsigned char *' but argument is of type 'char *' int RSA_private_decrypt(int flen, const unsigned char *from, ^ engine_key_loading.c:99:59: warning: pointer targets in passing argument 3 of 'RSA_private_decrypt' differ in signedness [-Wpointer-sign] if ((sig_size = RSA_private_decrypt(sig_size, signature, data_recovered, ^ In file included from /usr/include/openssl/engine.h:77:0, from engine_key_loading.c:24: /usr/include/openssl/rsa.h:317:5: note: expected 'unsigned char *' but argument is of type 'char *' int RSA_private_decrypt(int flen, const unsigned char *from, ^ engine_key_loading.c:114:60: warning: pointer targets in passing argument 2 of 'RSA_private_encrypt' differ in signedness [-Wpointer-sign] if ((sig_size = RSA_private_encrypt(sizeof(data_to_sign), data_to_sign, ^ In file included from /usr/include/openssl/engine.h:77:0, from engine_key_loading.c:24: /usr/include/openssl/rsa.h:313:5: note: expected 'const unsigned char *' but argument is of type 'char *' int RSA_private_encrypt(int flen, const unsigned char *from, ^ engine_key_loading.c:115:10: warning: pointer targets in passing argument 3 of 'RSA_private_encrypt' differ in signedness [-Wpointer-sign] signature, rsa, RSA_PKCS1_PADDING)) == -1) { ^ In file included from /usr/include/openssl/engine.h:77:0, from engine_key_loading.c:24: /usr/include/openssl/rsa.h:313:5: note: expected 'unsigned char *' but argument is of type 'char *' int RSA_private_encrypt(int flen, const unsigned char *from, ^ engine_key_loading.c:122:47: warning: pointer targets in passing argument 2 of 'RSA_public_decrypt' differ in signedness [-Wpointer-sign] if ((sig_size = RSA_public_decrypt(sig_size, signature, data_recovered, ^ In file included from /usr/include/openssl/engine.h:77:0, from engine_key_loading.c:24: /usr/include/openssl/rsa.h:315:5: note: expected 'const unsigned char *' but argument is of type 'char *' int RSA_public_decrypt(int flen, const unsigned char *from, ^ engine_key_loading.c:122:58: warning: pointer targets in passing argument 3 of 'RSA_public_decrypt' differ in signedness [-Wpointer-sign] if ((sig_size = RSA_public_decrypt(sig_size, signature, data_recovered, ^ In file included from /usr/include/openssl/engine.h:77:0, from engine_key_loading.c:24: /usr/include/openssl/rsa.h:315:5: note: expected 'unsigned char *' but argument is of type 'char *' int RSA_public_decrypt(int flen, const unsigned char *from, ^ mv -f .deps/engine_key_loading.Tpo .deps/engine_key_loading.Po /bin/sh ../libtool --tag=CC --mode=link cc -pipe -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -Wall -L/usr/lib -lcrypto -L/usr/local/lib -o engine_key_loading engine_key_loading.o -ltspi -lcrypto libtool: link: cc -pipe -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -Wall -o engine_key_loading engine_key_loading.o -L/usr/lib -L/usr/local/lib -ltspi -lcrypto gmake[2]: Leaving directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/test' gmake[1]: Leaving directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' =========================================================================== =================================================== ===> openssl_tpm_engine-0.4.2_4 depends on file: /usr/local/sbin/tcsd - found =========================================================================== =================================================== ===> Staging for openssl_tpm_engine-0.4.2_4 ===> Generating temporary packing list gmake[1]: Entering directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' if test -z 'strip'; then \ gmake INSTALL_PROGRAM="/bin/sh /wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/install-sh -c -s" \ install_sh_PROGRAM="/bin/sh /wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ install; \ else \ gmake INSTALL_PROGRAM="/bin/sh /wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/install-sh -c -s" \ install_sh_PROGRAM="/bin/sh /wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; \ fi gmake[2]: Entering directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' Making install in . gmake[3]: Entering directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' gmake[4]: Entering directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' /bin/mkdir -p '/wrkdirs/security/openssl_tpm_engine/stage/usr/local/bin' STRIPPROG='strip' /bin/sh ./libtool --mode=install /bin/sh /wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/install-sh -c -s create_tpm_key '/wrkdirs/security/openssl_tpm_engine/stage/usr/local/bin' libtool: install: /bin/sh /wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/install-sh -c -s create_tpm_key /wrkdirs/security/openssl_tpm_engine/stage/usr/local/bin/create_tpm_key /bin/mkdir -p '/wrkdirs/security/openssl_tpm_engine/stage/usr/local/lib/openssl/engines' /bin/sh ./libtool --mode=install /usr/bin/install -c -s libtpm.la '/wrkdirs/security/openssl_tpm_engine/stage/usr/local/lib/openssl/engines' libtool: install: /usr/bin/install -c .libs/libtpm.so.0.0.0 /wrkdirs/security/openssl_tpm_engine/stage/usr/local/lib/openssl/engines/libtpm.so.0.0.0 libtool: install: strip --strip-unneeded /wrkdirs/security/openssl_tpm_engine/stage/usr/local/lib/openssl/engines/libtpm.so.0.0.0 libtool: install: (cd /wrkdirs/security/openssl_tpm_engine/stage/usr/local/lib/openssl/engines && { ln -s -f libtpm.so.0.0.0 libtpm.so.0 || { rm -f libtpm.so.0 && ln -s libtpm.so.0.0.0 libtpm.so.0; }; }) libtool: install: (cd /wrkdirs/security/openssl_tpm_engine/stage/usr/local/lib/openssl/engines && { ln -s -f libtpm.so.0.0.0 libtpm.so || { rm -f libtpm.so && ln -s libtpm.so.0.0.0 libtpm.so; }; }) libtool: install: /usr/bin/install -c .libs/libtpm.lai /wrkdirs/security/openssl_tpm_engine/stage/usr/local/lib/openssl/engines/libtpm.la libtool: warning: remember to run 'libtool --finish /usr/local/lib/openssl/engines' gmake[4]: Leaving directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' gmake[3]: Leaving directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' Making install in test gmake[3]: Entering directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/test' gmake[4]: Entering directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/test' gmake[4]: Nothing to be done for 'install-exec-am'. gmake[4]: Nothing to be done for 'install-data-am'. gmake[4]: Leaving directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/test' gmake[3]: Leaving directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/test' gmake[2]: Leaving directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' gmake[1]: Leaving directory '/wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2' install -m 0644 /wrkdirs/security/openssl_tpm_engine/openssl_tpm_engine-0.4.2/openssl.cnf.sample /wrkdirs/security/openssl_tpm_engine/stage/usr/local/share/examples/openssl_tpm_engine ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for openssl_tpm_engine-0.4.2_4 file sizes/checksums [8]: . done packing files [8]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for openssl_tpm_engine-0.4.2_4 build of security/openssl_tpm_engine ended at Sun Oct 9 13:13:31 PDT 2016 build time: 00:00:37