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

Bug 687084

Summary: app-crypt/tpm2-tss-engine-1.0.0 : src/tpm2-tss-engine-rand.c:90:1: error: variable rand_methods has initializer but incomplete type
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: alonbl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge-info.txt
app-crypt:tpm2-tss-engine-1.0.0:20190531-021224.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-05-31 16:57:37 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"tpm2-tss-engine\" -DPACKAGE_TARNAME=\"tpm2-tss-engine\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"tpm2-tss-engine 1.0.0\"" -DPACKAGE_BUGREPORT=\"https://github.com/tpm2-software/tpm2-tss-engine/issues\" -DPACKAGE_URL=\"https://github.com/tpm2-software/tpm2-tss-engine\" -DPACKAGE=\"tpm2-tss-engine\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./include -I./src -O2 -pipe -march=native -c src/tpm2-tss-engine-rand.c  -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-rand.o
src/tpm2-tss-engine-rand.c:90:1: error: variable ‘rand_methods’ has initializer but incomplete type
   90 | static RAND_METHOD rand_methods = {
      | ^~~~~~
src/tpm2-tss-engine-rand.c:91:5: warning: excess elements in struct initializer

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-no-multilib-hardened_libressl_20190529-222033

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (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-05-31 16:57:40 UTC
Created attachment 578186 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-31 16:57:43 UTC
Created attachment 578188 [details]
app-crypt:tpm2-tss-engine-1.0.0:20190531-021224.log
Comment 3 Toralf Förster gentoo-dev 2019-05-31 16:57:46 UTC
Created attachment 578190 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-05-31 16:57:48 UTC
Created attachment 578192 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-05-31 16:57:51 UTC
Created attachment 578194 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-31 16:57:54 UTC
Created attachment 578196 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-05-31 16:57:56 UTC
Created attachment 578198 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-05-31 17:44:05 UTC
The bug has been closed via the following commit(s):

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

commit 068c8bdae6d0baa32ccd8f788b4a2bef2be8f74b
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2019-05-31 17:43:16 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2019-05-31 17:43:44 +0000

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

 .../files/tpm2-tss-engine-1.0.0-libressl.patch     | 35 ++++++++++++++++++++++
 .../tpm2-tss-engine/tpm2-tss-engine-1.0.0.ebuild   |  1 +
 2 files changed, 36 insertions(+)