Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678784 - net-wireless/wpa_supplicant-2.7-r2 : tls_openssl.c:(.text+<snip>): undefined reference to SSL_set1_sigalgs_list
Summary: net-wireless/wpa_supplicant-2.7-r2 : tls_openssl.c:(.text+<snip>): undefined ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2019-02-25 18:16 UTC by Toralf Förster
Modified: 2019-03-26 17:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.28 KB, text/plain)
2019-02-25 18:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,71.98 KB, text/plain)
2019-02-25 18:16 UTC, Toralf Förster
Details
environment (environment,100.61 KB, text/plain)
2019-02-25 18:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.60 KB, application/x-bzip)
2019-02-25 18:16 UTC, Toralf Förster
Details
net-wireless:wpa_supplicant-2.7-r1:20190225-132333.log (net-wireless:wpa_supplicant-2.7-r1:20190225-132333.log,243.60 KB, text/plain)
2019-02-25 18:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-02-25 18:16:23 UTC
../src/crypto/tls_openssl.o: In function `tls_set_conn_flags':
tls_openssl.c:(.text+0x5dd): undefined reference to `SSL_set1_sigalgs_list'
tls_openssl.c:(.text+0x622): undefined reference to `SSL_set_cert_cb'
collect2: error: ld returned 1 exit status
make: *** [Makefile:1892: wpa_supplicant] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_libressl-abi32+64_20190223-135741

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

  Please see the tracker bug for details.

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.32.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.10.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO net-wireless/wpa_supplicant
[ebuild  N    ] net-wireless/wpa_supplicant-2.7-r1  USE="dbus hs2-0 libressl qt5 readline ssl suiteb -ap -bindist -eap-sim -eapol_test -fasteap -gnutls -p2p -privsep (-ps3) (-selinux) -smartcard -tdls -uncommon-eap-types (-wimax) -wps"
Comment 1 Toralf Förster gentoo-dev 2019-02-25 18:16:26 UTC
Created attachment 566480 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-02-25 18:16:29 UTC
Created attachment 566482 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-02-25 18:16:31 UTC
Created attachment 566484 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-02-25 18:16:34 UTC
Created attachment 566486 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-02-25 18:16:37 UTC
Created attachment 566488 [details]
net-wireless:wpa_supplicant-2.7-r1:20190225-132333.log
Comment 6 pagorman 2019-02-27 00:19:19 UTC
Builds fine without the suiteb flag. 

Looking at what that suiteb is? Wow, that'd be nice if it did work.

I recognize those lines - are they new to TLS-1.3 in openSSL? I saw them when I gave a quick shot at the OpenVPN error.
Comment 7 Ulenrich 2019-03-22 22:17:51 UTC
Now that USE "suiteb" is purged, and I cannot disable it, it produces the above same error for me with -r2:
---
[ebuild     U  ] net-wireless/wpa_supplicant-2.7-r2::gentoo [2.7-r1::pmaci] USE="-ap -bindist dbus -eap-sim -eapol_test -fasteap (-gnutls%) -hs2-0 libressl -macsec% -p2p -privsep (-ps3) qt5 readline (-selinux) -smartcard (-ssl%*) (-suiteb%) -tdls -uncommon-eap-types (-wimax) -wps" 0 KiB
,
.
../src/crypto/tls_openssl.o: In function `tls_set_conn_flags':
tls_openssl.c:(.text+0x5dd): undefined reference to `SSL_set1_sigalgs_list'
tls_openssl.c:(.text+0x622): undefined reference to `SSL_set_cert_cb'
collect2: error: ld returned 1 exit status
make: *** [Makefile:1892: wpa_supplicant] Error 1
Comment 8 Ulenrich 2019-03-23 06:49:26 UTC
(In reply to Ulenrich from comment #7)
> Now that USE "suiteb" is purged, and I cannot disable it, it produces the
> above same error for me with -r2:

After having had a look into the new ebuild, I saw the way howto block suiteb:

I enable USE "bindist"
(which disables a bunch of special other features also, but I don't need them)
then emerging net-wireless/wpa_supplicant-2.7-r2 does NOT fail!
Comment 9 Rick Farina (Zero_Chaos) gentoo-dev 2019-03-25 18:00:46 UTC
What version of openssl are you all building with?  I'm building with openssl-1.0.2r and it's fine.
Comment 10 Toralf Förster gentoo-dev 2019-03-25 18:10:27 UTC
from the attached emerge history:

Sat Feb 23 19:21:43 2019 >>> dev-libs/libressl-2.8.3
Comment 11 Rick Farina (Zero_Chaos) gentoo-dev 2019-03-25 18:22:27 UTC
can anyone test if SUITEB works when you remove the SUITEB192 line?  Just curious if it's just 192 that fails or all suiteb.
Comment 12 Stefan Strogin gentoo-dev 2019-03-25 20:06:14 UTC
I tested compilation with CONFIG_SUITEB=y without CONFIG_SUITEB192, it fails. LibreSSL-2.8.3.
And it is strange but I can build wpa_supplicant as well as hostapd with CONFIG_SUITEB=n and CONFIG_SUITEB192=y. I do not know if such configuration can be useful. Do you know?

Rick, could you please look at the PR?
Comment 13 Arfrever Frehtes Taifersar Arahesis 2019-03-26 01:54:39 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=013f21b40ef90710a03ee28cbf43a6fc600c7b17

commit 013f21b40ef90710a03ee28cbf43a6fc600c7b17
Author:     Rick Farina <zerochaos@gentoo.org>
AuthorDate: 2019-03-25 19:25:40 +0000
Commit:     Rick Farina <zerochaos@gentoo.org>
CommitDate: 2019-03-25 19:25:57 +0000

    net-wireless/wpa_supplicant: fix bug# 678784
    
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Comment 14 Stefan Strogin gentoo-dev 2019-03-26 17:39:30 UTC
All right. Thanks, Arfrever.