Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653596 - net-wireless/wpa_supplicant-2.6-r6 - In file included from ../src/eap_common/eap_pwd_common.c:14:0: ../src/eap_common/eap_pwd_common.h:13:24: fatal error: openssl/ec.h: No such file or directory
Summary: net-wireless/wpa_supplicant-2.6-r6 - In file included from ../src/eap_common/...
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:
Depends on:
Blocks:
 
Reported: 2018-04-20 10:21 UTC by MJ
Modified: 2018-04-27 00:41 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,65.93 KB, text/plain)
2018-04-20 10:21 UTC, MJ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MJ 2018-04-20 10:21:05 UTC
Created attachment 528080 [details]
build.log

Package "net-wireless/wpa_supplicant-2.6-r6" fails to build in the latest repository sync (As of the 20th of April 2018). The following message is shown during "emerge --ask --update wpa_supplicant":

n file included from ../src/eap_common/eap_pwd_common.c:14:0:
../src/eap_common/eap_pwd_common.h:13:24: fatal error: openssl/ec.h: No such file or directory
 #include <openssl/ec.h>
                        ^
compilation terminated.
In file included from ../src/eap_peer/eap_pwd.c:15:0:
/var/tmp/portage/net-wireless/wpa_supplicant-2.6-r6/work/wpa_supplicant-2.6/src/eap_common/eap_pwd_common.h:13:24: fatal error: openssl/ec.h: No such file or directory
 #include <openssl/ec.h>
                        ^
compilation terminated.
make: *** [Makefile:1776: ../src/eap_peer/eap_pwd.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:1776: ../src/eap_common/eap_pwd_common.o] Error 1
 * ERROR: net-wireless/wpa_supplicant-2.6-r6::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-wireless/wpa_supplicant-2.6-r6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/wpa_supplicant-2.6-r6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-wireless/wpa_supplicant-2.6-r6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/wpa_supplicant-2.6-r6/temp/environment'.
 * Working directory: '/var/tmp/portage/net-wireless/wpa_supplicant-2.6-r6/work/wpa_supplicant-2.6/wpa_supplicant'
 * S: '/var/tmp/portage/net-wireless/wpa_supplicant-2.6-r6/work/wpa_supplicant-2.6/wpa_supplicant'

>>> Failed to emerge net-wireless/wpa_supplicant-2.6-r6, Log file:

>>>  '/var/tmp/portage/net-wireless/wpa_supplicant-2.6-r6/temp/build.log'
Comment 1 Marco Leogrande 2018-04-21 02:40:59 UTC
I have the same issue, and I suspect this is due to having dev-libs/openssl-1.0.2o installed with USE=bindist.
Comment 2 Marco Leogrande 2018-04-21 03:00:13 UTC
(In reply to Marco Leogrande from comment #1)
> I have the same issue, and I suspect this is due to having
> dev-libs/openssl-1.0.2o installed with USE=bindist.

Indeed, rebuilding dev-libs/openssl-1.0.2o without bindist fixed the compilation error for me.
Comment 3 Markus Wernig 2018-04-22 14:22:28 UTC
Same here.

Rather obviously, switching to gnutls via the appropriate USE flag for wpa_supplicant also "resolves" the problem.
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2018-04-23 16:32:32 UTC
I've set the openssl dep to require -bindist, not much else I can do here.
Comment 5 MJ 2018-04-26 14:38:52 UTC
(In reply to Rick Farina (Zero_Chaos) from comment #4)
> I've set the openssl dep to require -bindist, not much else I can do here.

I wouldn't recommend that, since (For me at least) there are packages in @system that require "bindist" flag in openssl, which caused problems when I tried to update wpa_supplicant.

I'd say just restore everything to how it was (The requiring of -bindist for openssl) and mask this version of wpa_supplicant. I would then report this bug to wpa_supplicant's devs.
Comment 6 Rick Farina (Zero_Chaos) gentoo-dev 2018-04-27 00:41:55 UTC
I plan to make bindist optional again in the near future, but that doesn't prevent you from using gnutls right now.  Additionally, it's not really upstream's problem that gentoo yanks ALL ec from openssl even when only some of it is patented.