Source: libkqueue
Version: 2.0.3-1.1

It failed to build on arm64:

http://buildd.debian.org/status/package.php?p=libkqueue&suite=sid

The error was:

src/linux/platform.c: In function 'linux_eventfd_init':
src/linux/../common/../linux/platform.h:29:31: error: 'SYS_eventfd' undeclared 
(first use in this function)
 # define eventfd(a,b) syscall(SYS_eventfd, (a), (b))
                               ^

More recent architectures do not have SYS_eventfd; they only have
SYS_eventfd2. So the fix is to replace, in src/linux/platform.h,

# define eventfd(a,b) syscall(SYS_eventfd, (a), (b))

with:

# ifdef SYS_eventfd2
#  define eventfd(a,b) syscall(SYS_eventfd2, (a), (b))
# else
#  define eventfd(a,b) syscall(SYS_eventfd, (a), (b))
# endif


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to