Build error in bitbake imx-image-multimedia

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build error in bitbake imx-image-multimedia

401 Views
ShivM
Contributor II
Hi,
 
I am trying to build  imx-image-multimedia for IMX8MPLus EVK.
I set MACHINE = 'imx8mpevk' and  DISTRO = 'fsl-imx-wayland'
Build configuration is as follows:
Build Configuration:
BB_VERSION           = "1.48.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8mpevk"
DISTRO               = "fsl-imx-wayland"
DISTRO_VERSION       = "5.10-gatesgarth"
TUNE_FEATURES        = "aarch64 armv8a crc cortexa53 crypto"
 
Below is the error message I got:
 
ERROR: 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: <module>
     0001:
 *** 0002:sstate_task_postfunc(d)
     0003:
File: '/home/shiv/bin/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 766, function: sstate_task_postfunc
     0762:
     0763:    omask = os.umask(0o002)
     0764:    if omask != 0o002:
     0765:       bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
 *** 0766:    sstate_package(shared_state, d)
     0767:    os.umask(omask)
     0768:
     0769:    sstateinst = d.getVar("SSTATE_INSTDIR")
     0770:    d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
File: '/home/shiv/bin/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 642, function: sstate_package
     0638:    tmpdir = d.getVar('TMPDIR')
     0639:
     0640:    sstatebuild = d.expand("${WORKDIR}/sstate-build-%s/" % ss['task'])
     0641:    d.setVar("SSTATE_CURRTASK", ss['task'])
 *** 0642:    bb.utils.remove(sstatebuild, recurse=True)
     0643:    bb.utils.mkdirhier(sstatebuild)
     0644:    for state in ss['dirs']:
     0645:        if not os.path.exists(state[1]):
     0646:            continue
File: '/home/shiv/bin/imx-yocto-bsp/sources/poky/bitbake/lib/bb/utils.py', lineno: 685, function: remove
     0681:        # shutil.rmtree(name) would be ideal but its too slow
     0682:        cmd = []
     0683:        if ionice:
     0684:            cmd = ['ionice', '-c', '3']
 *** 0685:        subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
     0686:        return
     0687:    for name in glob.glob(path):
     0688:        try:
     0689:            os.unlink(name)
File: '/usr/lib/python3.6/subprocess.py', lineno: 311, function: check_call
     0307:    if retcode:
     0308:        cmd = kwargs.get("args")
     0309:        if cmd is None:
     0310:            cmd = popenargs[0]
 *** 0311:        raise CalledProcessError(retcode, cmd)
     0312:    return 0
     0313:
     0314:
     0315:def check_output(*popenargs, timeout=None, **kwargs):
Exception: subprocess.CalledProcessError: Command '['rm', '-rf', '/home/shiv/bin/imx-yocto-bsp/buildmedia/tmp/work/cortexa53-crypto-mx8mp-poky-linux/gtk+3/3.24.22-r0/sstate-build-package/']' died with <Signals.SIGABRT: 6>.

DEBUG: Python function sstate_task_postfunc finished
 
Can you help me solve this issue?
0 Kudos
1 Reply

395 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

Before compling linux bsp, you need to some dependency packages. you can refer to the document to configure your ubuntu 18.04/20.4 LTS, enven debian-10.

 

https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/WiFi-BT-Integretion-Linux-BSP-compilati...

 

Have a nice day!

B.R,

weidong

 

0 Kudos