Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4328285rba; Tue, 2 Apr 2024 13:47:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWtDvjx0gzuPS+8rD97u1Mhz+iXP3CTne63S4zkx4VspzxrZX08v+1tmOGr0m6wiZS9xvNjYHd1IsReK4GUX2uu8QFsS+r+rDs/wlL2mg== X-Google-Smtp-Source: AGHT+IE1OTeMg0EMhUt/uFFIP8aMA8gmy/dWM8f4rIcFz3JLJpM8Q0S1mBQJh4Isp4GuB2qPwWpM X-Received: by 2002:a05:6a00:2d8d:b0:6e7:32a0:806a with SMTP id fb13-20020a056a002d8d00b006e732a0806amr14512195pfb.28.1712090856135; Tue, 02 Apr 2024 13:47:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712090856; cv=pass; d=google.com; s=arc-20160816; b=kT4lAQ/RV+Qgpqm8o6OrCwLZW4iPjRQvxZgzixe7YiFaGt8/kriaBGpVqCUCJVjUFp mAs1z/Tlrg2FTTNqxA9uTTqRou8ArMAsc2YhWAsShJjROSXkRWC9Nvu6hEa1MiycIZRa WQRxKhmW/jmUB0qeXbCumuJ3l64Jj9sRMiZvdZxMb8HpoT3LheAiEL5LUzSkAPSl0dFC p5kkzWbo5Ke0X7BHYPMNNzYG0xWMXNyMai3FZ2+ZNq8JYYecLTyfRAuYdmpZd/NdBu2O uyujLg4IMzLfoJv/feKH9SSDTpoXfkIxsZgwjSN4Bc3UaT9asHRfxbyNgSz7Mq98uW/7 duxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UAeV71U56WUNXa86+brJCfkvyZrBVbu6E4uiBV1a/cc=; fh=9TwYUZ46Ok+d2Lut5bEAuOyYwQI2sslg+y46yQoNMNs=; b=MUTSuidsZzhoGI0mumItBPn2lkdNZy1X3JAjhhPafzuyGgC4iXcEwRwCgJfnP0AD2l q96/Wmd2ySweuOS9oux+tDHPowFvgrVchc296AZzEWvJqJAlYRPSEuYWk3qD8iRHTE1i KgA4ZnQS3OgbcCPw6XV183rQdC8u6IgpOFJDtTgjAeFeHxAdeg+LtOSojKzwc8zUC0NU mZz1QTiCls/EjqGabELD3e0D8Gy2ulS0ufjq6/lo1oFMY7bygyNu7Xu1ZLcFIxDLpR6T 3xjVoaMQR3ue32YxyOOTJuQnHDRehLkUsNxrb0ruE797aNvx+jyR+iSfh0oHW6iujpu5 QxpA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Da9ZUqdI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128648-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128648-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id du25-20020a056a002b5900b006e635eab42fsi11578567pfb.137.2024.04.02.13.47.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 13:47:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128648-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Da9ZUqdI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128648-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128648-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 36020B25B37 for ; Tue, 2 Apr 2024 20:17:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DC6715D5C0; Tue, 2 Apr 2024 20:17:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Da9ZUqdI" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B65C515D5A3; Tue, 2 Apr 2024 20:17:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712089070; cv=none; b=PpgKP9aPf/TrDMjQw9z0+9zGso2csu6InDKOuthGSDHN4ykxfUbkIy5KpwV7uOO4pZmvCTEewa5F1LnET7sOmvSFp/LGotkdfCMpu7Lm378kIVTmSWDIvbiFd8kkmCtBLS9xFhsxT1bHtDFdZQICVyXztiFMfLee0S22YBiiDdw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712089070; c=relaxed/simple; bh=96iocZd5ustauxh3FiwURa8D+ou4eiLJnlw9KYvy/rc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VdxpICgN5ipxa0oMpxkQTwn9XzMTdLVe4Shjc3FGiH5i7wUYPj6DKkyoQOXmnGbS8ZxiLAozkKjl0uLfv2JLnkJWvToULuwHZRR4zVCWWYROWnYrUsCLdQs82LZUiS+O+npeMG4Yf7Z6Xv6rcPwNXU/jiY1u/ZxxFp3qxaUXHDs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Da9ZUqdI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB1C8C433F1; Tue, 2 Apr 2024 20:17:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712089070; bh=96iocZd5ustauxh3FiwURa8D+ou4eiLJnlw9KYvy/rc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Da9ZUqdIVrpsoX7s2d85LH6plOALCLB4vYOjJvbBryaOw2549LUGYopRn/wUey+Tm lcTnP17Jp4oMxrA4Y6gytDnwseWGNWLtSvd6nJ5lZ1A3V08SoDd/Or0SExsz5emQES lrJiH+4ZBlvltLDMDx6rglHev9HAPu53KdRW8/trP1QQ6CaZnyeNxh1zt140ue6cvl pNGoxlto2xzk+o2XdMjDhWsRssYxwjfzUPkPj6RY6mJaAD5ZROCmvkO2WtWGgC+ssK dEzyNjvPyLskdVyLPtnGvlGb2o/3yBafzu4eRUpoiojC+bjOahUelPxdvYfFicWhcJ 8fafesRLGYKAg== Date: Tue, 2 Apr 2024 17:17:47 -0300 From: Arnaldo Carvalho de Melo To: Stephen Rothwell Cc: Arnaldo Carvalho de Melo , Namhyung Kim , Ian Rogers , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the perf tree Message-ID: References: <20240402094116.79751030@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240402094116.79751030@canb.auug.org.au> On Tue, Apr 02, 2024 at 09:41:16AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the perf tree, today's linux-next build (native i.e. ppc64le > perf) failed like this: > > make[3]: *** No rule to make target '/home/sfr/next/next/tools/include/uapi/linux/stat.h', needed by '/home/sfr/next/perf/libbpf/staticobjs/libbpf.o'. Stop. > > Maybe caused by commit > > f122b3d6d179 ("perf beauty: Introduce scrape script for the 'statx' syscall 'mask' argument") > > or > > a672af9139a8 ("tools headers: Remove almost unused copy of uapi/stat.h, add few conditional defines") > > or a combination of them? Right, these are headers that were used to extract string tables but were added to a directory that was also used to build tools, sometimes because headers contained new defines that wouldn't be available in older distros. We're trying to move things that are needed just for creating string tables to a separate directory, as done in the second cset you mentioned above, how to do it in a way that is noticed by the dependency files cached by the tools build processes is what is needed here. I planned to investigate and fix this, but this was preventing development work to proceed as 6.9-rc was released, so I ended up moving these to perf-tools-next, I'll try again to investigate the deps issue to make this (and further work in this area) to avoid requiring these 'make clean' steps. > This is an incremental build but doing 'make -C tools/perf clean' and then > rebuilding works, so maybe there is a dependency missing? Thanks for reporting. - Arnaldo