gcc -shared -Wall -DHAVE_CONFIG_H -c -O2 -fPIC -I/usr/gentmp//portage/gawk-3.1.4-r4/work/gawk-3.1.4 fil efuncs.c In file included from filefuncs.c:47: /usr/include/sys/sysmacros.h:31: error: syntax error before "__THROW" /usr/include/sys/sysmacros.h:34: error: syntax error before "__THROW" /usr/include/sys/sysmacros.h:38: error: syntax error before "__THROW" /usr/include/sys/sysmacros.h:42: error: syntax error before "__THROW" In file included from filefuncs.c:47: /usr/include/sys/sysmacros.h:40:1: unterminated #if /usr/include/sys/sysmacros.h:28:1: unterminated #ifdef /usr/include/sys/sysmacros.h:20:1: unterminated #ifndef gmake: *** [filefuncs.o] Error 1 !!! ERROR: sys-apps/gawk-3.1.4-r4 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! filefuncs emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.sys-apps/gawk-3.1.3-r2 or 2.sys-apps/gawk-3.1.4-r4
The gawk ebuilds in the main tree are known not to work with *BSD. If you install the ebuild from the overlay (version 3.1.4) it ought to work. That it wasn't locked to that version is a profile bug that's been fixed in cvs.