Bug#804737: libre: FTBFS on i386: epoll_check missing

Aaron M. Ucko ucko at debian.org
Wed Nov 25 16:22:21 UTC 2015


Simon Josefsson <simon at josefsson.org> writes:

> Thank you for the report!

Thanks for looking into it!

> HAVE_EPOLL   := $(shell [ -f $(SYSROOT)/include/sys/epoll.h ] || \
>                         [ -f $(SYSROOT)/include/$(MACHINE)/sys/epoll.h ] \
>                         && echo "1")
>
> Is epoll.h available on i386?  It is on my amd64 jessie,
> at /usr/include/sys/epoll.h.

Only with libc6-dev-i386 installed.  The real header (from libc6-dev) is
under /usr/include/x86_64-linux-gnu (which should already be in the
search path anyway, so I'm not sure why the -i386 package ships symlinks).

How is MACHINE determined?  I suspect the error stems from the fact that
on i386, Debian uses the GNU architecture tuple i586-linux-gnu but
continues to use i386-linux-gnu in multiarch paths.

$ dpkg-architecture -ai386 2>/dev/null | fgrep 86-
DEB_HOST_GNU_TYPE=i586-linux-gnu
DEB_HOST_MULTIARCH=i386-linux-gnu
DEB_TARGET_GNU_TYPE=i586-linux-gnu
DEB_TARGET_MULTIARCH=i386-linux-gnu

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the Pkg-voip-maintainers mailing list