Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916433 - libreoffice fails to compile on musl because of execinfo in skia
Summary: libreoffice fails to compile on musl because of execinfo in skia
Status: RESOLVED DUPLICATE of bug 912336
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-28 16:40 UTC by Tohka
Modified: 2023-10-28 17:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***