[clamav-users] ClamAV® blog: ClamAV 0.104.0 Release Candidate is here!

Mark Fortescue mark.lists at thurning-instruments.co.uk
Fri Aug 6 13:59:07 UTC 2021


Hi Andrew,

I have placed two patches on the user list that I believe may fix the 
issue you are seeing. I was seeing a similar issue hence the 
investigation and resulting patches.

https://www.mail-archive.com/clamav-users@lists.clamav.net/msg50910.html

and

ttps://www.mail-archive.com/clamav-users@lists.clamav.net/msg50957.html

Regards
	Mark.

On 06/08/2021 10:14, Andrew Watkins via clamav-users wrote:
> 
> On 05/08/2021 10:53, Henrik K wrote:
>> On Sat, Jul 24, 2021 at 08:17:19PM +0000, Micah Snyder (micasnyd) via 
>> clamav-users wrote:
>>
>> No problems on Solaris 11.4.32.0.1.88.3 (SPARC) here with latest fixes,
>> 0.104 actually works stable and fast so far.  Some more ancient versions
>> just kept crashing and were sloow (then again older Solaris versions had
>> ancient gcc etc).
>>
>> Oracle DOES maintain Solaris, current 11.4 has quite recent GCC (10.2) 
>> and
>> other libraries (curl 7.71 etc).  All requirements except libcheck are OS
>> provided, just pkg install them.
>>
>> Only thing that needed some manual fixing was some curses paths.
>>
>> mkdir build
>> cd build
>> cmake .. \
>>    -D CMAKE_BUILD_TYPE="Release" \
>>    -D ENABLE_TESTS=OFF \
>>    -D PCRE2_INCLUDE_DIR=/usr/include/pcre \
>>    -D NCURSES_INCLUDE_DIR=/usr/include/ncurses \
>>    -D CURSES_LIBRARY=/usr/lib/64/libncurses.so
>>
>> # Seems NCURSES_INCLUDE_DIR isn't used here..
>> sed -i 's#<ncurses.h>#<ncurses/ncurses.h>#' clamav-config.h
> 
> Thanks I tried the above it worked, but failed to build. Any ideas?
> 
> $ cmake --build .  --config Release
> [ 13%] Linking CXX shared library libclamunrar.so
> [ 13%] Built target clamunrar
> Scanning dependencies of target unrar_iface_obj
> [ 14%] Building CXX object 
> libclamunrar_iface/CMakeFiles/unrar_iface_obj.dir/unrar_iface.cpp.o
> /export/home/defang/clamav-0.104.0-rc/libclamunrar_iface/unrar_iface.cpp: In 
> function 'cl_unrar_error_t libceader(void*, unrar_metadata_t*)':
> /export/home/defang/clamav-0.104.0-rc/libclamunrar_iface/unrar_iface.cpp:349:62: 
> error: expected ')' before
>    349 |     unrar_dbgmsg("unrar_peek_file_header:   Packed Size: %" 
> PRIu64 "\n", file_metadata->pack_size)
>        | ~                                            ^
> |                                                              )
> /export/home/defang/clamav-0.104.0-rc/libclamunrar_iface/unrar_iface.cpp:350:62: 
> error: expected ')' before
>    350 |     unrar_dbgmsg("unrar_peek_file_header:   Unpacked Size: %" 
> PRIu64 "\n", file_metadata->unpack_siz
>        | ~                                            ^
> |                                                              )
> gmake[2]: *** 
> [libclamunrar_iface/CMakeFiles/unrar_iface_obj.dir/build.make:63: 
> libclamunrar_iface/CMakeFilep.o] Error 1
> gmake[1]: *** [CMakeFiles/Makefile2:1062: 
> libclamunrar_iface/CMakeFiles/unrar_iface_obj.dir/all] Error 2
> gmake: *** [Makefile:163: all] Error 2
> 
> Thanks
> 


More information about the clamav-users mailing list