AnsweredAssumed Answered

安装QorIQ-SDK-V2.0-20160527-yocto时,执行bitbake fsl-image-minimal报错

Question asked by TianLu Sui on Apr 11, 2018
Latest reply on Apr 11, 2018 by TianLu Sui

安装QorIQ-SDK-V2.0-20160527-yocto时,执行bitbake fsl-image-minimal之后打印如下,出现如下错误:

/home/QorIQ/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin/bitbake fsl-image-minimal
WARNING: Host distribution "Ubuntu-16.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.
Loading cache...done.
Loaded 6050 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "powerpc64-fsl-linux"
MACHINE = "t1042d4rdb-64b"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "2.0"
TUNE_FEATURES = "m64 fpu-hard e5500"
TARGET_FPU = "hard"
meta
meta-yocto
meta-yocto-bsp = "HEAD:9a211a4a2c1bfcb292dc97d8dcac149bca9e3f1b"
meta-oe
meta-multimedia
meta-gnome
meta-networking
meta-perl
meta-python
meta-ruby
meta-filesystems
meta-webserver
meta-xfce = "HEAD:dc5634968b270dde250690609f0015f881db81f2"
meta-freescale = "HEAD:7facbdb726e2dda0515e084c2066a4b8dd99c6d2"
meta-freescale-internal = "HEAD:4829293f807e35a1111e79763294fc8b98b97810"
meta-freescale-extra = "HEAD:bee911b027e0480b034674d0ddee3fcb06d2e985"
meta-virtualization = "HEAD:042425c1d98bdd7e44a62789bd03b375045266f5"
meta-java = "HEAD:8b776ac68f9af4596be3824152bcf0bc6b67fa1d"
meta-openstack
meta-openstack-aio-deploy
meta-openstack-compute-deploy
meta-openstack-compute-test-config
meta-openstack-controller-deploy
meta-openstack-controller-test-config
meta-openstack-qemu
meta-openstack-swift-deploy
meta-cloud-services = "HEAD:d8bc0d92d0f741e2ea1e6d3d9bc6b7a091d03cfb"
meta-security = "HEAD:f9367e71f923fc7d2fb600208e2b97535ea41777"

NOTE: Preparing RunQueue
ERROR: An uncaught exception occured in runqueue, please see the failure below:
ERROR: Running idle function
Traceback (most recent call last):
File "/home/QorIQ/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/runqueue.py", line 1060, in RunQueue._execute_runqueue():
else:
> self.start_worker()
self.rqexe = RunQueueExecuteScenequeue(self)
File "/home/QorIQ/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/runqueue.py", line 931, in RunQueue.start_worker():
self.teardown = False
> self.worker, self.workerpipe = self._start_worker()

File "/home/QorIQ/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/runqueue.py", line 884, in RunQueue._start_worker(fakeroot=False, rqexec=None):
else:
> worker = subprocess.Popen(["bitbake-worker", magic], stdout=subprocess.PIPE, stdin=subprocess.PIPE)
bb.utils.nonblockingfd(worker.stdout)
File "/opt/Python-2.7.6/Lib/subprocess.py", line 709, in Popen.__init__(args=['bitbake-worker', 'decafbad'], bufsize=0, executable=None, stdin=-1, stdout=-1, stderr=None, preexec_fn=None, close_fds=False, shell=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0):
c2pread, c2pwrite,
> errread, errwrite)
except Exception:
File "/opt/Python-2.7.6/Lib/subprocess.py", line 1326, in Popen._execute_child(args=['bitbake-worker', 'decafbad'], executable='bitbake-worker', preexec_fn=None, close_fds=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0, shell=False, to_close=set([14, 15]), p2cread=10, p2cwrite=14, c2pread=15, c2pwrite=16, errread=None, errwrite=None):
child_exception = pickle.loads(data)
> raise child_exception

OSError: [Errno 2] No such file or directory

 

 

编译目的是得到t1042的交叉编译工具。

使用的操作系统为Ubuntu-16.04.2

请问是否需要更换操作系统或者是哪一步需要修正,希望可以得到指正,不胜感激

Outcomes