Bug#1116013: 0ad: FTBFS on i386: Error: Expected (center == v), found ([-1.70141e+38, -1.70141e+38, -1.70141e+38] != [1, 2, 3])
Sebastian Ramacher
sramacher at debian.org
Tue Sep 23 06:44:54 BST 2025
Source: 0ad
Version: 0.27.1-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org
User: debian-qa at lists.debian.org
Usertags: i386
Dear maintainer,
0ad currently fails to build on i386:
make[1]: Entering directory '/build/reproducible-path/0ad-0.27.1'
# Note: Avoid running tests from root dir of build, otherwise certain
# tests (i.e. in testsuite MeshManager) may not work as intended and
# create spurious directories above root dir (../data/mods).
cd binaries/system/ && LD_LIBRARY_PATH=. ./test
Running cxxtest tests (402 tests)................
In TestBound::test_extend_vector:
./source/maths/tests/test_Bound.h:69: Error: Expected (center == v), found ([-1.70141e+38, -1.70141e+38, -1.70141e+38] != [1, 2, 3])
...
In TestBound::test_aabb_to_obb_rotation_around_point:
./source/maths/tests/test_Bound.h:143: Error: Expected (result.m_Center.X == 3*invSqrt2 + 2) up to 1e-6f (0.0000), found (nan != 4.1213)
.....................................................................................................
In TestFixed::test_Atan2:
./source/maths/tests/test_Fixed.h:251: Error: Expected (atan2_approx(fixed::FromInt(0), fixed::FromInt(-1)).ToDouble() == 3.14159265358979323846) up to 0.01 (0.0100), found (3.1415 != 3.1415)
..........................................Skipping map generator tests (can't find binaries/data/mods/public/maps/random/tests/)
.................................................
In TestCmpPosition::test_basic:
./source/simulation2/components/tests/test_Position.h:92: Error: Expected (cmp->GetInterpolatedTransform(0.0f).GetTranslation() == CVector3D(100, 60, 200)), found ([-nan, -nan, -nan] != [100, 60, 200])
./source/simulation2/components/tests/test_Position.h:93: Error: Expected (cmp->GetInterpolatedTransform(0.5f).GetTranslation() == CVector3D(100, 60, 200)), found ([-nan, -nan, -nan] != [100, 60, 200])
./source/simulation2/components/tests/test_Position.h:94: Error: Expected (cmp->GetInterpolatedTransform(1.0f).GetTranslation() == CVector3D(100, 60, 200)), found ([-nan, -nan, -nan] != [100, 60, 200])
./source/simulation2/components/tests/test_Position.h:103: Error: Expected (cmp->GetInterpolatedTransform(0.0f).GetTranslation() == CVector3D(100, 60, 200)), found ([-nan, -nan, -nan] != [100, 60, 200])
./source/simulation2/components/tests/test_Position.h:104: Error: Expected (cmp->GetInterpolatedTransform(0.5f).GetTranslation() == CVector3D(150, 60, 100)), found ([-nan, -nan, -nan] != [150, 60, 100])
./source/simulation2/components/tests/test_Position.h:105: Error: Expected (cmp->GetInterpolatedTransform(1.0f).GetTranslation() == CVector3D(200, 60, 0)), found ([-nan, -nan, -nan] != [200, 60, 0])
./source/simulation2/components/tests/test_Position.h:113: Error: Expected (cmp->GetInterpolatedTransform(0.0f).GetTranslation() == CVector3D(200, 60, 0)), found ([-nan, -nan, -nan] != [200, 60, 0])
./source/simulation2/components/tests/test_Position.h:114: Error: Expected (cmp->GetInterpolatedTransform(0.5f).GetTranslation() == CVector3D(300, 60, 150)), found ([-nan, -nan, -nan] != [300, 60, 150])
./source/simulation2/components/tests/test_Position.h:115: Error: Expected (cmp->GetInterpolatedTransform(1.0f).GetTranslation() == CVector3D(400, 60, 300)), found ([-nan, -nan, -nan] != [400, 60, 300])
./source/simulation2/components/tests/test_Position.h:122: Error: Expected (cmp->GetInterpolatedTransform(0.0f).GetTranslation() == CVector3D(300, 60, 100)), found ([-nan, 60, -nan] != [300, 60, 100])
In TestCmpPosition::test_water:
./source/simulation2/components/tests/test_Position.h:157: Error: Expected (cmp->GetInterpolatedTransform(0.0f).GetTranslation() == CVector3D(0, 122, 0)), found ([-nan, 122, -nan] != [0, 122, 0])
................................................................................................
In TestTextureConverter::test_convert_quality:
./source/graphics/tests/test_TextureConverter.h:85: Error: Expected (texdata[0*4] == texdata[4*4]), found (99 != 90)
..........................................................Skipping globalscripts tests (can't find binaries/data/mods/public/globalscripts/tests/)
.Skipping component scripts tests (can't find binaries/data/mods/public/simulation/components/tests/setup.js)
..............................
Failed 6 and Skipped 0 of 402 tests
Success rate: 98%
make[1]: *** [debian/rules:52: override_dh_auto_test] Error 6
See
https://buildd.debian.org/status/fetch.php?pkg=0ad&arch=i386&ver=0.27.1-2%2Bb2&stamp=1758023500&raw=0
for more details.
Cheers
--
Sebastian Ramacher
More information about the Pkg-games-devel
mailing list