From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 937594BC016 for ; Wed, 13 May 2026 16:04:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778688284; cv=none; b=O1RJ3vdXtP3pzMPbHK034KA63sLk3a1I3HAyeSJYc+x2x3yMcNUCPGpP9U2MWO7Xdn93hGhyPBjLjBJVGjNTyZPf3cRRSjj6BIC1MI3u4tu90LZaOVsQZvftSVZt3sUrL4OxJBY0nTrSu0ahsGGfyTX6Bx+ztam9sP1KrroBOtM= 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.43 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-f43.google.com with SMTP id a640c23a62f3a-bd2e8931915so362273166b.1 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=BcGkn8DbsZp2CEEaSs0QWxfFNb5iYdJNZdz0dYSLRk5UIN2tpUP0aVy3t7fG8MTyN6 ryhJRay664WxpOXBEEQ7HTjtZusSLZE4+LNXYhcms23eyn3sSKT1dHzyUwllkzZy3i1T YpEDO4JyuusajW5EnPKIqUHuhZjyqDoaZUJ5DxzDwTkn2rRGuLgBTWPCgWrBfdr5sx2E uBRI0Wb+y3z7sMkkTTDx+Zsge7PwhdGrApa+/NxD7QWwlV5A4srUZsEgmL9nVpZf1Bey 03F6a7FZYdPpTiEjqxmKyqcNCJGyp2axY/Ozu+IVMYmmWeRWPQj1JDDYmPoduk0z3c1Z U0EA== X-Forwarded-Encrypted: i=1; AFNElJ+jZWTM/35AJrP9eZeyxOSwJDTVNUIi1y+EudFKna0exrDzZQKnI4JJf4yjeuyuru2QsKlJWiBsiA1YdDA=@vger.kernel.org X-Gm-Message-State: AOJu0Yw7SeGq05JxxEaeScAOMPlhVIuQ6ypRYvziwpF4mQYNVd9LG2wQ IjOyTmxCCKuq+U0+8P2bgTLP3lBlnnSg7xoLhFsyIQF+opmRx0Z1Ellw X-Gm-Gg: Acq92OGTDTlx2xrgA4PaFD+bNWOhWf5zLr+G7JMIRIFa+Zt9dwkMtZzAh0zdBoG8OBu nvoTsQQY2EL8u1hoKO014k7yi2eNRCBnkdz8AdRiD4qqNAogCKVlR3xOLIFoKvT4umZIV8rQZhU EcCv9XLPiHFQ9goyJglvN8NLIEihgvCFIW1rw3f4GH6YwEh6TufgKNW0BK/nWOIHMjO1M8JFMVC gFOT81TprSs7CvVtxvP6qTMjFJwCoaOMJK3nPzqvUmOyNKs8khHJcoGXphPX3n+DcRZ2BEZhjyu a05Hb77AA34lSlmvLPGhMR/jW3WFNsLeSpKuBk2msX9mfjzM2KE2fu4j9k7jvawT9Wm54cg6SVi 5bsqVDDtLbXOWVEB40pa3+gj/sWXryDgclctsj7G5a8Zy/phpmpiHKl371CzS24PPC0t7mAyWCC dvR8AkfOmdVo2iaTDUKuT2iIF48quWGg0Clcrib5hcW9/Z6U1umfFAUrNecZE= 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-kernel@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