Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674892 - mail-filter/libdkim-1.0.21-r4 : removal / dkimsign.h:63:13: error: field m_Hdr_ietf_sha1ctx has incomplete type EVP_MD_CTX {aka evp_md_ctx_st }
Summary: mail-filter/libdkim-1.0.21-r4 : removal / dkimsign.h:63:13: error: field m_Hd...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2019-04-20
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2019-01-08 18:29 UTC by Toralf Förster
Modified: 2019-04-20 08:15 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.76 KB, text/plain)
2019-01-08 18:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,224.56 KB, text/plain)
2019-01-08 18:29 UTC, Toralf Förster
Details
environment (environment,57.64 KB, text/plain)
2019-01-08 18:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.36 KB, application/x-bzip)
2019-01-08 18:29 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.01 KB, application/x-bzip)
2019-01-08 18:29 UTC, Toralf Förster
Details
mail-filter:libdkim-1.0.21-r4:20190108-010528.log (mail-filter:libdkim-1.0.21-r4:20190108-010528.log,13.02 KB, text/plain)
2019-01-08 18:29 UTC, Toralf Förster
Details
Patch libdkim to compile with OpenSSL 1.1 (libdkim-openssl-1.1.patch,9.39 KB, patch)
2019-04-10 06:34 UTC, James Wah
Details | Diff
Patch for OpenSSL 1.1, ready for portage tree (0001-mail-filter-libdkim-update-for-openssl-1.1.x.patch,11.92 KB, patch)
2019-04-10 06:45 UTC, James Wah
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-01-08 18:29:00 UTC
x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -o dkim.po -c dkim.cpp
In file included from dkim.cpp:28:
dkimsign.h:63:13: error: field ‘m_Hdr_ietf_sha1ctx’ has incomplete type ‘EVP_MD_CTX’ {aka ‘evp_md_ctx_st’}
  EVP_MD_CTX m_Hdr_ietf_sha1ctx;  /* the header hash for ietf sha1  */
             ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_20190103-211217

  -------------------------------------------------------------------

  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]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.31.1 *
java-config:
The following VMs are available for generation-2:


emerge -qpvO mail-filter/libdkim
[ebuild  N    ] mail-filter/libdkim-1.0.21-r4  USE="-libressl -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-01-08 18:29:03 UTC
Created attachment 560366 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-08 18:29:06 UTC
Created attachment 560368 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-01-08 18:29:09 UTC
Created attachment 560370 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-01-08 18:29:12 UTC
Created attachment 560372 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-01-08 18:29:14 UTC
Created attachment 560374 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-01-08 18:29:17 UTC
Created attachment 560376 [details]
mail-filter:libdkim-1.0.21-r4:20190108-010528.log
Comment 7 Craig Andrews gentoo-dev 2019-01-09 15:18:24 UTC
Tree cleaners,

Please consider last riting this package. It has no maintainer and upstream is dead (last release in 2010, no web site activity).

Thanks!
Comment 8 Larry the Git Cow gentoo-dev 2019-03-21 14:05:54 UTC
The bug has been referenced in the following commit(s):

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

commit 9e255e654afce3ab7c48fb66bd10c0fdb098ec46
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-03-21 14:04:05 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-03-21 14:04:08 +0000

    package.mask: Next batch of openssl-1.1+ cleanup
    
    Bug: https://bugs.gentoo.org/674892
    Bug: https://bugs.gentoo.org/674896
    Bug: https://bugs.gentoo.org/674234
    Bug: https://bugs.gentoo.org/678606
    Bug: https://bugs.gentoo.org/674174
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 10 ++++++++++
 1 file changed, 10 insertions(+)
Comment 9 James Wah 2019-04-10 06:34:41 UTC
Created attachment 572360 [details, diff]
Patch libdkim to compile with OpenSSL 1.1

Here is a patch that corrects the issue on OpenSSL 1.1.x.

Tested on openssl-1.1.1b-r2 and openssl-1.0.2r.
Comment 10 James Wah 2019-04-10 06:37:44 UTC
Apologies, I should have formatted the patch to be merged straight into the tree. I'll be back with that shortly.
Comment 11 James Wah 2019-04-10 06:45:28 UTC
Created attachment 572362 [details, diff]
Patch for OpenSSL 1.1, ready for portage tree
Comment 12 James Wah 2019-04-12 02:39:20 UTC
Is the correct thing to do to remove the old ebuild, or to modify its dependencies to <openssl-1.1?
Comment 13 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-04-20 08:13:06 UTC
This doesn't change the fact that the package has no revdeps, is dead upstream and carries a lot of extra patching just to work at all.
Comment 14 Larry the Git Cow gentoo-dev 2019-04-20 08:15:54 UTC
The bug has been closed via the following commit(s):

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

commit 8a08a4140524cc24dba786fa04d2bda9c24d726d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-04-20 08:11:19 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-04-20 08:11:19 +0000

    mail-filter/libdkim: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/674892
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 mail-filter/libdkim/Manifest                       |   1 -
 mail-filter/libdkim/files/debianize/Makefile.in    |  93 -------
 mail-filter/libdkim/files/debianize/aclocal.m4     | 171 ------------
 mail-filter/libdkim/files/debianize/configure.ac   |  39 ---
 mail-filter/libdkim/files/debianize/libdkim.pc.in  |  12 -
 mail-filter/libdkim/files/debianize/libdkim.ver    |   4 -
 .../libdkim/files/libdkim-1.0.21-gcc6.patch        |  25 --
 .../libdkim/files/libdkim-extra-options-r1.patch   |  87 ------
 .../libdkim/files/libdkim-extra-options.patch      |  87 ------
 .../libdkim/files/patches/fix_warnings.patch       | 293 ---------------------
 mail-filter/libdkim/files/patches/series           |   2 -
 mail-filter/libdkim/files/patches/strtok_r.patch   | 119 ---------
 mail-filter/libdkim/libdkim-1.0.21-r3.ebuild       |  54 ----
 mail-filter/libdkim/libdkim-1.0.21-r4.ebuild       |  53 ----
 mail-filter/libdkim/metadata.xml                   |   8 -
 profiles/package.mask                              |   2 -
 16 files changed, 1050 deletions(-)