Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674158 - app-crypt/tpm2-tools-3.1.3 : tpm_kdfa.c:(.text.tpm_kdfa+<snip>): undefined reference to HMAC_CTX_new
Summary: app-crypt/tpm2-tools-3.1.3 : tpm_kdfa.c:(.text.tpm_kdfa+<snip>): undefined re...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL: https://github.com/tpm2-software/tpm2...
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2018-12-31 08:17 UTC by Toralf Förster
Modified: 2019-01-04 08:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.70 KB, text/plain)
2018-12-31 08:17 UTC, Toralf Förster
Details
app-crypt:tpm2-tools-3.1.3:20181230-233440.log (app-crypt:tpm2-tools-3.1.3:20181230-233440.log,21.79 KB, text/plain)
2018-12-31 08:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,214.61 KB, text/plain)
2018-12-31 08:17 UTC, Toralf Förster
Details
environment (environment,20.52 KB, text/plain)
2018-12-31 08:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.60 KB, application/x-bzip)
2018-12-31 08:17 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.93 KB, application/x-bzip)
2018-12-31 08:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,10.10 KB, application/x-bzip)
2018-12-31 08:17 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 2018-12-31 08:17:09 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -I./tools -I./lib -D_GNU_SOURCE -fdata-sections -ffunction-sections -DALG_ECMQV=1 -O2 -pipe -march=native -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -o tools/tpm2_activatecredential tools/tpm2_activatecredential.o tools/tpm2_tool.o  lib/libcommon.a //usr/lib64/libtss2-sys.so -L=/usr/lib64 //usr/lib64/libtss2-mu.so -lcrypto -ldl -Wl,-rpath -Wl,//usr/lib64
lib/libcommon.a(tpm_kdfa.o): In function `tpm_kdfa':
tpm_kdfa.c:(.text.tpm_kdfa+0x113): undefined reference to `HMAC_CTX_new'
tpm_kdfa.c:(.text.tpm_kdfa+0x2db): undefined reference to `HMAC_CTX_free'
collect2: error: ld returned 1 exit status
make: *** [Makefile:1427: tools/tpm2_activatecredential] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl_20181222-061330

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

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




emerge -qpvO app-crypt/tpm2-tools
[ebuild  N    ] app-crypt/tpm2-tools-3.1.3  USE="libressl -test"
Comment 1 Toralf Förster gentoo-dev 2018-12-31 08:17:12 UTC
Created attachment 559078 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-12-31 08:17:15 UTC
Created attachment 559080 [details]
app-crypt:tpm2-tools-3.1.3:20181230-233440.log
Comment 3 Toralf Förster gentoo-dev 2018-12-31 08:17:17 UTC
Created attachment 559082 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-12-31 08:17:20 UTC
Created attachment 559084 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-12-31 08:17:23 UTC
Created attachment 559086 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-12-31 08:17:26 UTC
Created attachment 559088 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-12-31 08:17:28 UTC
Created attachment 559090 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-01-04 08:37:14 UTC
The bug has been closed via the following commit(s):

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

commit a66b106e25440d56b008371c60cb347c6fc62fe7
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2019-01-04 08:36:03 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2019-01-04 08:37:02 +0000

    app-crypt/tpm2-tools: fix libressl support
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=674158
    Thanks: Toralf Förster
    Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../files/tpm2-tools-3.1.3-libressl.patch          | 81 ++++++++++++++++++++++
 app-crypt/tpm2-tools/tpm2-tools-3.1.3.ebuild       |  6 +-
 2 files changed, 86 insertions(+), 1 deletion(-)