Building Custom Yocto Image for Mangoh Red WP76

Hello!

I would like to build a custom yocto image however I am having trouble. Here is what I have so far:

  • installed Ubuntu 16.04 on VM
  • downloaded WP76 source image from following link:
    https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-latest-release-components/#sthash.jhaYxLzU.rPi8Mpml.dpbs
  • then went to the following location: 1. ./meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image.inc
  • added the following line:
    IMAGE_INSTALL_append = " python-pip"
  • and then went to:
    ./meta-swi/meta-swi-mdm9x28/conf/machine/swi-mdm9x28.conf
  • and made the following change
    UBI_ROOTFS_SIZE ?= “48MiB”
  • and then to make the yocto image, typed make image_bin
  • the following is the error I got:
    prab@prab-VirtualBox:~/yocto$ make image_bin
    Makefile:71: “Legato: build disabled since ‘/home/prab/yocto/legato/’ does not exist”
    “meta-swi/build.sh” -p poky/ -o meta-openembedded/ -l meta-swi -x “kernel” -j 9 -t 9 -a LK_REPO_DIR="/home/prab/yocto" -a LK_REPO_NAME=“lk” -a LK_REPO=“file://lk” -m swi-mdm9x28 -P wp -b build_bin -q
    Poky dir: /home/prab/yocto/poky
    OE meta: /home/prab/yocto/meta-openembedded
    SWI meta dir: /home/prab/yocto/meta-swi
    Linux repo dir: /home/prab/yocto/kernel
    Number of make threads 9
    Number of bitbake tasks 9
    Extra options added - LK_REPO_DIR=/home/prab/yocto
    Extra options added - LK_REPO_NAME=lk
    Extra options added - LK_REPO=file://lk
    SWI machine: swi-mdm9x28
    SWI product: wp
    Build dir: /home/prab/yocto/build_bin
    Enable Qualcomm Proprietary bin

Shell environment set up for builds.

You can now run 'bitbake ’

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-ide-support

You can also run generated qemu images with a command like ‘runqemu qemux86’

  • layer: meta-oe
  • layer: meta-networking
  • layer: meta-python
  • layer: meta-gplv2
  • layer: meta-swi/common
  • layer: meta-swi/meta-swi-mdm9xxx
  • layer: meta-swi/meta-swi-mdm9x28
  • layer: meta-swi-extras/common
  • layer: meta-swi-extras/meta-swi-mdm9x28
  • layer: meta-swi-extras/meta-swi-mdm9xxx-bin
  • layer: meta-swi-extras/meta-swi-mdm9x28-bin
  • layer: meta-swi-extras/meta-swi-mdm9x28-wp-bin
    Yocto machine: swi-mdm9x28-wp
    Updating LEGATO_BUILD to false
    Updating IMA_BUILD to false
    Updating IMA_CONFIG to
    Updating IMA_LOCAL_CA_X509 to
    Updating IMA_PRIV_KEY to
    Updating IMA_PUB_CERT to
    Updating IMA_KERNEL_CMDLINE_OPTIONS to
    Updating ENABLE_IMA to 0
    Updating IMA_PUBLIC_CERT to
    Updating IMA_PRIVATE_KEY to
    Updating IMA_SMACK to
    Updating ENABLE_FX30 to
    Updating ROOTFS_VERSION to
    Updating LK_REPO_DIR to /home/prab/yocto
    Updating LK_REPO_NAME to lk
    Updating LK_REPO to file://lk
    Updating EXT_SWI_IMG to false
    Updating INITRAMFS_IMAGE_BUNDLE to 1
    Updating INITRAMFS_IMAGE to mdm9x28-image-initramfs
    Updating FIRMWARE_PATH to
    Updating PACKAGECONFIG_remove to gnutls
    Build image of minimal rootfs (for swi-mdm9x28).
    Unable to create ‘/home/prab/yocto/poky/bitbake/lib/bb/pysh/pyshtables.py’
    [Errno 13] Permission denied: ‘/home/prab/yocto/poky/bitbake/lib/bb/pysh/pyshtables.py’
    NOTE: Bitbake server didn’t start within 5 seconds, waiting for 90
    ERROR: Unable to start bitbake server
    ERROR: Server didn’t start, last 60 loglines (/home/prab/yocto/build_bin/bitbake-cookerdaemon.log):
    Entering server connection loop
    Accepting [<socket.socket fd=7, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ()
    Processing Client
    Connecting Client
    Running command [‘setFeatures’, [2]]
    Running command [‘updateConfig’, {‘profile’: False, ‘prefile’: , ‘invalidate_stamp’: None, ‘dump_signatures’: , ‘postfile’: , ‘dry_run’: False, ‘verbose’: False, ‘debug_domains’: , ‘debug’: 0, ‘server_timeout’: None, ‘extra_assume_provided’: , ‘abort’: True, ‘force’: False}, {‘MAKELEVEL’: ‘1’, ‘USER’: ‘root’, ‘USERNAME’: ‘root’, ‘LC_ALL’: ‘en_US.UTF-8’, ‘SUDO_COMMAND’: ‘/usr/bin/make image’, ‘BUILDDIR’: ‘/home/prab/yocto/build_bin’, ‘LOGNAME’: ‘root’, ‘MFLAGS’: ‘’, ‘TERM’: ‘xterm-256color’, ‘PWD’: ‘/home/prab/yocto/build_bin’, ‘LANG’: ‘en_US.UTF-8’, ‘LS_COLORS’: ‘rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:’, ‘MAIL’: ‘/var/mail/root’, ‘BB_ENV_EXTRAWHITE’: 'ALL_PROXY BBPATH_EXTRA BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO DL_DIR FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ', ‘PATH’: ‘/home/prab/yocto/poky/scripts:/home/prab/yocto/poky/bitbake/bin:/usr/local/bin:/bin:/usr/bin’, ‘SHELL’: ‘/bin/bash’, ‘DISPLAY’: ‘:0’, ‘’: ‘/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘MAKEFLAGS’: ‘’, ‘SUDO_GID’: ‘1000’, ‘LANGUAGE’: ‘en_US’, ‘MAKE_TERMOUT’: ‘/dev/pts/17’, ‘HOME’: ‘/home/prab’, ‘SUDO_USER’: ‘prab’, ‘BBPATH’: ‘/home/prab/yocto/build_bin’, ‘SUDO_UID’: ‘1000’, ‘SHLVL’: ‘2’, ‘OLDPWD’: ‘/home/prab/yocto/build_bin’, ‘MAKE_TERMERR’: ‘/dev/pts/17’, ‘XAUTHORITY’: ‘/home/prab/.Xauthority’}, [’/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘mdm9x28-image-minimal’]]
    Running command [‘getVariable’, ‘BBINCLUDELOGS’]
    Running command [‘getVariable’, ‘BBINCLUDELOGS_LINES’]
    Running command [‘getSetVariable’, ‘BB_CONSOLELOG’]
    Running command [‘getUIHandlerNum’]
    Running command [‘setEventMask’, 1, 20, {}, [‘bb.runqueue.runQueueExitWait’, ‘bb.event.LogExecTTY’, ‘logging.LogRecord’, ‘bb.build.TaskFailed’, ‘bb.build.TaskBase’, ‘bb.event.ParseStarted’, ‘bb.event.ParseProgress’, ‘bb.event.ParseCompleted’, ‘bb.event.CacheLoadStarted’, ‘bb.event.CacheLoadProgress’, ‘bb.event.CacheLoadCompleted’, ‘bb.command.CommandFailed’, ‘bb.command.CommandExit’, ‘bb.command.CommandCompleted’, ‘bb.cooker.CookerExit’, ‘bb.event.MultipleProviders’, ‘bb.event.NoProvider’, ‘bb.runqueue.sceneQueueTaskStarted’, ‘bb.runqueue.runQueueTaskStarted’, ‘bb.runqueue.runQueueTaskFailed’, ‘bb.runqueue.sceneQueueTaskFailed’, ‘bb.event.BuildBase’, ‘bb.build.TaskStarted’, ‘bb.build.TaskSucceeded’, ‘bb.build.TaskFailedSilent’, ‘bb.build.TaskProgress’, ‘bb.event.ProcessStarted’, ‘bb.event.ProcessProgress’, ‘bb.event.ProcessFinished’]]
    Running command [‘getVariable’, ‘BB_DEFAULT_TASK’]
    Running command [‘setConfig’, ‘cmd’, ‘build’]
    Running command [‘buildTargets’, [‘mdm9x28-image-minimal’], ‘build’]
    Processing Client
    Disconnecting Client
    No timeout, exiting.
    Exiting
    — Starting bitbake server pid 7281 at 2020-10-07 13:45:51.263502 —
    Started bitbake server pid 7281
    WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
    Entering server connection loop
    Accepting [<socket.socket fd=7, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ([])
    Processing Client
    Connecting Client
    Running command [‘setFeatures’, [2]]
    Running command [‘updateConfig’, {‘dry_run’: False, ‘profile’: False, ‘postfile’: [], ‘debug_domains’: [], ‘server_timeout’: None, ‘dump_signatures’: [], ‘debug’: 0, ‘verbose’: False, ‘extra_assume_provided’: [], ‘force’: False, ‘prefile’: [], ‘abort’: True, ‘invalidate_stamp’: None}, {‘LESSOPEN’: ‘| /usr/bin/lesspipe %s’, ‘PWD’: ‘/home/prab/yocto/build_bin’, ‘SUDO_UID’: ‘1000’, ‘DISPLAY’: ‘:0’, ‘LESSCLOSE’: ‘/usr/bin/lesspipe %s %s’, ‘LOGNAME’: ‘root’, ‘SHLVL’: ‘3’, ‘PATH’: ‘/home/prab/yocto/poky/scripts:/home/prab/yocto/poky/bitbake/bin:/usr/local/bin:/bin:/usr/bin’, ‘BBPATH’: ‘/home/prab/yocto/build_bin’, ‘XAUTHORITY’: ‘/home/prab/.Xauthority’, ‘BUILDDIR’: ‘/home/prab/yocto/build_bin’, ‘LS_COLORS’: ‘rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:’, ‘SUDO_GID’: ‘1000’, ‘MAKE_TERMOUT’: ‘/dev/pts/17’, ‘USER’: ‘root’, ‘TERM’: ‘xterm-256color’, ‘MAIL’: ‘/var/mail/root’, '
    ’: ‘/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘USERNAME’: ‘root’, ‘MAKEFLAGS’: ‘’, ‘SUDO_COMMAND’: ‘/bin/su’, ‘HOME’: ‘/root’, ‘LC_ALL’: ‘en_US.UTF-8’, ‘LANGUAGE’: ‘en_US’, ‘LANG’: ‘en_US.UTF-8’, ‘SUDO_USER’: ‘prab’, ‘SHELL’: ‘/bin/bash’, ‘MAKE_TERMERR’: ‘/dev/pts/17’, ‘MAKELEVEL’: ‘1’, ‘BB_ENV_EXTRAWHITE’: ‘ALL_PROXY BBPATH_EXTRA BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO DL_DIR FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ‘, ‘MFLAGS’: ‘’, ‘OLDPWD’: ‘/home/prab/yocto/build_bin’}, [’/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘mdm9x28-image-minimal’]]
    Running command [‘getVariable’, ‘BBINCLUDELOGS’]
    Running command [‘getVariable’, ‘BBINCLUDELOGS_LINES’]
    Running command [‘getSetVariable’, ‘BB_CONSOLELOG’]
    Running command [‘getUIHandlerNum’]
    Running command [‘setEventMask’, 1, 20, {}, [‘bb.runqueue.runQueueExitWait’, ‘bb.event.LogExecTTY’, ‘logging.LogRecord’, ‘bb.build.TaskFailed’, ‘bb.build.TaskBase’, ‘bb.event.ParseStarted’, ‘bb.event.ParseProgress’, ‘bb.event.ParseCompleted’, ‘bb.event.CacheLoadStarted’, ‘bb.event.CacheLoadProgress’, ‘bb.event.CacheLoadCompleted’, ‘bb.command.CommandFailed’, ‘bb.command.CommandExit’, ‘bb.command.CommandCompleted’, ‘bb.cooker.CookerExit’, ‘bb.event.MultipleProviders’, ‘bb.event.NoProvider’, ‘bb.runqueue.sceneQueueTaskStarted’, ‘bb.runqueue.runQueueTaskStarted’, ‘bb.runqueue.runQueueTaskFailed’, ‘bb.runqueue.sceneQueueTaskFailed’, ‘bb.event.BuildBase’, ‘bb.build.TaskStarted’, ‘bb.build.TaskSucceeded’, ‘bb.build.TaskFailedSilent’, ‘bb.build.TaskProgress’, ‘bb.event.ProcessStarted’, ‘bb.event.ProcessProgress’, ‘bb.event.ProcessFinished’]]
    Running command [‘getVariable’, ‘BB_DEFAULT_TASK’]
    Running command [‘setConfig’, ‘cmd’, ‘build’]
    Running command [‘buildTargets’, [‘mdm9x28-image-minimal’], ‘build’]
    Processing Client
    Disconnecting Client
    No timeout, exiting.
    Exiting
    — Starting bitbake server pid 18086 at 2020-10-07 13:57:29.864731 —
    Started bitbake server pid 18086
    WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
    Entering server connection loop
    Accepting [<socket.socket fd=7, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ()
    Processing Client
    Connecting Client
    Running command [‘setFeatures’, [2]]
    Running command [‘updateConfig’, {‘debug_domains’: , ‘dump_signatures’: , ‘postfile’: , ‘prefile’: , ‘extra_assume_provided’: , ‘server_timeout’: None, ‘debug’: 0, ‘verbose’: False, ‘abort’: True, ‘profile’: False, ‘force’: False, ‘invalidate_stamp’: None, ‘dry_run’: False}, {‘TERM’: ‘xterm-256color’, ‘OLDPWD’: ‘/home/prab/yocto/build_bin’, ‘XAUTHORITY’: ‘/home/prab/.Xauthority’, ‘_’: ‘/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘PATH’: ‘/home/prab/yocto/poky/scripts:/home/prab/yocto/poky/bitbake/bin:/usr/local/bin:/bin:/usr/bin’, ‘DISPLAY’: ‘:0’, ‘MAKE_TERMOUT’: ‘/dev/pts/17’, ‘BB_ENV_EXTRAWHITE’: ‘ALL_PROXY BBPATH_EXTRA BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO DL_DIR FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ‘, ‘MAKE_TERMERR’: ‘/dev/pts/17’, ‘USER’: ‘root’, ‘SUDO_USER’: ‘prab’, ‘SHELL’: ‘/bin/bash’, ‘BBPATH’: ‘/home/prab/yocto/build_bin’, ‘LESSOPEN’: ‘| /usr/bin/lesspipe %s’, ‘HOME’: ‘/root’, ‘SHLVL’: ‘3’, ‘BUILDDIR’: ‘/home/prab/yocto/build_bin’, ‘LANG’: ‘en_US.UTF-8’, ‘USERNAME’: ‘root’, ‘SUDO_GID’: ‘1000’, ‘MAKELEVEL’: ‘1’, ‘LS_COLORS’: ‘rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:’, ‘SUDO_COMMAND’: ‘/bin/su’, ‘MAIL’: ‘/var/mail/root’, ‘LESSCLOSE’: ‘/usr/bin/lesspipe %s %s’, ‘LOGNAME’: ‘root’, ‘MAKEFLAGS’: ‘’, ‘MFLAGS’: ‘’, ‘LANGUAGE’: ‘en_US’, ‘LC_ALL’: ‘en_US.UTF-8’, ‘PWD’: ‘/home/prab/yocto/build_bin’, ‘SUDO_UID’: ‘1000’}, [’/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘mdm9x28-image-minimal’]]
    Running command [‘getVariable’, ‘BBINCLUDELOGS’]
    Running command [‘getVariable’, ‘BBINCLUDELOGS_LINES’]
    Running command [‘getSetVariable’, ‘BB_CONSOLELOG’]
    Running command [‘getUIHandlerNum’]
    Running command [‘setEventMask’, 1, 20, {}, [‘bb.runqueue.runQueueExitWait’, ‘bb.event.LogExecTTY’, ‘logging.LogRecord’, ‘bb.build.TaskFailed’, ‘bb.build.TaskBase’, ‘bb.event.ParseStarted’, ‘bb.event.ParseProgress’, ‘bb.event.ParseCompleted’, ‘bb.event.CacheLoadStarted’, ‘bb.event.CacheLoadProgress’, ‘bb.event.CacheLoadCompleted’, ‘bb.command.CommandFailed’, ‘bb.command.CommandExit’, ‘bb.command.CommandCompleted’, ‘bb.cooker.CookerExit’, ‘bb.event.MultipleProviders’, ‘bb.event.NoProvider’, ‘bb.runqueue.sceneQueueTaskStarted’, ‘bb.runqueue.runQueueTaskStarted’, ‘bb.runqueue.runQueueTaskFailed’, ‘bb.runqueue.sceneQueueTaskFailed’, ‘bb.event.BuildBase’, ‘bb.build.TaskStarted’, ‘bb.build.TaskSucceeded’, ‘bb.build.TaskFailedSilent’, ‘bb.build.TaskProgress’, ‘bb.event.ProcessStarted’, ‘bb.event.ProcessProgress’, ‘bb.event.ProcessFinished’]]
    Running command [‘getVariable’, ‘BB_DEFAULT_TASK’]
    Running command [‘setConfig’, ‘cmd’, ‘build’]
    Running command [‘buildTargets’, [‘mdm9x28-image-minimal’], ‘build’]
    Processing Client
    Disconnecting Client
    No timeout, exiting.
    Exiting

NOTE: Bitbake server didn’t start within 5 seconds, waiting for 90
ERROR: Unable to start bitbake server
ERROR: Server didn’t start, last 60 loglines (/home/prab/yocto/build_bin/bitbake-cookerdaemon.log):
Entering server connection loop
Accepting [<socket.socket fd=7, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ()
Processing Client
Connecting Client
Running command [‘setFeatures’, [2]]
Running command [‘updateConfig’, {‘profile’: False, ‘prefile’: , ‘invalidate_stamp’: None, ‘dump_signatures’: , ‘postfile’: , ‘dry_run’: False, ‘verbose’: False, ‘debug_domains’: , ‘debug’: 0, ‘server_timeout’: None, ‘extra_assume_provided’: , ‘abort’: True, ‘force’: False}, {‘MAKELEVEL’: ‘1’, ‘USER’: ‘root’, ‘USERNAME’: ‘root’, ‘LC_ALL’: ‘en_US.UTF-8’, ‘SUDO_COMMAND’: ‘/usr/bin/make image’, ‘BUILDDIR’: ‘/home/prab/yocto/build_bin’, ‘LOGNAME’: ‘root’, ‘MFLAGS’: ‘’, ‘TERM’: ‘xterm-256color’, ‘PWD’: ‘/home/prab/yocto/build_bin’, ‘LANG’: ‘en_US.UTF-8’, ‘LS_COLORS’: ‘rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:’, ‘MAIL’: ‘/var/mail/root’, ‘BB_ENV_EXTRAWHITE’: 'ALL_PROXY BBPATH_EXTRA BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO DL_DIR FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ', ‘PATH’: ‘/home/prab/yocto/poky/scripts:/home/prab/yocto/poky/bitbake/bin:/usr/local/bin:/bin:/usr/bin’, ‘SHELL’: ‘/bin/bash’, ‘DISPLAY’: ‘:0’, ‘’: ‘/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘MAKEFLAGS’: ‘’, ‘SUDO_GID’: ‘1000’, ‘LANGUAGE’: ‘en_US’, ‘MAKE_TERMOUT’: ‘/dev/pts/17’, ‘HOME’: ‘/home/prab’, ‘SUDO_USER’: ‘prab’, ‘BBPATH’: ‘/home/prab/yocto/build_bin’, ‘SUDO_UID’: ‘1000’, ‘SHLVL’: ‘2’, ‘OLDPWD’: ‘/home/prab/yocto/build_bin’, ‘MAKE_TERMERR’: ‘/dev/pts/17’, ‘XAUTHORITY’: ‘/home/prab/.Xauthority’}, [’/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘mdm9x28-image-minimal’]]
Running command [‘getVariable’, ‘BBINCLUDELOGS’]
Running command [‘getVariable’, ‘BBINCLUDELOGS_LINES’]
Running command [‘getSetVariable’, ‘BB_CONSOLELOG’]
Running command [‘getUIHandlerNum’]
Running command [‘setEventMask’, 1, 20, {}, [‘bb.runqueue.runQueueExitWait’, ‘bb.event.LogExecTTY’, ‘logging.LogRecord’, ‘bb.build.TaskFailed’, ‘bb.build.TaskBase’, ‘bb.event.ParseStarted’, ‘bb.event.ParseProgress’, ‘bb.event.ParseCompleted’, ‘bb.event.CacheLoadStarted’, ‘bb.event.CacheLoadProgress’, ‘bb.event.CacheLoadCompleted’, ‘bb.command.CommandFailed’, ‘bb.command.CommandExit’, ‘bb.command.CommandCompleted’, ‘bb.cooker.CookerExit’, ‘bb.event.MultipleProviders’, ‘bb.event.NoProvider’, ‘bb.runqueue.sceneQueueTaskStarted’, ‘bb.runqueue.runQueueTaskStarted’, ‘bb.runqueue.runQueueTaskFailed’, ‘bb.runqueue.sceneQueueTaskFailed’, ‘bb.event.BuildBase’, ‘bb.build.TaskStarted’, ‘bb.build.TaskSucceeded’, ‘bb.build.TaskFailedSilent’, ‘bb.build.TaskProgress’, ‘bb.event.ProcessStarted’, ‘bb.event.ProcessProgress’, ‘bb.event.ProcessFinished’]]
Running command [‘getVariable’, ‘BB_DEFAULT_TASK’]
Running command [‘setConfig’, ‘cmd’, ‘build’]
Running command [‘buildTargets’, [‘mdm9x28-image-minimal’], ‘build’]
Processing Client
Disconnecting Client
No timeout, exiting.
Exiting
— Starting bitbake server pid 7281 at 2020-10-07 13:45:51.263502 —
Started bitbake server pid 7281
WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
Entering server connection loop
Accepting [<socket.socket fd=7, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ([])
Processing Client
Connecting Client
Running command [‘setFeatures’, [2]]
Running command [‘updateConfig’, {‘dry_run’: False, ‘profile’: False, ‘postfile’: [], ‘debug_domains’: [], ‘server_timeout’: None, ‘dump_signatures’: [], ‘debug’: 0, ‘verbose’: False, ‘extra_assume_provided’: [], ‘force’: False, ‘prefile’: [], ‘abort’: True, ‘invalidate_stamp’: None}, {‘LESSOPEN’: ‘| /usr/bin/lesspipe %s’, ‘PWD’: ‘/home/prab/yocto/build_bin’, ‘SUDO_UID’: ‘1000’, ‘DISPLAY’: ‘:0’, ‘LESSCLOSE’: ‘/usr/bin/lesspipe %s %s’, ‘LOGNAME’: ‘root’, ‘SHLVL’: ‘3’, ‘PATH’: ‘/home/prab/yocto/poky/scripts:/home/prab/yocto/poky/bitbake/bin:/usr/local/bin:/bin:/usr/bin’, ‘BBPATH’: ‘/home/prab/yocto/build_bin’, ‘XAUTHORITY’: ‘/home/prab/.Xauthority’, ‘BUILDDIR’: ‘/home/prab/yocto/build_bin’, ‘LS_COLORS’: ‘rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:’, ‘SUDO_GID’: ‘1000’, ‘MAKE_TERMOUT’: ‘/dev/pts/17’, ‘USER’: ‘root’, ‘TERM’: ‘xterm-256color’, ‘MAIL’: ‘/var/mail/root’, '
’: ‘/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘USERNAME’: ‘root’, ‘MAKEFLAGS’: ‘’, ‘SUDO_COMMAND’: ‘/bin/su’, ‘HOME’: ‘/root’, ‘LC_ALL’: ‘en_US.UTF-8’, ‘LANGUAGE’: ‘en_US’, ‘LANG’: ‘en_US.UTF-8’, ‘SUDO_USER’: ‘prab’, ‘SHELL’: ‘/bin/bash’, ‘MAKE_TERMERR’: ‘/dev/pts/17’, ‘MAKELEVEL’: ‘1’, ‘BB_ENV_EXTRAWHITE’: ‘ALL_PROXY BBPATH_EXTRA BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO DL_DIR FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ‘, ‘MFLAGS’: ‘’, ‘OLDPWD’: ‘/home/prab/yocto/build_bin’}, [’/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘mdm9x28-image-minimal’]]
Running command [‘getVariable’, ‘BBINCLUDELOGS’]
Running command [‘getVariable’, ‘BBINCLUDELOGS_LINES’]
Running command [‘getSetVariable’, ‘BB_CONSOLELOG’]
Running command [‘getUIHandlerNum’]
Running command [‘setEventMask’, 1, 20, {}, [‘bb.runqueue.runQueueExitWait’, ‘bb.event.LogExecTTY’, ‘logging.LogRecord’, ‘bb.build.TaskFailed’, ‘bb.build.TaskBase’, ‘bb.event.ParseStarted’, ‘bb.event.ParseProgress’, ‘bb.event.ParseCompleted’, ‘bb.event.CacheLoadStarted’, ‘bb.event.CacheLoadProgress’, ‘bb.event.CacheLoadCompleted’, ‘bb.command.CommandFailed’, ‘bb.command.CommandExit’, ‘bb.command.CommandCompleted’, ‘bb.cooker.CookerExit’, ‘bb.event.MultipleProviders’, ‘bb.event.NoProvider’, ‘bb.runqueue.sceneQueueTaskStarted’, ‘bb.runqueue.runQueueTaskStarted’, ‘bb.runqueue.runQueueTaskFailed’, ‘bb.runqueue.sceneQueueTaskFailed’, ‘bb.event.BuildBase’, ‘bb.build.TaskStarted’, ‘bb.build.TaskSucceeded’, ‘bb.build.TaskFailedSilent’, ‘bb.build.TaskProgress’, ‘bb.event.ProcessStarted’, ‘bb.event.ProcessProgress’, ‘bb.event.ProcessFinished’]]
Running command [‘getVariable’, ‘BB_DEFAULT_TASK’]
Running command [‘setConfig’, ‘cmd’, ‘build’]
Running command [‘buildTargets’, [‘mdm9x28-image-minimal’], ‘build’]
Processing Client
Disconnecting Client
No timeout, exiting.
Exiting
— Starting bitbake server pid 18086 at 2020-10-07 13:57:29.864731 —
Started bitbake server pid 18086
WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
Entering server connection loop
Accepting [<socket.socket fd=7, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ()
Processing Client
Connecting Client
Running command [‘setFeatures’, [2]]
Running command [‘updateConfig’, {‘debug_domains’: , ‘dump_signatures’: , ‘postfile’: , ‘prefile’: , ‘extra_assume_provided’: , ‘server_timeout’: None, ‘debug’: 0, ‘verbose’: False, ‘abort’: True, ‘profile’: False, ‘force’: False, ‘invalidate_stamp’: None, ‘dry_run’: False}, {‘TERM’: ‘xterm-256color’, ‘OLDPWD’: ‘/home/prab/yocto/build_bin’, ‘XAUTHORITY’: ‘/home/prab/.Xauthority’, ‘_’: ‘/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘PATH’: ‘/home/prab/yocto/poky/scripts:/home/prab/yocto/poky/bitbake/bin:/usr/local/bin:/bin:/usr/bin’, ‘DISPLAY’: ‘:0’, ‘MAKE_TERMOUT’: ‘/dev/pts/17’, ‘BB_ENV_EXTRAWHITE’: ‘ALL_PROXY BBPATH_EXTRA BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO DL_DIR FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ‘, ‘MAKE_TERMERR’: ‘/dev/pts/17’, ‘USER’: ‘root’, ‘SUDO_USER’: ‘prab’, ‘SHELL’: ‘/bin/bash’, ‘BBPATH’: ‘/home/prab/yocto/build_bin’, ‘LESSOPEN’: ‘| /usr/bin/lesspipe %s’, ‘HOME’: ‘/root’, ‘SHLVL’: ‘3’, ‘BUILDDIR’: ‘/home/prab/yocto/build_bin’, ‘LANG’: ‘en_US.UTF-8’, ‘USERNAME’: ‘root’, ‘SUDO_GID’: ‘1000’, ‘MAKELEVEL’: ‘1’, ‘LS_COLORS’: ‘rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:’, ‘SUDO_COMMAND’: ‘/bin/su’, ‘MAIL’: ‘/var/mail/root’, ‘LESSCLOSE’: ‘/usr/bin/lesspipe %s %s’, ‘LOGNAME’: ‘root’, ‘MAKEFLAGS’: ‘’, ‘MFLAGS’: ‘’, ‘LANGUAGE’: ‘en_US’, ‘LC_ALL’: ‘en_US.UTF-8’, ‘PWD’: ‘/home/prab/yocto/build_bin’, ‘SUDO_UID’: ‘1000’}, [’/home/prab/yocto/poky/bitbake/bin/bitbake’, ‘mdm9x28-image-minimal’]]
Running command [‘getVariable’, ‘BBINCLUDELOGS’]
Running command [‘getVariable’, ‘BBINCLUDELOGS_LINES’]
Running command [‘getSetVariable’, ‘BB_CONSOLELOG’]
Running command [‘getUIHandlerNum’]
Running command [‘setEventMask’, 1, 20, {}, [‘bb.runqueue.runQueueExitWait’, ‘bb.event.LogExecTTY’, ‘logging.LogRecord’, ‘bb.build.TaskFailed’, ‘bb.build.TaskBase’, ‘bb.event.ParseStarted’, ‘bb.event.ParseProgress’, ‘bb.event.ParseCompleted’, ‘bb.event.CacheLoadStarted’, ‘bb.event.CacheLoadProgress’, ‘bb.event.CacheLoadCompleted’, ‘bb.command.CommandFailed’, ‘bb.command.CommandExit’, ‘bb.command.CommandCompleted’, ‘bb.cooker.CookerExit’, ‘bb.event.MultipleProviders’, ‘bb.event.NoProvider’, ‘bb.runqueue.sceneQueueTaskStarted’, ‘bb.runqueue.runQueueTaskStarted’, ‘bb.runqueue.runQueueTaskFailed’, ‘bb.runqueue.sceneQueueTaskFailed’, ‘bb.event.BuildBase’, ‘bb.build.TaskStarted’, ‘bb.build.TaskSucceeded’, ‘bb.build.TaskFailedSilent’, ‘bb.build.TaskProgress’, ‘bb.event.ProcessStarted’, ‘bb.event.ProcessProgress’, ‘bb.event.ProcessFinished’]]
Running command [‘getVariable’, ‘BB_DEFAULT_TASK’]
Running command [‘setConfig’, ‘cmd’, ‘build’]
Running command [‘buildTargets’, [‘mdm9x28-image-minimal’], ‘build’]
Processing Client
Disconnecting Client
No timeout, exiting.
Exiting

Makefile:300: recipe for target ‘image_bin’ failed
make: *** [image_bin] Error 1

Does anyone have a solution to this error?
Also, whether I am taking the correct steps in creating a custom image containing python.

Thank you,
Prabjot

How about just type “make” in yocto folder?

still fails… says unable to create pyshtables.py … permission denied

Also, the error: unable to start bitbake server

Have you tried to revert back to original code and see if you can build the source code first?

Yes errors above are from the original code with no changes made

See if this is related:

He had the permissions issue in Fedora and then fixed it by switching to Ubuntu.

I have the permissions issue in Ubuntu :confused:

Also did:
sudo chmod a+rwx /directory
but still have the same issue

Do not use sudo.
Also you can have a look on this

fixed the user permissions, now when I run make gets stuck at:
build image of minimal rootfs

When I cancel shows the following error:
BlockingIOError: resource temporarily unavailable

something about a server connection error

Suggest trying with real pc ubuntu.

HI!

Just setup Ubuntu on my computer instead of using VM.
This is the error when I run make:

uild image of minimal rootfs (for swi-mdm9x28).
Traceback (most recent call last):
File “/home/asw/yocto/poky/bitbake/bin/bitbake”, line 47, in
sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv),
File “/home/asw/yocto/poky/bitbake/lib/bb/main.py”, line 392, in bitbake_main
return ui_module.main(server_connection.connection, server_connection.events,
File “/home/asw/yocto/poky/bitbake/lib/bb/ui/knotty.py”, line 413, in main
consolelog = logging.FileHandler(consolelogfile)
File “/usr/lib/python3.8/logging/init.py”, line 1143, in init
StreamHandler.init(self, self._open())
File “/usr/lib/python3.8/logging/init.py”, line 1172, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: ‘/home/asw/yocto/build_bin/tmp/log/cooker/swi-mdm9x28-wp/20201017213310.log’
make: *** [Makefile:300: image_bin] Error 1

How did you fix the permission problem before?

Oh yes! Thanks!

Now I receive the following warnings and make error:

WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Host distribution “ubuntu-20.04” has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
WARNING: /home/asw/yocto/meta-swi-extras/meta-swi-mdm9x28-bin/recipes/swimtd/swimtd_git.bb: Unable to get checksum for swimtd SRC_URI entry swimtd-bin.tar.bz2: file could not be found
Parsing recipes: 100% |###########################################################| Time: 1 day, 8:30:11Parsing of 2164 .bb files complete (0 cached, 2164 parsed). 3083 targets, 343 skipped, 0 masked, 0 errors.1
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime gps-utils (gps-utils, gpsd)
Consider defining a PREFERRED_RPROVIDER entry to match gps-utils

Build Configuration:
BB_VERSION = “1.38.0”
BUILD_SYS = “aarch64-linux”
NATIVELSBSTRING = “ubuntu-20.04”
TARGET_SYS = “arm-poky-linux-gnueabi”
MACHINE = “swi-mdm9x28-wp”
DISTRO = “poky-swi-ext”
DISTRO_VERSION = “2.5.3”
TUNE_FEATURES = “arm armv7a vfp neon”
TARGET_FPU = “softfp”
meta
meta-poky
meta-yocto-bsp = “HEAD:cbb677e9a09d5dad34404a851f7c23aeb5122465”
meta-oe
meta-networking
meta-python = “HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f”
meta-gplv2 = “HEAD:813b7d2b5573d8591c6cd8087b326f0a0703d6b9”
common
meta-swi-mdm9xxx
meta-swi-mdm9x28 = “HEAD:62a9465b731f6866cf159e11ceb037ba3242203d”
common
meta-swi-mdm9x28
meta-swi-mdm9xxx-bin
meta-swi-mdm9x28-bin
meta-swi-mdm9x28-wp-bin = “HEAD:c0aad6c6bc29e4953e26a418824c4d55c3a73b74”

ERROR: Uninative selected but not configured correctly, please set UNINATIVE_CHECKSUM[aarch64]

Summary: There were 4 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [Makefile:300: image_bin] Error 1

How can I set the UNINATIVE_CHECKSUM?

Never see such issue.
I used x86 64 bit machine instead of aarch64 ARM machine to compile:

Build Configuration:
BB_VERSION = “1.38.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “universal-4.8”
TARGET_SYS = “arm-poky-linux-gnueabi”
MACHINE = “swi-mdm9x28-wp”
DISTRO = “poky-swi-ext”
DISTRO_VERSION = “2.5.2”
TUNE_FEATURES = “arm armv7a vfp neon”
TARGET_FPU = “softfp”

I added the following to the file conf/local.conf:
INHERIT_remove = “uninative”

After that I ran make and get the following
| ERROR: Function failed: do_compile (log file is located at /home/asw/yocto/build_bin/tmp/work/aarch64-linux/bison-native/3.0.4-r0/temp/log.do_compile.86955)
ERROR: Task (virtual:native:/home/asw/yocto/poky/meta/recipes-devtools/bison/bison_3.0.4.bb:do_compile) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 143 tasks of which 0 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
virtual:native:/home/asw/yocto/poky/meta/recipes-devtools/bison/bison_3.0.4.bb:do_compile
Summary: There were 5 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
make: *** [Makefile:300: image_bin] Error 1

Result when running make on x86 64 bit machine with Ubuntu 18:
error (15.5 KB)

Seems need to install java

/home/aswsim/Downloads/yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/lk/1.3.0-r2/recipe-sysroot-native/usr/share/android-signing/verity/boot_signer: line 8: java: command not found

So I ran bitbake core-image-minimal and got no error. Is there a difference building the image using bitbake versus using make?

Also, after installing java and running the make command I got no errors and just a couple of warnings:
aswsim@aswsim-Precision-Tower-3620:~ cd '/home/aswsim/Downloads/yocto' aswsim@aswsim-Precision-Tower-3620:~/Downloads/yocto make
Makefile:71: “Legato: build disabled since ‘/home/aswsim/Downloads/yocto/legato/’ does not exist”
“meta-swi/build.sh” -p poky/ -o meta-openembedded/ -l meta-swi -x “kernel” -j 9 -t 9 -a LK_REPO_DIR="/home/aswsim/Downloads/yocto" -a LK_REPO_NAME=“lk” -a LK_REPO=“file://lk” -m swi-mdm9x28 -P wp -b build_bin -q
Poky dir: /home/aswsim/Downloads/yocto/poky
OE meta: /home/aswsim/Downloads/yocto/meta-openembedded
SWI meta dir: /home/aswsim/Downloads/yocto/meta-swi
Linux repo dir: /home/aswsim/Downloads/yocto/kernel
Number of make threads 9
Number of bitbake tasks 9
Extra options added - LK_REPO_DIR=/home/aswsim/Downloads/yocto
Extra options added - LK_REPO_NAME=lk
Extra options added - LK_REPO=file://lk
SWI machine: swi-mdm9x28
SWI product: wp
Build dir: /home/aswsim/Downloads/yocto/build_bin
Enable Qualcomm Proprietary bin

Shell environment set up for builds.

You can now run 'bitbake ’

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-ide-support

You can also run generated qemu images with a command like ‘runqemu qemux86’

  • layer: meta-oe
  • layer: meta-networking
  • layer: meta-python
  • layer: meta-gplv2
  • layer: meta-swi/common
  • layer: meta-swi/meta-swi-mdm9xxx
  • layer: meta-swi/meta-swi-mdm9x28
  • layer: meta-swi-extras/common
  • layer: meta-swi-extras/meta-swi-mdm9x28
  • layer: meta-swi-extras/meta-swi-mdm9xxx-bin
  • layer: meta-swi-extras/meta-swi-mdm9x28-bin
  • layer: meta-swi-extras/meta-swi-mdm9x28-wp-bin
    Yocto machine: swi-mdm9x28-wp
    Updating LEGATO_BUILD to false
    Updating IMA_BUILD to false
    Updating IMA_CONFIG to
    Updating IMA_LOCAL_CA_X509 to
    Updating IMA_PRIV_KEY to
    Updating IMA_PUB_CERT to
    Updating IMA_KERNEL_CMDLINE_OPTIONS to
    Updating ENABLE_IMA to 0
    Updating IMA_PUBLIC_CERT to
    Updating IMA_PRIVATE_KEY to
    Updating IMA_SMACK to
    Updating ENABLE_FX30 to
    Updating ROOTFS_VERSION to
    Updating LK_REPO_DIR to /home/aswsim/Downloads/yocto
    Updating LK_REPO_NAME to lk
    Updating LK_REPO to file://lk
    Updating EXT_SWI_IMG to false
    Updating INITRAMFS_IMAGE_BUNDLE to 1
    Updating INITRAMFS_IMAGE to mdm9x28-image-initramfs
    Updating FIRMWARE_PATH to
    Updating PACKAGECONFIG_remove to gnutls
    Build image of minimal rootfs (for swi-mdm9x28).
    WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
    WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
    Loading cache: 100% |############################################| Time: 0:00:00
    Loaded 3082 entries from dependency cache.
    Parsing recipes: 100% |##########################################| Time: 0:00:01
    Parsing of 2164 .bb files complete (2163 cached, 1 parsed). 3083 targets, 339 skipped, 0 masked, 0 errors.
    NOTE: Resolving any missing task queue dependencies
    NOTE: Multiple providers are available for runtime gps-utils (gps-utils, gpsd)
    Consider defining a PREFERRED_RPROVIDER entry to match gps-utils

Build Configuration:
BB_VERSION = “1.38.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “universal”
TARGET_SYS = “arm-poky-linux-gnueabi”
MACHINE = “swi-mdm9x28-wp”
DISTRO = “poky-swi-ext”
DISTRO_VERSION = “2.5.3”
TUNE_FEATURES = “arm armv7a vfp neon”
TARGET_FPU = “softfp”
meta
meta-poky
meta-yocto-bsp = “HEAD:cbb677e9a09d5dad34404a851f7c23aeb5122465”
meta-oe
meta-networking
meta-python = “HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f”
meta-gplv2 = “HEAD:813b7d2b5573d8591c6cd8087b326f0a0703d6b9”
common
meta-swi-mdm9xxx
meta-swi-mdm9x28 = “HEAD:62a9465b731f6866cf159e11ceb037ba3242203d”
common
meta-swi-mdm9x28
meta-swi-mdm9xxx-bin
meta-swi-mdm9x28-bin
meta-swi-mdm9x28-wp-bin = “HEAD:c0aad6c6bc29e4953e26a418824c4d55c3a73b74”

WARNING: Unable to get checksum for linux-quic SRC_URI entry sierra: [Errno 2] No such file or directory: ‘/home/aswsim/Downloads/yocto/kernel/arch/arm/mach-msm/sierra/sierra’
Initialising tasks: 100% |#######################################| Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: ima-policy-1.0-r1 do_install: IMA: Immutable files will not be protected.
WARNING: mdm9x28-image-minimal-1.0-r0.0 do_rootfs: The license listed QCA-TSPA was not in the licenses collected for recipe qca9377-bt-firmware
WARNING: mdm9x28-image-minimal-1.0-r0.0 do_rootfs: The license listed TI-TSPA was not in the licenses collected for recipe wl18xx-firmware
NOTE: Tasks Summary: Attempted 3867 tasks of which 2716 didn’t need to be rerun and all succeeded.

Summary: There were 6 WARNING messages shown.

Normally i use make command