[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

system/1556: "cd src/kerberosIV/lib/krb; make" fails




>Number:         1556
>Category:       system
>Synopsis:       kerberosIV makefiles should use ""-style includes for Makefile.inc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 12 03:50:02 MST 2000
>Last-Modified:
>Originator:     system administration account
>Organization:
net
>Release:        current
>Environment:
	
	System      : OpenBSD 2.8
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
	When attempting to rebuild libkrb (following the release of patch
2.8/common/009_...) using the following command sequence from the patch
instructions:
	cd src/kerberosIV/lib/krb
	make obj
	make
(aside: wouldn't it be wiser to "make depend" as well?)
the last command fails because it cannot locate the source files.
Investigation ("make -d d") reveals that the
.include <../../Makefile.inc>
is failing, presumably because the current directory is not part of the
search path for <> includes. Changing the line to
.include "../../Makefile.inc"
cures the problem, and seems more in keeping both with the documented
semantics of "" vs. <> includes and with the style of makefiles outside
the src/kerberosIV subtree.
	Note that my source tree is in a location other than /usr/src;
I haven't tested whether the problem is reproducible from the standard
source tree location.
	
>How-To-Repeat:
        cd src/kerberosIV/lib/krb
        make obj
        make
>Fix:
	Change
.include <../../Makefile.inc>
	to
.include "../../Makefile.inc"
	in src/kerberosIV/*/Makefile

>Audit-Trail:
>Unformatted: