https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-apps/coreutils-9.4 fails to compile (GLIBC-2.38-SYSTEM). Discovered on: amd64 (internal ref: glibc2.38_tinderbox) NOTE: (GLIBC-2.38-SYSTEM) in the summary means that the bug was found on a machine that runs glibc-2.38 but this bug MAY or MAY NOT BE related to the new libc version
Created attachment 869081 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: ./lib/md5.h:36:12: fatal error: openssl/configuration.h: No such file or directory ./lib/md5.h:36:12: fatal error: openssl/configuration.h: No such file or directory
I imagine this is an openssl 1.1.x vs openssl-3 thing. Probably introduced by https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=a436f5f498d7e747864d40d4450fa8330dd44d12.
dev-libs/openssl-1.1* doesn't have configuration.h, it's introduced later (dev-libs/openssl-3.1.2 has, just quick checked). So sys-apps/coreutils should probably depend on dev-libs/openssl-3 instead of just dev-libs/openssl.
(In reply to hangglider from comment #4) > dev-libs/openssl-1.1* doesn't have configuration.h, it's introduced later > (dev-libs/openssl-3.1.2 has, just quick checked). So sys-apps/coreutils > should probably depend on dev-libs/openssl-3 instead of just > dev-libs/openssl. That's more of a workaround than a fix. Reported upstream at https://debbugs.gnu.org/65674.
*** Bug 913411 has been marked as a duplicate of this bug. ***
I'll backport the patch in a minute.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a11cfe962d506e6e6e5c96cdab2376c8167110 commit a3a11cfe962d506e6e6e5c96cdab2376c8167110 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-01 14:00:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-01 14:04:53 +0000 sys-apps/coreutils: fix build w/ <openssl-3 Closes: https://bugs.gentoo.org/913368 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/coreutils/coreutils-9.4.ebuild | 1 + .../files/coreutils-9.4-gnulib-openssl-1.1.patch | 165 +++++++++++++++++++++ 2 files changed, 166 insertions(+)