* Package: app-crypt/openssl-tpm-engine-0.4.2 * Repository: gentoo * Maintainer: crypto@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux libressl userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking openssl_tpm_engine-0.4.2.tar.gz to /var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work >>> Source unpacked in /var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work >>> Preparing source in /var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2 ... * Applying openssl-tpm-engine-0.4.2-build.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: openssl_tpm_engine-0.4.2/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2 ... * econf: updating openssl_tpm_engine-0.4.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating openssl_tpm_engine-0.4.2/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking Non-standard OpenSSL... no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc 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 x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux 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=-march=native -O2 -pipe -Wall >>> Source configured. >>> Compiling source in /var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2 ... make -j1 Making all in . make[1]: Entering directory '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2' /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -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. -march=native -O2 -pipe -Wall -c -o e_tpm.lo e_tpm.c libtool: compile: x86_64-pc-linux-gnu-gcc -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. -march=native -O2 -pipe -Wall -c e_tpm.c -fPIC -DPIC -o .libs/e_tpm.o e_tpm.c:110:1: error: variable ‘tpm_rand’ has initializer but incomplete type static RAND_METHOD tpm_rand = { ^ e_tpm.c:112:2: warning: excess elements in struct initializer tpm_rand_seed, ^ e_tpm.c:112:2: note: (near initialization for ‘tpm_rand’) e_tpm.c:113:2: warning: excess elements in struct initializer tpm_rand_bytes, ^ e_tpm.c:113:2: note: (near initialization for ‘tpm_rand’) e_tpm.c:116:2: warning: excess elements in struct initializer tpm_rand_bytes, ^ e_tpm.c:116:2: note: (near initialization for ‘tpm_rand’) e_tpm.c:117:2: warning: excess elements in struct initializer tpm_rand_status, ^ e_tpm.c:117:2: note: (near initialization for ‘tpm_rand’) e_tpm.c: In function ‘tpm_rsa_priv_dec’: e_tpm.c:911:17: warning: passing argument 5 of ‘Tspi_SetAttribData’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] in_len, from))) { ^ In file included from e_tpm.c:35:0: /usr/include/tss/tspi.h:66:10: note: expected ‘BYTE * {aka unsigned char *}’ but argument is of type ‘const unsigned char *’ TSPICALL Tspi_SetAttribData ^ e_tpm.c: In function ‘tpm_rsa_pub_enc’: e_tpm.c:1013:20: warning: passing argument 4 of ‘Tspi_Data_Bind’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] in_len, from))) { ^ In file included from e_tpm.c:35:0: /usr/include/tss/tspi.h:905:10: note: expected ‘BYTE * {aka unsigned char *}’ but argument is of type ‘const unsigned char *’ TSPICALL Tspi_Data_Bind ^ e_tpm.c: In function ‘tpm_rsa_priv_enc’: e_tpm.c:1097:62: warning: passing argument 3 of ‘Tspi_Hash_SetHashValue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] if ((result = Tspi_Hash_SetHashValue(app_data->hHash, flen, from))) { ^ In file included from e_tpm.c:35:0: /usr/include/tss/tspi.h:874:10: note: expected ‘BYTE * {aka unsigned char *}’ but argument is of type ‘const unsigned char *’ TSPICALL Tspi_Hash_SetHashValue ^ e_tpm.c: In function ‘tpm_rand_seed’: e_tpm.c:1273: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/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:1281: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_stirr ^ In file included from e_tpm.c:35:0: /usr/include/tss/tspi.h:457:10: note: expected ‘BYTE * {aka unsigned char *}’ but argument is of type ‘const void *’ TSPICALL Tspi_TPM_StirRandom ^ Makefile:551: recipe for target 'e_tpm.lo' failed make[1]: *** [e_tpm.lo] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2' Makefile:569: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 * ERROR: app-crypt/openssl-tpm-engine-0.4.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-crypt/openssl-tpm-engine-0.4.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/openssl-tpm-engine-0.4.2::gentoo'`. * The complete build log is located at '/var/log/portage/app-crypt:openssl-tpm-engine-0.4.2:20160909-072551.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2' * S: '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2'