[Pkg-clamav-devel] Bug#727027: clamav: FIX build of new upsteam version

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sat Jan 25 20:04:37 UTC 2014


Hi Scott,

I found a fix/workaround for your build error:
others.c:970:10: error: storage size of 'maind' isn't known
   STATBUF maind, statbuf;

This is due to STATBUF being defined as 'struct stat64' instead of 
'struct stat'. I attached a patch that fixes the issue by disabling 
stat64, at least it now builds until:
dh_installexamples -pclamav-base
cp: cannot stat 'etc/clamd.conf': No such file or directory
dh_installexamples: cp -a etc/clamd.conf 
debian/clamav-base/usr/share/doc/clamav-base/examples returned exit code 1
make: *** [clamav-base] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit 
status 2

I hope clamav0.98 will be in sid soon.

Best regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clamav_0.98+dfsg-1.diff
Type: text/x-patch
Size: 462 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20140125/33a70376/attachment.bin>


More information about the Pkg-clamav-devel mailing list