Received: by 10.223.185.116 with SMTP id b49csp2994002wrg; Mon, 12 Feb 2018 19:02:54 -0800 (PST) X-Google-Smtp-Source: AH8x224wb2+pMP0TzhNXKknZjE/5SFc4e+tRfPnZiMS4uEflm2ltyO2CrBU3rxiOIO969+gdTcqX X-Received: by 2002:a17:902:9306:: with SMTP id bc6-v6mr12386017plb.29.1518490974663; Mon, 12 Feb 2018 19:02:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518490974; cv=none; d=google.com; s=arc-20160816; b=0fpP30RIIWyYl7LPj9rQQOeBUP1RfPfQbIj80eDXq9RhGCOK2PW9cYdRva9k9TxPAC OooFlSeL+qRLRTHnqOACurtswgDudteP7eLk39JsUro2LoiAuQ0SzEdyfVXx6YkoW5rl IhMzf/jkZKCgaYZflBHCW+TkMJCCUmZ33njTR3y3g5Av5KalFrAGijKy9OClPiwT8AQf haca4W6Vr1vvRQwwOemL6k9/4MB3gKtXdQVzGsb/85D/T/1EbfCBHvCNLOP3S6nd1JUc rgeFY+ed6q7ALlYIYrU108JVZDEmDPUXQ8gnrOwP+uCFbpEYGZg1D0Ig6yp5+wdqrnZ2 iYEw== 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:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject:dkim-signature:arc-authentication-results; bh=ExfwSb9DR5u+rfU3PPyF7vmznzOuIRFiu1EE3Kt8Y3Y=; b=1JqxH7JSubHcIi1uZS9U37H/X+r76/hj03BhJU2nEac0sU2+IB6AA9UppsMf11fPCb tywRkm54AjmBh88caAXTZp1ORd+NVBg/Opeb4I1h/1/Pz7W0vL1MAI5x/ucZBdjJ9Fpi qLo6AmKnfbrm/JK25pwlq2LBjOzc4cYS9EliB85zGF8dFx0L2lLoiMRawk2tzc87q1rV I+TUURAnlyv2uNDHMU6FX30D7OrNB0CRvC2HRMiRGE3wuxIsKDc+RTn6Y7oB553Fy/IX DdCqcwdzKsLVwtJUJYl4DCaL7IzlCEY/vnn/5fLfslm3kcs9U4e1m+AETEbqRQhuU5LV bfbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CdzB54Le; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b68si467517pfc.196.2018.02.12.19.02.40; Mon, 12 Feb 2018 19:02:54 -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=@gmail.com header.s=20161025 header.b=CdzB54Le; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933412AbeBMDAx (ORCPT + 99 others); Mon, 12 Feb 2018 22:00:53 -0500 Received: from mail-it0-f45.google.com ([209.85.214.45]:55638 "EHLO mail-it0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933393AbeBMDAv (ORCPT ); Mon, 12 Feb 2018 22:00:51 -0500 Received: by mail-it0-f45.google.com with SMTP id b66so9373494itd.5 for ; Mon, 12 Feb 2018 19:00:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=ExfwSb9DR5u+rfU3PPyF7vmznzOuIRFiu1EE3Kt8Y3Y=; b=CdzB54Le8+e7ZCT26qK+bHjbaxV/WPvsSoQikVb/6WqGp+wYaJeiFyeSqUDu2jpVu3 Ij1BOAAjy2j5qRsBwhGAik/clRbvgKTYE6pQ84lwmfL9UNny7YsHfTbdFPablV0C1sx/ ZZrEfd8OogNQpf0yvDWjUCS3o4vmTxN7fWL2Byn4vb141QftPtHeAp3FQ17PkaKCzWnY SD1WcFqe+GJdJ4GTr6JXaZuMi10/3ybtbOeTCYehpXaV0g/9rqA/tPeF9FWJrIiJZZWM fwKsYpfWJLi3DgIK3uTPl10pmaLLitH2Fj596BeNdSpZC2Eu7a+wiLZrvh7qrbCxvcSL 0ppA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ExfwSb9DR5u+rfU3PPyF7vmznzOuIRFiu1EE3Kt8Y3Y=; b=tFA7RYOq+ZPcK6ALp0lyPWg/OD4YJgwcj3zyrhMvz8TEPbuuAYhAafNSr6RB2d7/7o rbU0uOuSz5PYzC7uh07nxZ5nQzBy+Ia72MJMQIm5mB2JdNzeS+3OPYs8K0huhGgk102A b91DZPtR5DDfgZeNwgGgZmrOlpt9ifIeIOJmpV2bd6b/oJj4fRq+uo3ui6jAWUwwoOHJ CT2AoELC+aUQCnCwBnVkBfiwPpQeki3l3SLAnz+kSPVrpkp8Ug+0RpdZika4+NSPzc43 zbutU8mSIifi9OFojH2Wolf8MinCHOr1smMM4RIgkz8qz/SxNwF3j3dFmRA0kCAZcH62 A6Rw== X-Gm-Message-State: APf1xPAuvjATSEflD/0QcybcOPeQQlT1Ywr53PPSN0gIR4LwPlix3z+z ZNlptFO/7TS1LKgtLXNaYPA3CX8= X-Received: by 10.36.3.17 with SMTP id e17mr111616ite.41.1518490850415; Mon, 12 Feb 2018 19:00:50 -0800 (PST) Received: from [120.7.1.39] (24-212-162-55.cable.teksavvy.com. [24.212.162.55]) by smtp.gmail.com with ESMTPSA id r137sm8647673ita.23.2018.02.12.19.00.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Feb 2018 19:00:49 -0800 (PST) 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: Woody Suwalski Message-ID: <9d122a3c-b1fe-a9f8-17db-c38f42fdc4b1@gmail.com> Date: Mon, 12 Feb 2018 22:00:49 -0500 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"... Woody