Re: FreeBSD 6.0-CURRENT lastest snapshots

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Thu, 2 Jun 2005 12:33:35 -0500
On 6/2/05, Dag-Erling Smørgrav <des_at_des.no> wrote:
> Tarc <tarc_at_tarc.po.cs.msu.su> 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
> 
> There are no such hardcoded dependencies anywhere in the src tree.
> 
There is one dependency in the src tree.

See PR 76362
    http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/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
Received on Thu Jun 02 2005 - 15:34:24 UTC

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