Skip to contentSkip to conversation

Problem in the building phase - Yocto 2.4.1 for Siemens IoT 2040 (Intel Quark)

DISCUSSION Pulizzotto Alessio (COMAU) 4 participants 4 messages Feb 22, 2018 – Feb 26, 2018

lore
Share & tools
lore
#0 lore raw

Hello,

I'm writing you because I have some problems with the building of an 2.4.1 image of the Yocto.

I am using a Siemens IoT 2040 hardware witch have an intel quark cpu.

My error is the follow, in the "bitbake name-image":

"ExpansionError during parsing ***/poky/meta-java/recipies-extended/xmlpull/xmlpull_1.1.3.4c.bb"

And at the end:

"module bb.data has no attribute 'getVar'"

Do you have any suggestions to resolve it?

I am trying to build the image using Ubuntu 17 (I know that this OS hasn't been tested for this procedure).

Thank you in advance

Best Regards

Alessio Pulizzotto
Automation Engineer

Comau S.p.A. - Automation Systems
Via Rivalta 49 - 10095 Grugliasco (To) - Italy
e-mail: [email protected]<mailto:[email protected]>

#1 lore raw
Quoted 20 lines · Pulizzotto Alessio (COMAU)

Hello,

I’m writing you because I have some problems with the building of an 2.4.1 image of the Yocto.

I am using a Siemens IoT 2040 hardware witch have an intel quark cpu.

My error is the follow, in the “bitbake name-image”:

“ExpansionError during parsing ***/poky/meta-java/recipies-extended/xmlpull/xmlpull_1.1.3.4c.bb”

Quoted 7 lines

And at the end:

“module bb.data has no attribute ‘getVar’”

This error suggests that you are using an older version of meta-java. You should try to use the latest.

Thanks,
Anuj

#2 lore raw
In reply to Pulizzotto Alessio (COMAU)
Quoted 7 lines · Pulizzotto Alessio (COMAU)

Hello,

I’m writing you because I have some problems with the building of an 2.4.1 image of the Yocto.

I am using a Siemens IoT 2040 hardware witch have an intel quark cpu.

Quoted 9 lines

My error is the follow, in the “bitbake name-image”:

“ExpansionError during parsing ***/poky/meta-java/recipies-extended/xmlpull/xmlpull_1.1.3.4c.bb”

And at the end:

“module bb.data has no attribute ‘getVar’”

I am currently building for a product using Quark + Java running YP 2.4.1. Here are the SHAs that are working for me:

meta-yocto-bsp
yocto-2.4.1
c2b641c8a0c4fd71fcb477d788a740c2c26cddce

meta-intel
8.0-rocko-2.4
d68dda959b5bf6f90aa8e5c2f027be324bb68e14

meta-java
master
03e35bf64f97980652ac532cca0ea96e730a551c

Cheers,
Stephano

#3 lore raw

Hi,

Quoted 10 lines · Stephano Cetola
Quoted 9 lines · Pulizzotto Alessio (COMAU)

Hello,

I’m writing you because I have some problems with the building of an 2.4.1 image of the Yocto.

I am using a Siemens IoT 2040 hardware witch have an intel quark cpu.

My error is the follow, in the “bitbake name-image”:

Quoted 7 lines
Quoted 7 lines

“ExpansionError during parsing ***/poky/meta-java/recipies-extended/xmlpull/xmlpull_1.1.3.4c.bb”

And at the end:

“module bb.data has no attribute ‘getVar’”

Tried building xmlpull for qemux86 with oe-core master branch.

meta-java:
master branch
commit: fbe0b0eb30d93f5fa2101fb015f20c1dc118b4a6

It builds fine. Could you build with "rocko" branch of meta-java and see if that fixes this error ?

Quoted 11 lines

I am currently building for a product using Quark + Java running YP 2.4.1. Here are the SHAs that are working for me:

meta-yocto-bsp
yocto-2.4.1
c2b641c8a0c4fd71fcb477d788a740c2c26cddce

meta-intel
8.0-rocko-2.4
d68dda959b5bf6f90aa8e5c2f027be324bb68e14

Quoted 7 lines

meta-java
master
03e35bf64f97980652ac532cca0ea96e730a551c

Cheers,
Stephano

Best Regards,
Maxin