On August 12, 2014 11:06:43 PM EDT, Scott Kitterman <[email protected]> 
wrote:
>On Tuesday, August 12, 2014 23:15:17 Andreas Cadhalpun wrote:
>> On 12.08.2014 22:58, Scott Kitterman wrote:
>> > On August 12, 2014 4:53:02 PM EDT, Andreas Cadhalpun 
><[email protected]> 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#a3a94be2216dd1
>> >>   e835733acb7c4645fca>>   
>> >>> 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.
>
>Thanks.  It passed the tests here now too, so I think it's worth
>inflicting on 
>the world.  Uploaded to experimental.

The results on other architectures don't look so great. I already retried armhf 
and powerpc, to no avail. 

Scott K



_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel

Reply via email to