gmacario / easy-build

Collection of Dockerfiles for building embedded software distributions
Mozilla Public License 2.0
154 stars 83 forks source link

build-yocto: Cannot invoke "bitbake -c devshell recipe" #279

Closed gmacario closed 6 years ago

gmacario commented 6 years ago

Example:

# Executing 'bitbake -c devshell bash'
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |################################################################################################| Time: 0:00:00
Loaded 3129 entries from dependency cache.
Parsing recipes: 100% |##############################################################################################| Time: 0:00:01
Parsing of 2300 .bb files complete (2299 cached, 1 parsed). 3129 targets, 156 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "us03-hsxx"
DISTRO               = "exorintos"
DISTRO_VERSION       = "0.0.1"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU           = "hard"
meta
meta-poky
meta-yocto-bsp
meta-oe
meta-networking
meta-webserver
meta-gnome
meta-python
meta-multimedia
meta-freescale
meta-exorint
meta-exorint-enterprise
meta-branding-exorint
meta-jml
meta-qt5             = "arol-1.2.x-devel:49f77106996237e5eb024caea63fee1d164024a6"
meta-arol-private    = "develop:0044491f4b11fb17c34cd4aae75f3465e48efff6"

Initialising tasks: 100% |###########################################################################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: bash-4.4-r0 do_devshell: No valid terminal found, unable to open devshell.
Tried the following commands:
        tmux split-window "do_terminal"
        tmux new-window -n "OpenEmbedded Developer Shell" "do_terminal"
        xfce4-terminal -T "OpenEmbedded Developer Shell" -e "do_terminal"
        terminology -T="OpenEmbedded Developer Shell" -e do_terminal
        mate-terminal --disable-factory -t "OpenEmbedded Developer Shell" -x do_terminal
        konsole --separate --workdir . -p tabtitle="OpenEmbedded Developer Shell" -e do_terminal
        gnome-terminal -t "OpenEmbedded Developer Shell" -x do_terminal
        xterm -T "OpenEmbedded Developer Shell" -e do_terminal
        rxvt -T "OpenEmbedded Developer Shell" -e do_terminal
        tmux new -d -s devshell -n devshell "do_terminal"
        screen -D -m -t "OpenEmbedded Developer Shell" -S devshell do_terminal
ERROR: bash-4.4-r0 do_devshell: Function failed: do_devshell
ERROR: Logfile of failure stored in: /workspace/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/bash/4.4-r0/temp/log.do_devshell.640
ERROR: Task (/workspace/git/bsp/..//poky/meta/recipes-extended/bash/bash_4.4.bb:do_devshell) failed with exit code '1'
NOTE: Tasks Summary: Attempted 302 tasks of which 301 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /workspace/git/bsp/..//poky/meta/recipes-extended/bash/bash_4.4.bb:do_devshell
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
I have no name!@10cf7414a94f:/workspace/git/bsp$
gmacario commented 6 years ago

Fix via https://github.com/gmacario/easy-build/commit/8155a245dc3804bf925aca461acf04a013de7897