Re: buildworld broken

From: David Wolfskill <david_at_catwhisker.org>
Date: Sun, 8 Nov 2015 11:43:16 -0800
On Sun, Nov 08, 2015 at 10:28:17AM -0800, Steve Kargl wrote:
> ...
> Back to trying to build freebsd.  I  have discovered that 
> 'make buildworld' is simply broken if one attempts to use
> a symlink for /usr/obj.  At least doing doing
> 
> % rm -rf /usr/obj
> % ln -s /mnt/obj /usr/obj
> % cd /usr/src
> % nice make -j2 buildworld
> 
> with /mnt a UFS2 file system on a USB2 disk yields errors of the
> above form.

My laptop -- where I build stable/10 & head daily -- is set up so that:

g1-252(10.2-S)[1] ls -lT /usr/obj
lrwxr-xr-x  1 root  wheel  14 Jul 19 06:39:21 2015 /usr/obj -> /common/S1/obj
g1-252(10.2-S)[2] 

In this case, /tmp is tmpfs and all others are UFS2+SU.

> If one does
> 
> % rm -rf /usr/obj
> % setenv OBJDIR /mnt/obj
> % cd /usr/src
> % nice make -j2 buildworld
>  
> works.  So, it appears soemthing inside the make infrastructure cannot
> follow symlinks.  This used to work.

In such cases, my first suspect is (ab)use of realpath.

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Those who would murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Sun Nov 08 2015 - 18:43:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:00 UTC