cvs commit: src/usr.bin

Chris Pressey cpressey at catseye.mine.nu
Fri Sep 3 17:28:12 PDT 2004


On Fri, 3 Sep 2004 12:47:20 -0700 (PDT)
Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxxxxx> wrote:

> dillon      2004/09/03 12:47:20 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     usr.bin              Makefile 
>   Log:
>   pkill does not compile cleanly, remove it from the build.

I'll bet you dollars to doughnuts that the following will fix it:

	rm /usr/src/usr.bin/pkill/.depend

If a 'make depend' is done with one objdir (such as the canonical
/usr/obj), and you later try 'make' with a different objdir (such as
${.CURDIR},) it'll pick up the stale .depend file and bomb out.

Why this has only affected me (and presumably you) and not any others
I've talked to, and why pkill is affected but not any other utilities
under usr.bin, I don't know.  I'm also not sure what to suggest, except
maybe that .depend be added to CLEANFILES in bsd.prog.mk so that stale
. depend files are elminated on a 'make clean'.  I'll keep digging...

-Chris





More information about the Commits mailing list