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

Bug 674894

Summary: dev-lua/luacrypto-0.3.2-r1 : lcrypto.c:81:61: error: invalid application of sizeof to incomplete type EVP_MD_CTX {aka struct evp_md_ctx_st }
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 FIXED    
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:20190108-074729.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-01-08 18:29:51 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -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’}
     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.0-desktop_test_20190102-071440

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

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]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.31.1 *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.9.0 [icedtea-8]
*)	IcedTea JDK 3.9.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

emerge -qpvO dev-lua/luacrypto
[ebuild  N    ] dev-lua/luacrypto-0.3.2-r1  USE="-libressl"
Comment 1 Toralf Förster gentoo-dev 2019-01-08 18:29:54 UTC
Created attachment 560378 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-08 18:29:57 UTC
Created attachment 560380 [details]
dev-lua:luacrypto-0.3.2-r1:20190108-074729.log
Comment 3 Toralf Förster gentoo-dev 2019-01-08 18:30:00 UTC
Created attachment 560382 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-01-08 18:30:02 UTC
Created attachment 560384 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-01-08 18:30:05 UTC
Created attachment 560386 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-01-08 18:30:08 UTC
Created attachment 560388 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-01-08 18:30:11 UTC
Created attachment 560390 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-17 18:43:49 UTC
*** Bug 710096 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2020-12-04 11:32:31 UTC
The bug has been closed via the following commit(s):

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

commit e4a13771f0dba826e3f2cd8986bb1b0f7a2ce972
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-12-04 11:26:23 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-12-04 11:26:23 +0000

    dev-lua/luacrypto: last rite package
    
    Closes: https://bugs.gentoo.org/471930
    Closes: https://bugs.gentoo.org/674894
    Closes: https://bugs.gentoo.org/730014
    Closes: https://bugs.gentoo.org/736190
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-lua/luacrypto/Manifest                         |  1 -
 .../files/luacrypto-0.3.2-lualibdir.patch          | 11 ------
 dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild        | 39 ----------------------
 dev-lua/luacrypto/metadata.xml                     |  8 -----
 profiles/package.mask                              |  6 ----
 5 files changed, 65 deletions(-)