Bug#1042560: xtensor autopkg test fails with LLVM-16

2023-08-03 Thread Drew Parsons
Source: xtensor
Followup-For: Bug #1042560
Control: forwarded 1042560 
https://github.com/xtensor-stack/xtensor/issues/2718#issuecomment-1664157116

Something weird going on here.  This is a string comparison not a
floating point comparison.  The string is supposed to be the type of
the values, so why is LLVM-16 returning "le" instead of "double" ?
Is it a bug in LLVM-16?



Bug#1042560: xtensor autopkg test fails with LLVM-16

2023-07-30 Thread Matthias Klose

Package: src:xtensor
Version: 0.24.3-2
Severity: important
Tags: sid trixie

This will become an RC issue once LLVM-16 becomes the default in unstable. The 
autopkg tests fail with:


[...]
1499s ./test_xtensor_lib
1499s [doctest] doctest version is "2.4.11"
1499s [doctest] run with "--help" for options
1499s Built with XSIMD
1499s  arch avx
1499s Built with XSIMD
1499s  arch avx
1499s 
===

1499s /tmp/autopkgtest.vyz1vc/autopkgtest_tmp/test_xinfo.cpp:28:
1499s TEST CASE:  xinfo.typename
1499s
1499s /tmp/autopkgtest.vyz1vc/autopkgtest_tmp/test_xinfo.cpp:33: ERROR: 
CHECK_EQ( expected,t_s ) is NOT correct!

1499s   values: CHECK_EQ( double, le )
1499s
1499s 
===

1499s [doctest] test cases:  1185 |  1184 passed | 1 failed | 0 skipped
1499s [doctest] assertions: 19456 | 19455 passed | 1 failed |
1499s [doctest] Status: FAILURE!
1499s make[3]: Leaving directory '/tmp/autopkgtest.vyz1vc/autopkgtest_tmp/build'
1499s make[3]: *** [CMakeFiles/xtest.dir/build.make:70: CMakeFiles/xtest] Error 
1
1499s make[2]: Leaving directory '/tmp/autopkgtest.vyz1vc/autopkgtest_tmp/build'
1499s make[2]: *** [CMakeFiles/Makefile2:4210: CMakeFiles/xtest.dir/all] Error 2
1499s make[1]: Leaving directory '/tmp/autopkgtest.vyz1vc/autopkgtest_tmp/build'
1499s make[1]: *** [CMakeFiles/Makefile2:4217: CMakeFiles/xtest.dir/rule] Error 
2
1499s make: *** [Makefile:2084: xtest] Error 2