yocto bulid error on ubuntu 14.04

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

yocto bulid error on ubuntu 14.04

2,396 Views
whb_18718
Contributor I
wang@wang-VirtualBox:~/fsl-release-bsp$  DISTRO=fsl-imx-x11 MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11
 Build directory is  build-x11
Configuring for imx6qsabresd
  File "<string>", line 1
    import sys; print sys.version_info >= (2,7,3)
                        ^
SyntaxError: invalid syntax
BitBake requires Python 2.7.3 or later
 ERROR - No build directory is set yet. Run the 'setup-environment' script before running this script to create  .

wang@wang-VirtualBox:~/fsl-release-bsp/sources/poky$ python --version
Python 3.4.3

my python version is 3.4.3 is later than 2.7.3  .so What's the reason? 

0 Kudos
10 Replies

1,973 Views
shaneggpierce
Contributor I

Having gimp similar issue and freejobalert need help ASAP.


Thanks in advance.
Regards,

Shane.

0 Kudos

1,973 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

Are you using the ubuntu 14.04? If yes, recommend you to try use the ubuntu 16.04.

Have a nice day

Rita

0 Kudos

1,973 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

Which version BSP and board are you using?

Have a nice day

Rita

0 Kudos

1,973 Views
whb_18718
Contributor I

  BSP : imx-3.14.52-1.1.0_ga

board : imx6qsabresd

0 Kudos

1,973 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi haibo,

I have confirmed it for you that, you can use the ubuntu 16.04 to build the BSP on yocto. It can work well.

Have a nice day

Rita

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

1,973 Views
whb_18718
Contributor I

so ubuntu 14.04 is indeed a problem to build the BSP on yocto?  but Freescale documentation is available with Ubuntu 14.04 

0 Kudos

1,973 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Recommend you to use the ubuntu 16.04

0 Kudos

1,973 Views
whb_18718
Contributor I

If patches fix this problem, I hope use the ubuntu 14.04。 can you tell me how to do it .thanks

0 Kudos

1,973 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi haibo,

I have confirmed it for you that the most convenient way is to use the ubuntu 16.04.  I do not know what patched needed in the ubuntu 14.04. We have build the bsp with the yocto in the ubuntu 16.04, success. So recommend to use the ubuntu 16.04. Hope this can do help for you.

Have a nice day

Rita

0 Kudos

1,973 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

We have tested that on the ubuntu 16.04 the BSP can build success well. The ubuntu 14.04 need more patches.

0 Kudos