Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473464 - app-crypt/trousers-3.10 should install libtspi.la (needed library for app-crypt/tpm-tools)
Summary: app-crypt/trousers-3.10 should install libtspi.la (needed library for app-cry...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-16 08:41 UTC by satmd
Modified: 2013-08-30 19:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?