x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fpic -std=gnu99 -Wall -pedantic -DUSE_OPENSSL -DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `x86_64-pc-linux-gnu-pkg-config --cflags openssl` -DCONFIG_LIBNL30 `x86_64-pc-linux-gnu-pkg-config --cflags libnl-3.0` -o crda.o crda.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fpic -std=gnu99 -Wall -pedantic -DUSE_OPENSSL -DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `x86_64-pc-linux-gnu-pkg-config --cflags openssl` -DCONFIG_LIBNL30 `x86_64-pc-linux-gnu-pkg-config --cflags libnl-3.0` -Wl,-O1 -Wl,--as-needed -L ./ -o crda crda.o -lreg -lm `x86_64-pc-linux-gnu-pkg-config --libs openssl` -lnl-genl-3 -lnl-3 `x86_64-pc-linux-gnu-pkg-config --libs libnl-3.0` .//libreg.so: undefined reference to `RSA_set0_key' collect2: error: ld returned 1 exit status make: *** [Makefile:136: crda] Error 1 * ERROR: net-wireless/crda-3.18-r2::gentoo failed (compile phase): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-systemd_libressl_20181019-202112 ------------------------------------------------------------------- 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] pypy (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) [2] ruby25 (with Rubygems) * emerge -qpvO net-wireless/crda [ebuild N ] net-wireless/crda-3.18-r2 USE="libressl -gcrypt"
Created attachment 552902 [details] emerge-info.txt
Created attachment 552904 [details] emerge-history.txt
Created attachment 552906 [details] environment
Created attachment 552908 [details] etc.portage.tbz2
Created attachment 552910 [details] net-wireless:crda-3.18-r2:20181025-002832.log
Created attachment 552912 [details] temp.tbz2
Created attachment 553066 [details, diff] crda-3.18-libressl.patch Patch to fix compilation with libressl.
alfredthetomato, thanks. Will you submit this patch upstream?
*** Bug 672604 has been marked as a duplicate of this bug. ***
I add just a small comment here, it seems that CRDA is needed only for kernels before 4.15 and is marked as legacy. https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/commit/?id=f4ef2531698fb9ba006e8b31a223b3269be8bc7c Maybe net-wireless/wpa_supplicant needs its deps relaxed or check if running kernel <4.15 and compile only then? wpa_supplicant: ... CDEPEND="dbus? ( sys-apps/dbus ) kernel_linux? ( dev-libs/libnl:3 net-wireless/crda eap-sim? ( sys-apps/pcsc-lite ) ) !kernel_linux? ( net-libs/libpcap ) ...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d747741061e9a86d4d56b953f55577ddd2e55f commit 24d747741061e9a86d4d56b953f55577ddd2e55f Author: Stefan Strogin <stefan.strogin@gmail.com> AuthorDate: 2018-12-12 00:01:04 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2019-02-16 18:28:23 +0000 net-wireless/crda: fix build with LibreSSL Closes: https://bugs.gentoo.org/669596 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10617 Signed-off-by: Aaron Bauman <bman@gentoo.org> .../crda/{crda-3.18-r2.ebuild => crda-3.18-r3.ebuild} | 3 ++- net-wireless/crda/files/crda-3.18-libressl.patch | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-)