Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2699363iog; Mon, 27 Jun 2022 00:35:31 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uDwXI6tz2tuH6Mw50kdzcTTPNA9zZI9Jbit9meLJtbxf+3RHpP8O2YD7b9xt8OyYEo0cf3 X-Received: by 2002:a17:902:cf0f:b0:15a:24e0:d9b0 with SMTP id i15-20020a170902cf0f00b0015a24e0d9b0mr13198050plg.42.1656315330946; Mon, 27 Jun 2022 00:35:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656315330; cv=none; d=google.com; s=arc-20160816; b=0Vau8utYCW7jXW/aeAQcuDaSXh5rKgCpE2pk1blSvDTIWHn4y1zmkJFi+mI52KBuHg FZtjYkNI5G6taTFsXuq9iJJEo4fMHKNtYSAjC/27uaYcWJ/GhBt46nAczA6hzk2GwOov kqtkwlwNVU93EtGnhmKjzNraoooLOGiv0KNZIHRItlO5gW7y85SqhA1ytE30XaKokY8H 0rhGa0ByVAVQhMsMgV6WvR5kc7w4jEnsW6BRY65bP+bEG5adGvW6e5EofydRmjXnwFa9 5cvGnj81wjy7x5oTrDCbqiH2XSsYk6L/R63DITnjKyCh5Y+XwUqBBTO7t3A/zv/zQwuH okjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:cc:user-agent:mime-version :date:message-id:dkim-signature; bh=Z6GhqMU63+RXfypyYvUiUD77j7AP2AKt1nu0nEsnhdY=; b=JncfOcGMjetBRvvup0+y2p765K6su6VOqjijUhVoHp+QsChA4rIYPj/xOD+ldntXiN G9XYqJJUwMBj3J4f0jxDX+FDnv0XiSSLOqFk+f9kjQ6DvHmhMcZgKLjA36cJTkYjhuSP fbH7Iww0lLOfBMyhuktpgu89Zr2GkImV4gNSCIPTUSYujHfD4TgrfqfUHk04tZSqz2FX wjfyAW1+jyKG4MiV5l7eQesUvcDb7aKsymZm5AiW1zpsh3yBEC/n8aYqoC/FFwiwnLCZ sXuVzWJS4eAu0HXQ812OBj9WUbVMAW2KjbxcDbCdbRtEVppmkC/amM0PhX/oAQ/d//j2 mcMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=eMJ5PcCF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020a170902ccc200b0016b7b1396cesi3509022ple.419.2022.06.27.00.35.19; Mon, 27 Jun 2022 00:35:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=eMJ5PcCF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232557AbiF0HGq (ORCPT + 99 others); Mon, 27 Jun 2022 03:06:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230439AbiF0HGp (ORCPT ); Mon, 27 Jun 2022 03:06:45 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEF3E5F7E; Mon, 27 Jun 2022 00:06:44 -0700 (PDT) Received: from [192.168.10.6] (unknown [39.45.206.71]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madras.collabora.co.uk (Postfix) with ESMTPSA id 1D09D6601826; Mon, 27 Jun 2022 08:06:40 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1656313603; bh=Z/LXL4E5/3LOVmaswq+5SAltlEypjsxTl3skxq9i7gI=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=eMJ5PcCF0uV60I848qRMPOi+VmW3JuLmS63Epy69cjv3OWF14upH354lTVs046V9C o9ToL3nClu6KJ+G9SSLQ7kwdW0K86+jLdOnf+6bW2xcA3+ik9E9vLoSImSCtl312+6 hdi83Sz+wmSVnRNG+7l88lGQc1pb2l5h/VTpFuxkAmIrLx0QHfBBu1oMNdsyg3pWai TEQOQJ7jplQQNmV9tT6iUJl6dR6gdJSDM1nSb11n0XFuaF1/r2WATa87aIy9B5lPtZ KVi5wXp1QMimHKzY00Uac+lVTIvtM+l9If14+Lyq3xTHGGoNXf/d7DbAcNrEN5786g im95gOg+BLH/A== Message-ID: <519c813b-0bf1-636b-df90-890e07d2ea4d@collabora.com> Date: Mon, 27 Jun 2022 12:06:36 +0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Cc: usama.anjum@collabora.com, Michal Marek , Nick Desaulniers , Shuah Khan , KERNEL SELFTEST FRAMEWORK , Linux Kbuild mailing list , LKML , "kernelci@groups.io" Subject: Re: [Bug Report] - kselftest build fails if output directory is first level sub-directory Content-Language: en-US To: Shuah Khan , Masahiro Yamada References: From: Muhammad Usama Anjum In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 >> This problem starts from the bad design of the kselftest framework. >> I did some research before. I think I can fix the root cause but >> currently I do not have enough time to do it. >> >> >> KBUILD_ABS_SRCTREE is a user-interface to request >> Kbuild to use the absolute path. >> If it is forced in the top Makefile, users have no way to >> negate it. >> It is true that using the absolute path is a quick work-around >> because you do not need to care about the current working directory. >> >> If you insist on it,  just go ahead.  It is just two line changes. >> Once the issue is fixed in a better way, your patch can be reverted >> easily. >> > Why don't we work on fixing it the wright way? I would rather go that > route than using short rem fixes. > > Usama, would you be interested in working on a proper fix as recommended > by Masahiro? I've made another attempt: https://lore.kernel.org/lkml/20220627070214.432390-1-usama.anjum@collabora.com/ > > thanks, > -- Shuah -- Muhammad Usama Anjum