While emerging/updating Dropbear an error occured, because libtomcrypt need t least one of the "math" use flags (libtommath or tomsfastmath). Adding "libtommath" use flag manually to libtomcrypt fixed the issue. The full forum post can be seen here: https://forums.gentoo.org/viewtopic-t-1130952.html This buggy emerge is actually possible (and results in failing emerges of other packages, e.g. dropbear): [ebuild R ] dev-libs/libtomcrypt-1.18.2-r2:0/1::gentoo USE="-gmp -libtommath -tomsfastmath"
Are you sure this isn't a bug in dropbear itself? Unless I'm mistaken, different packages may support different subset of libtomcrypt backends, so they should probably depend on the backends they accept.
(In reply to Michał Górny from comment #1) > Are you sure this isn't a bug in dropbear itself? Unless I'm mistaken, > different packages may support different subset of libtomcrypt backends, so > they should probably depend on the backends they accept. Okay, seems legit. I'm not as deep into this as you might guess. To me it just seemed that libtomcrypt is the problem. Feel free to correct the problematic package name for this bug report. :)
The strange thing here is, I was sure we had a REQUIRED_USE, and so I need to double-check if we removed it for a reason. At first glance, yes, it makes sense to require at least one math backend though.
Note that we enable libtommath by default so you're for some reason negating the default here, but yes, it is still a real
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=115464be8a78924624f616ab0b9ae9b61708041c commit 115464be8a78924624f616ab0b9ae9b61708041c Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-19 02:26:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-19 02:26:55 +0000 dev-libs/libtomcrypt: fix REQUIRED_USE to enforce at least one math provider Closes: https://bugs.gentoo.org/772935 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libtomcrypt/libtomcrypt-1.18.2-r2.ebuild | 4 ++++ 1 file changed, 4 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfad13e8044d36db7f610e00cb19d00ead659bcd commit dfad13e8044d36db7f610e00cb19d00ead659bcd Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-19 02:27:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-19 02:28:14 +0000 dev-libs/libtomcrypt: use any-of Bug: https://bugs.gentoo.org/772935 Fixes: 115464be8a78924624f616ab0b9ae9b61708041c Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libtomcrypt/libtomcrypt-1.18.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)