I run into the following error on CURRENT when I try and run buildworld when MK_GPIB == "yes": CC='clang' mkdep -f .depend -a -std=gnu99 /home/gcooper/svn/onefs.3/src/lib/libgpib/ibfoo.c /home/gcooper/svn/onefs.3/src/lib/libgpib/ibfoo.c:37:10: fatal error: 'dev/ieee488/ugpib.h' file not found #include <dev/ieee488/ugpib.h> ^ 1 error generated. mkdep: compile failed Similarly, if I use gcc (I have to hardcode it in the Makefile for some odd reason even though I specify CC=gcc), I run into the same error: $ make depend rm -f .depend CC='gcc' mkdep -f .depend -a -std=gnu99 /usr/src/lib/libgpib/ibfoo.c /usr/src/lib/libgpib/ibfoo.c:37:31: error: dev/ieee488/ugpib.h: No such file or directory /usr/src/lib/libgpib/ibfoo.c:38:35: error: dev/ieee488/ibfoo_int.h: No such file or directory mkdep: compile failed *** Error code 1 Stop. make: stopped in /usr/src/lib/libgpib It seems that things are being built out of order, or a change in the bsd.dep.mk/bsd.lib.mk was made to the extent that things no longer build in a sane manner. How-To-Repeat: 1. Checkout a recent copy of CURRENT. 2. cd lib/libgpib; make obj depend
This happened because the headers weren't being installed and it wasn't looking for them under ${SRCTOP}. Not a bug with FreeBSD: it was a bug with the FreeBSD-fork (Isilon OneFS).