[yocto] Unable to issue bitbake linux-yocto -c menuconfig

Benoit Rapidel benoit.rapidel+yocto at exmachina.fr
Tue Nov 3 06:48:17 PST 2015


Hi,

I ran into an error and I don't know where to report it.

I use poky with fido branch on a Debian 3.2.68 VM

See attached file for log

$ tmux list-panes
0: [84x44] [history 39/2000, 71202 bytes] %2
0: [231x60] [history 435/2000, 194475 bytes] %3 (active)
$

Regards,
-- 
Benoit Rapidel

Co-founder & CTO at ExMachina
-------------- next part --------------
Loading cache...done.
Loaded 1304 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.26.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Debian-7.9"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "beaglebone"
DISTRO            = "poky"
DISTRO_VERSION    = "1.8.1"
TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard cortexa8"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        
meta-yocto-bsp    = "<unknown>:<unknown>"
meta-exm-core     = "master:f2ad38a76f0413ebaf0df27ecdeec4b80f3fda0f"

NOTE: Preparing RunQueue
WARNING: /home/willykaze/yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb.do_kernel_configme is tainted from a forced run
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 255 of 255 (ID: 7, /home/willykaze/yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb, do_menuconfig)
NOTE: recipe linux-yocto-3.14.36+gitAUTOINC+162dfe3bb0_dbe5b52e93-r0: task do_menuconfig: Started
ERROR: Error executing a python function in /home/willykaze/yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb:

The stack trace of python calls that resulted in this exception/failure was:
File: 'do_menuconfig', lineno: 25, function: <module>
     0021:            bb.note("Configuration changed, recompile will be forced")
     0022:            bb.build.write_taint('do_compile', d)
     0023:
     0024:
 *** 0025:do_menuconfig(d)
     0026:
File: 'do_menuconfig', lineno: 11, function: do_menuconfig
     0007:        shutil.copy(".config", ".config.orig")
     0008:    except OSError:
     0009:        mtime = 0
     0010:
 *** 0011:    oe_terminal("/usr/bin/zsh -c \"make menuconfig; if [ \$? -ne 0 ]; then echo 'Command failed.'; printf 'Press any key to continue... '; read r; fi\"", 'linux-yocto Configuration', d)
     0012:
     0013:    # FIXME this check can be removed when the minimum bitbake version has been bumped
     0014:    if hasattr(bb.build, 'write_taint'):
     0015:        try:
File: 'terminal.bbclass', lineno: 55, function: oe_terminal
     0051:        except oe.terminal.ExecutionError as exc:
     0052:            bb.fatal('Unable to spawn terminal %s: %s' % (terminal, exc))
     0053:
     0054:    try:
 *** 0055:        oe.terminal.spawn_preferred(command, title, None, d)
     0056:    except oe.terminal.NoSupportedTerminals:
     0057:        bb.fatal('No valid terminal found, unable to open devshell')
     0058:    except oe.terminal.ExecutionError as exc:
     0059:        bb.fatal('Unable to spawn terminal %s: %s' % (terminal, exc))
File: '/home/willykaze/yocto/poky/meta/lib/oe/terminal.py', lineno: 199, function: spawn_preferred
     0195:def spawn_preferred(sh_cmd, title=None, env=None, d=None):
     0196:    """Spawn the first supported terminal, by priority"""
     0197:    for terminal in prioritized():
     0198:        try:
 *** 0199:            spawn(terminal.name, sh_cmd, title, env, d)
     0200:            break
     0201:        except UnsupportedTerminal:
     0202:            continue
     0203:    else:
File: '/home/willykaze/yocto/poky/meta/lib/oe/terminal.py', lineno: 214, function: spawn
     0210:        terminal = Registry.registry[name]
     0211:    except KeyError:
     0212:        raise UnsupportedTerminal(name)
     0213:
 *** 0214:    pipe = terminal(sh_cmd, title, env, d)
     0215:    output = pipe.communicate()[0]
     0216:    if pipe.returncode != 0:
     0217:        raise ExecutionError(sh_cmd, pipe.returncode, output)
     0218:
File: '/home/willykaze/yocto/poky/meta/lib/oe/terminal.py', lineno: 133, function: __init__
     0129:
     0130:        if not os.getenv('TMUX'):
     0131:            raise UnsupportedTerminal('tmux is not running')
     0132:
 *** 0133:        if not check_tmux_pane_size('tmux'):
     0134:            raise UnsupportedTerminal('tmux pane too small')
     0135:
     0136:        Terminal.__init__(self, sh_cmd, title, env, d)
     0137:
File: '/home/willykaze/yocto/poky/meta/lib/oe/terminal.py', lineno: 225, function: check_tmux_pane_size
     0221:    try:
     0222:        p = sub.Popen('%s list-panes -F "#{?pane_active,#{pane_height},}"' % tmux,
     0223:                shell=True,stdout=sub.PIPE,stderr=sub.PIPE)
     0224:        out, err = p.communicate()
 *** 0225:        size = int(out.strip())
     0226:    except OSError as exc:
     0227:        import errno
     0228:        if exc.errno == errno.ENOENT:
     0229:            return None
Exception: ValueError: invalid literal for int() with base 10: ''

ERROR: Function failed: do_menuconfig
ERROR: Logfile of failure stored in: /home/willykaze/yocto/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/linux-yocto/3.14.36+gitAUTOINC+162dfe3bb0_dbe5b52e93-r0/temp/log.do_menuconfig.5502
NOTE: recipe linux-yocto-3.14.36+gitAUTOINC+162dfe3bb0_dbe5b52e93-r0: task do_menuconfig: Failed
ERROR: Task 7 (/home/willykaze/yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb, do_menuconfig) failed with exit code '1'
NOTE: Tasks Summary: Attempted 255 tasks of which 254 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/willykaze/yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb, do_menuconfig
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


More information about the yocto mailing list