Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp371268imm; Fri, 31 Aug 2018 02:44:32 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZJ1gWYgSZ4vYZNeHIPQj8y7Tq7WinU/YpAg8cPOhk0Ctnq20fEClWVcHDEs+r6ZeTXLCI8 X-Received: by 2002:a63:8a41:: with SMTP id y62-v6mr11958437pgd.278.1535708671920; Fri, 31 Aug 2018 02:44:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535708671; cv=none; d=google.com; s=arc-20160816; b=czEpJIGwOUNoQYuw958oUipllyJhKf3kjk6LJDTqgNSqQmTaFXrNRkY+zaRrajHJnr ihE1Yk55MU3z0g5E6poN814ZHCTJLeul6U+lrN+iKH2/XGAugCwMkOwhjjIQZzRbOKWf QBgXzWVl4MdYXzj3ir3pePwJw5E2iAN2kxSzlWUc1lYXRKwIRum/mEKes/uYbhkd/6tD VsI84UxMcDvnsodHU7hy8TjNse5Q9Y1oRD+PVtm8ZpIaasg/RhdbLqY99KpUfb6fvBjX jyVDi4f7BpWY4ap6vDiWNJ4AQKbAJ0pUMxDGn/KItSJrPFcNSmfuPEiaegiAnOg9CC1G RVdA== 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 :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=kwnqRBs+OZKfqJ00gpwaNHG9W3str+toDOJR3V65k4E=; b=VBAPG1xJv535jWpBszU492GsbTueEWl248tq4RhnBeDQcx4xk+oV9XMI7m21M6Rw0W /rEbaktooKIELQaKiTyOLb0ZObF1Ga6vx6pVnIS3UfwZJH4OuXKx/3MUCNNYKdFmIGS0 Qe0HUaKz7vrn0bPj3Poc9ycn8iYXfNHAbMhdLJ51Jdw6zdA1rdACzNFbXK43uurXwSPu sixaGnfsPbdPDkpOXLw7X2WEZIEkdjWgvdM/gh3N3ih26l51rOiT2oGj5TOdlE8ZQiZd r8gDxGzQzQCmP+WQJmPTXqf0ua7pZ+I/m/pLHx/FiHRlCgouOSSlSAaed8EeOieULRD3 y3+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=N4uzRMmE; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a186-v6si8812243pge.408.2018.08.31.02.44.16; Fri, 31 Aug 2018 02:44:31 -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=@nifty.com header.s=dec2015msa header.b=N4uzRMmE; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727725AbeHaNti (ORCPT + 99 others); Fri, 31 Aug 2018 09:49:38 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:61607 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727410AbeHaNti (ORCPT ); Fri, 31 Aug 2018 09:49:38 -0400 Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com [209.85.222.41]) (authenticated) by conssluserg-02.nifty.com with ESMTP id w7V9ggNQ010588; Fri, 31 Aug 2018 18:42:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com w7V9ggNQ010588 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1535708563; bh=kwnqRBs+OZKfqJ00gpwaNHG9W3str+toDOJR3V65k4E=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=N4uzRMmETPtlSRO6gmbpH+VosHvWdwlGPJCEFpCxPFhRAvHuc+cNwE6+d37E4hgN3 JJXkOQhFy60/D7RQgFx5pN+emXF9yPqDarQiHoPq9Ud28Ik72g84SiUYOvRpwIRiIj cW+38GXkeu+FawunieB9wE/X9mzP+ywAAjATxZFKZsq3axazGKcRsOGik/9xmBGkGa Q7OT+l1wnBdeS9IoxjG920RpHYo5hPnw6Oj9LI+84ql4OcIKHD21NNFQA2Q+/mn9DW 1ka8Zw7CZrMJNFzW2nleZbpW3B3CC6uyJ6+qB5n0c2xtAqRIFx6zoEr00t/7IKKRoV 3LinAQ4CnHwuA== X-Nifty-SrcIP: [209.85.222.41] Received: by mail-ua1-f41.google.com with SMTP id w7-v6so7715363uan.9; Fri, 31 Aug 2018 02:42:42 -0700 (PDT) X-Gm-Message-State: APzg51BEt0UjjfM//nLkxkpkKWh2DI4aqBRJdNxp+ZdKGE64y2SXIZI7 CBqfyTfJW2j3XXLBD0MaxwpcF5C6La5bccFHdGE= X-Received: by 2002:ab0:4f17:: with SMTP id n23-v6mr9208695uah.135.1535708561786; Fri, 31 Aug 2018 02:42:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:5155:0:0:0:0:0 with HTTP; Fri, 31 Aug 2018 02:42:01 -0700 (PDT) In-Reply-To: <177f25ad-de40-ce3f-987f-ac34c2559be4@infradead.org> References: <177f25ad-de40-ce3f-987f-ac34c2559be4@infradead.org> From: Masahiro Yamada Date: Fri, 31 Aug 2018 18:42:01 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: make *config regression: pkg-build To: Randy Dunlap Cc: Meelis Roos , Linux Kbuild mailing list , Linux Kernel 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 Hi. 2018-08-20 0:37 GMT+09:00 Randy Dunlap : > On 08/19/2018 04:15 AM, Meelis Roos wrote: >> Just tried to run 'make menuconfig' on v4.18-10568-g08b5fa819970 and >> found a bad surprise: >> >> 'make *config' requires 'pkg-config'. Please install it. >> make[1]: *** [scripts/kconfig/Makefile:219: scripts/kconfig/.mconf-cfg] Error 1 >> >> This is clearly a regression - I have libncurses devele pakcage >> installed in the default system location (as do 99%+ on actuall >> develeopers proobably) and in this case, pkg-config is useless. >> pkg-config is needed only when libraries and headers are installed in >> non-default locations but it is bad to require installation of >> pkg-config on all the machines where make menuconfig would be possibly >> run (for example, I have a aboult 100 machine kernel testbed with >> self-hosted kernel compilation and machine-specific kernel >> configurations that ocassionally need tweaking). >> >> I notice 4.18 complained it can not find pkg-config but still worked. >> This is clearly better than now. >> >> If we want to support developers with libraries in non-default >> locations, why not - but the common case of system include path should >> work without any trouble or warnings. For exaple, test if compilation >> against ncurses works, and if not retry it with pkg-config (and error >> out if it does not give working result). >> > > Hi, > This is due to my patch: 4ab3b80159d4db63b902ef635d4b5e882911b2da. > > Yamada-san, any ideas? Feel free to just revert it. > Sorry for delay, I chose a partial revert because I want to keep checking pkg-config for {g,x}config. I posted a patch. -- Best Regards Masahiro Yamada