Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1632776ybl; Fri, 10 Jan 2020 23:20:12 -0800 (PST) X-Google-Smtp-Source: APXvYqymwkdbkV+XEUeZA1hJv5wLxjqEh7WrKO2x8pR3ztDICbOX4jVayq4isT4KBeIhMw/GKvqc X-Received: by 2002:a05:6830:4c2:: with SMTP id s2mr6130283otd.144.1578727212211; Fri, 10 Jan 2020 23:20:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578727212; cv=none; d=google.com; s=arc-20160816; b=Iuup3s1IgtxAbeaJGPCWsfC4d1XPjWPbr8q+7BZ/FK0zI+VuBydX8jDkQSbgiyDhsR ibjXoaC4H+O84kSIS4IqkXBp4kolaf2dsUzxdEA1UP6pMTFgA1HVUSOf+mm/Y2NWzBqu G9Jnv18njOZ/wa6FRV0hHK2e2Mhlz1S0fssYAJVUW91mouwTbvKR31bd9CknvVlUaFEa r1VGFZ1qwT6Rll7d3apCwwXsiG7FgVe0EPrbysDqOfzUNJs4B1Rrt104zMyRetFTK1CS yKnDxjRsmy6+hSzoNDqv15RTt3XS2C7poKPH/bdfQtYPifuhfBx3+HqOi/F5fYxx0KT4 NwwQ== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=sHgd8AShfibMn801gDdKF5ofxgr2mTmtOU0IywJZBdY=; b=r78ATBY5tKn3E8teCwI/QOtVVgNkQaLkBJQ1RSHM3qc+ifym7+MloGJ4pSn+ykaU8A sCDMOLsRr/T87lGX7rK2TNwrWPyzqpQo5tUtmiNhK38CvPQIHXZCaKu+ZTAfyDCQgZ8K d61ImUV7Wi2IRTzrGlfdv+bHGFmWphf8ZnHKt8+L12qUbwOa0MmJ16irT5IluhAaUlvb Fr4dW49Qj0JMUZaQL6jpiYdcz/E1Xjvb4yrfGJ7VxvnmwklE07zrlzB4TRILPRJUhIsI HphEWjrUYH6+nbqrMb2IGZ/cXddFjO4WYIXdIwADeUVTc9f9WxvW88rKKvrLHAjA/f2O AGgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="sj/F5cjD"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 30si2989516otr.75.2020.01.10.23.20.00; Fri, 10 Jan 2020 23:20:12 -0800 (PST) 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="sj/F5cjD"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728531AbgAKHTI (ORCPT + 99 others); Sat, 11 Jan 2020 02:19:08 -0500 Received: from conssluserg-06.nifty.com ([210.131.2.91]:45449 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728501AbgAKHTI (ORCPT ); Sat, 11 Jan 2020 02:19:08 -0500 Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 00B7IcjR030312; Sat, 11 Jan 2020 16:18:39 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 00B7IcjR030312 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1578727119; bh=sHgd8AShfibMn801gDdKF5ofxgr2mTmtOU0IywJZBdY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=sj/F5cjD6t6cuqCPWU9JHwg+wjXMM97qiKIyUY/1+BUz7mtCmv2qWXNYUffVogmej IFL+1KOG1av0DKkKht2hzMfAnT/WafrecL+/uzjH3O9JVmQYN13RgWfpIlYm/AMj4r mBxUsLocebEr51w+KF+08S3/bjyjbfDi3DY5Kyz3o4qj91BaxKAF+ENerxIJR9uz52 JveP2FfXoH9jwWamHD+CeYa3raj+R4okgZmmV9f0hImwbBc/5S/sLcBfPBVdC7K0rO ifkHZze+h+oeLRZSuT2mYcv0KzyLLT0fLYdB5+40Cg363HV00GupcLmYd4w5bhzMcO I2jpOLxJ1bWPg== X-Nifty-SrcIP: [209.85.217.42] Received: by mail-vs1-f42.google.com with SMTP id s16so2734096vsc.10; Fri, 10 Jan 2020 23:18:38 -0800 (PST) X-Gm-Message-State: APjAAAV1kT8Vgc9fkWYyF21/U/Wg45UBHfMZ/X6MAgXmdDPP6M7L0RPK ffBlclIcl3mIkIbBxvj0kOrJ4Ptt4jFm3K52noU= X-Received: by 2002:a05:6102:3102:: with SMTP id e2mr1335679vsh.179.1578727117672; Fri, 10 Jan 2020 23:18:37 -0800 (PST) MIME-Version: 1.0 References: <20200109161724.9546-1-brgl@bgdev.pl> In-Reply-To: From: Masahiro Yamada Date: Sat, 11 Jan 2020 16:18:01 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kconfig: ignore temporary generated files To: Bartosz Golaszewski Cc: Bartosz Golaszewski , Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 10, 2020 at 1:38 AM Bartosz Golaszewski wrote: > > czw., 9 sty 2020 o 17:36 Masahiro Yamada napisa=C5= =82(a): > > > > On Fri, Jan 10, 2020 at 1:17 AM Bartosz Golaszewski wro= te: > > > > > > From: Bartosz Golaszewski > > > > > > If building gconfig fails, a temporary gtk config file is left in the > > > kconfig directory and is not ignored by git. Add an appropriate patte= rn > > > to .gitignore. > > > > > > Signed-off-by: Bartosz Golaszewski > > > --- > > > scripts/kconfig/.gitignore | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/scripts/kconfig/.gitignore b/scripts/kconfig/.gitignore > > > index b5bf92f66d11..d22e6753397d 100644 > > > --- a/scripts/kconfig/.gitignore > > > +++ b/scripts/kconfig/.gitignore > > > @@ -3,6 +3,7 @@ > > > # > > > *.moc > > > *conf-cfg > > > +*conf-cfg.tmp > > > > I have no idea in which situation this pattern is left. > > > > Could you tell me the way to reproduce it? > > Sure: > > 1. Don't have gtk+ development files installed. > 2. Run `make gconfig`. > 3. Watch it fail with the following error message: > > --- > $ make gconfig > * > * Unable to find the GTK+ installation. Please make sure that > * the GTK+ 2.0 development package is correctly installed. > * You need gtk+-2.0 gmodule-2.0 libglade-2.0 > * > make[1]: *** [scripts/kconfig/Makefile:212: scripts/kconfig/gconf-cfg] Er= ror 1 > make: *** [Makefile:568: gconfig] Error 2 > --- > > 4. See the file `gconf-cfg.tmp` under scripts/kconfig. > > Bart Thanks for this info. This seems a kbuild bug, so I fixed the root cause instead of hiding the garbage files. https://patchwork.kernel.org/patch/11326631/ --=20 Best Regards Masahiro Yamada