Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692558 - app-crypt/tpm2-tss-engine-1.0.0 : /.../ld: ./.../libtpm2tss.so: undefined reference to RAND_OpenSSL
Summary: app-crypt/tpm2-tss-engine-1.0.0 : /.../ld: ./.../libtpm2tss.so: undefined ref...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-08-19 18:03 UTC by Toralf Förster
Modified: 2020-02-26 16:17 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.30 KB, text/plain)
2019-08-19 18:03 UTC, Toralf Förster
Details
app-crypt:tpm2-tss-engine-1.0.0:20190819-104715.log (app-crypt:tpm2-tss-engine-1.0.0:20190819-104715.log,24.58 KB, text/plain)
2019-08-19 18:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,42.27 KB, text/plain)
2019-08-19 18:03 UTC, Toralf Förster
Details
environment (environment,61.22 KB, text/plain)
2019-08-19 18:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.57 KB, application/x-bzip)
2019-08-19 18:03 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.19 KB, application/x-bzip)
2019-08-19 18:03 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.70 KB, application/x-bzip)
2019-08-19 18:03 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 2019-08-19 18:03:04 UTC
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I./include -I./src     -O2 -pipe -march=native   -ltss2-tcti-mssim -ltss2-tcti-device -Wl,-O1 -Wl,--as-needed -o tpm2tss-genkey src/tpm2tss_genkey-tpm2tss-genkey.o -ltss2-esys -ltss2-sys -ltss2-mu  -lcrypto  -ldl libtpm2tss.la 
libtool: link: x86_64-pc-linux-gnu-gcc -I./include -I./src -O2 -pipe -march=native -Wl,-O1 -o .libs/tpm2tss-genkey src/tpm2tss_genkey-tpm2tss-genkey.o  -ltss2-tcti-mssim -ltss2-tcti-device -Wl,--as-needed ./.libs/libtpm2tss.so -ltss2-esys -ltss2-sys -ltss2-mu -lcrypto -ldl -Wl,-rpath -Wl,/usr/lib64/engines
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libtpm2tss.so: undefined reference to `RAND_OpenSSL'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libtpm2tss.so: undefined reference to `RSA_PKCS1_OpenSSL'
collect2: error: ld returned 1 exit status
make: *** [Makefile:1038: tpm2tss-genkey] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-libressl-20190818-102049

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *




emerge -qpvO app-crypt/tpm2-tss-engine
[ebuild  N    ] app-crypt/tpm2-tss-engine-1.0.0  USE="libressl -test"
Comment 1 Toralf Förster gentoo-dev 2019-08-19 18:03:07 UTC
Created attachment 587540 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-19 18:03:10 UTC
Created attachment 587542 [details]
app-crypt:tpm2-tss-engine-1.0.0:20190819-104715.log
Comment 3 Toralf Förster gentoo-dev 2019-08-19 18:03:13 UTC
Created attachment 587544 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-08-19 18:03:16 UTC
Created attachment 587546 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-08-19 18:03:19 UTC
Created attachment 587548 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-19 18:03:21 UTC
Created attachment 587550 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-08-19 18:03:24 UTC
Created attachment 587552 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-02-26 16:17:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55d5d568d0ef0c2a5d4f136906104d2654afb0c0

commit 55d5d568d0ef0c2a5d4f136906104d2654afb0c0
Author:     Salah Coronya <salah.coronya@gmail.com>
AuthorDate: 2020-02-20 02:06:07 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-02-26 16:17:25 +0000

    app-crypt/tpm2-tss-engine: Remove libressl support
    
    Libressl dropped all engine support in 2.3.0 .
    
    Closes: https://bugs.gentoo.org/692558
    Closes: https://bugs.gentoo.org/687132
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Salah Coronya <salah.coronya@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 ...ine-1.0.1-build-add-disable-defaultflags.patch} | 19 +++++-------
 .../files/tpm2-tss-engine-1.0.1-libressl.patch     | 35 ----------------------
 .../tpm2-tss-engine/tpm2-tss-engine-1.0.1.ebuild   |  8 ++---
 3 files changed, 11 insertions(+), 51 deletions(-)