Note that error -7 -> E2BIG so this could be a 32-bit data type size issue. 1/6 Test #6: sigtool .......................... Passed 8.04 sec 2/6 Test #2: libclamav_rust ................... Passed 15.41 sec 3/6 Test #3: clamscan .........................***Failed 23.50 sec 4/6 Test #4: clamd ............................ Passed 25.37 sec 5/6 Test #1: libclamav ........................ Passed 34.79 sec 6/6 Test #5: freshclam ........................ Passed 50.76 sec 83% tests passed, 1 tests failed out of 6 Total Test time (real) = 50.82 sec The following tests FAILED: 3 - clamscan (Failed) Errors while running CTest =========================================================== short test summary info =========================================================== FAILED clamscan/heuristics_test.py::TC::test_allmatch - AssertionError: assert -7 == 1 FAILED clamscan/heuristics_test.py::TC::test_allmatch_precedence - AssertionError: assert -7 == 1 FAILED clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator - AssertionError: assert -7 == 1 FAILED clamscan/heuristics_test.py::TC::test_only_heur - AssertionError: assert -7 == 1 Reproducible: Always
Created attachment 888007 [details] build.log and emerge --info
Have raised this issue upstream in the linked issue that looks a lot like this, just not causing test failures apparently?
We can probably backport https://github.com/Cisco-Talos/clamav/commit/00b78531e3b37e1881a13024559bfaa4ad4d6087 to resolve this issue. I'm hopeful that we can get a patch release out of the bug report though.