Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 473464

Summary: app-crypt/trousers-3.10 should install libtspi.la (needed library for app-crypt/tpm-tools)
Product: Gentoo Linux Reporter: satmd <satmd>
Component: Current packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED NEEDINFO    
Severity: normal CC: alonbl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description satmd 2013-06-16 08:41:59 UTC
Compilation of tpm-tools fails with:
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -g -O2 -Wall -Wreturn-type -Wsign-compare   -o tpm_unsealdata tpm_unsealdata.o ../../lib/libtpm_tspi.la -ltspi ../../lib/libtpm_unseal.la -ltpm_unseal -lcrypto 
libtool: link: cannot find the library `/usr/lib64/libtspi.la' or unhandled argument `/usr/lib64/libtspi.la'

The trousers ebuild explictely does a rm -f on this file during installation, because it "is unneeded".

Reproducible: Always

Steps to Reproduce:
1. Install trousers 3.10
2. Try to install tpm-tools
3. compilation fails
Actual Results:  
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -g -O2 -Wall -Wreturn-type -Wsign-compare   -o tpm_unsealdata tpm_unsealdata.o ../../lib/libtpm_tspi.la -ltspi ../../lib/libtpm_unseal.la -ltpm_unseal -lcrypto 
libtool: link: cannot find the library `/usr/lib64/libtspi.la' or unhandled argument `/usr/lib64/libtspi.la'

Expected Results:  
completed build of tpm-tools

tpm-tools could need a bump, too: 1.3.6-r1 -> 1.3.8
This would not solve the breakage, but it'd be nice (the gold patch doesn't apply  on that one).

Removing the rm line from the trousers ebuild does solve it for me.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2013-07-20 21:04:06 UTC
I cannot reproduce this... and if there is a problem it is in tpm-tools. I added a new version of tpm-tools, can you please check it out?