Den Wed, 25 Nov 2015 11:22:21 -0500 skrev Re: Bug#804737: libre: FTBFS on i386: epoll_check missing:
> Simon Josefsson <[email protected]> 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). Seems like the same on my amd64 machine. Not sure why I had libc6-dev-i386 installed. I suppose buildd's doesn't? > > 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. It uses 'gcc -dumpmachine'. What does that give on debian-i386? /Simon > > $ 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 >
pgpO41UwCM7YH.pgp
Description: OpenPGP digital signatur

