[Pkg-clamav-devel] new clamav 0.98.5 beta1

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Aug 12 21:15:17 UTC 2014


On 12.08.2014 22:58, Scott Kitterman wrote:
> On August 12, 2014 4:53:02 PM EDT, Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> wrote:
>> Hi,
>>
>> On 12.08.2014 21:57, Sebastian Andrzej Siewior wrote:
>>> The problem is
>>>
>> 	http://www.cabextract.org.uk/libmspack/doc/mspack_8h.html#a3a94be2216dd1e835733acb7c4645fca
>>>
>>> clamav is compiled without LFS, libmspack is compiled _with_ LFS
>>> support. So off_t has different size.
>>
>> Then the obvious fix is to add '-D_FILE_OFFSET_BITS=64' to CFLAGS.
>>
>> This fixed the test failures on i386. Does this have any disadvantage?
>>
>> It would probably be best to add a check to configure.ac testing what
>> off_t size libmspack uses and adding this flag depending on the result.
>
> I recall reading something about a autotools bug that caused this. We should be building with LFS generally, I think. Please go ahead.

OK, I added it now to CFLAGS.

Best regards,
Andreas




More information about the Pkg-clamav-devel mailing list