Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2015 11:43:16 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        NGie Cooper <yaneurabeya@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: buildworld broken
Message-ID:  <20151108194316.GD1500@albert.catwhisker.org>
In-Reply-To: <20151108182817.GA49944@troutmask.apl.washington.edu>
References:  <20151101164707.GA5847@troutmask.apl.washington.edu> <CD2B8B15-BFD7-48AA-BFAA-41BFE48635D7@gmail.com> <20151108182817.GA49944@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--u65IjBhB3TIa72Vp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 08, 2015 at 10:28:17AM -0800, Steve Kargl wrote:
> ...
> Back to trying to build freebsd.  I  have discovered that=20
> 'make buildworld' is simply broken if one attempts to use
> a symlink for /usr/obj.  At least doing doing
>=20
> % rm -rf /usr/obj
> % ln -s /mnt/obj /usr/obj
> % cd /usr/src
> % nice make -j2 buildworld
>=20
> 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/o=
bj
g1-252(10.2-S)[2]=20

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

> If one does
>=20
> % rm -rf /usr/obj
> % setenv OBJDIR /mnt/obj
> % cd /usr/src
> % nice make -j2 buildworld
> =20
> 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
--=20
David H. Wolfskill				david@catwhisker.org
Those who would murder in the name of God or prophet are blasphemous coward=
s.

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

--u65IjBhB3TIa72Vp
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJWP6XUXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk72iEP/A27dxriWCBomZQrLt3L571k
CJeWjFwI2ioWgRPteoU5hT7thoNNAY+n9KA67P/svHOpBWCNMGsUFasPlR4CFRz2
MZ8KvM9OlDnbU2H+vkaOU3TO3VMSWPKAri34cvJh4CczZYzb6w8WU54vZjcRZAf6
R9jDJXCT2KNI+icXCdEfJU1XbKfOd9TyzoEa4VVLXbjVj7tgtQTP5J5M3q4l2yMz
XrkzvnYuHzvkN1QhEsSmlsYKzqE4fgBhD9n2uOv7BoL8ySfq1R+tP0SBWwiwJJ7K
jXJKzly1YcGDM4prqEmYJGurMFrJooVUgJQg/VwmzNC+YrZ4RgoGVXmq9IioqyRZ
RzM6PUrMJnU1xS0MjzqDGVmsMTFVjS9vBwSuF+4DZWbqDKI6VfFDeebDeOs4oRME
UEyZry2ygAHRa+N9qUOR5kwlksK0RjGz47ij2TU1oob9YKSrXex2ktYiqmIPK3rl
Fcf7ynHlIYCxwzd01QfSBXiyTgifcAVGect5O+IQ7Jo2c6P6Zl8bQGcLXPJVTeGj
iVKaiMS2GNWZ+S28Mu2aSsKVcsw+p1KNWqXdKf6OLF/ugjMOkBb+IhqK0SJY5EeC
sAKsLu7FXI4VtKXmw5TJ7F05Gdso072wJtXR2p17Q0QVADyYtuyD/mjpRu3LgDb3
ow8zHbq2YBlu8igbudo+
=krKv
-----END PGP SIGNATURE-----

--u65IjBhB3TIa72Vp--



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