Hi,
ClamAV will be updated to 0.104.0 in the next "about two or four weeks", see:
https://blog.clamav.net/2021/07/clamav-01040-release-candidate-is-here.html
To be prepared, I tried "to verify that [you] 0.104.0 can [be] build and run in your environment".
Interesting problem, because "As of ClamAV 0.104, CMake is required to build ClamAV."
So first I tried to find out which 'cmake' commands are needed to build 0.104.0 the same way as 0.103 (hopefully) and started building, based on Core 158.
But I always got the following errors from 'frr 6.0', no chance:
***SNIP*** frr (6.0) [ 19 ][ FAIL ]
5405 | bool all_vrf = FALSE; | ^~~~~ ospfd/ospf_vty.c: In function 'show_ip_ospf_database_max': ospfd/ospf_vty.c:6288:17: error: 'FALSE' undeclared (first use in this function) 6288 | bool all_vrf = FALSE; | ^~~~~ ospfd/ospf_vty.c: In function 'show_ip_ospf_instance_database': ospfd/ospf_vty.c:6345:17: error: 'FALSE' undeclared (first use in this function) 6345 | bool all_vrf = FALSE; | ^~~~~ ospfd/ospf_vty.c: In function 'show_ip_ospf_instance_database_type_adv_router': ospfd/ospf_vty.c:6495:17: error: 'FALSE' undeclared (first use in this function) 6495 | bool all_vrf = FALSE; | ^~~~~ ospfd/ospf_vty.c: In function 'show_ip_ospf_border_routers': ospfd/ospf_vty.c:9263:17: error: 'FALSE' undeclared (first use in this function) 9263 | bool all_vrf = FALSE; | ^~~~~ ospfd/ospf_vty.c: In function 'show_ip_ospf_route': ospfd/ospf_vty.c:9389:17: error: 'FALSE' undeclared (first use in this function) 9389 | bool all_vrf = FALSE; | ^~~~~ make[3]: *** [Makefile:3951: ospfd/ospf_vty.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/usr/src/frr-6.0' make[2]: *** [Makefile:4627: all-recursive] Error 1 make[2]: Leaving directory '/usr/src/frr-6.0' make[1]: *** [Makefile:2047: all] Error 2 make[1]: Leaving directory '/usr/src/frr-6.0' make: *** [frr:84: /usr/src/log/frr-6.0] Error 2 ***SNAP**
Then I tried with current 'next / Core 159' (25.7.2021) and build went through. No errors.
Questions and thoughts:
- Could "someone" please check my 'cmake' changes - are they ok this way? Please see attached lfs and rootfile for 0.104.0.
- I couldn't test with arm so I disabled this lfs part for now: ***SNIP*** #ifeq "$(BUILD_PLATFORM)" "arm" #CONFIGURE_FLAGS = --disable-fanotify #endif # ***SNAP***
- When do we plan to ship Core 159? If the final ClamAV 0.104.0 comes out, I would like to update ClamaV as soon as possible, but at the moment, I have no clue how to build 0.104.0 with Core 158 and 'frr 6.0'.
- They're planning (starting with 0.103 or 0.104.0? as) a LTS feature release: => https://lists.clamav.net/pipermail/clamav-users/2021-July/011676.html
What do we think of this...? ;-)
Best, Matthias