Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2423474ybl; Thu, 9 Jan 2020 12:29:48 -0800 (PST) X-Google-Smtp-Source: APXvYqwtxiy0Mh9hZwXJse+3zRo44K2IZY2VkfORjx9XMedD8WQL2Du7hpW8peaN9na31+OJwgwV X-Received: by 2002:aca:eb83:: with SMTP id j125mr4421571oih.153.1578601788274; Thu, 09 Jan 2020 12:29:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578601788; cv=none; d=google.com; s=arc-20160816; b=owvi6RCTQw5Et5FfTLoNhv5k1RfvYhmNxgJBBxEBKh9J3rAgg2UsqzVBvwI/nz/Dnq vPvYaJYQnnySM40mFZepxyKc3n9RWpjWFgTZxpEnK7Vi/bffK2pE0s5CFaGXbZEphkN2 p8OfHxlVx0Ctv/xXv5SMAVkg6fptqMOBx8Zj+t1V5FJd887lQ+PJO105/stZ0Hl/hi1o T4VFilI6ZPfX04k3f0ql5W60hBcssOoBM1IyE/fpuyt/hAr7K/UiK0L7aFUCPZ6Gl+dA MxuDdTGH+bfkZZP9MzgHeJ83UxL9YeyBra/oSBz84zi4T0b8AvhybeHgm5mMoh93yDXd FgEw== 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; bh=OPe/HMKwKhkEkwTPCWJjEeUhExBLeIT5A1xBW+xeUQc=; b=iKc9e3TkYtm+2hE7K151G9jJEjex5qZPSBaW/o6X/qDX1RVvFT6K9LaADGftVVmDoH qiL6XvqMg+dPIT4DY9XxjePA59e6fjxYykiD4wPHVmFKvz6u/Rlb0A7GiVQmMb5q8Ny5 cPWhKYeNZnNQVK/boe2a2WGjjmDvV2d+iQ/k1C+fAtAAVsGHQ/1XS+2gahhLsRh4dxqF i/emV0lR3i7Om2vclONhlo0aLLBKnr7q92q+b8AznrNNZVbLMMJH55RTb/OgBvJ77sGn cJ0fWvtPfhr1zgeRc7p2WKOre9HlQ4q1By0Il17kLA7lXJKi3wPQcMEMD+bqfYxDuy7o C7FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=I8FfagaF; 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 i16si5282095otp.230.2020.01.09.12.29.36; Thu, 09 Jan 2020 12:29:48 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=I8FfagaF; 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 S2387747AbgAIQiS (ORCPT + 99 others); Thu, 9 Jan 2020 11:38:18 -0500 Received: from mail-qv1-f67.google.com ([209.85.219.67]:39988 "EHLO mail-qv1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728159AbgAIQiQ (ORCPT ); Thu, 9 Jan 2020 11:38:16 -0500 Received: by mail-qv1-f67.google.com with SMTP id dp13so3208700qvb.7 for ; Thu, 09 Jan 2020 08:38:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=OPe/HMKwKhkEkwTPCWJjEeUhExBLeIT5A1xBW+xeUQc=; b=I8FfagaFavLXeHzK0DjgVqVFYUEzD9hocHdxthK9XOcJV/lh39/jEvN9Av39u85cbI 3gpWldaYdt7d4zJrFGoctpLemS9PcOgnygUpKm9eemVR+f4ug9dZuk6yDOaUyJE5O7+d maxMZZOwR7yqLpPas3F7sk3Y9g4ruKh3ZRmF7wJsusqRmHOUMf13VI8lfzKMIwy4A+tj C0HeW37MBIVe7l4fGiOZeY6G37WnvPQuKOrVeS21N0WMwo1cr/UfFJSVZ89la2dnpaxF DvRiPNm1KVnNo+TonZhyIvRMiukJEon6259cqy/BpFf9JWP/szXLozoDXSAcn7pfMXdk NB4g== 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:content-transfer-encoding; bh=OPe/HMKwKhkEkwTPCWJjEeUhExBLeIT5A1xBW+xeUQc=; b=c0KAbIGO3pdtX7nC/ImPjShUXKVOaxZkgWcNxsbxdNxMXjIU8kF1M1K51FJKf1kimv jG8QFOdYw3Iq5WL+F5YQsj6c4MInLCTbiB3j+RNM5JX9+zK0YkNyieSDyJvroWAd54Yn fG775OROagUVPX42gu3O5qwNaYxDg77VEAWKRfAuSa4qOGf8K/C0mdLHcc2MbalW7mJX qTVgLGKugC71dOGsZUmsuTrRbQ8zQthmwJxaJ1VpYGvLHDLRr9BW1mZFo/U4CCW6CQfV KRImnfiQwBzEIlqL/sMrNFv3l0gd0aPxr4T8DX75IGpVnGSLOB4oV6Fmuzjs1nizXN9T bBdg== X-Gm-Message-State: APjAAAUwNMLxRgQiNLdb/02WHmvov4UNnuy7mVr3e7jiA+5/pIX9PZ8U Gj6ziMIklKqu5XMjJnDTdkFh5bOWuTsC1h2lETJXXg== X-Received: by 2002:a0c:d60e:: with SMTP id c14mr9507784qvj.76.1578587895785; Thu, 09 Jan 2020 08:38:15 -0800 (PST) MIME-Version: 1.0 References: <20200109161724.9546-1-brgl@bgdev.pl> In-Reply-To: From: Bartosz Golaszewski Date: Thu, 9 Jan 2020 17:38:03 +0100 Message-ID: Subject: Re: [PATCH] kconfig: ignore temporary generated files To: Masahiro Yamada 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 czw., 9 sty 2020 o 17:36 Masahiro Yamada napisa=C5= =82(a): > > On Fri, Jan 10, 2020 at 1:17 AM Bartosz Golaszewski wrote= : > > > > 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 pattern > > 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] Erro= r 1 make: *** [Makefile:568: gconfig] Error 2 --- 4. See the file `gconf-cfg.tmp` under scripts/kconfig. Bart