Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 614342 Details for
Bug 710096
dev-lua/luacrypto-0.3.2-r1 : lcrypto.c:81:61: error: invalid application of sizeof to incomplete type EVP_MD_CTX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-lua:luacrypto-0.3.2-r1:20200218-120906.log
dev-lua:luacrypto-0.3.2-r1:20200218-120906.log (text/plain), 16.15 KB, created by
Toralf Förster
on 2020-02-18 18:56:10 UTC
(
hide
)
Description:
dev-lua:luacrypto-0.3.2-r1:20200218-120906.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-02-18 18:56:10 UTC
Size:
16.15 KB
patch
obsolete
> * Package: dev-lua/luacrypto-0.3.2-r1 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking luacrypto-0.3.2.tar.gz to /var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work >>>> Source unpacked in /var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work >>>> Preparing source in /var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work/luacrypto-0.3.2 ... > * Applying luacrypto-0.3.2-lualibdir.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work/luacrypto-0.3.2' ... > * Running libtoolize --install --copy --force --automake ... > [ ok ] > * Running aclocal -I m4 ... > [ ok ] > * Running autoconf --force ... > [ ok ] > * Running autoheader ... > [ ok ] > * Running automake --add-missing --copy --force-missing ... > [ ok ] > * Running elibtoolize in: luacrypto-0.3.2/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work/luacrypto-0.3.2 ... > * econf: updating luacrypto-0.3.2/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating luacrypto-0.3.2/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --htmldir=/usr/share/doc/luacrypto-0.3.2-r1/html >checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to print strings... printf >checking whether make supports the include directive... yes (GNU style) >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for a sed that does not truncate output... /bin/sed >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fgrep... /bin/grep -F >checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok >checking for sysroot... no >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes >checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none >checking for pkg-config... /usr/bin/pkg-config >checking stddef.h usability... yes >checking stddef.h presence... yes >checking for stddef.h... yes >checking for string.h... (cached) yes >checking for size_t... yes >checking for stdlib.h... (cached) yes >checking for GNU libc compatible malloc... yes >checking for memset... yes >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for OPENSSL... yes >checking for LUA... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating doc/Makefile >config.status: creating tests/Makefile >config.status: creating luacrypto.pc >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing libtool commands > >luacrypto.................................... : Version 0.3.1 >Prefix....................................... : /usr >Lua libdir (installdest)..................... : /usr/lib64/lua/5.1 >htmldir...................................... : /usr/share/doc/luacrypto-0.3.2-r1/html >docdir....................................... : ${datarootdir}/doc/${PACKAGE_TARNAME} > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work/luacrypto-0.3.2 ... >make -j1 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work/luacrypto-0.3.2' >Making all in src >make[2]: Entering directory '/var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work/luacrypto-0.3.2/src' >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c -o lcrypto.lo lcrypto.c >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: >lcrypto.c:120:10: warning: implicit declaration of function EVP_MD_CTX_cleanup; did you mean EVP_MD_CTX_create? [-Wimplicit-function-declaration] > 120 | if (!EVP_MD_CTX_cleanup(c)) > | ^~~~~~~~~~~~~~~~~~ > | EVP_MD_CTX_create >lcrypto.c: In function encrypt_pnew: >lcrypto.c:331:69: error: invalid application of sizeof to incomplete type EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st} > 331 | P_CIPHER_CTX *c = (EVP_CIPHER_CTX *)lua_newuserdata(L, sizeof(EVP_CIPHER_CTX)); > | ^~~~~~~~~~~~~~ > >lcrypto.c: In function encrypt_fencrypt: >lcrypto.c:425:20: error: storage size of c isnt known > 425 | EVP_CIPHER_CTX c; > | ^ >lcrypto.c: In function decrypt_pnew: >lcrypto.c:470:69: error: invalid application of sizeof to incomplete type EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st} > 470 | P_CIPHER_CTX *c = (EVP_CIPHER_CTX *)lua_newuserdata(L, sizeof(EVP_CIPHER_CTX)); > | ^~~~~~~~~~~~~~ > >lcrypto.c: In function decrypt_fdecrypt: >lcrypto.c:561:20: error: storage size of c isnt known > 561 | EVP_CIPHER_CTX c; > | ^ >lcrypto.c: In function hmac_pnew: >lcrypto.c:604:57: error: invalid application of sizeof to incomplete type HMAC_CTX {aka struct hmac_ctx_st} > 604 | HMAC_CTX *c = (HMAC_CTX *)lua_newuserdata(L, sizeof(HMAC_CTX)); > | ^~~~~~~~ >lcrypto.c: In function hmac_fnew: >lcrypto.c:621:5: warning: implicit declaration of function HMAC_CTX_init; did you mean HMAC_CTX_new? [-Wimplicit-function-declaration] > 621 | HMAC_CTX_init(c); > | ^~~~~~~~~~~~~ > | HMAC_CTX_new >lcrypto.c: In function hmac_clone: >lcrypto.c:631:5: error: dereferencing pointer to incomplete type HMAC_CTX {aka struct hmac_ctx_st} > 631 | *d = *c; > | ^~ >lcrypto.c: In function hmac_gc: >lcrypto.c:697:5: warning: implicit declaration of function HMAC_CTX_cleanup [-Wimplicit-function-declaration] > 697 | HMAC_CTX_cleanup(c); > | ^~~~~~~~~~~~~~~~ >lcrypto.c: In function hmac_fdigest: >lcrypto.c:711:14: error: storage size of c isnt known > 711 | HMAC_CTX c; > | ^ >lcrypto.c: In function sign_pnew: >lcrypto.c:747:61: error: invalid application of sizeof to incomplete type EVP_MD_CTX {aka struct evp_md_ctx_st} > 747 | EVP_MD_CTX *c = (EVP_MD_CTX *)lua_newuserdata(L, sizeof(EVP_MD_CTX)); > | ^~~~~~~~~~ >lcrypto.c: In function sign_fsign: >lcrypto.c:828:20: error: storage size of c isnt known > 828 | EVP_MD_CTX c; > | ^ >lcrypto.c: In function verify_pnew: >lcrypto.c:857:61: error: invalid application of sizeof to incomplete type EVP_MD_CTX {aka struct evp_md_ctx_st} > 857 | EVP_MD_CTX *c = (EVP_MD_CTX *)lua_newuserdata(L, sizeof(EVP_MD_CTX)); > | ^~~~~~~~~~ >lcrypto.c: In function verify_fverify: >lcrypto.c:940:20: error: storage size of c isnt known > 940 | EVP_MD_CTX c; > | ^ >lcrypto.c: In function rand_pseudo_bytes: >lcrypto.c:992:5: warning: RAND_pseudo_bytes is deprecated [-Wdeprecated-declarations] > 992 | return rand_do_bytes(L, RAND_pseudo_bytes); > | ^~~~~~ >In file included from /usr/include/openssl/opensslconf.h:10, > from /usr/include/openssl/e_os2.h:13, > from /usr/include/openssl/err.h:13, > from lcrypto.c:7: >/usr/include/openssl/rand.h:44:1: note: declared here > 44 | DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) > | ^~~~~~~~~~~~~~~~~~ >lcrypto.c: In function pkey_generate: >lcrypto.c:1064:9: warning: RSA_generate_key is deprecated [-Wdeprecated-declarations] > 1064 | RSA *rsa = RSA_generate_key(key_len, RSA_F4, NULL, NULL); > | ^~~ >In file included from /usr/include/openssl/opensslconf.h:10, > from /usr/include/openssl/e_os2.h:13, > from /usr/include/openssl/err.h:13, > from lcrypto.c:7: >/usr/include/openssl/rsa.h:234:1: note: declared here > 234 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void > | ^~~~~~~~~~~~~~~~~~ >lcrypto.c:1074:9: warning: DSA_generate_parameters is deprecated [-Wdeprecated-declarations] > 1074 | DSA *dsa = DSA_generate_parameters(key_len, NULL, 0, NULL, NULL, NULL, NULL); > | ^~~ >In file included from /usr/include/openssl/opensslconf.h:10, > from /usr/include/openssl/e_os2.h:13, > from /usr/include/openssl/err.h:13, > from lcrypto.c:7: >/usr/include/openssl/dsa.h:117:1: note: declared here > 117 | DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits, > | ^~~~~~~~~~~~~~~~~~ >lcrypto.c: In function pkey_to_pem: >lcrypto.c:1164:27: error: dereferencing pointer to incomplete type struct evp_pkey_st > 1164 | if (private && pkey_st->type == EVP_PKEY_DSA) > | ^~ >lcrypto.c: In function pkey_tostring: >lcrypto.c:1277:60: error: dereferencing pointer to incomplete type EVP_PKEY {aka struct evp_pkey_st} > 1277 | sprintf(buf, "%s %s %d %p", LUACRYPTO_PKEYNAME, (*pkey)->type == EVP_PKEY_DSA ? "DSA" : "RSA", EVP_PKEY_bits(*pkey), pkey); > | ^~ >lcrypto.c: In function seal_pnew: >lcrypto.c:1299:46: error: invalid application of sizeof to incomplete type EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st} > 1299 | c->ctx = (EVP_CIPHER_CTX *)malloc(sizeof(EVP_CIPHER_CTX)); > | ^~~~~~~~~~~~~~ >In file included from lcrypto.c:8: >lcrypto.c: In function seal_tostring: >lcrypto.c:1320:81: error: dereferencing pointer to incomplete type EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st} > 1320 | s, "%s %p %s", LUACRYPTO_SEALNAME, (void *)c, EVP_CIPHER_name(c->ctx->cipher)); > | ^~ > >lcrypto.c: In function seal_fseal: >lcrypto.c:1400:20: error: storage size of ctx isnt known > 1400 | EVP_CIPHER_CTX ctx; > | ^~~ >lcrypto.c: In function open_pnew: >lcrypto.c:1483:46: error: invalid application of sizeof to incomplete type EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st} > 1483 | c->ctx = (EVP_CIPHER_CTX *)malloc(sizeof(EVP_CIPHER_CTX)); > | ^~~~~~~~~~~~~~ >lcrypto.c: In function open_fopen: >lcrypto.c:1602:20: error: storage size of ctx isnt known > 1602 | EVP_CIPHER_CTX ctx; > | ^~~ >make[2]: *** [Makefile:449: lcrypto.lo] Error 1 >make[2]: Leaving directory '/var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work/luacrypto-0.3.2/src' >make[1]: *** [Makefile:464: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work/luacrypto-0.3.2' >make: *** [Makefile:373: all] Error 2 > * ERROR: dev-lua/luacrypto-0.3.2-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-lua/luacrypto-0.3.2-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-lua/luacrypto-0.3.2-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-lua:luacrypto-0.3.2-r1:20200218-120906.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work/luacrypto-0.3.2' > * S: '/var/tmp/portage/dev-lua/luacrypto-0.3.2-r1/work/luacrypto-0.3.2'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 710096
:
614340
| 614342 |
614344
|
614346
|
614348
|
614350
|
614352