Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2013 17:36:53 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: CUURENT: make buildworld fails: install: libegacy.a: No such file or directory
Message-ID:  <20130801173653.56935807@thor.walstatt.dyndns.org>
In-Reply-To: <20130801172618.3de02267@thor.walstatt.dyndns.org>
References:  <20130801172618.3de02267@thor.walstatt.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/HbYsivgjxzyATc/DBbethZS
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Thu, 1 Aug 2013 17:26:18 +0200
"O. Hartmann" <ohartman@zedat.fu-berlin.de> wrote:

> This is strange:
>=20
> Accidentally I started from two different terminals on the same box
> "rm -rf /usr/obj/usr && make -j2 buildworld"
>=20
> While the first proceess had a headstart, the second killed
> the /usr/obj entries and so both jobs died immediately.
>=20
> But after that, I tried simply again
>=20
> "make buildworld"
>=20
> and I get the message/error shown below. How is it possible that the
> sources or the /usr/obj get that way corrupted, that I'm unable to
> restart a "make buildworld"?
>=20
> This smells like a "logical bug".
>=20
> I'm stuck now. I remember that I had this situation once, but I do not
> know the solution. Can this be fixed in a more general way? Why can
> concurrent make buildworlds corrupt the base system/base sources that
> way, that an subsequent make buildworld will fail as shown?
>=20
> Please do not let me die stupid!
>=20
> Regards,
>=20
> Oliver
>=20
>=20
> --------------------------------------------------------------
> >>> stage 1.1: legacy release compatibility shims
> --------------------------------------------------------------
> cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/tmp
> INSTALL=3D"sh /usr/src/tools/install.sh"
> PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/u=
sr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bi=
n:/sbin:/bin:/usr/sbin:/usr/bin
> WORLDTMP=3D/usr/obj/usr/src/tmp  VERSION=3D"FreeBSD 10.0-CURRENT amd64
> 1000040"  MAKEFLAGS=3D"-m /usr/src/tools/build/mk  -m /usr/src/share/mk"
> COMPILER_TYPE=3Dclang make  -f Makefile.inc1  DESTDIR=3D
> BOOTSTRAPPING=3D1000040  SSP_CFLAGS=3D  -DWITHOUT_HTML -DWITHOUT_INFO
> -DNO_LINT -DWITHOUT_MAN  -DNO_PIC -DNO_PROFILE -DNO_SHARED
> -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF -DEARLY_BUILD legacy =3D=3D=3D>
> tools/build
> (obj,includes,depend,all,install) /usr/obj/usr/src/tmp/usr/src/tools/build
> created for /usr/src/tools/build set -e; cd /usr/src/tools/build; make
> buildincludes; make installincludes rm -f .depend mkdep -f .depend
> -a    -I/usr/src/tools/build/../../contrib/libc-pwcache
> -I/usr/src/tools/build/../../lib/libc/include
> -I/usr/obj/usr/src/tmp/legacy/usr/include
> -std=3Dgnu99   /usr/src/tools/build/../../contrib/libc-pwcache/pwcache.c
> sh /usr/src/tools/install.sh -C -o root -g wheel -m 444
> libegacy.a /usr/obj/usr/src/tmp/legacy/usr/lib install: libegacy.a: No
> such file or directory *** Error code 71
>=20
> Stop.
> make: stopped in /usr/src/tools/build
> *** Error code 1


Solving the problem is via deleting=20

/usr/src/tools/build/libegacy.a

This is strange, I wouldn't expect a "on demand created" file
in /usr/src. What happens on boxes were /usr/src is a NFS mount and
read only for building clienst?



--Sig_/HbYsivgjxzyATc/DBbethZS
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iQEcBAEBAgAGBQJR+oCVAAoJEOgBcD7A/5N8bU8IAJLnNfOfE1fH16kk5BOFZB7y
TaZGaEiy2OFU1yIS5g5rzKOdMEDpgqzn9ba0EhXYdw/ZYBawoW/xs0myJOgjvLyQ
PF5PawjvjDrWCixB3bkFvvWfE/paChAAHE9jviWkI91fgB6TozX/5RfmQyZkDFc/
PKNitMbu/d/C+kV1B0VgLChXwsPjCs0hy/Tx9ppEDk5917/Q4QBfkM7jY9uoU4rq
VEp40HWaz49pSetOKwQHdJzRJ1gGzkCzz1pX6Xlb1oSFAG4XmmWZWHl9wxvGDHC2
nAbM7jTklwOf67e4iuepRzbmt30uo3DaAvINdC6XLgU/9Ughh/h59cVPToFUTA0=
=yrdt
-----END PGP SIGNATURE-----

--Sig_/HbYsivgjxzyATc/DBbethZS--



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