[Pkg-clamav-devel] Bug#737119: clamav: FTBFS on powerpc and other arches

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Fri Jan 31 17:15:22 UTC 2014


Control: tags -1 patch

Hi,

On 30.01.2014 13:30, Roland Stigge wrote:
> clamav FTBFS on powerpc (and other arches) like this:
>
> ...
>    CC     fan.o
> In file included from fan.c:38:0:
> fan-syscalllib.h:14:3: error: #error "System call numbers not defined for this architecture"
>   # error "System call numbers not defined for this architecture"
>     ^
> fan-syscalllib.h: In function 'fanotify_init':
> fan-syscalllib.h:19:17: error: '__NR_fanotify_init' undeclared (first use in this function)
>    return syscall(__NR_fanotify_init, flags, event_f_flags);
>                   ^

This happened also on Rasbian [1], where it got fixed for arm.
The attached patch should fix it for Debian build architectures, but I 
have not tested it. I took the numbers from [2].

If this patch works, it would be good if it got forwarded to upstream.

Best regards,
Andreas

1: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=65937
2: http://codesearch.debian.net/search?q=package%3Alinux+__NR_fanotify_init

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fanotify.patch
Type: text/x-patch
Size: 1455 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20140131/023591ad/attachment.bin>


More information about the Pkg-clamav-devel mailing list