From owner-freebsd-current@FreeBSD.ORG Thu Jun 2 17:34:24 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FFFE16A41C for ; Thu, 2 Jun 2005 17:34:24 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E43743D1D for ; Thu, 2 Jun 2005 17:34:21 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so406420wri for ; Thu, 02 Jun 2005 10:34:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ml146ZnP+Wf5qFqwLHUODtt2jSrF/ursrRE+WzKWNvo/3pQ8FWu+ccpwxHITBmL73QjFycDEGltY4wSqn48NKhUmg1RWJRZ+yp5b+JWOhvL33gBs+Qwg3u5hTxzho/0v7gmVBsFu/wW6n3vA6hxv1oCETJAFpGEyw6tnRJ6OeTA= Received: by 10.54.108.13 with SMTP id g13mr688537wrc; Thu, 02 Jun 2005 10:33:35 -0700 (PDT) Received: by 10.54.29.77 with HTTP; Thu, 2 Jun 2005 10:33:35 -0700 (PDT) Message-ID: <790a9fff05060210335d8b298f@mail.gmail.com> Date: Thu, 2 Jun 2005 12:33:35 -0500 From: Scot Hetzel To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: <86br6o7kc1.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050530150621.GB90183@tarc.po.cs.msu.su> <20050530184005.GB66808@xor.obsecurity.org> <20050531102256.GA20255@tarc.po.cs.msu.su> <20050531114050.GA51381@xor.obsecurity.org> <20050531121253.GB4872@tarc.po.cs.msu.su> <86br6o7kc1.fsf@xps.des.no> Cc: Tarc , freebsd-current , Kris Kennaway Subject: Re: FreeBSD 6.0-CURRENT lastest snapshots X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Scot Hetzel List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2005 17:34:24 -0000 On 6/2/05, Dag-Erling Sm=F8rgrav wrote: > Tarc writes: > > I work now under cross-compilling system: on FreeBSD 4.10 or 5.3 > > compile for FreeBSD 6.0-CURRENT. But this has an big problem: it's > > needed to patch some Makefiles and sources which hardcoded depends > > on path '/usr/src', where sources are placed >=20 > There are no such hardcoded dependencies anywhere in the src tree. >=20 There is one dependency in the src tree. See PR 76362 http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dbin/76362 The dependancy occurs when you have your source tree in a different location than /usr/src, as the /sys directory is linked to usr/src/sys. If your source tree is in /usr/home/foo/src, and you set /sys -> usr/home/foo/src/sys. After a make installkernel the /sys link now points to the wrong location. Now when you build modules from ports, they'll either fail to find the /sys directory or use the wrong /sys directory. This affects users who may have moved their source trees and/or have multiple source trees mounted from one NFS mount point (as given in the example in the PR). Scot