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

Bug 916433

Summary: libreoffice fails to compile on musl because of execinfo in skia
Product: Gentoo Linux Reporter: Tohka <enigmaticsmile>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tohka 2023-10-28 16:40:23 UTC
I have created a patch that should allow libreoffice to compile on musl (or atleast this with a few other patches). The problem is it doesn't apply as skia is a third party folder outside of the source directory that portage defines. Maybe a modification of the ebuild is required?

--- a/skia/tools/gpu/vk/VkTestUtils.cpp
+++ b/skia/tools/gpu/vk/VkTestUtils.cpp
@@ -25,7 +25,7 @@
 
 #include <algorithm>
 
-#if defined(SK_BUILD_FOR_UNIX)
+#if defined(__GLIBC__)
 #include <execinfo.h>
 #endif
 #include "include/gpu/vk/GrVkBackendContext.h"

Please let me know if there is anything further I should add.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-28 17:45:52 UTC
Thanks.

For these bugs, please:
- include the build.log as an attachment
- include emerge --info in a comment
- link to where you obtained any patches
- search for duplicates
- file one bug per package
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-28 17:46:24 UTC

*** This bug has been marked as a duplicate of bug 912336 ***