#1114823 mupdf: FTBFS on sparc64 due to unaligned access (Bus error)

Package:
src:mupdf
Source:
src:mupdf
Submitter:
John Paul Adrian Glaubitz
Date:
2026-05-13 02:43:43 UTC
Severity:
normal
Tags:
#1114823#5
Date:
2025-09-10 10:25:37 UTC
From:
To:
Hello,

mupdf fails to build on source on sparc64 due to unaligned access [1]:

./scripts/mupdfwrap.py  -d build/shared-debug -b 01
(+0.8s): state.py:358:set_dir_so: self.Py_LIMITED_API=None
(+0.9s): -d: state.py:358:set_dir_so: self.Py_LIMITED_API=None
(+0.9s): -b: 0: __main__.py:1272:build_0: Generating C++ source code ...
(+0.9s): -b: 0: cpp.py:5030:close: File updated: platform/c++/include/mupdf/extra.h
(+0.9s): -b: 0: cpp.py:5030:close: File updated: platform/c++/implementation/extra.cpp
(+2.2s): -b: 0: cpp.py:5423:cpp_source: Creating wrapper functions...
make[2]: *** [Makefile:634: c++-debug] Bus error

This might be a good idea to report this issue upstream but I don't have
an account for the Ghostscript bugzilla tracker myself.

SPARC machines for testing are available through the GCC Compile Farm [2].

Adrian