Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp289067ybg; Tue, 22 Oct 2019 20:51:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxx2nF0OoFVN+DmviNpnl4hmLL9jX9ZRKIPKnLuIOn4MykBcDW9IrG3FjWpbAgnqRQ0S8/G X-Received: by 2002:a05:6402:7d2:: with SMTP id u18mr35821309edy.23.1571802694585; Tue, 22 Oct 2019 20:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571802694; cv=none; d=google.com; s=arc-20160816; b=trPBfnpkyF5XSbhuPUSylI9OlcoAFfY79FQlPTS9WWY7GK5QFK/6jYinCxQXF0d3Ol Lar3qXSKU9usLUPbo+uLpt8udZC6jF8sPXgDSu6xttxhYG4Q5Kz9jBOEIuj++REcMv7O A0DPh+D4x+jH1lDredORhZ63JsFjhls+9VWleWj9iiCz9kb604gEAHvZJJ9cLzv5Vdh0 DgJgAh+BivxgTZ82lo9ZUhGYuHGp6qnszRiQTRtsSEn/wu1x3AdBXTEuj5WJM79XDFTO ThCEW6i436wlNz7l13VEAk2y5ow/sHbz5mallnv6mH+z2YejU5VmC9oIA8Gu80UKUZw3 oSvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=q4raC0KDrg0Y3VOU96/cM0m4sT0Xq+RiWIVVbLsEG3o=; b=DoOV4BLeSCUMfQjQglgZz1J5IKbga9AbkkLFZ16vDI3dlhcRLDgPWlqsX1psFZvxP/ v2Tmlw4ZD1k3MOc8wrnpleLlnS6F7DKzaR3Kvz5iK9UZMKxzLrtIwg+14DjfV1QR5Az2 dd4OEDcHn3hFEk8BCZA5zXjGvF3Fp0bzsZl8vMEtwK0XEbpamj2CppltE8zjmfWLAmj6 f/0P0WhWJHbDO3oHxYxzMp/lMFoDkTgyfeGAPwzJAQ+VopISm/X4NNm60XaysktBV1RY +hO2uR8YTlsauGyojI2D2hDq0rqFXqMEosnZhH+eKYuk+kCWP2A4ePwToWlMyvbs/mTW 3wTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cGAgcBjN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w17si7083886edc.152.2019.10.22.20.51.10; Tue, 22 Oct 2019 20:51:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cGAgcBjN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389202AbfJWCl6 (ORCPT + 99 others); Tue, 22 Oct 2019 22:41:58 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:39278 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729994AbfJWCl5 (ORCPT ); Tue, 22 Oct 2019 22:41:57 -0400 Received: by mail-qk1-f193.google.com with SMTP id 4so18421862qki.6 for ; Tue, 22 Oct 2019 19:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=q4raC0KDrg0Y3VOU96/cM0m4sT0Xq+RiWIVVbLsEG3o=; b=cGAgcBjNZ7OGStncxmS8AdWRHM1wBepX2aAZNEflgKnz6qUeoCLayiPuMzY7TIH8lb fZl60JgJSx6k4Y8w4Zru4lh2M1HrwdAVcQCLPDcNsvA+8EGfEQQeWdBIeN1Tlpn256u/ h/84gUCUmLt2Zuy+lNfIEbDxqGKfn2u1zs5d6Ji4wzGjwioKo5QGUaVcRWFbZ8aFtRgy R+b5lFW1NAbamEvfz3/gsg2ZsZebWuE7hQg/GGI2hmU0wQ8LkFc090kkopPJf9XaiH+z NNuH3qT0o4Bca3w3Gy3SI5mkPZ728mqz8U7gmltkcZJOlbyxMidEHAe4/hlR/v6YZslS /8Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=q4raC0KDrg0Y3VOU96/cM0m4sT0Xq+RiWIVVbLsEG3o=; b=Ry6eb1fwTvv9beFXDui2AEzwoeBerNpeZW/gXVY9VJsvUoYDcymn0Tuq3TL2LTGY0r BIxQj8zvWjJ9ZLhH3UcbeSDBHgKrSb5WKfbRNoFeauTPihhVtqIBXkZUJ7F1jPD0BC0v rgL8wWJi79ZE1roXVV83aOuF3rsS5l2VpEhVKRwrOWtJZgKIcLCgwHU1isqJQuhAhFS7 4xkxX+xptTk15jnCDnqoa1M0uro57vN0K4jfEBJh5PjnOiutsYXPKlqDy55FA/SuhyxY o6XdQ6zU2cVEB7ZirfxPAT1geZc/oniSX1t38wIkqcUXHJGy5FYdFYdZhJFZJWRr1+vL lDQw== X-Gm-Message-State: APjAAAX7bDIzFg/uvHwuoTLnCGOZCC1h2nI5sApXh4noFGVpIuDE7o1o blPFryDl/HiZ7Qj1/mHABTwuiQ== X-Received: by 2002:a37:7b44:: with SMTP id w65mr6367539qkc.409.1571798516742; Tue, 22 Oct 2019 19:41:56 -0700 (PDT) Received: from leoy-ThinkPad-X240s (li937-157.members.linode.com. [45.56.119.157]) by smtp.gmail.com with ESMTPSA id 76sm12508050qke.111.2019.10.22.19.41.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Oct 2019 19:41:55 -0700 (PDT) Date: Wed, 23 Oct 2019 10:41:49 +0800 From: Leo Yan To: Naresh Kamboju Cc: Linux-Next Mailing List , acme@kernel.org, open list , linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , lkft-triage@lists.linaro.org Subject: Re: Linux-next: 20191022: perf: bpf_helpers_doc.py: not found Message-ID: <20191023024149.GA29009@leoy-ThinkPad-X240s> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Naresh, On Tue, Oct 22, 2019 at 09:04:04PM +0530, Naresh Kamboju wrote: > We have noticed perf (OE recipe) build failure on linux next 20191022. > do you see this failure ? > > /bin/sh: 1: perf/1.0-r9/perf-1.0/scripts/bpf_helpers_doc.py: not found > Makefile:184: recipe for target 'bpf_helper_defs.h' failed > make[3]: *** [bpf_helper_defs.h] Error 127 > make[3]: *** Deleting file 'bpf_helper_defs.h' > Makefile.perf:765: recipe for target 'perf/1.0-r9/perf-1.0/libbpf.a' failed > make[2]: *** [perf/1.0-r9/perf-1.0/libbpf.a] Error 2 I tested for two methods with linux-next, one is native building mode for Arm64 building on DB410c board, another is cross compiling Arm64 binary on my x86 laptop. Both cannot reproduce this failure. After read your shared build log and I think the building process is expected: Perf tool tries to build libbpf, so it changes to the building folder 'BPF_DIR' (which is under $(srctree)/tools/lib/bpf/), then failed to find file $(srctree)/scripts/bpf_helpers_doc.py. Here $(srctree) means the kernel's root folder. Seems to me, this failure is caused by missing to sync kernel files $linux_src/scripts to the OE folder 'perf/1.0-r9/perf-1.0/scripts'? Thanks, Leo Yan > Metadata: > ------------------------------------------------------------------------ > kernel: 5.4.0-rc4 > git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git branch: master > git commit: a722f75b2923b4fd44c17e7255e822ac48fe85f0 > git describe: next-20191022 > Test details: https://qa-reports.linaro.org/lkft/linux-next-oe/build/next-20191022 > > Full build log: > https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkft,MACHINE=hikey,label=docker-lkft/631/consoleText > > - Naresh