Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1029746imm; Wed, 22 Aug 2018 17:41:37 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzdiCRzJx+GW3TGsE7O1clfeNjwFyA5L5QE2/jZ6lzxTXtIyE0K8m+yjTuwhBsNk1x2u82k X-Received: by 2002:a62:4255:: with SMTP id p82-v6mr60434008pfa.238.1534984897684; Wed, 22 Aug 2018 17:41:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534984897; cv=none; d=google.com; s=arc-20160816; b=bOlOJXsWLzG3X38VNTqDVpAGZZvUylZMsLp83cW4q5nKgnDTZoeoZ8O7cNo8bICrLL MjYydfSjRBkqEtQ611RKouFlINhgMVaVCs0Lq7pmclNvhj9NVXCz4WvBIegA2HSZOWTp xHoN01CGCsam5ScSelaxzYAQwkIMcHUTo/Eptiqx3EWe/IydKcUa2Sh0kk5Deg5wqebH rjLmYvWZhqKd2Y6+piE/OMfq45egVVqqJmr/9x8l9VXMf19NFo5UCgr6I3Ekz8lDrsi1 aJEX/crCUuA8plowDidwmMK6zK4T+NV/XiVdIwzqFm5HbpZBVw1h3FXDyH3lJZzgb6az aKLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=VrVMbsZ/4z1r5pzEEhDSae4daLlDRqlkU+lMeVN/keg=; b=eaRjMPTj7uBvNQAH30F/EwXnfoesgF5kJ4nbN3GTtfMqkt6oNrE5CYonWGjC4M2KFi zTn2xZjgDCll/PXXnYEKqXUaOTLK7W9vljOvm3uLvqBncPOA1lyMWH9W38d4Rs5AAexy WW8Byrjs0uY2KZRK5XCjxdoiz2AChnFW5oeW2IuJLVguIBev4e2I0rXoHjel+Y/ial18 /NS2XN2JE85881ptuEfKVyR5fmCIr2GkCACQVljmIDi/0oo3lPeKNq0rKDXAuXIe12NH Mph9rGuUY1IT6L14kN/OQvxe6lrTQCDFmrEPTAJvMFFvxwvWEN+BhKEWC2dxTQd+EQ2Z 9hTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ulU5rZSV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6-v6si2698862pls.439.2018.08.22.17.41.19; Wed, 22 Aug 2018 17:41:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ulU5rZSV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726100AbeHWEHJ (ORCPT + 99 others); Thu, 23 Aug 2018 00:07:09 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:37186 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725909AbeHWEHJ (ORCPT ); Thu, 23 Aug 2018 00:07:09 -0400 Received: by mail-lj1-f193.google.com with SMTP id v9-v6so2798099ljk.4; Wed, 22 Aug 2018 17:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VrVMbsZ/4z1r5pzEEhDSae4daLlDRqlkU+lMeVN/keg=; b=ulU5rZSV5WOL53aK85kx1BrI4zkRStOAh2v1hcPWyN0hSNmSxaRTZzza4Le6Kd6tNb tXJzP8mIJT08l8SpjnVAv6V7XxnWXeAoPwizx8fCZGccyFBzOWNDfh1Km5huwvMeaY2E ZCbNizhXswF3/bINUUEntRqFiWUqTB2zC5r/Xwa3HhY1OrMp6bdnvDhh/YeZ6c0qnHxR kWkKfytVWNfix5uMtTbaPa3bOHtFZ6YaegBaquSGmHygiMz8w69pctcVTdJLGGx58mOF i1pVUg0LG424wdHMIr0Wevzi9q7W/Kesswr13nQ9+2SJgDu85codUNhsP9fHgDTCccmh o5gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VrVMbsZ/4z1r5pzEEhDSae4daLlDRqlkU+lMeVN/keg=; b=NAe4BN/eEKQX8eyXqiN4VWDibs1VJeCxIkXLwNln1a9D1+7VHSdpJLZ15gXrA3HT5m GM2ax9zKBFxX/ACxnO2cPgwJ8ANR/GoIPd6QSMs+wmlXY57X4KQRZjG3rPH+ErI5s8tS uah13eL3xFK7n2K7E1bxz9hsBTqBYhofVXTVMF9bf4od+uFsE5rvlz0K5aJON0zKuiY5 CigcPr+/ZhRT7fHPjfNWqD+SIm9oJVcL9GPAm3qu3oTyy0qCSU3tIvNVKFVQx3tkMGFU y76uUnlJMkFXVSujCvs1hs4OnmgvkDe2r+78n3LtJ00QBP25FGo6sNXpJeqYH4p24xxD Ephw== X-Gm-Message-State: APzg51DGel/FwqS2RUQidjeTpHorM1gtNo2psSZL2Aq77Vmkf4B7m24C eDEABEgMhwvlZbZrg4x21DSslH/CGTQqatstLnY= X-Received: by 2002:a2e:1290:: with SMTP id 16-v6mr6346400ljs.94.1534984803995; Wed, 22 Aug 2018 17:40:03 -0700 (PDT) MIME-Version: 1.0 References: <490A46D5-834E-46A9-9106-A31F94344F99@goldelico.com> In-Reply-To: From: Dmitry Torokhov Date: Wed, 22 Aug 2018 17:39:52 -0700 Message-ID: Subject: Re: please revert commit ce8556cca6 "kbuild: verify that $DEPMOD is installed" introduced in v4.18.4. To: Randy Dunlap Cc: "Dr. H. Nikolaus Schaller" , lucas.demarchi@profusion.mobi, lucas.de.marchi@gmail.com, michal.lkml@markovi.net, jeyu@kernel.org, cwhuang@linux.org.tw, "3.8+" , lkml , Discussions about the Letux Kernel , Masahiro Yamada , Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 22, 2018 at 4:35 PM Randy Dunlap wrote: > > On 08/22/2018 11:53 AM, H. Nikolaus Schaller wrote: > > This patch requires that /sbin/depmod is installed and installable on > > the build host. > > > > But not all build hosts for cross compiling Linux are Linux systems > > and are able to provide a working port of depmod, especially at the > > file patch /sbin/depmod. > > > > I use, for example, a Darwin system to cross compile Linux and I run > > depmod -a on the embedded system once, after installing a new Linux > > kernel there. > > > > I have no problem with seeing a warning, but aborting the build process > > is IMHO a bad idea since the previous behaviour didn't harm many people > > as far as I see. Probably 99% of people compiling Linux kernels do that > > on Linux and 99% of those have depmod installed for optimal operation of > > their build host. So IMHO printing the warning is good enough. > > Thanks for the report and sorry about the problem. > > I'm OK with changing the error to a warning. > Does the patch below work for you? Why would one want a warning on a host that never runs "make modules_install"? Can this check be only done when we actually try to install modules? Thanks. -- Dmitry