../src/crypto/tls_openssl.o: In function `tls_verify_cb': tls_openssl.c:(.text+0x16ad): undefined reference to `ASN1_STRING_get0_data' ../src/crypto/tls_openssl.o: In function `tls_connection_peer_serial_num': tls_openssl.c:(.text+0x35b3): 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-no-multilib-hardened_libressl_20181127-210345 ------------------------------------------------------------------- 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] pypy3 (fallback) [5] pypy (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) [2] ruby24 (with Rubygems) [3] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.30.1 * [2] rust-bin-1.30.1 java-config: The following VMs are available for generation-2: emerge -qpvO net-wireless/wpa_supplicant [ebuild U ] net-wireless/wpa_supplicant-2.7 [2.6-r9] USE="hs2-0 libressl readline ssl -ap -bindist -dbus -eap-sim -eapol_test -fasteap -gnutls -p2p -privsep (-ps3) -qt5 (-selinux) -smartcard -suiteb -tdls -uncommon-eap-types (-wimax) -wps"
Created attachment 557158 [details] emerge-info.txt
Created attachment 557160 [details] emerge-history.txt
Created attachment 557162 [details] environment
Created attachment 557164 [details] etc.portage.tbz2
Created attachment 557166 [details] net-wireless:wpa_supplicant-2.7:20181206-002721.log
The error looks like it is trying to build against openssl 1.1 but it is actually building against libressl. Not sure why it breaks though
Created attachment 557742 [details, diff] Fix seems like it compiles properly with this patch, check it out
Created attachment 557744 [details, diff] Ebuild fix jeez, what a mess of an ebuild i've spent like thrice more time trying to figure out why doesn't my patch apply by default than fixing the actual error
This was fixed in 837e36583a "Fix build with LibreSSL", http://lists.infradead.org/pipermail/hostap/2018-December/039110.html See also: https://bugs.gentoo.org/672834 Yet we need to add the patch into the wpa_supplicant-2.7 ebuild.
https://github.com/gentoo/gentoo/pull/10827 Thanks for the PR, merged