From mboxrd@z Thu Jan  1 00:00:00 1970
From: Matthias Fischer <matthias.fischer@ipfire.org>
To: development@lists.ipfire.org
Subject: clamav 0.104.0 doesn't build with 'llvm 12.0.1'
Date: Sat, 04 Sep 2021 06:20:11 +0200
Message-ID: <83594bc6-62b2-e7fc-0b86-1c9831151782@ipfire.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1658683617155752974=="
List-Id: <development.lists.ipfire.org>

--===============1658683617155752974==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit

Hi,

it seems as I thought, 'clamav 12.0.1' won't build with 'llvm 12.0.1'.

During building with "-D BYTECODE_RUNTIME="llvm" \", I get:

...
CMake Error at cmake/FindLLVM.cmake:186 (if):
  if given arguments:

    "12.0.1" "VERSION_LESS"

  Unknown arguments specified
Call Stack (most recent call first):
  CMakeLists.txt:466 (find_package)


-- Configuring incomplete, errors occurred!
See also "/usr/src/clamav-0.104.0/build/CMakeFiles/CMakeOutput.log".
See also "/usr/src/clamav-0.104.0/build/CMakeFiles/CMakeError.log".
make: *** [clamav:89: /usr/src/log/clamav-0.104.0] Error 1
...

With option "-D BYTECODE_RUNTIME="none" \" its building again.

Opinions?

Best,
Matthias

--===============1658683617155752974==--