emerging tpm-tools breaks with a compilation error: i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"tpm-tools\" -DPACKAGE_TARNAME=\"tpm-tools\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"tpm-tools 1.0.0\"" -DPACKAGE_BUGREPORT=\"trousers-tech@lists.sf.net\" -DPACKAGE=\"tpm-tools\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LONG_FILE_NAMES=1 -DRETSIGTYPE=void -I. -I. -I../include -D_LINUX -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=pentium4 -pipe -MT tpm_tspi.lo -MD -MP -MF .deps/tpm_tspi.Tpo -c tpm_tspi.c -fPIC -DPIC -o .libs/tpm_tspi.o In file included from tpm_tspi.c:22: ../include/tpm_tspi.h:25:21: tss/tss.h: No such file or directory ../include/tpm_tspi.h:26:26: tss/trousers.h: No such file or directory In file included from tpm_tspi.c:22: ../include/tpm_tspi.h:30: error: syntax error before "a_uiData" ../include/tpm_tspi.h:32: error: syntax error before "a_uiFlags" ../include/tpm_tspi.h:34: error: syntax error before "a_uiData" ../include/tpm_tspi.h:36: error: syntax error before "a_uiData" ../include/tpm_tspi.h:38: error: syntax error before "a_uiData" ../include/tpm_tspi.h:40: error: syntax error before "a_uiData" ../include/tpm_tspi.h:42: error: syntax error before "displayKey" ../include/tpm_tspi.h:42: error: syntax error before "a_hKey" ../include/tpm_tspi.h:42: warning: data definition has no type or storage class ../include/tpm_tspi.h:45: error: syntax error before "hContext" ../include/tpm_tspi.h:48: error: syntax error before "TSS_RESULT" ../include/tpm_tspi.h:49: error: syntax error before "TSS_RESULT" ../include/tpm_tspi.h:50: error: syntax error before "TSS_RESULT" ../include/tpm_tspi.h:53: error: syntax error before "contextCreate" ../include/tpm_tspi.h:53: error: syntax error before '*' token ../include/tpm_tspi.h:53: warning: data definition has no type or storage class ../include/tpm_tspi.h:54: error: syntax error before "contextClose" ../include/tpm_tspi.h:54: error: syntax error before "a_hContext" ../include/tpm_tspi.h:54: warning: data definition has no type or storage class ../include/tpm_tspi.h:55: error: syntax error before "contextConnect" ../include/tpm_tspi.h:55: error: syntax error before "a_hContext" ../include/tpm_tspi.h:55: warning: data definition has no type or storage class ../include/tpm_tspi.h:56: error: syntax error before "contextCreateObject" ../include/tpm_tspi.h:56: error: syntax error before "a_hContext" ../include/tpm_tspi.h:58: warning: data definition has no type or storage class ../include/tpm_tspi.h:59: error: syntax error before "contextCloseObject" ../include/tpm_tspi.h:59: error: syntax error before "a_hContext" ../include/tpm_tspi.h:60: warning: data definition has no type or storage class ../include/tpm_tspi.h:61: error: syntax error before "contextGetTpm" ../include/tpm_tspi.h:61: error: syntax error before "a_hContext" ../include/tpm_tspi.h:61: warning: data definition has no type or storage class ../include/tpm_tspi.h:62: error: syntax error before "policyGet" ../include/tpm_tspi.h:62: error: syntax error before "a_hObject" ../include/tpm_tspi.h:62: warning: data definition has no type or storage class ../include/tpm_tspi.h:63: error: syntax error before "policySetSecret" ../include/tpm_tspi.h:63: error: syntax error before "a_hPolicy" ../include/tpm_tspi.h:64: warning: data definition has no type or storage class ../include/tpm_tspi.h:66: error: syntax error before "policyFlushSecret" ../include/tpm_tspi.h:66: error: syntax error before "a_hPolicy" ../include/tpm_tspi.h:66: warning: data definition has no type or storage class ../include/tpm_tspi.h:69: error: syntax error before "tpmGetRandom" ../include/tpm_tspi.h:69: error: syntax error before "a_hTpm" ../include/tpm_tspi.h:69: warning: data definition has no type or storage class ../include/tpm_tspi.h:70: error: syntax error before "tpmSetStatus" ../include/tpm_tspi.h:70: error: syntax error before "a_hTpm" ../include/tpm_tspi.h:71: warning: data definition has no type or storage class ../include/tpm_tspi.h:72: error: syntax error before "tpmGetStatus" ../include/tpm_tspi.h:72: error: syntax error before "a_hTpm" ../include/tpm_tspi.h:73: warning: data definition has no type or storage class ../include/tpm_tspi.h:74: error: syntax error before "getCapability" ../include/tpm_tspi.h:74: error: syntax error before "a_hTpm" ../include/tpm_tspi.h:78: warning: data definition has no type or storage class ../include/tpm_tspi.h:79: error: syntax error before "getAttribData" ../include/tpm_tspi.h:79: error: syntax error before "a_hObject" ../include/tpm_tspi.h:82: warning: data definition has no type or storage class ../include/tpm_tspi.h:83: error: syntax error before "getAttribUint32" ../include/tpm_tspi.h:83: error: syntax error before "a_hObject" ../include/tpm_tspi.h:85: warning: data definition has no type or storage class ../include/tpm_tspi.h:88: error: syntax error before "keyLoadKey" ../include/tpm_tspi.h:88: error: syntax error before "a_hKey" ../include/tpm_tspi.h:88: warning: data definition has no type or storage class ../include/tpm_tspi.h:89: error: syntax error before "keyLoadKeyByUUID" ../include/tpm_tspi.h:89: error: syntax error before "a_hContext" ../include/tpm_tspi.h:91: warning: data definition has no type or storage class ../include/tpm_tspi.h:92: error: syntax error before "keyGetPubKey" ../include/tpm_tspi.h:92: error: syntax error before "a_hKey" ../include/tpm_tspi.h:93: warning: data definition has no type or storage class ../include/tpm_tspi.h:94: error: syntax error before "keyGetKeyByUUID" ../include/tpm_tspi.h:94: error: syntax error before "a_hContext" ../include/tpm_tspi.h:96: warning: data definition has no type or storage class tpm_tspi.c:64: error: syntax error before "a_uiData" tpm_tspi.c: In function `displayKeyUsageMap': tpm_tspi.c:67: error: `a_uiData' undeclared (first use in this function) tpm_tspi.c:67: error: (Each undeclared identifier is reported only once tpm_tspi.c:67: error: for each function it appears in.) tpm_tspi.c:68: error: `TPM_KEY_SIGNING' undeclared (first use in this function) tpm_tspi.c:71: error: `TPM_KEY_STORAGE' undeclared (first use in this function) tpm_tspi.c:74: error: `TPM_KEY_IDENTITY' undeclared (first use in this function)tpm_tspi.c:77: error: `TPM_KEY_AUTHCHANGE' undeclared (first use in this function) tpm_tspi.c:80: error: `TPM_KEY_BIND' undeclared (first use in this function) tpm_tspi.c:83: error: `TPM_KEY_LEGACY' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:90: error: syntax error before "a_uiFlags" tpm_tspi.c: In function `displayKeyFlagsMap': tpm_tspi.c:93: error: `a_uiFlags' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:98: error: syntax error before "a_uiData" tpm_tspi.c: In function `displayAuthUsageMap': tpm_tspi.c:101: error: `a_uiData' undeclared (first use in this function) tpm_tspi.c:102: error: `TPM_AUTH_NEVER' undeclared (first use in this function) tpm_tspi.c:105: error: `TPM_AUTH_ALWAYS' undeclared (first use in this function)tpm_tspi.c: At top level: tpm_tspi.c:112: error: syntax error before "a_uiData" tpm_tspi.c: In function `displayAlgorithmMap': tpm_tspi.c:115: error: `a_uiData' undeclared (first use in this function) tpm_tspi.c:116: error: `TCPA_ALG_RSA' undeclared (first use in this function) tpm_tspi.c:119: error: `TCPA_ALG_DES' undeclared (first use in this function) tpm_tspi.c:122: error: `TCPA_ALG_3DES' undeclared (first use in this function) tpm_tspi.c:125: error: `TCPA_ALG_SHA' undeclared (first use in this function) tpm_tspi.c:128: error: `TCPA_ALG_HMAC' undeclared (first use in this function) tpm_tspi.c:131: error: `TCPA_ALG_AES' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:138: error: syntax error before "a_uiData" tpm_tspi.c: In function `displayEncSchemeMap': tpm_tspi.c:141: error: `a_uiData' undeclared (first use in this function) tpm_tspi.c:142: error: `TCPA_ES_NONE' undeclared (first use in this function) tpm_tspi.c:145: error: `TCPA_ES_RSAESPKCSv15' undeclared (first use in this function) tpm_tspi.c:148: error: `TCPA_ES_RSAESOAEP_SHA1_MGF1' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:155: error: syntax error before "a_uiData" tpm_tspi.c: In function `displaySigSchemeMap': tpm_tspi.c:158: error: `a_uiData' undeclared (first use in this function) tpm_tspi.c:159: error: `TCPA_SS_NONE' undeclared (first use in this function) tpm_tspi.c:162: error: `TCPA_SS_RSASSAPKCS1v15_SHA1' undeclared (first use in this function) tpm_tspi.c:165: error: `TCPA_SS_RSASSAPKCS1v15_DER' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:172: error: syntax error before "displayKey" tpm_tspi.c:172: error: syntax error before "a_hKey" tpm_tspi.c: In function `displayKey': tpm_tspi.c:175: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:175: error: syntax error before "result" tpm_tspi.c:176: error: `UINT32' undeclared (first use in this function) tpm_tspi.c:177: error: `BYTE' undeclared (first use in this function) tpm_tspi.c:177: error: `pAttr' undeclared (first use in this function) tpm_tspi.c:178: error: syntax error before "uiAlg" tpm_tspi.c:180: error: `result' undeclared (first use in this function) tpm_tspi.c:181: error: `a_hKey' undeclared (first use in this function) tpm_tspi.c:181: error: `TSS_TSPATTRIB_KEY_INFO' undeclared (first use in this function) tpm_tspi.c:182: error: `TSS_TSPATTRIB_KEYINFO_VERSION' undeclared (first use in this function) tpm_tspi.c:182: error: `uiAttrSize' undeclared (first use in this function) tpm_tspi.c:184: error: `TSS_SUCCESS' undeclared (first use in this function) tpm_tspi.c:192: error: `TSS_TSPATTRIB_KEYINFO_USAGE' undeclared (first use in this function) tpm_tspi.c:192: error: `uiAttr' undeclared (first use in this function) tpm_tspi.c:199: error: `TSS_TSPATTRIB_KEYINFO_KEYFLAGS' undeclared (first use in this function) tpm_tspi.c:206: error: `TSS_TSPATTRIB_KEYINFO_AUTHUSAGE' undeclared (first use in this function) tpm_tspi.c:213: error: `TSS_TSPATTRIB_KEYINFO_ALGORITHM' undeclared (first use in this function) tpm_tspi.c:213: error: `uiAlg' undeclared (first use in this function) tpm_tspi.c:220: error: `TSS_TSPATTRIB_KEYINFO_ENCSCHEME' undeclared (first use in this function) tpm_tspi.c:227: error: `TSS_TSPATTRIB_KEYINFO_SIGSCHEME' undeclared (first use in this function) tpm_tspi.c:232: error: `TCPA_ALG_RSA' undeclared (first use in this function) tpm_tspi.c:234: error: `TSS_TSPATTRIB_RSAKEY_INFO' undeclared (first use in this function) tpm_tspi.c:235: error: `TSS_TSPATTRIB_KEYINFO_RSA_KEYSIZE' undeclared (first use in this function) tpm_tspi.c:243: error: `TSS_TSPATTRIB_KEY_BLOB' undeclared (first use in this function) tpm_tspi.c:244: error: `TSS_TSPATTRIB_KEYBLOB_PUBLIC_KEY' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:258: error: syntax error before "hContext" tpm_tspi.c: In function `isTpmOwned': tpm_tspi.c:261: error: `TSS_HKEY' undeclared (first use in this function) tpm_tspi.c:261: error: syntax error before "hSrk" tpm_tspi.c:264: error: `hContext' undeclared (first use in this function) tpm_tspi.c:264: error: `TSS_PS_TYPE_SYSTEM' undeclared (first use in this function) tpm_tspi.c:264: error: `SRK_UUID' undeclared (first use in this function) tpm_tspi.c:264: error: `hSrk' undeclared (first use in this function) tpm_tspi.c:265: error: `TSS_SUCCESS' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:274: error: syntax error before "TSS_RESULT" tpm_tspi.c: In function `tspiDebug': tpm_tspi.c:277: error: `a_szName' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:280: error: syntax error before "TSS_RESULT" tpm_tspi.c: In function `tspiError': tpm_tspi.c:284: error: `a_szName' undeclared (first use in this function) tpm_tspi.c:284: error: `a_iResult' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:290: error: syntax error before "TSS_RESULT" tpm_tspi.c: In function `tspiResult': tpm_tspi.c:293: error: `a_tResult' undeclared (first use in this function) tpm_tspi.c:293: error: `TSS_SUCCESS' undeclared (first use in this function) tpm_tspi.c:294: error: `a_szName' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:299: error: syntax error before "contextCreate" tpm_tspi.c:299: error: syntax error before '*' token tpm_tspi.c: In function `contextCreate': tpm_tspi.c:301: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:301: error: syntax error before "result" tpm_tspi.c:302: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:307: error: syntax error before "contextClose" tpm_tspi.c:307: error: syntax error before "a_hContext" tpm_tspi.c: In function `contextClose': tpm_tspi.c:310: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:310: error: syntax error before "result" tpm_tspi.c:311: error: `result' undeclared (first use in this function) tpm_tspi.c:313: error: `a_hContext' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:319: error: syntax error before "contextConnect" tpm_tspi.c:319: error: syntax error before "a_hContext" tpm_tspi.c: In function `contextConnect': tpm_tspi.c:322: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:322: error: syntax error before "result" tpm_tspi.c:323: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:330: error: syntax error before "contextCreateObject" tpm_tspi.c:330: error: syntax error before "a_hContext" tpm_tspi.c: In function `contextCreateObject': tpm_tspi.c:334: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:334: error: syntax error before "result" tpm_tspi.c:337: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:343: error: syntax error before "contextCloseObject" tpm_tspi.c:343: error: syntax error before "a_hContext" tpm_tspi.c: In function `contextCloseObject': tpm_tspi.c:345: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:345: error: syntax error before "result" tpm_tspi.c:347: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:352: error: syntax error before "contextGetTpm" tpm_tspi.c:352: error: syntax error before "a_hContext" tpm_tspi.c: In function `contextGetTpm': tpm_tspi.c:355: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:355: error: syntax error before "result" tpm_tspi.c:356: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:362: error: syntax error before "policyGet" tpm_tspi.c:362: error: syntax error before "a_hObject" tpm_tspi.c: In function `policyGet': tpm_tspi.c:364: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:364: error: syntax error before "result" tpm_tspi.c:366: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:372: error: syntax error before "policySetSecret" tpm_tspi.c:372: error: syntax error before "a_hPolicy" tpm_tspi.c: In function `policySetSecret': tpm_tspi.c:375: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:375: error: syntax error before "result" tpm_tspi.c:378: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:383: error: syntax error before "policyFlushSecret" tpm_tspi.c:383: error: syntax error before "a_hPolicy" tpm_tspi.c: In function `policyFlushSecret': tpm_tspi.c:385: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:385: error: syntax error before "result" tpm_tspi.c:386: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:393: error: syntax error before "tpmSetStatus" tpm_tspi.c:393: error: syntax error before "a_hTpm" tpm_tspi.c: In function `tpmSetStatus': tpm_tspi.c:396: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:396: error: syntax error before "result" tpm_tspi.c:398: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:404: error: syntax error before "tpmGetStatus" tpm_tspi.c:404: error: syntax error before "a_hTpm" tpm_tspi.c: In function `tpmGetStatus': tpm_tspi.c:407: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:407: error: syntax error before "result" tpm_tspi.c:409: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:414: error: syntax error before "tpmGetRandom" tpm_tspi.c:414: error: syntax error before "a_hTpm" tpm_tspi.c: In function `tpmGetRandom': tpm_tspi.c:417: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:417: error: syntax error before "result" tpm_tspi.c:418: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:424: error: syntax error before "keyLoadKey" tpm_tspi.c:424: error: syntax error before "a_hKey" tpm_tspi.c: In function `keyLoadKey': tpm_tspi.c:427: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:427: error: syntax error before "result" tpm_tspi.c:428: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:434: error: syntax error before "keyLoadKeyByUUID" tpm_tspi.c:434: error: syntax error before "a_hContext" tpm_tspi.c: In function `keyLoadKeyByUUID': tpm_tspi.c:438: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:438: error: syntax error before "result" tpm_tspi.c:441: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:447: error: syntax error before "keyGetPubKey" tpm_tspi.c:447: error: syntax error before "a_hKey" tpm_tspi.c: In function `keyGetPubKey': tpm_tspi.c:450: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:450: error: syntax error before "result" tpm_tspi.c:451: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:457: error: syntax error before "keyGetKeyByUUID" tpm_tspi.c:457: error: syntax error before "a_hContext" tpm_tspi.c: In function `keyGetKeyByUUID': tpm_tspi.c:462: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:462: error: syntax error before "result" tpm_tspi.c:465: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:471: error: syntax error before "getAttribData" tpm_tspi.c:471: error: syntax error before "a_hObject" tpm_tspi.c: In function `getAttribData': tpm_tspi.c:476: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:476: error: syntax error before "result" tpm_tspi.c:479: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:485: error: syntax error before "getAttribUint32" tpm_tspi.c:485: error: syntax error before "a_hObject" tpm_tspi.c: In function `getAttribUint32': tpm_tspi.c:489: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:489: error: syntax error before "result" tpm_tspi.c:491: error: `result' undeclared (first use in this function) tpm_tspi.c: At top level: tpm_tspi.c:497: error: syntax error before "getCapability" tpm_tspi.c:497: error: syntax error before "a_hTpm" tpm_tspi.c: In function `getCapability': tpm_tspi.c:502: error: `TSS_RESULT' undeclared (first use in this function) tpm_tspi.c:502: error: syntax error before "result" tpm_tspi.c:505: error: `result' undeclared (first use in this function) make[1]: *** [tpm_tspi.lo] Error 1 Reproducible: Always Steps to Reproduce: 1. #emerge tpm-tools - kernel modules tpm and tpm_infineon are loaded - trousers is installed Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.13.1 i686) ================================================================= System uname: 2.6.13.1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://130.59.10.34/mirror/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd eds emboss encode esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
what version of trousers do you have? btw I'll look at version bumping tpm-tools and trousers soon.
i have 0.2.1 kent yoder from trousers told me that tpm-tools version 1.0 looks for header files at the wrong place. (which i understand as a conflict with the trousers package) a manual installation of tpm-tools 1.1 available at their site works smooth.
trousers-0.2.3 added tpm-tools-1.1.0 added and tpm-tools-1.0.0 removed thanks for the bug report.