Re: Bug#1128352: Luanti FTBFS on ppc64el: testLuaDestructors test failure

Trupti <[email protected]> Wed, 18 Feb 2026 22:34:03 +0530
Newsgroups gmane.linux.debian.ports.powerpc,gmane.linux.debian.devel.games.devel
Message-ID <[email protected]>
On 2026-02-18 22:22, Trupti wrote:
> Package: luanti
> Version: 5.14.0+dfsg-3
> Severity: serious
> Tags: ftbfs
> User: [email protected]
> Usertags: ppc64el
> X-Debbugs-Cc: [email protected]
> 
> 
> Dear Maintainers,
> 
> luanti( 5.14.0+dfsg-3) is FTBFS on ppc64el  with below error:
> 
> 
> 
> ======== Testing module TestLua
> Test assertion failed: did_destruct
>     at test_lua.cpp:91
> [FAIL] testLuaDestructors - 0ms
> [PASS] testCxxExceptions - 0ms
> ======== Module TestLua failed (1 failures / 2 tests) - 0ms
> .
> .
> .
> Unit Test Results: FAILED
>     1 / 50 failed modules (1 / 326 failed individual tests).
>     Testing took 4774ms total.
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> make[1]: *** [debian/rules:41: override_dh_auto_test] Error 1
> make[1]: Leaving directory 
> '/build/reproducible-path/luanti-5.14.0+dfsg'
> make: *** [debian/rules:49: binary-arch] Error 2
> dpkg-buildpackage: error: debian/rules binary-arch subprocess failed
> with exit status 2
> 
> Here is the build log for reference
> 
> https://buildd.debian.org/status/fetch.php?pkg=luanti&arch=ppc64el&ver=5.14.0%2Bdfsg-3&stamp=1771161770&raw=0
> 
> 
> Thanks,
> Trupti


Hello,


The build fails because testLuaDestructors unit test fails as LuaJIT on 
ppc64el uses longjmp for error handling instead of C++ exceptions, which 
bypasses
C++ destructor calls.

This is similar to the existing issue on other archs like armel, armhf, 
loong64, and mips64el. But ppc64el was simply missing from the 
architecture list.

Adding ppc64el to IGNORE_LUA_DESTRUCTOR_TEST_FAILURE in debian/rules 
fixes the isse.

Thanks,
Trupti