=> Building security/tpm-tools Started : Wednesday, 10 JUL 2019 at 18:08:45 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.4-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.4-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/security/tpm-tools XDG_CONFIG_HOME=/construction/security/tpm-tools HOME=/construction/security/tpm-tools TMPDIR="/tmp" PATH=/construction/security/tpm-tools/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/security/tpm-tools XDG_CONFIG_HOME=/construction/security/tpm-tools HOME=/construction/security/tpm-tools TMPDIR="/tmp" PATH=/construction/security/tpm-tools/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG" LDFLAGS=" -Wl,-rpath,/usr/local/lib " LIBS="-L/usr/local/lib -lintl" CXX="c++" CXXFLAGS=" -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -DLIBICONV_PLUG " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/security/tpm-tools/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/tpm-tools" EXAMPLESDIR="share/examples/tpm-tools" DATADIR="share/tpm-tools" WWWDIR="www/tpm-tools" ETCDIR="etc/tpm-tools" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/tpm-tools DOCSDIR=/usr/local/share/doc/tpm-tools EXAMPLESDIR=/usr/local/share/examples/tpm-tools WWWDIR=/usr/local/www/tpm-tools ETCDIR=/usr/local/etc/tpm-tools -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.4 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500400 OSVERSION=9999999 OSREL=5.4 _OSRELEASE=5.4-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License CPL accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> tpm-tools-1.3.9.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> tpm-tools-1.3.9.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of tpm-tools-1.3.9.1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License CPL accepted by the user ===> Fetching all distfiles required by tpm-tools-1.3.9.1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License CPL accepted by the user ===> Fetching all distfiles required by tpm-tools-1.3.9.1 for building => SHA256 Checksum OK for tpm-tools-1.3.9.1.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License CPL accepted by the user ===> Fetching all distfiles required by tpm-tools-1.3.9.1 for building ===> Extracting for tpm-tools-1.3.9.1 ===> License CPL accepted by the user ===> Fetching all distfiles required by tpm-tools-1.3.9.1 for building => SHA256 Checksum OK for tpm-tools-1.3.9.1.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for tpm-tools-1.3.9.1 ===> Applying ports patches for tpm-tools-1.3.9.1 /usr/bin/sed -i.bak -e 's/-Werror[[:>:]]//g' /construction/security/tpm-tools/tpm-tools-1.3.9.1/configure -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> tpm-tools-1.3.9.1 depends on file: /usr/local/sbin/pkcsconf - not found ===> Installing existing package /packages/All/opencryptoki-3.11.0.txz Installing opencryptoki-3.11.0... `-- Installing libressl-2.9.2... `-- Extracting libressl-2.9.2: .......... done `-- Installing openldap-client-2.4.47... `-- Extracting openldap-client-2.4.47: .......... done `-- Installing trousers-0.3.14_2... | `-- Installing tpm-emulator-0.7.4_2... | | `-- Installing gmp-6.1.2_1... | | `-- Installing indexinfo-0.3.1... | | `-- Extracting indexinfo-0.3.1: .... done | | `-- Extracting gmp-6.1.2_1: .......... done ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. | `-- Extracting tpm-emulator-0.7.4_2: ......... done ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. `-- Extracting trousers-0.3.14_2: .......... done ===> Creating groups. Creating group '_pkcs11' with gid '602'. ===> Creating users Creating user '_pkcs11' with uid '602'. Extracting opencryptoki-3.11.0: ......... done Message from openldap-client-2.4.47: ************************************************************ The OpenLDAP client package has been successfully installed. Edit /usr/local/etc/openldap/ldap.conf to change the system-wide client defaults. Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at http://www.OpenLDAP.org/faq/index.cgi?file=3 for more information. ************************************************************ 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 Message from opencryptoki-3.11.0: To run pkcsslotd automatically, add the following line to /etc/rc.conf pkcsslotd_enable="YES" To use PKCS#11 token, add your_account to '_pkcs11': # pw groupmod _pkcs11 -m your_account ===> tpm-tools-1.3.9.1 depends on file: /usr/local/sbin/pkcsconf - found ===> Returning to build of tpm-tools-1.3.9.1 ===> tpm-tools-1.3.9.1 depends on package: autoconf>=2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_2.txz Installing autoconf-2.69_2... `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: .......... done `-- Installing m4-1.4.18_1,1... `-- Extracting m4-1.4.18_1,1: .......... done `-- Installing perl5-5.28.2... `-- Extracting perl5-5.28.2: .......... done Extracting autoconf-2.69_2: .......... done Message from perl5-5.28.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. ===> tpm-tools-1.3.9.1 depends on package: autoconf>=2.69 - found ===> Returning to build of tpm-tools-1.3.9.1 ===> tpm-tools-1.3.9.1 depends on package: automake>=1.16.1 - not found ===> Installing existing package /packages/All/automake-1.16.1_1.txz Installing automake-1.16.1_1... Extracting automake-1.16.1_1: .......... done ===> tpm-tools-1.3.9.1 depends on package: automake>=1.16.1 - found ===> Returning to build of tpm-tools-1.3.9.1 ===> tpm-tools-1.3.9.1 depends on executable: libtoolize - not found ===> Installing existing package /packages/All/libtool-2.4.6_1.txz Installing libtool-2.4.6_1... Extracting libtool-2.4.6_1: .......... done ===> tpm-tools-1.3.9.1 depends on executable: libtoolize - found ===> Returning to build of tpm-tools-1.3.9.1 ===> tpm-tools-1.3.9.1 depends on executable: msgfmt - not found ===> Installing existing package /packages/All/gettext-tools-0.20.1.txz Installing gettext-tools-0.20.1... `-- Installing gettext-runtime-0.20.1... `-- Extracting gettext-runtime-0.20.1: .......... done `-- Installing libtextstyle-0.20.1... | `-- Installing ncurses-6.1.20190525... | `-- Extracting ncurses-6.1.20190525: .......... done `-- Extracting libtextstyle-0.20.1: .......... done Extracting gettext-tools-0.20.1: .......... done ===> tpm-tools-1.3.9.1 depends on executable: msgfmt - found ===> Returning to build of tpm-tools-1.3.9.1 ===> tpm-tools-1.3.9.1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... Extracting gmake-4.2.1_3: .......... done ===> tpm-tools-1.3.9.1 depends on executable: gmake - found ===> Returning to build of tpm-tools-1.3.9.1 ===> tpm-tools-1.3.9.1 depends on file: /usr/local/lib/libcrypto.so.45 - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> tpm-tools-1.3.9.1 depends on shared library: libtspi.so - found (/usr/local/lib/libtspi.so) ===> tpm-tools-1.3.9.1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for tpm-tools-1.3.9.1 configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:62: the top level configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:62: the top level configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:62: the top level configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:62: the top level configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:62: the top level configure.ac:62: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:62: the top level libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:70: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. configure.ac:70: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:70: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. configure.ac:60: installing './compile' configure.ac:31: installing './missing' lib/Makefile.am: installing './depcomp' configure: loading site script /xports/Templates/config.site checking build system type... x86_64-portbld-dragonfly5.4 checking host system type... x86_64-portbld-dragonfly5.4 checking target system type... x86_64-portbld-dragonfly5.4 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 for debug-enabled build... 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 whether gmake supports the include directive... yes (GNU style) checking dependency style of cc... gcc3 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.4 file names to x86_64-portbld-dragonfly5.4 format... func_convert_file_noop checking how to convert x86_64-portbld-dragonfly5.4 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.4 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... yes checking for cp... cp checking for echo... printf %s\n checking for mkdir... mkdir checking for rm... rm -f checking whether NLS is requested... yes checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... no checking for iconv... yes checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib checking Non-standard OpenSSL location... no checking for Tspi_Context_Create in -ltspi... yes checking for Tspi_TPM_SetOperatorAuth in -ltspi... yes configure: Configuring tpm-tools for TSS 1.2 checking trousers/tss.h usability... yes checking trousers/tss.h presence... yes checking for trousers/tss.h... yes checking for PEM_read_X509 in -lcrypto... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking opencryptoki/pkcs11.h usability... yes checking opencryptoki/pkcs11.h presence... yes checking for opencryptoki/pkcs11.h... yes checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for long file names... (cached) yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... void checking for uid_t in sys/types.h... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating m4/Makefile config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating src/tpm_mgmt/Makefile config.status: creating src/cmds/Makefile config.status: creating src/data_mgmt/Makefile config.status: creating dist/tpm-tools.spec config.status: creating man/Makefile config.status: creating man/man1/Makefile config.status: creating man/man3/Makefile config.status: creating man/man8/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile CFLAGS=-pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare LDFLAGS= -Wl,-rpath,/usr/local/lib -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for tpm-tools-1.3.9.1 gmake[2]: Entering directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1' gmake all-recursive gmake[3]: Entering directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1' Making all in m4 gmake[4]: Entering directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/m4' gmake[4]: Nothing to be done for 'all'. gmake[4]: Leaving directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/m4' Making all in include gmake[4]: Entering directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/include' gmake[4]: Nothing to be done for 'all'. gmake[4]: Leaving directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/include' Making all in lib gmake[4]: Entering directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/lib' /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_unseal.lo -MD -MP -MF .deps/tpm_unseal.Tpo -c -o tpm_unseal.lo tpm_unseal.c /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_tspi.lo -MD -MP -MF .deps/tpm_tspi.Tpo -c -o tpm_tspi.lo tpm_tspi.c /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_utils.lo -MD -MP -MF .deps/tpm_utils.Tpo -c -o tpm_utils.lo tpm_utils.c /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_log.lo -MD -MP -MF .deps/tpm_log.Tpo -c -o tpm_log.lo tpm_log.c /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_pkcs11.lo -MD -MP -MF .deps/tpm_pkcs11.Tpo -c -o tpm_pkcs11.lo tpm_pkcs11.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_log.lo -MD -MP -MF .deps/tpm_log.Tpo -c tpm_log.c -fPIC -DPIC -o .libs/tpm_log.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_utils.lo -MD -MP -MF .deps/tpm_utils.Tpo -c tpm_utils.c -fPIC -DPIC -o .libs/tpm_utils.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_unseal.lo -MD -MP -MF .deps/tpm_unseal.Tpo -c tpm_unseal.c -fPIC -DPIC -o .libs/tpm_unseal.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_log.lo -MD -MP -MF .deps/tpm_log.Tpo -c tpm_log.c -o tpm_log.o >/dev/null 2>&1 In file included from /usr/local/include/openssl/evp.h:67, from tpm_unseal.c:31: tpm_unseal.c: In function 'tpmUnsealFile': /usr/local/include/openssl/bio.h:530:23: warning: value computed is not used [-Wunused-value] #define BIO_reset(b) (int)BIO_ctrl(b,BIO_CTRL_RESET,0,NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tpm_unseal.c:433:2: note: in expansion of macro 'BIO_reset' BIO_reset(bmem); ^~~~~~~~~ /usr/local/include/openssl/bio.h:532:28: warning: value computed is not used [-Wunused-value] #define BIO_set_close(b,c) (int)BIO_ctrl(b,BIO_CTRL_SET_CLOSE,(c),NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tpm_unseal.c:447:3: note: in expansion of macro 'BIO_set_close' BIO_set_close(bmem, BIO_CLOSE); ^~~~~~~~~~~~~ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_pkcs11.lo -MD -MP -MF .deps/tpm_pkcs11.Tpo -c tpm_pkcs11.c -fPIC -DPIC -o .libs/tpm_pkcs11.o tpm_pkcs11.c: In function 'pkcsSlotInfo': tpm_pkcs11.c:91:10: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] sizeof( a_ptSlotInfo->slotDescription ) ); ^ tpm_pkcs11.c:93:10: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] sizeof( a_ptSlotInfo->manufacturerID ) ); ^ tpm_pkcs11.c: In function 'pkcsTokenInfo': tpm_pkcs11.c:119:10: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] sizeof( a_ptTokenInfo->label ) ); ^ tpm_pkcs11.c:121:10: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] sizeof( a_ptTokenInfo->manufacturerID ) ); ^ tpm_pkcs11.c:123:10: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] sizeof( a_ptTokenInfo->model ) ); ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_tspi.lo -MD -MP -MF .deps/tpm_tspi.Tpo -c tpm_tspi.c -fPIC -DPIC -o .libs/tpm_tspi.o mv -f .deps/tpm_log.Tpo .deps/tpm_log.Plo libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_tspi.lo -MD -MP -MF .deps/tpm_tspi.Tpo -c tpm_tspi.c -o tpm_tspi.o >/dev/null 2>&1 libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_utils.lo -MD -MP -MF .deps/tpm_utils.Tpo -c tpm_utils.c -o tpm_utils.o >/dev/null 2>&1 mv -f .deps/tpm_tspi.Tpo .deps/tpm_tspi.Plo libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_unseal.lo -MD -MP -MF .deps/tpm_unseal.Tpo -c tpm_unseal.c -o tpm_unseal.o >/dev/null 2>&1 mv -f .deps/tpm_utils.Tpo .deps/tpm_utils.Plo /bin/sh ../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o libtpm_utils.la tpm_utils.lo tpm_log.lo -L/usr/local/lib -lintl libtool: link: ar cru .libs/libtpm_utils.a .libs/tpm_utils.o .libs/tpm_log.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libtpm_utils.a libtool: link: ( cd ".libs" && rm -f "libtpm_utils.la" && ln -s "../libtpm_utils.la" "libtpm_utils.la" ) /bin/sh ../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o libtpm_tspi.la tpm_tspi.lo libtpm_utils.la /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl mv -f .deps/tpm_unseal.Tpo .deps/tpm_unseal.Plo libtool: link: (cd .libs/libtpm_tspi.lax/libtpm_utils.a && ar x "/construction/security/tpm-tools/tpm-tools-1.3.9.1/lib/./.libs/libtpm_utils.a") libtool: link: ar cru .libs/libtpm_tspi.a .libs/tpm_tspi.o .libs/libtpm_tspi.lax/libtpm_utils.a/tpm_log.o .libs/libtpm_tspi.lax/libtpm_utils.a/tpm_utils.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libtpm_tspi.a libtool: link: rm -fr .libs/libtpm_tspi.lax libtool: link: ( cd ".libs" && rm -f "libtpm_tspi.la" && ln -s "../libtpm_tspi.la" "libtpm_tspi.la" ) /bin/sh ../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -shared -version-info 1:0:0 -Wl,-rpath,/usr/local/lib -o libtpm_unseal.la -rpath /usr/local/lib tpm_unseal.lo -ltspi libtpm_tspi.la -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -shared -fPIC -DPIC .libs/tpm_unseal.o -Wl,--whole-archive ./.libs/libtpm_tspi.a -Wl,--no-whole-archive -ltspi -L/usr/local/lib -lcrypto -lintl -O2 -m64 -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,libtpm_unseal.so.1 -o .libs/libtpm_unseal.so.1.0.0 .libs/tpm_unseal.o:tpm_unseal.c:function tpmUnsealFile: warning: EVP_DecryptFinal is often misused, please use EVP_DecryptFinal_ex and EVP_CIPHER_CTX_cleanup libtool: link: (cd ".libs" && rm -f "libtpm_unseal.so.1" && ln -s "libtpm_unseal.so.1.0.0" "libtpm_unseal.so.1") libtool: link: (cd ".libs" && rm -f "libtpm_unseal.so" && ln -s "libtpm_unseal.so.1.0.0" "libtpm_unseal.so") libtool: link: ( cd ".libs" && rm -f "libtpm_unseal.la" && ln -s "../libtpm_unseal.la" "libtpm_unseal.la" ) libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LINUX -DLOCALEDIR=\"/usr/local/share/locale\" -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_pkcs11.lo -MD -MP -MF .deps/tpm_pkcs11.Tpo -c tpm_pkcs11.c -o tpm_pkcs11.o >/dev/null 2>&1 mv -f .deps/tpm_pkcs11.Tpo .deps/tpm_pkcs11.Plo /bin/sh ../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o libtpm_pkcs11.la tpm_pkcs11.lo libtpm_utils.la /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: (cd .libs/libtpm_pkcs11.lax/libtpm_utils.a && ar x "/construction/security/tpm-tools/tpm-tools-1.3.9.1/lib/./.libs/libtpm_utils.a") libtool: link: ar cru .libs/libtpm_pkcs11.a .libs/tpm_pkcs11.o .libs/libtpm_pkcs11.lax/libtpm_utils.a/tpm_log.o .libs/libtpm_pkcs11.lax/libtpm_utils.a/tpm_utils.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libtpm_pkcs11.a libtool: link: rm -fr .libs/libtpm_pkcs11.lax libtool: link: ( cd ".libs" && rm -f "libtpm_pkcs11.la" && ln -s "../libtpm_pkcs11.la" "libtpm_pkcs11.la" ) gmake[4]: Leaving directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/lib' Making all in src gmake[4]: Entering directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/src' Making all in tpm_mgmt gmake[5]: Entering directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/src/tpm_mgmt' cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_startup.o -MD -MP -MF .deps/tpm_startup.Tpo -c -o tpm_startup.o tpm_startup.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_reset.o -MD -MP -MF .deps/tpm_reset.Tpo -c -o tpm_reset.o tpm_reset.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_changeauth.o -MD -MP -MF .deps/tpm_changeauth.Tpo -c -o tpm_changeauth.o tpm_changeauth.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_clear.o -MD -MP -MF .deps/tpm_clear.Tpo -c -o tpm_clear.o tpm_clear.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_createek.o -MD -MP -MF .deps/tpm_createek.Tpo -c -o tpm_createek.o tpm_createek.c mv -f .deps/tpm_reset.Tpo .deps/tpm_reset.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_getpubek.o -MD -MP -MF .deps/tpm_getpubek.Tpo -c -o tpm_getpubek.o tpm_getpubek.c mv -f .deps/tpm_clear.Tpo .deps/tpm_clear.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_restrictpubek.o -MD -MP -MF .deps/tpm_restrictpubek.Tpo -c -o tpm_restrictpubek.o tpm_restrictpubek.c tpm_createek.c: In function 'parse': tpm_createek.c:69:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(out_filename, aArg, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'parse.part.0', inlined from 'parse': tpm_createek.c:63:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(in_filename, aArg, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/tpm_changeauth.Tpo .deps/tpm_changeauth.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_activate.o -MD -MP -MF .deps/tpm_activate.Tpo -c -o tpm_activate.o tpm_activate.c mv -f .deps/tpm_startup.Tpo .deps/tpm_startup.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_enable.o -MD -MP -MF .deps/tpm_enable.Tpo -c -o tpm_enable.o tpm_enable.c mv -f .deps/tpm_getpubek.Tpo .deps/tpm_getpubek.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_clearable.o -MD -MP -MF .deps/tpm_clearable.Tpo -c -o tpm_clearable.o tpm_clearable.c mv -f .deps/tpm_restrictpubek.Tpo .deps/tpm_restrictpubek.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_ownable.o -MD -MP -MF .deps/tpm_ownable.Tpo -c -o tpm_ownable.o tpm_ownable.c mv -f .deps/tpm_createek.Tpo .deps/tpm_createek.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_present.o -MD -MP -MF .deps/tpm_present.Tpo -c -o tpm_present.o tpm_present.c tpm_present.c: In function 'main': tpm_present.c:359:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (szTpmPasswd && !isWellKnown) ^~ tpm_present.c:361:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return iRc; ^~~~~~ mv -f .deps/tpm_clearable.Tpo .deps/tpm_clearable.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_takeownership.o -MD -MP -MF .deps/tpm_takeownership.Tpo -c -o tpm_takeownership.o tpm_takeownership.c mv -f .deps/tpm_ownable.Tpo .deps/tpm_ownable.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_version.o -MD -MP -MF .deps/tpm_version.Tpo -c -o tpm_version.o tpm_version.c mv -f .deps/tpm_enable.Tpo .deps/tpm_enable.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_selftest.o -MD -MP -MF .deps/tpm_selftest.Tpo -c -o tpm_selftest.o tpm_selftest.c mv -f .deps/tpm_activate.Tpo .deps/tpm_activate.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_nvdefine.o -MD -MP -MF .deps/tpm_nvdefine.Tpo -c -o tpm_nvdefine.o tpm_nvdefine.c mv -f .deps/tpm_takeownership.Tpo .deps/tpm_takeownership.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_nvcommon.o -MD -MP -MF .deps/tpm_nvcommon.Tpo -c -o tpm_nvcommon.o tpm_nvcommon.c mv -f .deps/tpm_selftest.Tpo .deps/tpm_selftest.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_nvinfo.o -MD -MP -MF .deps/tpm_nvinfo.Tpo -c -o tpm_nvinfo.o tpm_nvinfo.c mv -f .deps/tpm_version.Tpo .deps/tpm_version.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_nvread.o -MD -MP -MF .deps/tpm_nvread.Tpo -c -o tpm_nvread.o tpm_nvread.c mv -f .deps/tpm_present.Tpo .deps/tpm_present.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_nvrelease.o -MD -MP -MF .deps/tpm_nvrelease.Tpo -c -o tpm_nvrelease.o tpm_nvrelease.c mv -f .deps/tpm_nvinfo.Tpo .deps/tpm_nvinfo.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_nvwrite.o -MD -MP -MF .deps/tpm_nvwrite.Tpo -c -o tpm_nvwrite.o tpm_nvwrite.c mv -f .deps/tpm_nvdefine.Tpo .deps/tpm_nvdefine.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_resetdalock.o -MD -MP -MF .deps/tpm_resetdalock.Tpo -c -o tpm_resetdalock.o tpm_resetdalock.c mv -f .deps/tpm_resetdalock.Tpo .deps/tpm_resetdalock.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_restrictsrk.o -MD -MP -MF .deps/tpm_restrictsrk.Tpo -c -o tpm_restrictsrk.o tpm_restrictsrk.c mv -f .deps/tpm_nvrelease.Tpo .deps/tpm_nvrelease.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_revokeek.o -MD -MP -MF .deps/tpm_revokeek.Tpo -c -o tpm_revokeek.o tpm_revokeek.c mv -f .deps/tpm_nvread.Tpo .deps/tpm_nvread.Po cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_setoperatorauth.o -MD -MP -MF .deps/tpm_setoperatorauth.Tpo -c -o tpm_setoperatorauth.o tpm_setoperatorauth.c In function 'parse.part.0', inlined from 'parse': tpm_revokeek.c:45:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(in_filename, aArg, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/tpm_nvcommon.Tpo .deps/tpm_nvcommon.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_startup tpm_startup.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl mv -f .deps/tpm_nvwrite.Tpo .deps/tpm_nvwrite.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_reset tpm_reset.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl mv -f .deps/tpm_revokeek.Tpo .deps/tpm_revokeek.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_changeownerauth tpm_changeauth.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl mv -f .deps/tpm_restrictsrk.Tpo .deps/tpm_restrictsrk.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_clear tpm_clear.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_startup tpm_startup.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_createek tpm_createek.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_reset tpm_reset.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl mv -f .deps/tpm_setoperatorauth.Tpo .deps/tpm_setoperatorauth.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_getpubek tpm_getpubek.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_changeownerauth tpm_changeauth.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_restrictpubek tpm_restrictpubek.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_setactive tpm_activate.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_createek tpm_createek.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_setenable tpm_enable.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_clear tpm_clear.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_setclearable tpm_clearable.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_setenable tpm_enable.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_setactive tpm_activate.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_setownable tpm_ownable.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_getpubek tpm_getpubek.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_setpresence tpm_present.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_takeownership tpm_takeownership.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_restrictpubek tpm_restrictpubek.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_version tpm_version.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_setclearable tpm_clearable.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_selftest tpm_selftest.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_takeownership tpm_takeownership.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_setpresence tpm_present.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_setownable tpm_ownable.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_nvdefine tpm_nvdefine.o tpm_nvcommon.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_nvinfo tpm_nvinfo.o tpm_nvcommon.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_nvread tpm_nvread.o tpm_nvcommon.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_nvdefine tpm_nvdefine.o tpm_nvcommon.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_version tpm_version.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_nvread tpm_nvread.o tpm_nvcommon.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_nvrelease tpm_nvrelease.o tpm_nvcommon.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_selftest tpm_selftest.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_nvwrite tpm_nvwrite.o tpm_nvcommon.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_nvinfo tpm_nvinfo.o tpm_nvcommon.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_resetdalock tpm_resetdalock.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_restrictsrk tpm_restrictsrk.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_revokeek tpm_revokeek.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_nvwrite tpm_nvwrite.o tpm_nvcommon.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_setoperatorauth tpm_setoperatorauth.o ../../lib/libtpm_tspi.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_nvrelease tpm_nvrelease.o tpm_nvcommon.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_revokeek tpm_revokeek.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_restrictsrk tpm_restrictsrk.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_resetdalock tpm_resetdalock.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpm_setoperatorauth tpm_setoperatorauth.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib -ltspi -lintl gmake[5]: Leaving directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/src/tpm_mgmt' Making all in cmds gmake[5]: Entering directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/src/cmds' cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_sealdata.o -MD -MP -MF .deps/tpm_sealdata.Tpo -c -o tpm_sealdata.o tpm_sealdata.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12 -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT tpm_unsealdata.o -MD -MP -MF .deps/tpm_unsealdata.Tpo -c -o tpm_unsealdata.o tpm_unsealdata.c tpm_unsealdata.c: In function 'parse': tpm_unsealdata.c:56:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(out_filename, aArg, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'parse.part.0', inlined from 'parse': tpm_unsealdata.c:50:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(in_filename, aArg, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tpm_sealdata.c: In function 'parse': tpm_sealdata.c:66:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(out_filename, aArg, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tpm_sealdata.c:60:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(in_filename, aArg, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/tpm_unsealdata.Tpo .deps/tpm_unsealdata.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_unsealdata tpm_unsealdata.o ../../lib/libtpm_tspi.la -ltspi ../../lib/libtpm_unseal.la -ltpm_unseal -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o .libs/tpm_unsealdata tpm_unsealdata.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib ../../lib/.libs/libtpm_unseal.so -ltspi -lcrypto -lintl -Wl,-rpath -Wl,/usr/local/lib mv -f .deps/tpm_sealdata.Tpo .deps/tpm_sealdata.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpm_sealdata tpm_sealdata.o ../../lib/libtpm_tspi.la -ltspi ../../lib/libtpm_unseal.la -ltpm_unseal -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o .libs/tpm_sealdata tpm_sealdata.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_tspi.a -L/usr/local/lib ../../lib/.libs/libtpm_unseal.so -ltspi -lcrypto -lintl -Wl,-rpath -Wl,/usr/local/lib tpm_sealdata.o:tpm_sealdata.c:function main: warning: EVP_EncryptFinal is often misused, please use EVP_EncryptFinal_ex and EVP_CIPHER_CTX_cleanup gmake[5]: Leaving directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/src/cmds' Making all in data_mgmt gmake[5]: Entering directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/src/data_mgmt' cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT data_init.o -MD -MP -MF .deps/data_init.Tpo -c -o data_init.o data_init.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT data_passwd.o -MD -MP -MF .deps/data_passwd.Tpo -c -o data_passwd.o data_passwd.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT data_object.o -MD -MP -MF .deps/data_object.Tpo -c -o data_object.o data_object.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT data_import.o -MD -MP -MF .deps/data_import.Tpo -c -o data_import.o data_import.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -MT data_protect.o -MD -MP -MF .deps/data_protect.Tpo -c -o data_protect.o data_protect.c mv -f .deps/data_object.Tpo .deps/data_object.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpmtoken_objects data_object.o ../../lib/libtpm_pkcs11.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl mv -f .deps/data_init.Tpo .deps/data_init.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpmtoken_init data_init.o ../../lib/libtpm_pkcs11.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl mv -f .deps/data_passwd.Tpo .deps/data_passwd.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpmtoken_setpasswd data_passwd.o ../../lib/libtpm_pkcs11.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpmtoken_objects data_object.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_pkcs11.a -L/usr/local/lib -ltspi -lintl mv -f .deps/data_protect.Tpo .deps/data_protect.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpmtoken_protect data_protect.o ../../lib/libtpm_pkcs11.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpmtoken_init data_init.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_pkcs11.a -L/usr/local/lib -ltspi -lintl In file included from /usr/local/include/openssl/asn1.h:74, from /usr/local/include/openssl/rsa.h:64, from data_import.c:34: data_import.c: In function 'createRsaPubKeyObject': data_import.c:704:28: warning: implicit declaration of function 'RSA_get0_n'; did you mean 'RSA_get0_key'? [-Wimplicit-function-declaration] int nLen = BN_num_bytes( RSA_get0_n(a_pRsa) ); ^~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ data_import.c:704:28: warning: passing argument 1 of 'BN_num_bits' makes pointer from integer without a cast [-Wint-conversion] int nLen = BN_num_bytes( RSA_get0_n(a_pRsa) ); ^~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/local/include/openssl/bn.h:367:31: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_num_bits(const BIGNUM *a); ~~~~~~~~~~~~~~^ data_import.c:705:28: warning: implicit declaration of function 'RSA_get0_e'; did you mean 'RSA_get0_key'? [-Wimplicit-function-declaration] int eLen = BN_num_bytes( RSA_get0_e(a_pRsa) ); ^~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ data_import.c:705:28: warning: passing argument 1 of 'BN_num_bits' makes pointer from integer without a cast [-Wint-conversion] int eLen = BN_num_bytes( RSA_get0_e(a_pRsa) ); ^~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/local/include/openssl/bn.h:367:31: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_num_bits(const BIGNUM *a); ~~~~~~~~~~~~~~^ data_import.c:745:13: warning: passing argument 1 of 'BN_bn2bin' makes pointer from integer without a cast [-Wint-conversion] BN_bn2bin( RSA_get0_n(a_pRsa), n ); ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/asn1.h:74, from /usr/local/include/openssl/rsa.h:64, from data_import.c:34: /usr/local/include/openssl/bn.h:375:29: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_bn2bin(const BIGNUM *a, unsigned char *to); ~~~~~~~~~~~~~~^ data_import.c:746:13: warning: passing argument 1 of 'BN_bn2bin' makes pointer from integer without a cast [-Wint-conversion] BN_bn2bin( RSA_get0_e(a_pRsa), e ); ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/asn1.h:74, from /usr/local/include/openssl/rsa.h:64, from data_import.c:34: /usr/local/include/openssl/bn.h:375:29: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_bn2bin(const BIGNUM *a, unsigned char *to); ~~~~~~~~~~~~~~^ data_import.c: In function 'createRsaPrivKeyObject': data_import.c:773:28: warning: passing argument 1 of 'BN_num_bits' makes pointer from integer without a cast [-Wint-conversion] int nLen = BN_num_bytes( RSA_get0_n(a_pRsa) ); ^~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/local/include/openssl/bn.h:367:31: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_num_bits(const BIGNUM *a); ~~~~~~~~~~~~~~^ data_import.c:774:28: warning: passing argument 1 of 'BN_num_bits' makes pointer from integer without a cast [-Wint-conversion] int eLen = BN_num_bytes( RSA_get0_e(a_pRsa) ); ^~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/local/include/openssl/bn.h:367:31: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_num_bits(const BIGNUM *a); ~~~~~~~~~~~~~~^ data_import.c:775:28: warning: implicit declaration of function 'RSA_get0_d'; did you mean 'RSA_get0_key'? [-Wimplicit-function-declaration] int dLen = BN_num_bytes( RSA_get0_d(a_pRsa) ); ^~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ data_import.c:775:28: warning: passing argument 1 of 'BN_num_bits' makes pointer from integer without a cast [-Wint-conversion] int dLen = BN_num_bytes( RSA_get0_d(a_pRsa) ); ^~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/local/include/openssl/bn.h:367:31: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_num_bits(const BIGNUM *a); ~~~~~~~~~~~~~~^ data_import.c:776:28: warning: implicit declaration of function 'RSA_get0_p'; did you mean 'DSA_get0_pqg'? [-Wimplicit-function-declaration] int pLen = BN_num_bytes( RSA_get0_p(a_pRsa) ); ^~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ data_import.c:776:28: warning: passing argument 1 of 'BN_num_bits' makes pointer from integer without a cast [-Wint-conversion] int pLen = BN_num_bytes( RSA_get0_p(a_pRsa) ); ^~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/local/include/openssl/bn.h:367:31: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_num_bits(const BIGNUM *a); ~~~~~~~~~~~~~~^ data_import.c:777:28: warning: implicit declaration of function 'RSA_get0_q'; did you mean 'DSA_get0_pqg'? [-Wimplicit-function-declaration] int qLen = BN_num_bytes( RSA_get0_q(a_pRsa) ); ^~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ data_import.c:777:28: warning: passing argument 1 of 'BN_num_bits' makes pointer from integer without a cast [-Wint-conversion] int qLen = BN_num_bytes( RSA_get0_q(a_pRsa) ); ^~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/local/include/openssl/bn.h:367:31: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_num_bits(const BIGNUM *a); ~~~~~~~~~~~~~~^ data_import.c:778:31: warning: implicit declaration of function 'RSA_get0_dmp1'; did you mean 'RSA_meth_dup'? [-Wimplicit-function-declaration] int dmp1Len = BN_num_bytes( RSA_get0_dmp1(a_pRsa) ); ^~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ data_import.c:778:31: warning: passing argument 1 of 'BN_num_bits' makes pointer from integer without a cast [-Wint-conversion] int dmp1Len = BN_num_bytes( RSA_get0_dmp1(a_pRsa) ); ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/local/include/openssl/bn.h:367:31: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_num_bits(const BIGNUM *a); ~~~~~~~~~~~~~~^ data_import.c:779:31: warning: implicit declaration of function 'RSA_get0_dmq1'; did you mean 'DSA_get0_pqg'? [-Wimplicit-function-declaration] int dmq1Len = BN_num_bytes( RSA_get0_dmq1(a_pRsa) ); ^~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ data_import.c:779:31: warning: passing argument 1 of 'BN_num_bits' makes pointer from integer without a cast [-Wint-conversion] int dmq1Len = BN_num_bytes( RSA_get0_dmq1(a_pRsa) ); ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/local/include/openssl/bn.h:367:31: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_num_bits(const BIGNUM *a); ~~~~~~~~~~~~~~^ data_import.c:780:31: warning: implicit declaration of function 'RSA_get0_iqmp'; did you mean 'DSA_get0_pqg'? [-Wimplicit-function-declaration] int iqmpLen = BN_num_bytes( RSA_get0_iqmp(a_pRsa) ); ^~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ data_import.c:780:31: warning: passing argument 1 of 'BN_num_bits' makes pointer from integer without a cast [-Wint-conversion] int iqmpLen = BN_num_bytes( RSA_get0_iqmp(a_pRsa) ); ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/bn.h:329:39: note: in definition of macro 'BN_num_bytes' #define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/local/include/openssl/bn.h:367:31: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_num_bits(const BIGNUM *a); ~~~~~~~~~~~~~~^ data_import.c:834:13: warning: passing argument 1 of 'BN_bn2bin' makes pointer from integer without a cast [-Wint-conversion] BN_bn2bin( RSA_get0_n(a_pRsa), n ); ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/asn1.h:74, from /usr/local/include/openssl/rsa.h:64, from data_import.c:34: /usr/local/include/openssl/bn.h:375:29: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_bn2bin(const BIGNUM *a, unsigned char *to); ~~~~~~~~~~~~~~^ data_import.c:835:13: warning: passing argument 1 of 'BN_bn2bin' makes pointer from integer without a cast [-Wint-conversion] BN_bn2bin( RSA_get0_e(a_pRsa), e ); ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/asn1.h:74, from /usr/local/include/openssl/rsa.h:64, from data_import.c:34: /usr/local/include/openssl/bn.h:375:29: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_bn2bin(const BIGNUM *a, unsigned char *to); ~~~~~~~~~~~~~~^ data_import.c:836:13: warning: passing argument 1 of 'BN_bn2bin' makes pointer from integer without a cast [-Wint-conversion] BN_bn2bin( RSA_get0_d(a_pRsa), d ); ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/asn1.h:74, from /usr/local/include/openssl/rsa.h:64, from data_import.c:34: /usr/local/include/openssl/bn.h:375:29: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_bn2bin(const BIGNUM *a, unsigned char *to); ~~~~~~~~~~~~~~^ data_import.c:837:13: warning: passing argument 1 of 'BN_bn2bin' makes pointer from integer without a cast [-Wint-conversion] BN_bn2bin( RSA_get0_p(a_pRsa), p ); ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/asn1.h:74, from /usr/local/include/openssl/rsa.h:64, from data_import.c:34: /usr/local/include/openssl/bn.h:375:29: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_bn2bin(const BIGNUM *a, unsigned char *to); ~~~~~~~~~~~~~~^ data_import.c:838:13: warning: passing argument 1 of 'BN_bn2bin' makes pointer from integer without a cast [-Wint-conversion] BN_bn2bin( RSA_get0_q(a_pRsa), q ); ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/asn1.h:74, from /usr/local/include/openssl/rsa.h:64, from data_import.c:34: /usr/local/include/openssl/bn.h:375:29: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_bn2bin(const BIGNUM *a, unsigned char *to); ~~~~~~~~~~~~~~^ data_import.c:839:13: warning: passing argument 1 of 'BN_bn2bin' makes pointer from integer without a cast [-Wint-conversion] BN_bn2bin( RSA_get0_dmp1(a_pRsa), dmp1 ); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/asn1.h:74, from /usr/local/include/openssl/rsa.h:64, from data_import.c:34: /usr/local/include/openssl/bn.h:375:29: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_bn2bin(const BIGNUM *a, unsigned char *to); ~~~~~~~~~~~~~~^ data_import.c:840:13: warning: passing argument 1 of 'BN_bn2bin' makes pointer from integer without a cast [-Wint-conversion] BN_bn2bin( RSA_get0_dmq1(a_pRsa), dmq1 ); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/asn1.h:74, from /usr/local/include/openssl/rsa.h:64, from data_import.c:34: /usr/local/include/openssl/bn.h:375:29: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_bn2bin(const BIGNUM *a, unsigned char *to); ~~~~~~~~~~~~~~^ data_import.c:841:13: warning: passing argument 1 of 'BN_bn2bin' makes pointer from integer without a cast [-Wint-conversion] BN_bn2bin( RSA_get0_iqmp(a_pRsa), iqmp ); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/asn1.h:74, from /usr/local/include/openssl/rsa.h:64, from data_import.c:34: /usr/local/include/openssl/bn.h:375:29: note: expected 'const BIGNUM *' {aka 'const struct bignum_st *'} but argument is of type 'int' int BN_bn2bin(const BIGNUM *a, unsigned char *to); ~~~~~~~~~~~~~~^ libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpmtoken_setpasswd data_passwd.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_pkcs11.a -L/usr/local/lib -ltspi -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpmtoken_protect data_protect.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_pkcs11.a -L/usr/local/lib -ltspi -lintl mv -f .deps/data_import.Tpo .deps/data_import.Po /bin/sh ../../libtool --tag=CC --mode=link cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath,/usr/local/lib -o tpmtoken_import data_import.o ../../lib/libtpm_pkcs11.la -ltspi /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lcrypto -L/usr/local/lib -lintl libtool: link: cc -pipe -Wno-unused-but-set-variable -DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Wreturn-type -Wsign-compare -Wl,-rpath -Wl,/usr/local/lib -o tpmtoken_import data_import.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib ../../lib/.libs/libtpm_pkcs11.a -L/usr/local/lib -ltspi -lcrypto -lintl data_import.o:data_import.c:function createRsaPubKeyObject: error: undefined reference to 'RSA_get0_n' data_import.o:data_import.c:function createRsaPubKeyObject: error: undefined reference to 'RSA_get0_e' data_import.o:data_import.c:function createRsaPubKeyObject: error: undefined reference to 'RSA_get0_n' data_import.o:data_import.c:function createRsaPubKeyObject: error: undefined reference to 'RSA_get0_e' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_n' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_e' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_d' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_p' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_q' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_dmp1' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_dmq1' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_iqmp' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_n' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_e' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_d' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_p' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_q' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_dmp1' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_dmq1' data_import.o:data_import.c:function createRsaPrivKeyObject: error: undefined reference to 'RSA_get0_iqmp' collect2: error: ld returned 1 exit status gmake[5]: *** [Makefile:491: tpmtoken_import] Error 1 gmake[5]: Leaving directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/src/data_mgmt' gmake[4]: *** [Makefile:400: all-recursive] Error 1 gmake[4]: Leaving directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1/src' gmake[3]: *** [Makefile:456: all-recursive] Error 1 gmake[3]: Leaving directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1' gmake[2]: *** [Makefile:386: all] Error 2 gmake[2]: Leaving directory '/construction/security/tpm-tools/tpm-tools-1.3.9.1' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /xports/security/tpm-tools *** Error code 1 Stop. make: stopped in /xports/security/tpm-tools -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Wednesday, 10 JUL 2019 at 18:09:47 UTC Duration: 00:01:01