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

Bug 710096

Summary: dev-lua/luacrypto-0.3.2-r1 : lcrypto.c:81:61: error: invalid application of sizeof to incomplete type EVP_MD_CTX
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-lua:luacrypto-0.3.2-r1:20200218-120906.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-18 18:56:04 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c lcrypto.c  -fPIC -DPIC -o .libs/lcrypto.o
lcrypto.c: In function digest_pnew:
lcrypto.c:81:61: error: invalid application of sizeof to incomplete type EVP_MD_CTX {aka struct evp_md_ctx_st}
   81 |     EVP_MD_CTX *c = (EVP_MD_CTX *)lua_newuserdata(L, sizeof(EVP_MD_CTX));
      |                                                             ^~~~~~~~~~
lcrypto.c: In function digest_reset:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20200215-095802

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

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

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:

ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 18 Feb 2020 11:37:34 +0000

emerge -qpvO dev-lua/luacrypto
[ebuild  N    ] dev-lua/luacrypto-0.3.2-r1  USE="-libressl"
Comment 1 Toralf Förster gentoo-dev 2020-02-18 18:56:07 UTC
Created attachment 614340 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-18 18:56:10 UTC
Created attachment 614342 [details]
dev-lua:luacrypto-0.3.2-r1:20200218-120906.log
Comment 3 Toralf Förster gentoo-dev 2020-02-18 18:56:13 UTC
Created attachment 614344 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-18 18:56:16 UTC
Created attachment 614346 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-18 18:56:19 UTC
Created attachment 614348 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-18 18:56:21 UTC
Created attachment 614350 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-18 18:56:24 UTC
Created attachment 614352 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-17 18:43:49 UTC

*** This bug has been marked as a duplicate of bug 674894 ***