Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/
Date: Tue, 05 Dec 2017 17:37:07
Message-Id: 1512495406.6076f4217dc463340547984b4f88551deec0cc55.mgorny@gentoo
1 commit: 6076f4217dc463340547984b4f88551deec0cc55
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 5 16:33:32 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 5 17:36:46 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=6076f421
7
8 [checksum] Disable pygcrypt backend due to breakage
9
10 Closes: https://bugs.gentoo.org/615620
11 Reviewed-by: Brian Dolbec <dolsen <AT> gentoo.org>
12
13 pym/portage/checksum.py | 6 +++++-
14 1 file changed, 5 insertions(+), 1 deletion(-)
15
16 diff --git a/pym/portage/checksum.py b/pym/portage/checksum.py
17 index 5424ce56b..9e7bffea9 100644
18 --- a/pym/portage/checksum.py
19 +++ b/pym/portage/checksum.py
20 @@ -150,7 +150,11 @@ if "SHA3_256" not in hashfunc_map or "SHA3_512" not in hashfunc_map:
21 # (GnuPG).
22 gcrypt_algos = frozenset(('RMD160', 'WHIRLPOOL', 'SHA3_256', 'SHA3_512',
23 'STREEBOG256', 'STREEBOG512'))
24 -if gcrypt_algos.difference(hashfunc_map):
25 +# Note: currently disabled due to resource exhaustion bugs in pygcrypt.
26 +# Please do not reenable until upstream has a fix.
27 +# https://bugs.gentoo.org/615620
28 +if False:
29 +#if gcrypt_algos.difference(hashfunc_map):
30 try:
31 import binascii
32 import pygcrypt.hashcontext