[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

0ad FTBFS on arm64: help expected



Hello,

I am the new Debian maintainer of 0ad (a video game).
Since 0ad version alpha 22 (0.0.22 in Debian) the software fails to build on arm64.
The build logs are at https://buildd.debian.org/status/fetch.php?pkg=0ad&arch=arm64&ver=0.0.22-1&stamp=1508351579&raw=0

The build error is related to mozjs-38.0.0 patched and embedded in 0ad:

c++ -o Unified_cpp_js_src3.o -c  -I../../dist/system_wrappers -include /<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-38.0.0/config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API -DAB_CD= -DNO_NSPR_10_SUPPORT -I/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-38.0.0/js/src -I. -I/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-38.0.0/intl/icu/source/common -I/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-38.0.0/intl/icu/source/i18n -I../../dist/include   -I/usr/include/nspr        -fPIC  -Wdate-time -D_FORTIFY_SOURCE=2 -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Unified_cpp_js_src3.o.pp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wsign-compare -Wtype-limits -Wno-invalid-offsetof -Wcast-align -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-schedule-insns2 -fno-delete-null-pointer-checks -DTRACE_LOG_DIR="\"../../source/tools/tracelogger/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -DTRACING -g -fno-omit-frame-pointer       /<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-38.0.0/js/src/build-debug/js/src/Unified_cpp_js_src3.cpp
Unified_cpp_js_src4.o
In file included from /<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-38.0.0/js/src/jit/CodeGenerator.cpp:41:0,
                 from /<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-38.0.0/js/src/build-debug/js/src/Unified_cpp_js_src3.cpp:92:
/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-38.0.0/js/src/jit/shared/CodeGenerator-shared-inl.h: In member function 'void js::jit::CodeGeneratorShared::verifyHeapAccessDisassembly(uint32_t, uint32_t, bool, js::Scalar::Type, const js::jit::Operand&, js::jit::LAllocation)':
/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-38.0.0/js/src/jit/shared/CodeGenerator-shared-inl.h:232:10: error: 'class js::jit::MacroAssembler' has no member named 'verifyHeapAccessDisassembly'
     masm.verifyHeapAccessDisassembly(begin, end,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~

I have no time to work on this bug. I am not sure if many people will ever play 0ad on arm64 :-)
For now support of arm64 has been removed.

If you want to see 0ad in Debian arm64 port please provide a patch.

Regards,

PS: I am not subscriber of this list. So please copy me if you answer.

--
 Dr. Ludovic Rousseau

Reply to: