[Pkg-clamav-devel] Bug#1006179: Bug#1006179: Bug#1006179: Bug#1006179: Bug#1006179: ClamAV 1.0.0 release candidate now available

Andrew C Aitchison andrew at aitchison.me.uk
Fri Dec 16 11:52:04 GMT 2022


On Tue, 13 Dec 2022, Sebastian Andrzej Siewior wrote:

> On 2022-12-12 22:45:57 [-0500], Scott Kitterman wrote:
>>
>> That doesn't sound too bad.  I'll see if I can find some time to work on the
>> split, but probably not until Wednesday or Friday.
>
> So I managed to tell cmake to use the tfm library instead of the bundled
> code and the testsuite fails now but I think this is due to the limit
> in "our" libtfm.
>
> I noticed libclammspack/libclammspack.so which appears
> to be the libmspack and I hope that this is a typo somewhere and we can
> exclude the bundled library.

INSTALL.md lists a CMake option
 	ENABLE_EXTERNAL_MSPACK
so there should be no problem there.

> Then I had to throw up a little. It might me be nothing and I'm just
> stupid and don't know things but there is a lot of rust code in
> 	libclamav_rust/.cargo/vendor/
>
> and it appears to me that they bundled a bunch of rust libraries. It
> *might* be enough to just install librust-jpeg-decoder-dev as
> dependency and then libclamav_rust/.cargo/vendor/jpeg-decoder will be
> ignored but I just wanted point that out. I don't have any rust skills
> at this time.

ClamAV are moving towards Rust being a major part of the project.
 	https://docs.clamav.net/faq/faq-rust.html

Sadly, from our point of view, they use cpack (part of cmake)
to build their .deb (and .rpm) packages rather than a "debian"
tree.

They also use an in-house tool - Mussels
   https://blog.clamav.net/2019/12/introducing-mussels-application.html
to manage library dependencies. Not sure whther this will be an issue.

CMakeLists.txt has
 	set(LLVM_MAX_VER "13")
 	set(LLVM_MIN_VER "8")
I don't know about Debian, but Ubuntu Kinetic/22.10
has LLVM v15 by default. We can hope that 13 is not a hard
limit, just that it is the latest tested version ...

-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew at aitchison.me.uk



More information about the Pkg-clamav-devel mailing list