Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4585147pxu; Wed, 9 Dec 2020 23:36:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqEcs+z+loZRTmSThwnXEb9OubpRFxNqB7R/U2BdwZTNV8upanWT0k7O6K15o6QdWJU+sH X-Received: by 2002:a50:9f4a:: with SMTP id b68mr5426322edf.296.1607585763531; Wed, 09 Dec 2020 23:36:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607585763; cv=none; d=google.com; s=arc-20160816; b=S0fCSiMpvdO+tR5LHb52JNeN3chrDGDGPzCPCxpz1FFB25AXewh38e78eqxjSunmPE 0L/6SDH6kjpeRkYc9u9Tvk0vPg45g70+8+w8//hpVKAMFGACSu3qD/ijvvrwa89bP1N9 lEGANlVqfj1+5G78RrypGSg5EGG2HLXDZ+WZxHMqOT3IZ5InL+SjN/S7boChgKm7Uizp o1XpwbyweRIBvj8bLs2BSNWmH6uiLibt6Cuk7vORK6ap9wq4R7WN7gtG799WuxuaFE/6 nyzOSlSDpJ5vd+5IByCg6FLvFu4E/zCHxinfrfSoRKQWa/HQGzV3LdoEHIdGgPNB3Etj NLZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=CeXoCUKMON5YU5rHxPI+L+5A1EbCCf8M0F43PjWAz8Y=; b=ixBQrbc+n31BsG8o7OHPJt6vzlOxN/rvFFZrNMMrKWQNITe5MSfZGuNJOUJUAl4glF QYmRLQ9VjbtC4I24BndEtrVm1fqIsyxtPld7YpYnY8rcn6fMFkPnTb2sBKdc1Tj8wIAF 8gfy2xZvltxlt/fTR6GZbELXVmEsCLtnM9al6Cw3ODDRQJI7+sH7sAdW57g+aP8iVy1a cN3KTpwSAdC7X3FHEvdTJZFlVyAnwPSwIaZ3JNgHsV21Q0gFr37QFjvph8Oww9PC8N2r sZbV1dVKfFyuB8xY4W1Oxw8atktKgvEG+vIQC0jEGqK5dSuxGcZ6eo7mfHXi7NGCFcdr 9Fww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=X3TWBjHK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w6si2180539edt.581.2020.12.09.23.35.41; Wed, 09 Dec 2020 23:36:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=X3TWBjHK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727724AbgLJGsI (ORCPT + 99 others); Thu, 10 Dec 2020 01:48:08 -0500 Received: from nautica.notk.org ([91.121.71.147]:58908 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726158AbgLJGsI (ORCPT ); Thu, 10 Dec 2020 01:48:08 -0500 Received: by nautica.notk.org (Postfix, from userid 1001) id 2C95AC009; Thu, 10 Dec 2020 07:47:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1607582846; bh=CeXoCUKMON5YU5rHxPI+L+5A1EbCCf8M0F43PjWAz8Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X3TWBjHK4dE4RDjYtxHWJ/3/LGEiPaX+nS+SahytVl312G2LMxkMZQ+ygTusu21EI IIDfhBOvFIz96VMlBOg3anlHGl+N5JVK3XpRL3a51NggI8LcBk1hIQIOz8zCjd2Mlf 1dbVGh8QTr6rm+gylBELiIJyt3MkmzNf6fAaP/XOj97SslE/fs9lwChh3yo4a0tjRz IWRF9SUv7vlJaGShz9xmI7j5oJBnm6FKx62usvLpvuEhJz3HqVjrbSUav4dhTTLhHa Gq7kohW4ar5Xqn0XrnzYOFyxTJG9Qpp5ZdlRvzE7FrfZy1uzDI0EGvcYh2N76IEqY+ B06UjBBnAEFKw== Date: Thu, 10 Dec 2020 07:47:11 +0100 From: Dominique Martinet To: Stephen Rothwell Cc: Masahiro Yamada , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warning after merge of the kbuild tree Message-ID: <20201210064711.GA10169@nautica> References: <20201209203029.7f2a8db2@canb.auug.org.au> <20201209130130.GA15469@nautica> <20201210075645.234a735d@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201210075645.234a735d@canb.auug.org.au> User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen Rothwell wrote on Thu, Dec 10, 2020: > On Wed, 9 Dec 2020 14:01:30 +0100 Dominique Martinet wrote: > > > > I guess it's possible to make kbuild check both sbin and PATH, would > > that be acceptable? > > I guess so. But, have you actually found any setup where depmod is not > /sbin/depmod? i.e. what problem are you trying to solve. As far as I > can see all this change does is (ever so slightly) slow down the build > for no gain. On nixos, depmod is in /run/current-system/sw/bin/depmod (as a link to /nix/store/r3r39rzsrikdsv68rvswn3hhank706gj-kmod-27/bin/depmod or wherever the current version wants to be). developers on guix probably face the same problem. There is no sbin, the only things in /bin is sh, and in /usr/bin env as I think is mandated by posix. For their official builds they just modify the build scripts in place before starting the build, but for dev as I keep rebasing it's annoying to keep a couple of local patches just for this. I could obviously manually create a link from /sbin/depmod to the current system's but that doesn't solve the problem for all other nixos users. I'll send an updated patch later today.. -- Dominique