if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Os -march=athlon-xp -pipe -ggdb3 -idirafter /var/tmp/portage/sys-block/nbd-2.9.2/work/nbd-2.9.2/inc-after -MT nbd-client.o -MD -MP -MF ".deps/nbd-client.Tpo" -c -o nbd-client.o nbd-client.c; \ then mv -f ".deps/nbd-client.Tpo" ".deps/nbd-client.Po"; else rm -f ".deps/nbd-client.Tpo"; exit 1; fi nbd-client.c:19:22: error: asm/page.h: No such file or directory make[1]: *** [nbd-client.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/sys-block/nbd-2.9.2/work/nbd-2.9.2' make: *** [all] Error 2 Trivially fixed by not including page.h. nothing uses it. Reproducible: Always Steps to Reproduce:
Created attachment 111755 [details, diff] nbd-2.9.2-asm-page-h.patch This fixes it. Emerge succesful. BTW, this was reported in bug #168312 by marduk.
Created attachment 111756 [details] nbd-2.9.2.ebuild ebuild for patch.
added to cvs and reported upstream, thanks