Received: by 10.223.185.116 with SMTP id b49csp3054359wrg; Mon, 12 Feb 2018 20:11:28 -0800 (PST) X-Google-Smtp-Source: AH8x227E+b8bAbjel+ifJGfgqTQwfQAk/EhmBllpnm35h4Kqwyx+qc8BEq/6YyMqbmlw0iOnZ8dJ X-Received: by 2002:a17:902:123:: with SMTP id 32-v6mr12740109plb.278.1518495088682; Mon, 12 Feb 2018 20:11:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518495088; cv=none; d=google.com; s=arc-20160816; b=b1CV0zgB5yHV8jWegEU19mfUqGwcws5QBFZEwGG5YNpKVsJodG+ap2AY7x7rAkvfxz ezDTrvjeRjqwmBz90Zay1ZH8D+jM+X6yftNJKm9S6Rab1oyjiZBomS/cVo6HJIsjTdGG qdNNKxvDbgqXjfYZDCS9x2jIiwA2phOrJmlxDWWQvEytfxyoQH90p/Jtlp1BL6XhygTf xhczfQttVW5c4F+YowDzxiy9daKmCKeA5Ms60xIbb8rMVX+d82kxp62a/efw7joKABw8 xgUTr7/EZJUULpDzvC408AniBuNxpzXJnmThQipJZ/QZPPf+DajPOxa7d/iD1E7t8E6h tLAA== 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=02k6qfqhPs9s25nuQ3NtC0SrY66PUtfZi2VGXf5PIVI=; b=XLh0t6DWc2y4DQR0WrhCcIhgYCZI0YST6u8civueK8aNnVrtMwwYj2jfp3iGZtmkok R7crxZoAp2oglkmo+2Q2GBmTkYx638D73xoPxQrAuIG1SUG4jg80Bwj2s9TIwdUJ5J6r I16T/K/+ECxziu6moCPXy/MUjfFoNob0Pe5vxcNPVFCY1EkSnsimthsyxUK9zhob76sT A5j3lDD9YpWFyKiCVULHbhXdpcF0g2XnWq2W75q9UkzusduCPRD+T5RnO/5TyfJFPnIb K4r2cneUmI5GkJf5fALuhzmMo2VTdi8WVx4oJTylNUdJnMZSqaV3EVdt6NHTw2TdfrOq v2fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=2/ngzKhZ; 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 b184si305967pgc.786.2018.02.12.20.11.03; Mon, 12 Feb 2018 20:11:28 -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=2/ngzKhZ; 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 S933413AbeBMEKI (ORCPT + 99 others); Mon, 12 Feb 2018 23:10:08 -0500 Received: from conssluserg-02.nifty.com ([210.131.2.81]:61233 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933025AbeBMEKG (ORCPT ); Mon, 12 Feb 2018 23:10:06 -0500 Received: from mail-ua0-f175.google.com (mail-ua0-f175.google.com [209.85.217.175]) (authenticated) by conssluserg-02.nifty.com with ESMTP id w1D4A2jx028406 for ; Tue, 13 Feb 2018 13:10:03 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com w1D4A2jx028406 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1518495003; bh=02k6qfqhPs9s25nuQ3NtC0SrY66PUtfZi2VGXf5PIVI=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=2/ngzKhZubuUKNKFK10mzfAth4J8dWzbi+fGor46gSx0tDYvQzUUkgXsTaEY6049q 1Or99UbzbYsWLzl3O5nOt5GLncS5mNi5pWM7NuJBdCXNWMcyUnqAlUnjUeX0dupe1m JhBv8/QWBdUhicie6aZaI66VnQ6j9M64OALuBpVq0l2SJOZNWntnPJaksVk6vZa/1G xQYc24F3hKNT+3dtPL7Af/89BhiUOtRSEkgFfe3sqt8JV0di9hhZVPb1v9XeQEtl/Z b3QQASu2b4hQ91jgFiwzpwfxG1Kd0UXgGhGVeW0ptlcPiTSYdQEk8+i3P1VDPz673Q KBQisO/8ynOwQ== X-Nifty-SrcIP: [209.85.217.175] Received: by mail-ua0-f175.google.com with SMTP id r4so10824755uak.6 for ; Mon, 12 Feb 2018 20:10:03 -0800 (PST) X-Gm-Message-State: APf1xPB+okKZulh35Xuf8DmfwaGH/L/JkLl9c2456QW8sbHmqB2HqaMV jRit4EaIJBavi9dpRumcfHg0IWUOEiAAc5iKLRk= X-Received: by 10.176.83.76 with SMTP id y12mr14802852uay.109.1518495002272; Mon, 12 Feb 2018 20:10:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.83.212 with HTTP; Mon, 12 Feb 2018 20:09:21 -0800 (PST) In-Reply-To: <9d122a3c-b1fe-a9f8-17db-c38f42fdc4b1@gmail.com> References: <9d122a3c-b1fe-a9f8-17db-c38f42fdc4b1@gmail.com> From: Masahiro Yamada Date: Tue, 13 Feb 2018 13:09:21 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 4.16-rc1: regression bisected, Debian kernel package tool make-kpkg stalls indefinitely during kernel build due to commit "kconfig: remove check_stdin()" To: Woody Suwalski Cc: Sander Eikelenboom , Ulf Magnusson , srivasta@debian.org, linux-kernel 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 2018-02-13 12:00 GMT+09:00 Woody Suwalski : > Sander Eikelenboom wrote: >> >> L.S., >> >> The Debian kernel-package tool make-kpkg for easy building of upstream >> kernels on Debian fails with linux 4.16-rc1. >> >> The tool (perl script) while invoked with: >> make-kpkg --initrd --append_to_version -20180212 kernel_image >> >> On a git tree with a .config from the previous kernel release, so new >> KConfig questions have to be asked on new or changed options. >> >> The script stalls indefinitely while it seems to be excuting: >> exec make kpkg_version=13.018+nmu1 -f >> /usr/share/kernel-package/ruleset/minimal.mk debian >> APPEND_TO_VERSION=-t440s-20180212 INITRD=YES >> >> After using ctrl-c to break out it, i get: >> ^CFailed to create a ./debian directory: No such file or directory at >> /usr/bin/make-kpkg line 970. >> >> Bisection turned up as culprit: >> commit d2a04648a5dbc3d1d043b35257364f0197d4d868 >> kconfig: remove check_stdin() >> Except silentoldconfig, valid_stdin is 1, so check_stdin() is >> no-op. >> oldconfig and silentoldconfig work almost in the same way except >> that >> the latter generates additional files under include/. Both ask users >> for input for new symbols. >> I do not know why only silentoldconfig requires stdio be tty. >> $ rm -f .config; touch .config >> $ yes "" | make oldconfig > stdout >> $ rm -f .config; touch .config >> $ yes "" | make silentoldconfig > stdout >> make[1]: *** [silentoldconfig] Error 1 >> make: *** [silentoldconfig] Error 2 >> $ tail -n 4 stdout >> Console input/output is redirected. Run 'make oldconfig' to update >> configuration. >> scripts/kconfig/Makefile:40: recipe for target >> 'silentoldconfig' failed >> Makefile:507: recipe for target 'silentoldconfig' failed >> Redirection is useful, for example, for testing where we want to >> give >> particular key inputs from a test file, then check the result. >> Signed-off-by: Masahiro Yamada >> Reviewed-by: Ulf Magnusson >> >> Reverting this specific commit makes make-kpkg work again as usual. >> >> Version of the kernel-package used: >> ii kernel-package >> 13.018+nmu1 >> >> >> I also cc'ed the Debian developer who maintains the kernel-package >> package: Manoj Srivastava >> >> -- >> Sander >> > I have noticed today the same - the kernel-build blockage was in (as I > recall) > srcipts/kconfig/conf -s --silentoldconfig Kbuild > > I have bypassed it by regenerating the .config "by hand"... silentoldconfig asks you values for new symbols. So, you must answer questions to proceed. How does 'make-kpkg' handle silentoldconfig? Re-direct stdio, then make it forcibly fail? -- Best Regards Masahiro Yamada