BETA1 5.3 make world DESTDIR failure
Pierre-Luc Drouin
pldrouin at pldrouin.net
Wed Aug 25 12:14:14 PDT 2004
Now I get this error:
===> sys/modules/libmchain
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
rm -f .depend
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@
-I@/contrib/altq -I@/../include -I/usr/obj/usr/src/i386/usr/include
/usr/src/sys/modules/libmchain/../../kern/subr_mchain.c
===> sys/modules/linprocfs
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
rm -f .depend
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@
-I@/contrib/altq -I@/../include -I/usr/obj/usr/src/i386/usr/include
/usr/src/sys/modules/linprocfs/../../compat/linprocfs/linprocfs.c
/usr/src/sys/modules/linprocfs/../../compat/linprocfs/linprocfs.c:94:24:
opt_compat.h: No such file or directory
mkdep: compile failed
*** Error code 1
Ruslan Ermilov wrote:
>On Wed, Aug 25, 2004 at 10:37:07AM -0700, David O'Brien wrote:
>
>
>>On Wed, Aug 25, 2004 at 04:47:22PM +0300, Ruslan Ermilov wrote:
>>
>>
>>>as IMAKEENV (from Makefile.inc1) doesn't utilize DESTDIR. I think I
>>>know how to fix "make world DESTDIR=/foo" to make it work again -- we
>>>need to convert all DESTDIR uses in Makefile.inc1 to be command-line
>>>variables. I'm currently testing this patch, and it looks promising:
>>>
>>>
>>Please also test 'make world' without DESTDIR in /etc/make.conf, but with
>>1. "HISTORICAL_MAKE_WORLD=yes" in /etc/make.conf
>>2. env HISTORICAL_MAKE_WORLD=yes make world
>>before committing.
>>
>>
>>
>That's pointless for this change. If HISTORICAL_MAKE_WORLD is defined
>and DESTDIR is not (irrelevant where), "make world" is just equivalent
>to "make buildworld" followed by "make installworld". Clearly, "make
>buildworld" without DESTDIR works with and without this change.
>
>
>Cheers,
>
>
More information about the freebsd-current
mailing list