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

Bug 716040

Summary: net-vpn/openconnect-7.08-r1::libressl openssl-esp.c: error: static declaration of HMAC_CTX_new follows non-static declaration
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo LibreSSL <libressl>
Status: RESOLVED WONTFIX    
Severity: normal CC: floppym, williamh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-vpn:openconnect-7.08-r1:20200403-162101.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-03 16:27:58 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR=\/usr/share/locale\ -Wall -Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Werror=pointer-to-int-cast -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wnested-externs -Wpointer-arith -Wwrite-strings -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -c openssl-esp.c  -fPIC -DPIC -o .libs/libopenconnect_la-openssl-esp.o
openssl-esp.c:40:25: error: static declaration of HMAC_CTX_new follows non-static declaration
   40 | static inline HMAC_CTX *HMAC_CTX_new(void)
      |                         ^~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:150,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-libressl_abi32+64-20200329-120004

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri 03 Apr 2020 03:37:47 PM UTC
/var/db/repos/libressl	Thu 19 Mar 2020 04:37:24 PM UTC

emerge -qpvO net-vpn/openconnect
[ebuild  N    ] net-vpn/openconnect-7.08-r1  USE="libressl nls -doc -gnutls -gssapi -java -libproxy -lz4 -smartcard -static-libs -stoken"
Comment 1 Toralf Förster gentoo-dev 2020-04-03 16:28:01 UTC
Created attachment 629434 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-03 16:28:04 UTC
Created attachment 629436 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-03 16:28:06 UTC
Created attachment 629438 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-03 16:28:09 UTC
Created attachment 629440 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-03 16:28:12 UTC
Created attachment 629442 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-03 16:28:15 UTC
Created attachment 629444 [details]
net-vpn:openconnect-7.08-r1:20200403-162101.log
Comment 7 Toralf Förster gentoo-dev 2020-04-03 16:28:18 UTC
Created attachment 629446 [details]
temp.tbz2
Comment 8 Mike Gilbert gentoo-dev 2020-11-21 17:11:37 UTC
I dropped libressl support from recent versions of openconnect.