Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927361 - app-antivirus/clamav-1.0.5 fails tests on arm: AssertionError: assert -7 == 1 where -7 = CmdResult(ec=-7, out='', err='LibClamAV Warning: PNG: Unexpected early end-of-file.\n').ec
Summary: app-antivirus/clamav-1.0.5 fails tests on arm: AssertionError: assert -7 == 1...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 926021
  Show dependency tree
 
Reported: 2024-03-20 15:29 UTC by matoro
Modified: 2024-03-21 22:28 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_927361.txt,926.71 KB, text/plain)
2024-03-20 15:30 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-03-20 15:29:48 UTC
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
Comment 1 matoro archtester 2024-03-20 15:30:42 UTC
Created attachment 888007 [details]
build.log and emerge --info
Comment 2 Matt Jolly gentoo-dev 2024-03-21 21:46:54 UTC
Have raised this issue upstream in the linked issue that looks a lot like this, just not causing test failures apparently?
Comment 3 Matt Jolly gentoo-dev 2024-03-21 22:28:43 UTC
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.