Dear Maintainers,

This issue also causes jpeg-xl to fail build from source[1].
The root cause is missing test file:

Note: Google Test filter = SplinesTest.Drawing
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from SplinesTest
[ RUN      ] SplinesTest.Drawing
ReadTestData /usr/share/libjxl-testdata/jxl/splines.pfm

Program received signal SIGILL, Illegal instruction.
jxl::test::ReadTestData (filename=...) at
/usr/src/jpeg-xl-0.11.1-6ubuntu2/lib/jxl/test_utils.cc:90
warning: 90 /usr/src/jpeg-xl-0.11.1-6ubuntu2/lib/jxl/test_utils.cc: No
such file or directory
(gdb) where
#0  jxl::test::ReadTestData (filename=...) at
/usr/src/jpeg-xl-0.11.1-6ubuntu2/lib/jxl/test_utils.cc:90
#1  0x000055555557e1f1 in jxl::SplinesTest_Drawing_Test::TestBody
(this=<optimized out>) at
/usr/src/jpeg-xl-0.11.1-6ubuntu2/lib/jxl/splines_test.cc:293
#2  0x00005555557093d7 in void
testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,
void>(testing::Test*, void (testing::Test::*)(), char const*) ()
#3  0x00005555556eecae in testing::Test::Run() ()
#4  0x00005555556eee35 in testing::TestInfo::Run() ()
#5  0x00005555556f9c47 in testing::TestSuite::Run() ()
#6  0x00005555556fedbc in testing::internal::UnitTestImpl::RunAllTests() ()
#7  0x0000555555709a37 in bool
testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
bool>(testing::internal::UnitTestImpl*, bool
(testing::internal::UnitTestImpl::*)(), char const*) ()
#8  0x00005555556eeeca in testing::UnitTest::Run() ()
#9  0x0000555555573b76 in main ()
(gdb) quit

cat /usr/share/libjxl-testdata/jxl/splines.pfm
cat: /usr/share/libjxl-testdata/jxl/splines.pfm: No such file or
directory (os error 2)

which is expected behaviour due to upstream testsuite crashing when
the test file is not found.

Best Regards,
 Vladimir.


[1] 
https://launchpadlibrarian.net/850757917/buildlog_ubuntu-resolute-amd64.jpeg-xl_0.11.1-6ubuntu2_BUILDING.txt.gz

Reply via email to