From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1401EC433F5 for ; Sun, 13 Feb 2022 09:45:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234856AbiBMJpX (ORCPT ); Sun, 13 Feb 2022 04:45:23 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:54116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbiBMJpW (ORCPT ); Sun, 13 Feb 2022 04:45:22 -0500 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 585575C37F; Sun, 13 Feb 2022 01:45:15 -0800 (PST) Received: from [192.168.0.2] (ip5f5aebcd.dynamic.kabel-deutschland.de [95.90.235.205]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id E29D361E64846; Sun, 13 Feb 2022 10:45:11 +0100 (CET) Message-ID: Date: Sun, 13 Feb 2022 10:45:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: Set environment variable `KVM` makes build fail Content-Language: en-US To: Zhouyi Zhou Cc: Paolo Bonzini , kvm@vger.kernel.org, Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, rcu , "Paul E. McKenney" References: From: Paul Menzel In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Zhouyi, Am 13.02.22 um 09:07 schrieb Zhouyi Zhou:, and > Thank you for your trust in me. Thank you for your help. > I think the following patch has a good explanation of what happened ;-) > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/tools/testing/selftests/rcutorture/bin/torture.sh?id=a7d89cfb8e1269cb6d22453adba56b8d0218589f > "The torture-test scripting's long-standing use of KVM as the > environment variable tracking the pathname of the rcutorture directory > now conflicts with allmodconfig builds due to the > virt/kvm/Makefile.kvm file's use of this as a makefile variable" Indeed. In my script I had added the remote for the rcu git archive, but forgot to actually fetch the objects and refs, and missed the error message in the output. Sorry for the noise, though the variable name should probably namespaced, as at least for the name `KVM` the chance are higher (still very small) that it’s set in the environment. Kind regards, Paul