Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600114 - net-mail/dovecot-2.2.25 with openssl USE="bindist" fails to build: openssl/ec.h: No such file or directory
Summary: net-mail/dovecot-2.2.25 with openssl USE="bindist" fails to build: openssl/ec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-17 16:37 UTC by Chris Mansfield
Modified: 2020-12-24 22:40 UTC (History)
2 users (show)

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


Attachments
output of emerge --info '=net-mail/dovecot-2.2.25::gentoo' (emerge-info.txt,4.70 KB, text/plain)
2016-11-17 16:37 UTC, Chris Mansfield
Details
output of emerge -pqv '=net-mail/dovecot-2.2.25::gentoo' (emerge-pqv.txt,288 bytes, text/plain)
2016-11-17 16:38 UTC, Chris Mansfield
Details
build log (build.log,216.47 KB, text/plain)
2016-11-17 16:38 UTC, Chris Mansfield
Details
environment (environment,113.74 KB, text/plain)
2016-11-17 16:39 UTC, Chris Mansfield
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mansfield 2016-11-17 16:37:01 UTC
Created attachment 453662 [details]
output of emerge --info '=net-mail/dovecot-2.2.25::gentoo'

This package shows up when I run 'emerge -au world' but it is failing to compile due to a missing file:

dcrypt-openssl.c:14:24: fatal error: openssl/ec.h: No such file or directory
 #include <openssl/ec.h>
Comment 1 Chris Mansfield 2016-11-17 16:38:02 UTC
Created attachment 453664 [details]
output of emerge -pqv '=net-mail/dovecot-2.2.25::gentoo'
Comment 2 Chris Mansfield 2016-11-17 16:38:35 UTC
Created attachment 453666 [details]
build log
Comment 3 Chris Mansfield 2016-11-17 16:39:09 UTC
Created attachment 453668 [details]
environment
Comment 4 Tomáš Mózes 2016-11-17 18:39:29 UTC
Do you have openssl with bindist?
Comment 5 Chris Mansfield 2016-11-17 18:59:30 UTC
Yes.

chris@onrampi ~ $ equery u dev-libs/openssl
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-libs/openssl-1.0.2j:
 U I
 + + asm           : Support assembly hand optimized crypto functions (i.e. faster run time)
 + + bindist       : Disable EC algorithms (as they seem to be patented) -- note: changes the ABI
 - - gmp           : Add support for dev-libs/gmp (GNU MP library)
 - - kerberos      : Add kerberos support
 - - rfc3779       : Enable support for RFC 3779 (X.509 Extensions for IP Addresses and AS Identifiers)
 - - sslv2         : Support for the old/insecure SSLv2 protocol -- note: not required for TLS/https
 + + sslv3         : Support for the old/insecure SSLv3 protocol -- note: not required for TLS/https
 - - static-libs   : Build static versions of dynamic libraries as well
 - - test          : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in
                     make.conf/package.use anymore
 + + tls-heartbeat : Enable the Heartbeat Extension in TLS and DTLS
 - - vanilla       : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the meaning
                     changes drastically
 + + zlib          : Add support for zlib (de)compression
Comment 6 Tomáš Mózes 2016-11-17 23:05:53 UTC
Can you try with openssl -bindist?
Comment 7 Chris Mansfield 2016-11-18 00:45:22 UTC
Yes I changed openssl and openssh to -bindist and now it compiles.
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2018-06-11 14:09:49 UTC
please retest with openssl-1.0.2o-r5[bindist]
Comment 9 Chris Mansfield 2020-12-24 22:40:59 UTC
this problem went away a long time ago. Sorry for leaving it open so long.