Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp725508pxm; Fri, 25 Feb 2022 18:25:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJytxrqkeJ0uO4TSEi/AWW+ZMNNEetp6TlI+VTcWtG7Ua0E6yuluPATQn7yojmmhFqQD8403 X-Received: by 2002:a17:90b:d85:b0:1bd:10c5:7785 with SMTP id bg5-20020a17090b0d8500b001bd10c57785mr1669009pjb.94.1645842350426; Fri, 25 Feb 2022 18:25:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645842350; cv=none; d=google.com; s=arc-20160816; b=Rwhx/p0BH7d8Pk6omcVjIgdNbSj6uYY+YOwP0zTJ12Ogc5LbMFLKhYo3fiH6Tm3jop v1h0QGjjt4zZ/vYSPDtsaB2wNBlDw/JLf1uOmIvQMEIwIS0Fegwm4FsDKBhBlRqlg2pk J4vppFgkrkFtr2t4lQmDai9JVgtvXgNaZHAor1unG8voagcLa+Ah0e4ajAw2KZLSou9K wyztz6DSThakf2pL6c0hRZeEtaOif9U26UGta0PGtVsHJQfGZ8Y2ZMWTEI2aaGuhC2kE LONoI9+d6vXSqNv0ghXZabOXjNmS/UjXJvDi2J9KRBAttsmTLa95ddGCU2TgZLoqAYAn y9kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=WYW51JD9bbPEQ4lnb5EQmERyn2Zcwqc61RWoRLurrq8=; b=e3e4c6wZRKLwTPrY/cvzmx+yPaOZzlqhKml5EJBR73SEojstAcISgCYgr/3apThjj8 FM7Y5EexB/z9RAg+Efhm+hZ3miKn1luoWPkvC04BC5ZnIzVHBO9a/CVVs92jSYhUP+An qsna09J1wGnYv9TOXq1kde4hNHYLjXA3jlEYj4yj8cOwYaU1CnIVJxderD3ZEmaBLvNj ZonIXtMfq9790zPF0xH1ka9Qt/QHaYn1SstttA4FzeBNJj/30d6itu67fxHotnCIMjML PWw7VnkAM5s9aoUHklm9fELE4n6K2I/UNT5meat37xpEqNXvkI94pVb4bakawFM7XoZL dIWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=HHnODJ3q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u8-20020a170902a60800b0014f992a21dbsi3224913plq.111.2022.02.25.18.25.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 18:25:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=HHnODJ3q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A6E5126CCDB; Fri, 25 Feb 2022 17:54:06 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238110AbiBYVNt (ORCPT + 99 others); Fri, 25 Feb 2022 16:13:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238060AbiBYVNp (ORCPT ); Fri, 25 Feb 2022 16:13:45 -0500 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7774F182DAB for ; Fri, 25 Feb 2022 13:13:12 -0800 (PST) Received: by mail-il1-x135.google.com with SMTP id y5so5266567ill.13 for ; Fri, 25 Feb 2022 13:13:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=WYW51JD9bbPEQ4lnb5EQmERyn2Zcwqc61RWoRLurrq8=; b=HHnODJ3qiuqSo7UIQya4dlBAsYrgNK8HXIoHRrZn/6MA+vMXF7v16ZhVdvOu8UL+fI Vj0FULIVOAOdxgfBoyo+HhQhl95M5EMHhHHLsiLX3wyA3Rgy0wmHNKcaEGK0Rvt/bFjM HEifVucNoVhCZnNspWvAH5gZOr/wO+DNVXU9g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=WYW51JD9bbPEQ4lnb5EQmERyn2Zcwqc61RWoRLurrq8=; b=qAbhnFBqP2ghUPaOeVW9pC5f4Q6soxLT2WB9HoTaMZ4QjSogt+3uaTPgF8SgaTIt0M J+fT2p+IoJnhNZhQ1Pigitm+Dxc+9clAfoGe5Ku6v4PjfAPzhrLxqsCIwMfRLkCS/dqX yq2MF/nfMyi6x4q+ZQxl/ipGd6ZoDtg43waaPW9hcoLRkNYBr9nga5Om1NmmMxWXal6W fFTeHtpJ2VXCTU+lplyRZsltTsrEiSia9RDn6kzyDLTv+zD+uSzkQ5ceV/bpU7f1V6rt K58UKUweNlPNJtUunMK1qRutptlhnmpXB73Ax5hryHAVxc2gRHzuASfEUXhTIU3+u2Ft Dh5Q== X-Gm-Message-State: AOAM530ibB8spyzfxmC90lojgy6lAnPFd3sbEruBKemajtcdTsU6tdAs 5dvMOaFHFrZdl4Ubf4PqOgE6uA== X-Received: by 2002:a92:8e4a:0:b0:2bc:1a0d:ed41 with SMTP id k10-20020a928e4a000000b002bc1a0ded41mr8097251ilh.96.1645823591441; Fri, 25 Feb 2022 13:13:11 -0800 (PST) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id c9-20020a92b749000000b002c22c39554fsm1930048ilm.31.2022.02.25.13.13.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Feb 2022 13:13:11 -0800 (PST) Subject: Re: [PATCH V2] selftests: Fix build when $(O) points to a relative path To: Muhammad Usama Anjum , Shuah Khan , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Shuah Khan Cc: kernel@collabora.com, kernelci@groups.io, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org References: <20220216223817.1386745-1-usama.anjum@collabora.com> <46489cd9-fb7a-5a4b-7f36-1c9f6566bd93@collabora.com> <63870982-62ba-97f2-5ee2-d4457a7a5cdb@linuxfoundation.org> From: Shuah Khan Message-ID: <9a643612-ea85-7b28-a792-770927836d43@linuxfoundation.org> Date: Fri, 25 Feb 2022 14:13:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <63870982-62ba-97f2-5ee2-d4457a7a5cdb@linuxfoundation.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/25/22 11:01 AM, Shuah Khan wrote: > On 2/25/22 10:22 AM, Muhammad Usama Anjum wrote: >> Any thoughts about it? >> > > No to post please. > >> On 2/17/22 3:38 AM, Muhammad Usama Anjum wrote: >>> Build of bpf and tc-testing selftests fails when the relative path of >>> the build directory is specified. >>> >>> make -C tools/testing/selftests O=build0 >>> make[1]: Entering directory '/linux_mainline/tools/testing/selftests/bpf' >>> ../../../scripts/Makefile.include:4: *** O=build0 does not exist.  Stop. >>> make[1]: Entering directory '/linux_mainline/tools/testing/selftests/tc-testing' >>> ../../../scripts/Makefile.include:4: *** O=build0 does not exist.  Stop. >>> >>> Makefiles of bpf and tc-testing include scripts/Makefile.include file. >>> This file has sanity checking inside it which checks the output path. >>> The output path is not relative to the bpf or tc-testing. The sanity >>> check fails. Expand the output path to get rid of this error. The fix is >>> the same as mentioned in commit 150a27328b68 ("bpf, preload: Fix build >>> when $(O) points to a relative path"). >>> >>> Signed-off-by: Muhammad Usama Anjum >>> --- >>> Changes in V2: >>> Add more explaination to the commit message. >>> Support make install as well. > Does the same happen when you use make kselftest-all? I am unable to reproduce what you are seeing? thanks, -- Shuah