Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2004 15:14:43 -0400
From:      Pierre-Luc Drouin <pldrouin@pldrouin.net>
To:        freebsd-current@freebsd.org
Cc:        Ruslan Ermilov <ru@FreeBSD.org>
Subject:   Re: BETA1 5.3 make world DESTDIR failure
Message-ID:  <412CE523.2040101@pldrouin.net>
In-Reply-To: <20040825174908.GA97530@ip.net.ua>
References:  <1093402508.488.8.camel@home> <20040825134842.M553@beagle.kn.op.dlr.de> <20040825134722.GD5872@ip.net.ua> <20040825173707.GH53710@dragon.nuxi.com> <20040825174908.GA97530@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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,
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?412CE523.2040101>