Re: BETA1 5.3 make world DESTDIR failure

From: Pierre-Luc Drouin <pldrouin_at_pldrouin.net>
Date: Wed, 25 Aug 2004 15:14:43 -0400
Now I get this error:
===> sys/modules/libmchain
_at_ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I_at_ 
-I_at_/contrib/altq -I_at_/../include -I/usr/obj/usr/src/i386/usr/include 
/usr/src/sys/modules/libmchain/../../kern/subr_mchain.c
===> sys/modules/linprocfs
_at_ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f _at_/tools/vnode_if.awk _at_/kern/vnode_if.src -h
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I_at_ 
-I_at_/contrib/altq -I_at_/../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,
>  
>
Received on Wed Aug 25 2004 - 17:14:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC