Error in bitbake. Env- Ubuntu 14.04 , Linux SDK 2.0 , PPCe5500 .

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in bitbake. Env- Ubuntu 14.04 , Linux SDK 2.0 , PPCe5500 .

1,937 Views
sreekumartp
Contributor I

I get the following error  while during bitbake-

~/QorIQ-SDK-V2.0-20160527-yocto/build_t1024rdb-64b$ bitbake fsl-image-full
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 3 entries from dependency cache.
NOTE: Error during finalise of /home/sree/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/meta/recipes-core/meta/meta-environment-extsdk.bb
ERROR: Exception during parse: Traceback (most recent call last):
File "/home/sree/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/cooker.py", line 2102, in parse_next
parsed, result = self.results.next()
File "/home/sree/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/cooker.py", line 2088, in parse_generator
result = self.result_queue.get(timeout=0.25)
File "/opt/python-2.7.6/lib/python2.7/multiprocessing/queues.py", line 135, in get
res = self._recv()
TypeError: ('__init__() takes at least 2 arguments (1 given)', <class 'bb.process.CmdError'>, ())

Summary: There was 1 ERROR message shown, returning a non-zero exit code

Labels (1)
Tags (1)
0 Kudos
3 Replies

228 Views
Pavel
NXP TechSupport
NXP TechSupport

Check permission for /opt folder.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

228 Views
Pavel
NXP TechSupport
NXP TechSupport

We usually use the following command sequence for SDK installing under Ubuntu 14.04 and Ubuntu 16.04:

 

  1. sudo apt-get install ubuntu-minimal ubuntu-standard patch vim-common sed wget subversion git-core coreutils libbonobo2-common unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat make gcc build-essential xz-utils g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool xterm libncurses5-dev cvs tofrodos

 

  1. a) command: ls -l /bin/sh

Message on the screen:

/bin/sh -> dash

  1. b) command: sudo dpkg-reconfigure dash

Answer after password – No

Message on the screen:

Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'

Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'

Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'

Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'

  1. c) command for checking: ls -l /bin/sh

Message on the screen:

/bin/sh -> bash

  1. install SDK cache:
  2. install SDK source
  3. cd <sdk-install-dir>.
  4. ./sources/meta-freescale/scripts/host-prepare.sh

Usually Linux recommends also run the following command: sudo usr/sbin/visudo

  1. bitbake fsl-image-minimal
  2. bitbake fsl-image-full


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

228 Views
zhuvictor
Contributor I

After I  use the following command sequence for SDK installing, It does not work.

iZ2ze0lxdukyoajubxlfylZ:~/fsl-release-bsp/imx6q-x11$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Oct 28 19:51 /bin/sh -> bash

Please help me.

0 Kudos