Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2942584imm; Sun, 19 Aug 2018 08:40:28 -0700 (PDT) X-Google-Smtp-Source: AA+uWPz7ir06ZD7SzrHvCKskiv8srm74D0l9MEbsSTsQf4LCkb9b0cGudWPdJFzj/SlN/mSGBYEF X-Received: by 2002:a63:7557:: with SMTP id f23-v6mr4416837pgn.135.1534693228880; Sun, 19 Aug 2018 08:40:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534693228; cv=none; d=google.com; s=arc-20160816; b=ojOBMyhSrC5sdoy/TCFtEXLEnGd8gRfWxQB2FfTR3by/v9Q3/qVQxBmjduoZxAJno6 hzlkD1uyr1yvRz8M2inrZB5ZjI63Tu4Azb3UecLVvG9bDMyS5S+rJF9I5b70+Eiexdjb 828JKC6Jz62b1mA1kQJd6zjF5l1V/dMo56kdHqzwNrxdd648UoeXsq2KlUGTHr/bXG5y +EQdypbYEVIR6ZTsVz8UNWhqgKhxXggQyh3BSBXq5psgrLAslu0fT3w9GXXt8Vlc25Qc igK8IzI9iOs96TC/rsMMnYfQhrfezPjyo1VVuBOPt8uzH7ezB6H2rBnWQmS0AZyYKxQJ TDLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=jbwhBKgVvMW0+roR0Gcl3dLd4LoGTGafgVwP75EjvF4=; b=TZx9G0WVzQRX2vNw/UldFcnbJ7wwpkMrtEFC6wbdTH9t/oC6XSuqP1GZpmq6OvwKDD flzJ5w2NZzNfMyGDxlcLatI4Srs0RSY1c39jLjk23yuQ0Q3wW4Lq5Hvmu0zdtqy2lWVf SR9JCHQn81BZgUUeoS+8Cri3tUEhqkIslh2MyltGuelJHxa93kl0YKM33mV8gb1GopLy KU6PNQiRK1Pvgfrtjb0yjUdyAyuQ3ujEVOa4qr/oIHbU37Mb0DtJNWCX8mxrU7Zr2180 NE9mpGR24xZXTMT6KfctRQLAWKzGMblU/LGik3ml3Ylf7QLFK8VvZu2Gka/9P4gT3kBb emEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=bI2U1ryc; 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 d17-v6si6889834pgp.549.2018.08.19.08.40.00; Sun, 19 Aug 2018 08:40:28 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=bI2U1ryc; 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 S1726575AbeHSStx (ORCPT + 99 others); Sun, 19 Aug 2018 14:49:53 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:53488 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725953AbeHSStx (ORCPT ); Sun, 19 Aug 2018 14:49:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jbwhBKgVvMW0+roR0Gcl3dLd4LoGTGafgVwP75EjvF4=; b=bI2U1ryc+Yarr4ew2oWCh1cE4 Cvf0gjQS562rDh7QoCLF7v5UW/QdWqQIcmorVYeyR+KIZQMQB2+ZM/fK7ca1Hg70fFXF8BSxXYa85 Fl1OSpLzVfGFxUpzoEDluPPpmCfNFgRDXmIDmgs2jVhm3UBTw/TuS6KbhbWMF4wyCz8sALPIHQTFa I+oO0s1pP6iioiipQLyAHFVA1IR3eC6Ki0utnBKoB8iSZ48ru5uP5dHjhc443mdsws8WyBQ3CTNeK 06bOVMkmA00mkLb+s/9ZOFyUEzlTPvgm5q84nmzShZhkImnQgxyxvzXqjCnfEos7mska0R5XyolXn H045HIsTQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1frPmD-0005Wc-1C; Sun, 19 Aug 2018 15:38:01 +0000 Subject: Re: make *config regression: pkg-build To: Meelis Roos , Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Linux Kernel list References: From: Randy Dunlap Message-ID: <177f25ad-de40-ce3f-987f-ac34c2559be4@infradead.org> Date: Sun, 19 Aug 2018 08:37:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. thanks, -- ~Randy