From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90EA64B8DDB for ; Wed, 13 May 2026 16:04:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778688284; cv=none; b=WLgabEguY5Wj7HqoJdYa+Jrv9dYF2pTI7W31GAIanfGI8ddHQyvIunNxMALO77jqBSp31NV2tyynkvD7H5/5Du/ysHXwo8khy3nzBphpyME3xoCHv/G3VMstKiQjcBK8HHsBgFJGCUAwhJCA0093LFxeSFxB8kccOWVSsoUXyAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778688284; c=relaxed/simple; bh=/Mw2VXeP/MP1Q6d7A41y7KvzQ5ld22kJAlb0E5YYacg=; h=Message-ID:Date:MIME-Version:From:Subject:To:References: In-Reply-To:Content-Type; b=OgSCiyCgASTrUyu5vlcrJlS4mmp9eU7AUDtj0W8JrF9bFsupM6qwM3sAjpo+D4ugA+MgnA5JW39HPFgYaAjoiFPVYIqCJ5URmXOSTk1z+TOMdAOHX5jjoLPIuMUgyGvdOFCmA63zVelg32jNc9ep/YjJ4pkTa3pxwy82BnpvcyU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DQPi83Gv; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DQPi83Gv" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-bd21ffaca79so453072166b.0 for ; Wed, 13 May 2026 09:04:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778688280; x=1779293080; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:from:user-agent:mime-version:date:message-id:sender:from :to:cc:subject:date:message-id:reply-to; bh=/sGimR3ZLCeWsaBfTc/DCA16/H7/+orEZfvmz/AUwkQ=; b=DQPi83GvKPkB4cZE3C2e3J5zQmPvX3QZ2eM7h33D6VA80aqIGmrgpUp6f3jaUbm3yQ 8YtLXM/JIb5A99brcxw7w6xx2PDhnYRS6KiVQByN4y+/ecRWpWXmg/p0XpBaNb1/9jys EdQDz3hQNwOOAOayPn4g+7vRGVbdGtGAk3ZNgGG9KsdbAVmZpn91Woxgg90rQOS/qNjt 3Y7WselBl3qG4OstK7ODv9Sl23RLLjLa4pcbM4eAElwytuf6VVEpyk/UXY+HnQYWATrJ BXCTLqolMbPHU4bvgPfc8gBpohKbjJUl3ckRPnIn4TQXcyyiLf4ll1nE4Ga6jcQtvmR1 kokQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778688280; x=1779293080; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:from:user-agent:mime-version:date:message-id:sender :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/sGimR3ZLCeWsaBfTc/DCA16/H7/+orEZfvmz/AUwkQ=; b=prhXeihmF3PUufr1zl77FPuLlqjIg19WWzgfAYs3mVyDnpy5IJYaE/gDqe+DyHIRYR Kqa21ig7JwOLEHDZpRBykxmzuhkPUHcqGGa7LsES6j/D+q3ZS/CWdyLGf67Jb+YmW7Sn jyzp/Ln3miPseE4wCjzU0ht1aUfxcAhpJMhVGlnV0bZSZ0hCFMO1LKOTyO38QZZhaj/p q/ftv8ctnBe718bwc5Pi/UP+o3Fc2fdJo/7Bl9S+qwutXPrfmkPP+hRr3Kw5HyVe1VI6 4g6pl2/fMZCbwayAI/bArUdP/ypD3yzsJFHB1l7D1zO6urKDn1IBuVmRY9Fmw3jYrm0J qvsw== X-Forwarded-Encrypted: i=1; AFNElJ/y8xe6hYrzTvt2KIv2MYVFlNcB67Eh2zsvRnWrtOnmuQaBDladnO2xkhnjBONwdMEUkvne2SQFwv0Akek=@vger.kernel.org X-Gm-Message-State: AOJu0YwQ3HV7wYSzVmMx0tYP50YzKS4yToNY9DnJAstIBM+nfVWuNlva pJRF/L6DSCcmyA7T/hbMIvsAdM3E4rAf//A7mfOCYnuOoc6BPP0lFRG4 X-Gm-Gg: Acq92OFFe2wCDQRjKNWKXuRM6HIMSTApTqStCb1zrD9dJyLM/XuETfqsECrmRT9Yuu7 R2lqLI9XnRzRocMEHj3Xr133K0IVarwDCkpHaGgoAAKap4Befw8nvwPJv9m7RkFczQ5nWo9D8EX UktJw/KmQblly40dTPdoSBn+mkzGSDD/MMMCLWzjUY9PUhXbbd8CgGWSp/OZofqsl22lQ+ev3T/ TC48PyCdUjTuH4jmQ8wOrZtiLmxZUarlJ8jTsgEmqzA5ImA/Dn2fj4GATPQZpWZZADJnOFJgd2L Fe9oR46LYrQ5sBp2i3nlB8i/vr/rORF69YFW6s5EmwQLic/2EEi733rhZGh/tETWs7sWDvwmtet j77YQWbpJe+nVfxOrMl97rnM7NF4FFpRjN9MGY/U39VWah17TH0j90SdrkqQNfrtBC4klabaMMQ BRxJDrgbrcAQ+Tis003LOSlS60t2jpRco0S81Dfn5UUhcbN2OTHsiikj0qkDo= X-Received: by 2002:a17:907:9614:b0:bd3:99fc:5610 with SMTP id a640c23a62f3a-bd4f3503c54mr8054566b.30.1778688279619; Wed, 13 May 2026 09:04:39 -0700 (PDT) Received: from [10.128.10.158] (195-23-151-163.net.novis.pt. [195.23.151.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bcfac35c47asm522756466b.1.2026.05.13.09.04.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 May 2026 09:04:39 -0700 (PDT) Sender: Julian Braha Message-ID: Date: Wed, 13 May 2026 17:04:37 +0100 Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Julian Braha Subject: Re: [RFC v2 0/2] add kconfirm To: nathan@kernel.org, jani.nikula@linux.intel.com, akpm@linux-foundation.org, gary@garyguo.net, ljs@kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org, masahiroy@kernel.org, ojeda@kernel.org, corbet@lwn.net, qingfang.deng@linux.dev, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org References: <20260509203808.1142311-1-julianbraha@gmail.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/13/26 16:22, Nicolas Schier wrote: > I guess the github branch is expected to work out of the box, but on my arm64 > system this fails with: > > kconfirm$ make -j8 kconfirm > error: no matching package named `env_logger` found > location searched: crates.io index > required by package `kconfirm-lib v0.9.0 (/data/kbuild/kbuild-fixes/kconfirm/scripts/kconfirm/kconfirm-lib)` > As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without the offline flag. > make[2]: *** [Makefile:17: kconfirm] Error 101 > make[1]: *** [kconfirm/Makefile:2244: kconfirm] Error 2 > make: *** [Makefile:248: __sub-make] Error 2 > [exit code 2] Thanks for giving it a shot! I will look into this. > and if 'kconfirm' does not need a .config file, you want to add 'kconfirm' to > the list of 'no-dot-config-targets' in top-level Makefile. > > > FTR: the 'kconfirm' and 'kconfirmclean' targets need some love: both do not > really integrate in kbuild, yet: 'kconfirm' is not working with out-of-source > builds (O=...), 'kconfirmclean' should not be required if 'make clean' is > supported correctly, and 'make mrproper' removes the whole scripts/kconfirm > tree due to the change in 'scripts/Makefile'. (Tested?) Also thank you for the makefile feedback, this is exactly what I was looking for. > The large amount of changes has been mentioned often enough; even if all the > vendored dependencies could be dropped, I am not convinced yet, that it is a > good idea to maintain kconfirm in-tree due to its project size. It's true, even though kconfirm only imports a few packages and is 2,000 LoC itself, once you consider the transitive dependencies, it really adds up. I'm currently trying to shrink the dependency tree as much as I can, e.g. taking advantage of expected system packages, as was suggested by previous reviewers. > IMO, we need at least someone who steps up for maintaining kconfirm and > registers in a dedicated MAINTAINERS entry. (My own rust knowledge is not good > enough for appropriate review, I can only offer some initial testing and > frequent use when it is working/integrated.) I will add myself to the MAINTAINERS for this. These RFCs are only the beginning for kconfirm, not the finishing of it. My ultimate goal is to be able to detect _all misusage_ of kconfig, while keeping zero false alarms. I haven't even added the SMT solving that is needed for path-sensitive analysis and detecting unmet dependency bugs. Thanks again for your review! - Julian Braha