Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 669512

Summary: mail-filter/opendkim-2.10.3-r3: Cannot build shared opendkim against static openssl libraries
Product: Gentoo Linux Reporter: Craig Andrews <candrews>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: candrews
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/10218
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 592438    
Attachments: build.log

Description Craig Andrews gentoo-dev 2018-10-24 16:20:46 UTC
Created attachment 552704 [details]
build.log

When dev-libs/openssl-1.1.1 is installed, opendkim's emerge fails with:

checking for openssl/ssl.h... yes
checking for library containing ERR_peek_error... none required
checking for library containing SSL_library_init... no
configure: error: Cannot build shared opendkim
                                              against static openssl libraries.
                                              Configure with --disable-shared
                                              to get this working or obtain a
                                              shared libssl library for
                                              opendkim to use.
Comment 1 Craig Andrews gentoo-dev 2018-10-24 16:22:47 UTC
FreeBSD has a patch fixing this issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223568
Comment 2 Larry the Git Cow gentoo-dev 2018-10-25 13:39:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb8b6bb78adfa6f50f37a09b7fa8b16c5fd85471

commit bb8b6bb78adfa6f50f37a09b7fa8b16c5fd85471
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-10-24 20:57:27 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-10-25 13:39:26 +0000

    mail-filter/opendkim: Fix building with OpenSSL 1.1.1
    
    Closes: https://bugs.gentoo.org/669512
    Signed-off-by: Craig Andrews <candrews@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../files/opendkim-2.10.3-openssl-1.1.1.patch      | 170 +++++++++++++++++
 mail-filter/opendkim/opendkim-2.10.3-r4.ebuild     | 205 +++++++++++++++++++++
 2 files changed, 375 insertions(+)