Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713444 - app-crypt/tpm-tools-1.3.9.2 : configure: error: tss lib not found: libtspi.so
Summary: app-crypt/tpm-tools-1.3.9.2 : configure: error: tss lib not found: libtspi.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
: 894356 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-19 11:23 UTC by Toralf Förster
Modified: 2023-02-15 00:36 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.39 KB, text/plain)
2020-03-19 11:23 UTC, Toralf Förster
Details
app-crypt:tpm-tools-1.3.9.1-r1:20200319-103343.log (app-crypt:tpm-tools-1.3.9.1-r1:20200319-103343.log,8.44 KB, text/plain)
2020-03-19 11:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,141.57 KB, text/plain)
2020-03-19 11:23 UTC, Toralf Förster
Details
environment (environment,79.41 KB, text/plain)
2020-03-19 11:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.15 KB, application/x-bzip)
2020-03-19 11:23 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.28 KB, application/x-bzip)
2020-03-19 11:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-19 11:23:11 UTC
checking Non-standard OpenSSL location... no
checking for Tspi_Context_Create in -ltspi... no
configure: error: tss lib not found: libtspi.so

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-crypt/tpm-tools-1.3.9.1-r1/work/config.log

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO app-crypt/tpm-tools
[ebuild  N    ] app-crypt/tpm-tools-1.3.9.1-r1  USE="nls -debug -libressl -pkcs11"
Comment 1 Toralf Förster gentoo-dev 2020-03-19 11:23:14 UTC
there is still a similar issue at unstable amd64 tinderbox image 17.0_musl-20200316-165821 (see bug 601776)
Comment 2 Toralf Förster gentoo-dev 2020-03-19 11:23:17 UTC
Created attachment 622600 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-19 11:23:19 UTC
Created attachment 622602 [details]
app-crypt:tpm-tools-1.3.9.1-r1:20200319-103343.log
Comment 4 Toralf Förster gentoo-dev 2020-03-19 11:23:22 UTC
Created attachment 622604 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2020-03-19 11:23:25 UTC
Created attachment 622606 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2020-03-19 11:23:29 UTC
Created attachment 622608 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-19 11:23:31 UTC
Created attachment 622610 [details]
logs.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2021-12-31 06:57:48 UTC
tinderbox_musl has reproduced this issue with version 1.3.9.2 - Updating summary.
Comment 9 Stijn Tintel 2023-02-01 22:52:02 UTC
This is caused by a missing symbol:

# ldd /usr/lib/libtspi.so
        ldd (0x7fa9c6d13000)
        libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x7fa9c6800000)
        libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x7fa9c6c03000)
        libc.so => ldd (0x7fa9c6d13000)
Error relocating /usr/lib/libtspi.so: getpwent_r: symbol not found
Comment 10 Larry the Git Cow gentoo-dev 2023-02-14 03:13:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ecf6b971e037cf7413136835e5575a5553d985

commit 37ecf6b971e037cf7413136835e5575a5553d985
Author:     Stijn Tintel <stijn@linux-ipv6.be>
AuthorDate: 2023-02-01 23:18:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-14 03:13:16 +0000

    app-crypt/tpm-tools: revbump to depend on app-crypt/trousers-0.3.15-r1
    
    Closes: https://bugs.gentoo.org/713444
    Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
    Closes: https://github.com/gentoo/gentoo/pull/29384
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/tpm-tools/tpm-tools-1.3.9.2-r1.ebuild | 52 +++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=818d8486a6d06bd4fc7b4212d1755f927fd2f529

commit 818d8486a6d06bd4fc7b4212d1755f927fd2f529
Author:     Stijn Tintel <stijn@linux-ipv6.be>
AuthorDate: 2023-02-01 23:16:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-14 03:12:59 +0000

    app-crypt/trousers: add musl patch
    
    [sam: This has been sent upstream but pending moderator approval.]
    
    Bug: https://bugs.gentoo.org/713444
    Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...rs-0.3.15-tspi-drop-the-use-of-getpwent_r.patch | 69 ++++++++++++++++++++
 app-crypt/trousers/trousers-0.3.15-r1.ebuild       | 73 ++++++++++++++++++++++
 2 files changed, 142 insertions(+)
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-15 00:36:21 UTC
*** Bug 894356 has been marked as a duplicate of this bug. ***