Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 762484

Summary: mate-extra/mate-power-manager-1.24.1-r2 - egg-debug.c:42:10: fatal error: execinfo.h: No such file or directory (on musl)
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: UNCONFIRMED ---    
Severity: normal CC: ionen, mate
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702, 716422    
Attachments: build.log
emerge --info
musl.patch

Description ernsteiswuerfel archtester 2020-12-30 00:37:32 UTC
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
Comment 1 ernsteiswuerfel archtester 2020-12-30 00:37:52 UTC
Created attachment 680242 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2021-01-02 23:47:11 UTC
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.