Did you do a test build on powerpc? Even with not using llvm, I got a build failure in the unit tests on powerpc. I'll retry the build as sometimes things can be flaky on the powerpc buildds, but the relevant bits from the log are as follows:
make[3]: Entering directory `/build/buildd/clamav-0.98.6+dfsg/unit_tests'
cp input/clamav.hdb clamav.hdb
CC check_clamav-check_clamav.o
check_clamav.c: In function 'test_cli_readint16':
check_clamav.c:708: warning: pointer targets in passing argument 1 of 'cli_readint16' differ in signedness
../libclamav/others.h:519: note: expected 'const char *' but argument is of type 'uint8_t *'
check_clamav.c:713: warning: pointer targets in passing argument 1 of 'cli_readint16' differ in signedness
../libclamav/others.h:519: note: expected 'const char *' but argument is of type 'uint8_t *'
check_clamav.c: In function 'test_cli_readint32':
check_clamav.c:725: warning: pointer targets in passing argument 1 of 'cli_readint32' differ in signedness
../libclamav/others.h:509: note: expected 'const char *' but argument is of type 'uint8_t *'
check_clamav.c:730: warning: pointer targets in passing argument 1 of 'cli_readint32' differ in signedness
../libclamav/others.h:509: note: expected 'const char *' but argument is of type 'uint8_t *'
check_clamav.c: In function 'test_cli_writeint32':
check_clamav.c:741: warning: pointer targets in passing argument 1 of 'cli_writeint32' differ in signedness
../libclamav/others.h:527: note: expected 'char *' but argument is of type 'uint8_t *'
check_clamav.c:744: warning: pointer targets in passing argument 1 of 'cli_readint32' differ in signedness
../libclamav/others.h:509: note: expected 'const char *' but argument is of type 'uint8_t *'
check_clamav.c:748: warning: pointer targets in passing argument 1 of 'cli_writeint32' differ in signedness
../libclamav/others.h:527: note: expected 'char *' but argument is of type 'uint8_t *'
check_clamav.c:751: warning: pointer targets in passing argument 1 of 'cli_readint32' differ in signedness
../libclamav/others.h:509: note: expected 'const char *' but argument is of type 'uint8_t *'
CC check_clamav-check_jsnorm.o
CC check_clamav-check_str.o
CC check_clamav-check_regex.o
CC check_clamav-check_disasm.o
CC check_clamav-check_uniq.o
CC check_clamav-check_matchers.o
CC check_clamav-check_htmlnorm.o
CC check_clamav-check_bytecode.o
check_bytecode.c: In function 'test_matchwithread_jit':
check_bytecode.c:255: warning: passing argument 1 of 'cli_writeint32' from incompatible pointer type
../libclamav/others.h:527: note: expected 'char *' but argument is of type 'uint32_t *'
check_bytecode.c: In function 'test_matchwithread_int':
check_bytecode.c:278: warning: passing argument 1 of 'cli_writeint32' from incompatible pointer type
../libclamav/others.h:527: note: expected 'char *' but argument is of type 'uint32_t *'
check_bytecode.c: At top level:
check_bytecode.c:463: warning: 'test_retmagic_7_int' defined but not used
CCLD check_clamav
CC check_clamd-check_clamd.o
CCLD check_clamd
CC check_fpu_endian-check_fpu_endian.o
CCLD check_fpu_endian
make[3]: Nothing to be done for `check_freshclam.sh'.
make[3]: Nothing to be done for `check_sigtool.sh'.
cat ../unit_tests/.split/split.clam-phish-exeaa ../unit_tests/.split/split.clam-phish-exeab > clam-phish-exe
make[3]: Nothing to be done for `check1_clamscan.sh'.
make[3]: Nothing to be done for `check2_clamd.sh'.
make[3]: Nothing to be done for `check3_clamd.sh'.
make[3]: Nothing to be done for `check4_clamd.sh'.
make[3]: Nothing to be done for `check5_clamd_vg.sh'.
make[3]: Nothing to be done for `check6_clamd_vg.sh'.
make[3]: Nothing to be done for `check7_clamd_hg.sh'.
make[3]: Nothing to be done for `check8_clamd_hg.sh'.
make[3]: Nothing to be done for `check9_clamscan_vg.sh'.
make[3]: Leaving directory `/build/buildd/clamav-0.98.6+dfsg/unit_tests'
/usr/bin/make check-TESTS
make[3]: Entering directory `/build/buildd/clamav-0.98.6+dfsg/unit_tests'
make[4]: Entering directory `/build/buildd/clamav-0.98.6+dfsg/unit_tests'
FAIL: check_clamav
PASS: check_freshclam.sh
PASS: check_sigtool.sh
SKIP: check_unit_vg.sh
PASS: check1_clamscan.sh
PASS: check2_clamd.sh
PASS: check3_clamd.sh
PASS: check4_clamd.sh
SKIP: check5_clamd_vg.sh
SKIP: check6_clamd_vg.sh
SKIP: check7_clamd_hg.sh
SKIP: check8_clamd_hg.sh
SKIP: check9_clamscan_vg.sh
make[5]: Entering directory `/build/buildd/clamav-0.98.6+dfsg/unit_tests'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/build/buildd/clamav-0.98.6+dfsg/unit_tests'
==============================================
ClamAV 0.98.6: unit_tests/test-suite.log
==============================================
Hi Chris,
Did you do a test build on powerpc? Even with not using llvm, I got a build failure in the unit tests on powerpc. I'll retry the build as sometimes things can be flaky on the powerpc buildds, but the relevant bits from the log are as follows:
make[3]: Entering directory `/build/ buildd/ clamav- 0.98.6+ dfsg/unit_ tests' check_clamav. o readint16' : others. h:519: note: expected 'const char *' but argument is of type 'uint8_t *' others. h:519: note: expected 'const char *' but argument is of type 'uint8_t *' readint32' : others. h:509: note: expected 'const char *' but argument is of type 'uint8_t *' others. h:509: note: expected 'const char *' but argument is of type 'uint8_t *' writeint32' : others. h:527: note: expected 'char *' but argument is of type 'uint8_t *' others. h:509: note: expected 'const char *' but argument is of type 'uint8_t *' others. h:527: note: expected 'char *' but argument is of type 'uint8_t *' others. h:509: note: expected 'const char *' but argument is of type 'uint8_t *' check_jsnorm. o check_str. o check_regex. o check_disasm. o check_uniq. o check_matchers. o check_htmlnorm. o check_bytecode. o read_jit' : c:255: warning: passing argument 1 of 'cli_writeint32' from incompatible pointer type others. h:527: note: expected 'char *' but argument is of type 'uint32_t *' read_int' : c:278: warning: passing argument 1 of 'cli_writeint32' from incompatible pointer type others. h:527: note: expected 'char *' but argument is of type 'uint32_t *' c:463: warning: 'test_retmagic_ 7_int' defined but not used check_clamd. o endian- check_fpu_ endian. o freshclam. sh'. tests/. split/split. clam-phish- exeaa ../unit_ tests/. split/split. clam-phish- exeab > clam-phish-exe clamscan. sh'. clamd_vg. sh'. clamd_vg. sh'. clamd_hg. sh'. clamd_hg. sh'. clamscan_ vg.sh'. buildd/ clamav- 0.98.6+ dfsg/unit_ tests' buildd/ clamav- 0.98.6+ dfsg/unit_ tests' buildd/ clamav- 0.98.6+ dfsg/unit_ tests' clamscan_ vg.sh buildd/ clamav- 0.98.6+ dfsg/unit_ tests' buildd/ clamav- 0.98.6+ dfsg/unit_ tests' ======= ======= ======= ======= ======= ==== test-suite. log ======= ======= ======= ======= ======= ====
cp input/clamav.hdb clamav.hdb
CC check_clamav-
check_clamav.c: In function 'test_cli_
check_clamav.c:708: warning: pointer targets in passing argument 1 of 'cli_readint16' differ in signedness
../libclamav/
check_clamav.c:713: warning: pointer targets in passing argument 1 of 'cli_readint16' differ in signedness
../libclamav/
check_clamav.c: In function 'test_cli_
check_clamav.c:725: warning: pointer targets in passing argument 1 of 'cli_readint32' differ in signedness
../libclamav/
check_clamav.c:730: warning: pointer targets in passing argument 1 of 'cli_readint32' differ in signedness
../libclamav/
check_clamav.c: In function 'test_cli_
check_clamav.c:741: warning: pointer targets in passing argument 1 of 'cli_writeint32' differ in signedness
../libclamav/
check_clamav.c:744: warning: pointer targets in passing argument 1 of 'cli_readint32' differ in signedness
../libclamav/
check_clamav.c:748: warning: pointer targets in passing argument 1 of 'cli_writeint32' differ in signedness
../libclamav/
check_clamav.c:751: warning: pointer targets in passing argument 1 of 'cli_readint32' differ in signedness
../libclamav/
CC check_clamav-
CC check_clamav-
CC check_clamav-
CC check_clamav-
CC check_clamav-
CC check_clamav-
CC check_clamav-
CC check_clamav-
check_bytecode.c: In function 'test_matchwith
check_bytecode.
../libclamav/
check_bytecode.c: In function 'test_matchwith
check_bytecode.
../libclamav/
check_bytecode.c: At top level:
check_bytecode.
CCLD check_clamav
CC check_clamd-
CCLD check_clamd
CC check_fpu_
CCLD check_fpu_endian
make[3]: Nothing to be done for `check_
make[3]: Nothing to be done for `check_sigtool.sh'.
cat ../unit_
make[3]: Nothing to be done for `check1_
make[3]: Nothing to be done for `check2_clamd.sh'.
make[3]: Nothing to be done for `check3_clamd.sh'.
make[3]: Nothing to be done for `check4_clamd.sh'.
make[3]: Nothing to be done for `check5_
make[3]: Nothing to be done for `check6_
make[3]: Nothing to be done for `check7_
make[3]: Nothing to be done for `check8_
make[3]: Nothing to be done for `check9_
make[3]: Leaving directory `/build/
/usr/bin/make check-TESTS
make[3]: Entering directory `/build/
make[4]: Entering directory `/build/
FAIL: check_clamav
PASS: check_freshclam.sh
PASS: check_sigtool.sh
SKIP: check_unit_vg.sh
PASS: check1_clamscan.sh
PASS: check2_clamd.sh
PASS: check3_clamd.sh
PASS: check4_clamd.sh
SKIP: check5_clamd_vg.sh
SKIP: check6_clamd_vg.sh
SKIP: check7_clamd_hg.sh
SKIP: check8_clamd_hg.sh
SKIP: check9_
make[5]: Entering directory `/build/
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/build/
=======
ClamAV 0.98.6: unit_tests/
=======
# TOTAL: 13
# PASS: 6
# SKIP: 6
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: check_clamav
==================
Running suite(s): cl_api c:501:E: arithmetic: test_parallel_ load:0: (after this point) Test timeout expired
cli
jsnorm
str
regex
disasm
unique
matchers
htmlnorm
bytecode
99%: Checks: 960, Failures: 0, Errors: 1
check_bytecode.
Thanks.