From nobody Mon Jan 23 13:44:25 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P0rts5N4Zz2t3vx for ; Mon, 23 Jan 2023 13:44:37 +0000 (UTC) (envelope-from qroxana@protonmail.com) Received: from mail-40140.protonmail.ch (mail-40140.protonmail.ch [185.70.40.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P0rts2Xkhz3PDx; Mon, 23 Jan 2023 13:44:37 +0000 (UTC) (envelope-from qroxana@protonmail.com) Authentication-Results: mx1.freebsd.org; none Date: Mon, 23 Jan 2023 13:44:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1674481475; x=1674740675; bh=eKyVmRXWmKq5pB3l0fQcuLCS1GX5oGlIcyv2GOHDqGU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=p4svo9FZQeUuEYmn7/tk28tvdd5BAUKHc2M8RAkX1o2a1CQRb7YAry5DyNbU5flPn sqjdChGutgc2MxYa9h9Ru0cme42qr1tmLWrSsEnCXzg7rCr+LA1u49f8+hB6byp54/ oxbBld9f57kTU+R/qJcvtKciOIRTcsO+8Zv62YUQFPcqwmP7vwfCT36VfW6YAHxrO9 JvuehNvUE+GPbdb4sP+3iu0r1R6VR3nD+F1xrIiRSDB6+aAouglvwjnYuJj05vlL1L EHA1ZPsFEEY/dIaYxDcBGsvbDFjkwGE4pFGJsoVM+dAlF0zgzcdr85Qit6Kr3E2g0X z6dMBmcqoclfg== To: Dimitry Andric From: qroxana Cc: "freebsd-current@freebsd.org" Subject: Re: buildworld failed after deleting /usr/obj Message-ID: In-Reply-To: <3CCFF1C8-D618-453F-8412-3D65F551C43C@FreeBSD.org> References: <7cKQCx9PEwnnJE5MatS6g5KkKh5prIZTrTlqGL2RfM7Z4TDJGCfEATg9ejghBWDhx7WqDtVpxAA6wEisDAP2Y6c8g-ht2KbUW4YN0eek43g=@protonmail.com> <3CCFF1C8-D618-453F-8412-3D65F551C43C@FreeBSD.org> Feedback-ID: 29996633:user:proton List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4P0rts2Xkhz3PDx X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N ------- Original Message ------- On Monday, January 23rd, 2023 at 10:02 AM, Dimitry Andric = 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