Created attachment 680239 [details] build.log [...] x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -pthread -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -DI_KNOW_THE_DEVICEKIT_POWER_API_IS_SUBJECT_TO_CHANGE -I/usr/include/libupower-glib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -DMATELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\"/usr/share\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DLIBDIR=\""/usr/lib"\" -DVERSION="\"1.24.1\"" -DGPM_ICONS_DATA=\"/usr/share/mate-power-manager/icons\" -DGTKBUILDERDIR=\"/usr/share/mate-power-manager\" -DEGG_LOG_FILE=\""/tmp/gpm.log"\" -DEGG_VERBOSE="\"GPM_VERBOSE\"" -DEGG_LOGGING="\"GPM_LOGGING\"" -DEGG_CONSOLE="\"GPM_CONSOLE\"" -I.. -fexceptions -Os -march=x86-64 -mtune=athlon64-sse3 -pipe -c -o egg-debug.o egg-debug.c egg-debug.c:42:10: fatal error: execinfo.h: No such file or directory 42 | #include <execinfo.h> | ^~~~~~~~~~~~ compilation terminated. make[3]: *** [Makefile:1286: egg-debug.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/mate-extra/mate-power-manager-1.24.1-r2/work/mate-power-manager-1.24.1/src' make[2]: *** [Makefile:1040: all] Error 2 make[2]: Leaving directory '/var/tmp/portage/mate-extra/mate-power-manager-1.24.1-r2/work/mate-power-manager-1.24.1/src' make[1]: *** [Makefile:475: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/mate-extra/mate-power-manager-1.24.1-r2/work/mate-power-manager-1.24.1' make: *** [Makefile:407: all] Error 2 * ERROR: mate-extra/mate-power-manager-1.24.1-r2::gentoo failed (compile phase): * emake failed
Created attachment 680242 [details] emerge --info
Created attachment 680788 [details, diff] musl.patch Took this patch from https://github.com/void-ppc/void-packages/tree/master/srcpkgs/mate-power-manager/patches which succesfully fixes the build and execution of mate-power-manager-1.24.1-r2.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9949b9a1c0b5b31d98c5f006b3fc7bfdd997026 commit b9949b9a1c0b5b31d98c5f006b3fc7bfdd997026 Author: brahmajit das <brahmajit.xyz@gmail.com> AuthorDate: 2022-07-08 17:59:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-15 01:28:14 +0000 mate-extra/mate-power-manager: Fix build on musl mate-power-manager was failing to build on musl due to missing execinfo.h, this header is not provided my musl, and egg_debug_backtrace fucntion call. The egg_debug_backtrace function just prints some trace to console. Closes: https://bugs.gentoo.org/762484 Signed-off-by: brahmajit das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26198 Signed-off-by: Sam James <sam@gentoo.org> ...e-power-manager-1.24.3-removing-backtrace.patch | 89 ++++++++++++++++++++++ ...te-power-manager-1.24.3-removing-execinfo.patch | 38 +++++++++ .../mate-power-manager-1.24.3.ebuild | 6 +- 3 files changed, 132 insertions(+), 1 deletion(-)