From owner-freebsd-current@freebsd.org Sat Mar 14 08:16:07 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EB16A27ADCC for ; Sat, 14 Mar 2020 08:16:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48fb471v47z41sj; Sat, 14 Mar 2020 08:16:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id A7F8C1B0DF; Sat, 14 Mar 2020 08:16:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::34b5:a088:3751:3c70] (unknown [IPv6:2001:470:7a58:0:34b5:a088:3751:3c70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 74C2E2D4E7; Sat, 14 Mar 2020 09:16:05 +0100 (CET) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_F00CCD9E-E011-4524-9B31-9C1B42DA4D9E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Build failed compiling ittnotify_static.pico Date: Sat, 14 Mar 2020 09:15:58 +0100 In-Reply-To: <20200314.125321.1799337201319868712.ish@amail.plala.or.jp> Cc: freebsd-current@freebsd.org To: Masachika ISHIZUKA References: <5606b11ff31f576b48458a15d224f8b1@waitman.net> <6973b60ef1e9ef142bf9b8fd8f2f3b41@waitman.net> <20200314.125321.1799337201319868712.ish@amail.plala.or.jp> X-Mailer: Apple Mail (2.3445.104.11) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2020 08:16:08 -0000 --Apple-Mail=_F00CCD9E-E011-4524-9B31-9C1B42DA4D9E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 14 Mar 2020, at 04:53, Masachika ISHIZUKA = wrote: >=20 >>>>>>> cc: error: no such file or directory: >>>>>>> = '/usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/itt= notify_static.c' >>>>>>> cc: error: no input files >>>>>>> *** [ittnotify_static.pico] Error code 1 >>=20 >> 'make cleanworld' solved it, build without error. >> I used to always delete obj for years, but I've not done that for a >> couple of years without any problems I've noticed. >=20 > Thank you for information. > I'll try it. Obviously, cleaning up your /usr/obj will always help, but that is not the point of the fix. It should always be possible to do an incremental buildworld, but there is a deficiency in our dependency tracking system. When a file changes extension, but its basename stays the same, the tracking does not notice it. Assuming amd64 and the default /usr/src and /usr/obj setup, all the fix has to do is to remove the file /usr/obj/usr/src/amd64.amd64/lib/libomp/.depend.ittnotify_static.pico, since that will have a "stale" dependency on the old ittnotify_static.c file in it. It would still have been interesting to see why it did not work correctly for the original posters. -Dimitry --Apple-Mail=_F00CCD9E-E011-4524-9B31-9C1B42DA4D9E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXmySvgAKCRCwXqMKLiCW ozS3AJ9vXxhKGXVBnx+b7bnwnvAWDRAO/QCfWML731lufObcxR00qQl1B/suuoA= =YxWQ -----END PGP SIGNATURE----- --Apple-Mail=_F00CCD9E-E011-4524-9B31-9C1B42DA4D9E--