https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-power/suspend-1.0_p20200924 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 764682 [details] build.log build log and emerge --info
Still broken on musl
Created attachment 872607 [details, diff] Missing #define _GNU_SOURCE Fix for sys-power/suspend on musl hardened. I wrote a long post but it got deleted. Now briefly, three files missing a #define: #define _GNU_SOURCE The files are: swsusp.h suspend.c load.c My initial tests where with a GCC option like this: CFLAGS="${COMMON_FLAGS}-D_GNU_SOURCE" emerge sys-power/suspend The patch provided works with all USE flags turned on. It's a gentoo diff that works as a drop in solution in: /etc/portage/patches Thanks.