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

Bug 672834

Summary: net-wireless/hostapd-2.7 : tls_openssl.c:(.text+<snip>): undefined reference to ASN1_STRING_get0_data
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andriy Utkin (RETIRED) <andrey_utkin>
Status: RESOLVED FIXED    
Severity: normal CC: zerochaos
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
net-wireless:hostapd-2.7:20181209-185256.log

Description Toralf Förster gentoo-dev 2018-12-09 19:04:36 UTC
../src/crypto/tls_openssl.o: In function `tls_verify_cb':
tls_openssl.c:(.text+0x14e7): undefined reference to `ASN1_STRING_get0_data'
../src/crypto/tls_openssl.o: In function `tls_connection_peer_serial_num':
tls_openssl.c:(.text+0x3103): undefined reference to `ASN1_STRING_get0_data'
collect2: error: ld returned 1 exit status

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

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

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

  Please see the tracker bug for details.

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

emerge -qpvO net-wireless/hostapd
[ebuild     U ] net-wireless/hostapd-2.7 [2.6_p20180822] USE="crda ipv6 libressl wps -internal-tls -logwatch -netlink -savedconfig -sqlite"
Comment 1 Toralf Förster gentoo-dev 2018-12-09 19:04:39 UTC
Created attachment 557454 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-12-09 19:04:41 UTC
Created attachment 557456 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-12-09 19:04:44 UTC
Created attachment 557458 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-12-09 19:04:47 UTC
Created attachment 557460 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-12-09 19:04:50 UTC
Created attachment 557462 [details]
net-wireless:hostapd-2.7:20181209-185256.log
Comment 6 Andriy Utkin (RETIRED) gentoo-dev 2018-12-10 10:44:00 UTC
Thanks for testing and report, will look soon.
Comment 7 Larry the Git Cow gentoo-dev 2018-12-11 15:01:51 UTC
The bug has been referenced in the following commit(s):

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

commit dc294064e2abe741f6f57fe74d1e208479db8e23
Author:     Andrey Utkin <andrey_utkin@gentoo.org>
AuthorDate: 2018-12-11 15:01:06 +0000
Commit:     Andrey Utkin <andrey_utkin@gentoo.org>
CommitDate: 2018-12-11 15:01:26 +0000

    net-wireless/hostapd: 2.7-r1: fix USE=libressl
    
    Bug: https://bugs.gentoo.org/672834
    Package-Manager: Portage-2.3.49, Repoman-2.3.12
    Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>

 net-wireless/hostapd/Manifest              | 1 +
 net-wireless/hostapd/hostapd-2.7-r1.ebuild | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)
Comment 8 Andriy Utkin (RETIRED) gentoo-dev 2018-12-11 15:06:30 UTC
Also submitted upstream: http://lists.infradead.org/pipermail/hostap/2018-December/039108.html