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

Bug 655276

Summary: dev-lang/erlang-20.3.2 : crypto.c:279:18: error: static declaration of HMAC_CTX_new follows non-static declaration
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 Keywords: NeedPatch
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge-info.txt
dev-lang:erlang-20.3.2:20180508-000758.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-05-08 15:43:32 UTC
x86_64-pc-linux-gnu-gcc -c -o ../priv/obj/x86_64-pc-linux-gnu/crypto.o -Werror=undef -Werror=implicit -Werror=return-type  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement  -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -O2 -pipe -march=native -I/var/tmp/portage/dev-lang/erlang-20.3.2/work/otp-OTP-20.3.2/erts/x86_64-pc-linux-gnu   -fno-tree-copyrename  -DNDEBUG -D_GNU_SOURCE -fPIC  -DHAVE_DYNAMIC_CRYPTO_LIB -I/usr/include -I/var/tmp/portage/dev-lang/erlang-20.3.2/work/otp-OTP-20.3.2/erts/emulator/beam -I/var/tmp/portage/dev-lang/erlang-20.3.2/work/otp-OTP-20.3.2/erts/include -I/var/tmp/portage/dev-lang/erlang-20.3.2/work/otp-OTP-20.3.2/erts/include/x86_64-pc-linux-gnu -I/var/tmp/portage/dev-lang/erlang-20.3.2/work/otp-OTP-20.3.2/erts/include/internal -I/var/tmp/portage/dev-lang/erlang-20.3.2/work/otp-OTP-20.3.2/erts/include/internal/x86_64-pc-linux-gnu -I/var/tmp/portage/dev-lang/erlang-20.3.2/work/otp-OTP-20.3.2/erts/emulator/sys/unix -I/var/tmp/portage/dev-lang/erlang-20.3.2/work/otp-OTP-20.3.2/erts/emulator/sys/common crypto.c
crypto.c:279:18: error: static declaration of ‘HMAC_CTX_new’ follows non-static declaration
 static HMAC_CTX *HMAC_CTX_new(void);
                  ^~~~~~~~~~~~
In file included from crypto.c:62:0:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_libressl_20180506-193551

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-lang/erlang
[ebuild  N    ] dev-lang/erlang-20.3.2  USE="libressl ssl systemd -dirty-schedulers -doc -emacs -hipe -java -kpoll -odbc -sctp -smp -tk"
Comment 1 Toralf Förster gentoo-dev 2018-05-08 15:43:35 UTC
Created attachment 530444 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-08 15:43:38 UTC
Created attachment 530446 [details]
dev-lang:erlang-20.3.2:20180508-000758.log
Comment 3 Toralf Förster gentoo-dev 2018-05-08 15:43:41 UTC
Created attachment 530448 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-05-08 15:43:44 UTC
Created attachment 530450 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-05-08 15:43:47 UTC
Created attachment 530452 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-08 15:43:51 UTC
Created attachment 530454 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-05-08 15:43:54 UTC
Created attachment 530456 [details]
temp.tbz2
Comment 8 Pacho Ramos gentoo-dev 2018-10-20 18:50:27 UTC

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