coreutils a few uses crypto/* gnulib modules for a few things, leading to openssl being linked in without coreutils declaring that, leading to a break on an openssl 1 -> 3 migration in my case. * VDB: detected possibly incorrect RDEPEND (sys-apps/coreutils-9.1-r1) * > dev-libs/openssl:= I haven't examined whether this dependency can be avoided yet.
As far as I can tell the default is: --with-openssl=auto-gpl-compat Which checks if openssl is gpl compatible, and uses it if so. My own sort(1) is not using it, so probably need some flags on openssl or something (haven't looked closer).
I think OpenSSL 3 gained GPL compatibility by default, so that'd explain why I'm seeing this now maybe?
(In reply to Arsen Arsenovic from comment #2) > I think OpenSSL 3 gained GPL compatibility by default, so that'd explain why > I'm seeing this now maybe? Yeah, I tried to rebuild (hadn't since migrated to openssl-3), and now it's using it. Option has a few choices anyhow: --with-openssl[=ARG] use libcrypto hash routines for the hash functions MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512. Valid ARGs are: 'yes', 'no', 'auto' => use if any version available, 'auto-gpl-compat' => use if GPL compatible version available, 'optional' => use if available and warn if not available; Default is 'auto-gpl-compat'.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e314cba7526798250763ecde0769b16a4b58495d commit e314cba7526798250763ecde0769b16a4b58495d Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2022-11-27 23:17:05 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2022-11-27 23:17:41 +0000 sys-apps/coreutils: Revbump with openssl useflag, unkeyworded Bug: https://bugs.gentoo.org/883361 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-apps/coreutils/coreutils-9.1-r2.ebuild | 251 +++++++++++++++++++++++++++++ sys-apps/coreutils/metadata.xml | 1 + 2 files changed, 252 insertions(+)
I'll leave 9.1-r2 unkeyworded until I have a few more opinions from @base if that's the right way to go.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12555e5e81966a3e8113735c4c6927b7b3eb81f commit e12555e5e81966a3e8113735c4c6927b7b3eb81f Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2022-11-28 02:48:06 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2022-11-28 02:49:35 +0000 sys-apps/coreutils: utilize use_with function for openssl --with-openssl is equivalent to --with-openssl=yes. --without-openssl is equivalent to --with-openssl=no. Bug: https://bugs.gentoo.org/883361 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I remember bringing this up in -base back when 9.0 first landed and we had some ambiguity for a reason I don't recall. I'll check logs when I'm back. The OpenSSL 3 thing might've been it!