Received: by 10.223.185.116 with SMTP id b49csp3808038wrg; Mon, 19 Feb 2018 06:23:15 -0800 (PST) X-Google-Smtp-Source: AH8x2258n+UDOR1XxBDpBRe0LYqrI/6OYQgH8szDbhlmpkq7cX+e6riIWZJeErceB+5r9ksm1Pi4 X-Received: by 10.99.152.10 with SMTP id q10mr12783841pgd.212.1519050195049; Mon, 19 Feb 2018 06:23:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519050195; cv=none; d=google.com; s=arc-20160816; b=VDqkooCMt+DCzXkLVqdfXmku/oVQk8VjqwmryyMqRrxlrCGmtE7XfUUBwC5yifX1iN 2uupZ07CIz3e/ILHbP4T+Ugw0pOt8ExL3G0vXHA+R+yQmOBlxPjHDeqGJbFUQ4DXkemi ILQ/cqRkN991rnUWLkWP17GRqbaCuLISwxb/4wzw3wcP9h9uwVJTFze0cJchsAYuNzfh m3n9+fi0Yip2Lrj9HtoaFe1aBPV2WX8lh4XK24q50R4bEE5khTAF6OVhSDGZgzlTmBT9 D4N/OefTmvfcKPFGRpj62L1NgqMXrCJHj1G5vRRPUa+odvnWikEoD0TfDouPvhtCorLL hEkw== 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:arc-authentication-results; bh=6cOie07bj88wGaUlvyG7/nyjqRTFYTRjh3kVo0bEeS0=; b=wNCxBq0G2GvskiTyD1fuEUaKVBh8oZV59FvbyzUaL++vXqKiCjiS9iGCRRwprYjGpp b+v30Vtc8D7RaX4jtPsCbUed1ejLfIfk4puZzTckWEyI47xojewExnLzhLvVgGRqJvFN 1Ck/pxA7z+qHUCtP2beqnpowVqVC8gG7sflC5549S1gGLUZVBaFtfs+ttd21eko5NSrD EvZX4bctxZNLHVvLZLaVxBxnuSsgBfWVXa/yi9cfWjD72FfnhMzHq5MyeEwkx9AqTBR6 BVxSAkYngATMU0s9qPpqAKqUHCB+8rUlsxTqw11pv8yeEPAfLBTHMYeoMEQwKBvWMtR1 8/HQ== ARC-Authentication-Results: i=1; mx.google.com; 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 s13-v6si2494493plq.793.2018.02.19.06.22.45; Mon, 19 Feb 2018 06:23:15 -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; 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 S1751528AbeBSOWA (ORCPT + 99 others); Mon, 19 Feb 2018 09:22:00 -0500 Received: from wp227.webpack.hosteurope.de ([80.237.132.234]:51372 "EHLO wp227.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750978AbeBSOV7 (ORCPT ); Mon, 19 Feb 2018 09:21:59 -0500 Received: from ip4d15e3ad.dynamic.kabel-deutschland.de ([77.21.227.173] helo=[192.168.66.118]); authenticated by wp227.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1enlkk-0007wk-3D; Mon, 19 Feb 2018 14:45:10 +0100 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: Sander Eikelenboom , Masahiro Yamada , Ulf Magnusson Cc: srivasta@debian.org, linux-kernel References: From: Thorsten Leemhuis Message-ID: <55ef3f98-61e3-69e9-4b65-a80efd1998ac@leemhuis.info> Date: Mon, 19 Feb 2018 14:45:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-MW Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1519050119;48089a85; X-HE-SMSGID: 1enlkk-0007wk-3D Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org JFYI: This issues is tracked in the regression reports for Linux 4.16 (http://bit.ly/lnxregrep416 ) with this id: Linux-Regression-ID: lr#2fd778 Please include this line in the comment section of patches that are supposed to fix the issue. Please also mention the string once in other mailinglist threads or different bug tracking entries if you or someone else start to discuss the issue there. By including that string you make it a whole lot easier to track where an issue gets discussed and how far patches to fix it have made it. For more details on this please see here: http://bit.ly/lnxregtrackid Thx for your help. Ciao, Thorsten On 12.02.2018 20:01, 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 > > > http://news.gmane.org/find-root.php?message_id=b7f71558-0e57-cacb-280c-a9d3baa030b2%40eikelenboom.it > http://mid.gmane.org/b7f71558-0e57-cacb-280c-a9d3baa030b2%40eikelenboom.it >