The last informative line is i686-gentoo-freebsd9.0-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DKLUDGELINEMODE '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -O2 -march=i686 -mtune=i686 -pipe -MT sys_term.o -MD -MP -MF .deps/sys_term.Tpo -c -o sys_term.o sys_term.c sys_term.c:33:18: fatal error: utmp.h: No such file or directory Reproducible: Always this is like bug 391011 and bug 409819
FreeBSD applied this patch and removed utmp things. http://lists.freebsd.org/pipermail/svn-src-all/2010-January/018530.html I'm considering applying this patch only on >=FreeBSD-9. Any comments?
(In reply to comment #1) > FreeBSD applied this patch and removed utmp things. > > http://lists.freebsd.org/pipermail/svn-src-all/2010-January/018530.html > > I'm considering applying this patch only on >=FreeBSD-9. Any comments? yes please do! :)
I've rewritten files/${P}-fbsd.patch to merge the above patch. Now it works fine on FreeBSD-9.0