Source: libskia Version: 146.20260311+dfsg-1 Severity: normal X-Debbugs-CC: [email protected]
Dear Debian libskia package maintainer, The most recent build of libskia in Debian fails on big-endian architectures. For example as shown in https://buildd.debian.org/status/fetch.php?pkg=libskia&arch=s390x&ver=146.20260311%2Bdfsg-1&stamp=1774775532&raw=0 : In file included from ./include/core/SkTypes.h:17, from src/xps/SkXPSDocument.cpp:8: ./include/private/base/SkLoadUserConfig.h:58:6: error: #error "The Skia team is not endian-savvy enough to support big-endian CPUs." 58 | #error "The Skia team is not endian-savvy enough to support big-endian CPUs." | ^~~~~ ./include/private/base/SkLoadUserConfig.h:59:6: error: #error "If you still want to use Skia," 59 | #error "If you still want to use Skia," | ^~~~~ ./include/private/base/SkLoadUserConfig.h:60:6: error: #error "please define I_ACKNOWLEDGE_SKIA_DOES_NOT_SUPPORT_BIG_ENDIAN." 60 | #error "please define I_ACKNOWLEDGE_SKIA_DOES_NOT_SUPPORT_BIG_ENDIAN." | ^~~~~ make[1]: *** [Makefile:144: debbuild/xps/SkXPSDocument.o] Error 1 make[1]: *** Waiting for unfinished jobs.... As a result, I belive the best solution is to disable big-endian builds for libskia. The following patch shall be the most elegant solution: diff --git a/debian/control b/debian/control index 0b47dad..c027ee9 100644 --- a/debian/control +++ b/debian/control @@ -2,6 +2,7 @@ Source: libskia Section: libs Maintainer: Filip Strömbäck <[email protected]> Build-Depends: debhelper-compat (= 13), + architecture-is-little-endian, g++ (>= 14), libvulkan-dev (>= 1.4), libwebp-dev (>= 1.5), Thanks, Boyuan Yang
signature.asc
Description: This is a digitally signed message part

