Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2023 13:44:25 +0000
From:      qroxana <qroxana@protonmail.com>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: buildworld failed after deleting /usr/obj
Message-ID:  <Yxhgl82menkflpds5o1jchI4DqbSh-0NoygJ_cJxeqh1-5wQuwAhBuEqH4r8zkvjXT9QlI-3Qs5NHIrqPaaBDV8MHi7-fbmLwqpXUmuDWWE=@protonmail.com>
In-Reply-To: <3CCFF1C8-D618-453F-8412-3D65F551C43C@FreeBSD.org>
References:  <7cKQCx9PEwnnJE5MatS6g5KkKh5prIZTrTlqGL2RfM7Z4TDJGCfEATg9ejghBWDhx7WqDtVpxAA6wEisDAP2Y6c8g-ht2KbUW4YN0eek43g=@protonmail.com> <3CCFF1C8-D618-453F-8412-3D65F551C43C@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
------- Original Message -------
On Monday, January 23rd, 2023 at 10:02 AM, Dimitry Andric <dim@FreeBSD.org>=
 wrote:


> On 23 Jan 2023, at 04:05, qroxana qroxana@protonmail.com wrote:
>=20
> > It seems ${MAKEOBJDIR} was not created for usr.bin/clang/llvm-objcopy.
> >=20
> > --- all_subdir_usr.bin ---
> > --- objwarn ---
> > Warning: Object directory not changed from original /usr/src/usr.bin/cl=
ang/llvm-objcopy
>=20
>=20
> This is usually an indication that your source directory contains object
> files, e.g. is "dirty". Run "make clean" from the top level, or clean up
> your source checkout with something like "git clean".
>=20
> -Dimitry

I had tried it with a clean source directory and empty /usr/obj

# find /usr/src/usr.bin/clang/llvm-objcopy
/usr/src/usr.bin/clang/llvm-objcopy
/usr/src/usr.bin/clang/llvm-objcopy/llvm-objcopy.1
/usr/src/usr.bin/clang/llvm-objcopy/Makefile

and "make buildworld" still ended with the same error.

In /usr/src/Makefile.inc1, the _NO_INCLUDE_COMPILERMK=3Dt option prevents c=
reating
the obj directories for the stuff in usr.bin/clang/.

  1098  _obj:
  1099          @echo
  1100          @echo "----------------------------------------------------=
----------"
  1101          @echo ">>> stage 2.2: rebuilding the object tree"
  1102          @echo "----------------------------------------------------=
----------"
  1103          ${_+_}cd ${.CURDIR}; ${WMAKE} _NO_INCLUDE_COMPILERMK=3Dt ob=
j


> --- all_subdir_usr.bin ---
> --- objwarn ---
> Warning: Object directory not changed from original /usr/src/usr.bin/clan=
g/llvm-objcopy

This happens in stage 4.4, and there's no ${MAKEOBJDIR} directory created=
=20
for usr.bin/clang/llvm-objcopy





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Yxhgl82menkflpds5o1jchI4DqbSh-0NoygJ_cJxeqh1-5wQuwAhBuEqH4r8zkvjXT9QlI-3Qs5NHIrqPaaBDV8MHi7-fbmLwqpXUmuDWWE=>