Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682906 - mail-filter/opendkim-2.10.3.* does not work with gnutls-3.6.7
Summary: mail-filter/opendkim-2.10.3.* does not work with gnutls-3.6.7
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ralph Seichter
URL:
Whiteboard:
Keywords: PullRequest
: 682290 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-08 21:58 UTC by Alan Hodgson
Modified: 2019-06-14 13:44 UTC (History)
7 users (show)

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


Attachments
opendkim-2.10.3-gnutls-3.6.patch (opendkim-2.10.3-gnutls-3.6.patch,1000 bytes, patch)
2019-04-17 06:41 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hodgson 2019-04-08 21:58:36 UTC
gnutls 3.6.7 was stabilized on amd64 last week.

Installing it forced a rebuild of mail-filter/opendkim.

After the rebuild opendkim started and ran normally but could not longer verify any signature - every message failed.

Removing the gnutls USE flag and rebuilding opendkim fixed the problem.

I recommend setting -gnutls for mail-filter/opendkim, since this is unlikely to get fixed any time soon.
Comment 1 Larry the Git Cow gentoo-dev 2019-04-16 22:59:37 UTC
The bug has been closed via the following commit(s):

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

commit 8f7972686b2df35e61187a82e47566d402178c6c
Author:     Ralph Seichter <github@seichter.de>
AuthorDate: 2019-04-16 20:17:14 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2019-04-16 22:53:46 +0000

    mail-filter/opendkim: Removed 'gnutls' support, added enewgroup
    
    Removed support for the 'gnutls' use flag. Added missing enewgroup
    statement. These modifications address the two bugs listed below.
    
    Closes: https://bugs.gentoo.org/682906
    Closes: https://bugs.gentoo.org/683338
    Signed-off-by: Ralph Seichter <gentoo@seichter.de>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 mail-filter/opendkim/opendkim-2.10.3-r10.ebuild | 227 ++++++++++++++++++++++++
 1 file changed, 227 insertions(+)
Comment 2 Michael Orlitzky gentoo-dev 2019-04-16 23:01:33 UTC
We've "fixed" this by dropping the gnutls support for now. If someone comes up with a patch that works with the new version, don't hesitate to point it out to us.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2019-04-17 05:22:32 UTC
> Removing the gnutls USE flag and rebuilding opendkim fixed the problem.

What algorithm you use? is it a weak? For example using SHA-1?
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2019-04-17 06:41:38 UTC
Created attachment 573142 [details, diff]
opendkim-2.10.3-gnutls-3.6.patch

Please try this patch on top of the existing patchset
Comment 5 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2019-04-22 14:30:54 UTC
Ralf, Mjo, check Alon's patch. Seems simple enough and likely to solve the issue.
Comment 6 Michael Orlitzky gentoo-dev 2019-05-03 19:39:52 UTC
The test suite crashes using gnutls-3.6, with or without the additional patch:

  PASS: t-setup
  PASS: t-test00
  PASS: t-test02
  PASS: t-test01
  PASS: t-test03
  ../../build-aux/test-driver: line 107:  8074 Aborted
  "$@" > $log_file 2>&1
  FAIL: t-test04
  ../../build-aux/test-driver: line 107:  8081 Aborted
  "$@" > $log_file 2>&1
  FAIL: t-test05
  ...

I'm not sure if that's a regression or not (with respect to gnutls-3.4), but I don't think we should add back the USE flag with 55 failing tests.
Comment 7 Ralph Seichter 2019-05-03 19:54:17 UTC
If I read the upstream issues correctly, even the latest Beta versions of OpenDKIM need to be patched to make gnutls work, let alone the four-year-old release we are packaging. Given that there has not been any reaction by Murray regarding our previous work, I don't think it is worth investing time in this particular issue.
Comment 8 Michael Orlitzky gentoo-dev 2019-05-03 20:29:54 UTC
*** Bug 682290 has been marked as a duplicate of this bug. ***
Comment 9 Michael Orlitzky gentoo-dev 2019-06-14 13:44:14 UTC
This is really an upstream problem. Ideally a patch for this would be sent upstream, and then we'd be happy to include it. It can't segfault the test suite though =)