Return-Path: Received: from mail-it0-f67.google.com (mail-it0-f67.google.com [209.85.214.67]) by mail.openembedded.org (Postfix) with ESMTP id E982D6FF72 for ; Thu, 9 Jun 2016 18:43:41 +0000 (UTC) Received: by mail-it0-f67.google.com with SMTP id r205so6243937itd.1 for ; Thu, 09 Jun 2016 11:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=0wIwvrrWjSnJlx53Da7EcVcMEd60dznNafbSucMpLjc=; b=f6JCpSIznAAyvTdk3LV3C4w2h5ZM61KM1TtW36ttBMvMiiK2J7UlB0IsWvXaTDQ77e 5L5LTvQpKWw6ji2XryOv3rllM7C6jaovw8W1RbItLseuqUa4NIFFmhbJH79c/OyoXFg4 Pbt6yR7F34W13XmIG22MkMPJHWHKsunAYvBpWNivRvWCb7Uzkk/aQwifANx3xmBilJxZ TzU+uYzvadjeHtnqtpTTnrdNGFInAhG3bib3GRobJ2BMkuhy4qGMBfHa4xkqdT8oa1gx a4ldHoDQL0uteWr31jke1S3bP6HN+R1tGPDbK9v8a6HZbK9Hj4qTE3bxR2DbR2+YbUnP s6/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=0wIwvrrWjSnJlx53Da7EcVcMEd60dznNafbSucMpLjc=; b=euwT8iXbtsciqe97dUbH01QsngZxxIXpHnEr2SgY+CfvQ+hVK6g6taM5sm9O/+RD4c joPJJ1OVW1hWReR/3+ktrsfmTVi0G1kD9ruSn/wa8zSHZ/cZThp1KgpFXfvlzIkn5nm5 n/1P9DRvmGXYK9qCwkANTA4l+2ClWiEyFH0xgTnYfu8lNXemyNy27f4G69TGEeERG9ek dmJCCx6Hg+SGKnjNq7ZAfBtgDZaF0+EnDymsxrsdjPw0szb7eqokv/Z21mPfFIzDqnrT 3e2/HGqnsBRniGtJXFoHiZLplsUjRgsz0GnVfYoKRM+vX2mLC+GFR84IlFFFyRRhrdik 0RwA== X-Gm-Message-State: ALyK8tLYp+xDwtXVMYd6g7Fet5pvR8xcw95hMmmDoXHOH5Op9gRNFGWTpHxbsTCeI5FVuA== X-Received: by 10.36.0.207 with SMTP id 198mr20891676ita.30.1465497822062; Thu, 09 Jun 2016 11:43:42 -0700 (PDT) Received: from openSUSE-i7.site (dsl-67-55-28-109.acanac.net. [67.55.28.109]) by smtp.gmail.com with ESMTPSA id b17sm3794147ioe.3.2016.06.09.11.43.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jun 2016 11:43:41 -0700 (PDT) Date: Thu, 9 Jun 2016 14:43:43 -0400 From: Trevor Woerner To: OE-core Message-ID: <20160609184343.GA17951@openSUSE-i7.site> MIME-Version: 1.0 User-Agent: Mutt/1.6.0 (2016-04-01) Subject: -c menuconfig stopped working in master X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2016 18:43:42 -0000 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline It appears "bitbake virtual/kernel -c menuconfig" has stopped working in master (python3-related?). The following is from a build on master of poky (git://git.yoctoproject.org/poky) with qemux86 as the MACHINE (iow, the most basic build). The same happens with master-next. ERROR: linux-yocto-4.4.12+gitAUTOINC+8900370d33_1f3e98df09-r0 do_menuconfig: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:do_menuconfig(d) 0003: File: '/z/layerindex-master/layers/meta-poky/meta/classes/cml1.bbclass', lineno: 30, function: do_menuconfig 0026: except OSError: 0027: mtime = 0 0028: 0029: oe_terminal("${SHELL} -c \"make %s; if [ \$? -ne 0 ]; then echo 'Command failed.'; printf 'Press any key to continue... '; read r; fi\"" % d.getVar('KCONFIG_CONFIG_COMMAND', True), *** 0030: d.getVar('PN', True ) + ' Configuration', d) 0031: 0032: # FIXME this check can be removed when the minimum bitbake version has been bumped 0033: if hasattr(bb.build, 'write_taint'): 0034: try: File: '/z/layerindex-master/layers/meta-poky/meta/classes/terminal.bbclass', lineno: 90, function: oe_terminal 0086: except oe.terminal.ExecutionError as exc: 0087: bb.fatal('Unable to spawn terminal %s: %s' % (terminal, exc)) 0088: 0089: try: *** 0090: oe.terminal.spawn_preferred(command, title, None, d) 0091: except oe.terminal.NoSupportedTerminals: 0092: bb.fatal('No valid terminal found, unable to open devshell') 0093: except oe.terminal.ExecutionError as exc: 0094: bb.fatal('Unable to spawn terminal %s: %s' % (terminal, exc)) File: '/z/layerindex-master/layers/meta-poky/meta/lib/oe/terminal.py', lineno: 197, function: spawn_preferred 0193:def spawn_preferred(sh_cmd, title=None, env=None, d=None): 0194: """Spawn the first supported terminal, by priority""" 0195: for terminal in prioritized(): 0196: try: *** 0197: spawn(terminal.name, sh_cmd, title, env, d) 0198: break 0199: except UnsupportedTerminal: 0200: continue 0201: else: File: '/z/layerindex-master/layers/meta-poky/meta/lib/oe/terminal.py', lineno: 212, function: spawn 0208: terminal = Registry.registry[name] 0209: except KeyError: 0210: raise UnsupportedTerminal(name) 0211: *** 0212: pipe = terminal(sh_cmd, title, env, d) 0213: output = pipe.communicate()[0] 0214: if pipe.returncode != 0: 0215: raise ExecutionError(sh_cmd, pipe.returncode, output) 0216: File: '/z/layerindex-master/layers/meta-poky/meta/lib/oe/terminal.py', lineno: 89, function: __init__ 0085: priority = 2 0086: 0087: def __init__(self, sh_cmd, title=None, env=None, d=None): 0088: # Check version *** 0089: vernum = check_terminal_version("konsole") 0090: if vernum and LooseVersion(vernum) < '2.0.0': 0091: # Konsole from KDE 3.x 0092: self.command = 'konsole -T "{title}" -e {command}' 0093: XTerminal.__init__(self, sh_cmd, title, env, d) File: '/z/layerindex-master/layers/meta-poky/meta/lib/oe/terminal.py', lineno: 249, function: check_terminal_version 0245: newenv = os.environ.copy() 0246: newenv["LANG"] = "C" 0247: p = sub.Popen(['sh', '-c', cmdversion], stdout=sub.PIPE, stderr=sub.PIPE, env=newenv) 0248: out, err = p.communicate() *** 0249: ver_info = out.rstrip().split('\n') 0250: except OSError as exc: 0251: import errno 0252: if exc.errno == errno.ENOENT: 0253: return None Exception: TypeError: Type str doesn't support the buffer API