Skip to contentSkip to conversation

commit b72cb13fcf83b9d342808ea30379bfb6a1321b54 breaks parse

DISCUSSION Andreas Müller 3 participants 6 messages Dec 20, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I thought I sent it alrerady but cannot find it in mailing archive. If you have already received simply ignore.

On all my build machines I get

Loading cache: 100% | ##############################################################################################################################################|
ETA: 00:00:00
Loaded 1880 entries from dependency cache.
ERROR: Unable to parse /home/andreas/data/oe-core/sources/meta-ti/recipes-
kernel/linux/linux_3.1.bb
| ETA: --:--:--
Traceback (most recent call last):
File "/home/andreas/oe-core/sources/bitbake/lib/bb/parse/ast.py", line 379,
in multi_finalize(fn='/home/andreas/data/oe-core/sources/meta-ti/recipes-
kernel/linux/linux_3.1.bb', d=<bb.data_smart.DataSmart object at 0x7cec6d0>):
try:
> finalize(fn, d)
except bb.parse.SkipPackage as e:
File "/home/andreas/oe-core/sources/bitbake/lib/bb/parse/ast.py", line 323,
in finalize(fn='/home/andreas/data/oe-core/sources/meta-ti/recipes-
kernel/linux/linux_3.1.bb', d=<bb.data_smart.DataSmart object at 0x7cec6d0>,
variant=None):

             code.append("%s(d)" % funcname)
    >    bb.utils.simple_exec("\n".join(code), {"d": d})
         bb.data.update_data(d)

File "/home/andreas/oe-core/sources/bitbake/lib/bb/utils.py", line 387, in
simple_exec(code='__anon_119__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_staging_bbclass(d)\n__anon_487__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_base_bbclass(d)\n__anon_20__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_debian_bbclass(d)\n__anon_19__home_andreas_data_oe_core_sources_meta_openembedded_meta_oe_classes_blacklist_bbclass(d)\n__anon_189__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_package_bbclass(d)\n__anon_55__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_sstate_bbclass(d)\n__anon_447__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_package_ipk_bbclass(d)\n__anon_28__home_andreas_data_oe_core_sources_meta_openembedded_meta_oe_classes_kernel_bbclass(d)\n__anon_119__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_siteinfo_bbclass(d)\n__anon_72__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d)\n__anon_277__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d)', context={'d': <bb.data_smart.DataSmart object at 0x7cec6d0>}):
def simple_exec(code, context):
> exec(code, _context, context)

File "<string>", line 11, in <module>
File
"__anon_277__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc",
line 7, in __anon_277__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d=<bb.data_smart.DataSmart object at 0x7cec6d0>)
IOError: [Errno 2] No such file or directory:
'/home/andreas/data/Downloads/packets/dl/defconfig'

Notes:

* /home/andreas/data/Downloads/packets/dl is my download directory
* reverting b72cb13fcf83b9d342808ea30379bfb6a1321b54 fixed build

Andreas

#1 lore raw

Op 20 dec. 2011, om 11:15 heeft Andreas Müller het volgende geschreven:

Quoted 35 lines

Hi,

I thought I sent it alrerady but cannot find it in mailing archive. If you have already received simply ignore.

On all my build machines I get

Loading cache: 100% | ##############################################################################################################################################|
ETA: 00:00:00
Loaded 1880 entries from dependency cache.
ERROR: Unable to parse /home/andreas/data/oe-core/sources/meta-ti/recipes-
kernel/linux/linux_3.1.bb
| ETA: --:--:--
Traceback (most recent call last):
File "/home/andreas/oe-core/sources/bitbake/lib/bb/parse/ast.py", line 379,
in multi_finalize(fn='/home/andreas/data/oe-core/sources/meta-ti/recipes-
kernel/linux/linux_3.1.bb', d=<bb.data_smart.DataSmart object at 0x7cec6d0>):
try:

Quoted 1 line

finalize(fn, d)

except bb.parse.SkipPackage as e:
File "/home/andreas/oe-core/sources/bitbake/lib/bb/parse/ast.py", line 323,
in finalize(fn='/home/andreas/data/oe-core/sources/meta-ti/recipes- kernel/linux/linux_3.1.bb', d=<bb.data_smart.DataSmart object at 0x7cec6d0>, variant=None):

            code.append("%s(d)" % funcname)
Quoted 1 line

bb.utils.simple_exec("\n".join(code), {"d": d})

bb.data.update_data(d)
File "/home/andreas/oe-core/sources/bitbake/lib/bb/utils.py", line 387, in
simple_exec(code='__anon_119__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_staging_bbclass(d)\n__anon_487__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_base_bbclass(d)\n__anon_20__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_debian_bbclass(d)\n__anon_19__home_andreas_data_oe_core_sources_meta_openembedded_meta_oe_classes_blacklist_bbclass(d)\n__anon_189__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_package_bbclass(d)\n__anon_55__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_sstate_bbclass(d)\n__anon_447__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_package_ipk_bbclass(d)\n__anon_28__home_andreas_data_oe_core_sources_meta_openembedded_meta_oe_classes_kernel_bbclass(d)\n__anon_119__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_siteinfo_bbclass(d)\n__anon_72__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d)\n__anon_2 77__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d)',
context={'d': <bb.data_smart.DataSmart object at 0x7cec6d0>}):
def simple_exec(code, context):

Quoted 1 line

exec(code, _context, context)

Quoted 8 lines

File "<string>", line 11, in <module>
File
"__anon_277__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc",
line 7, in __anon_277__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d=<bb.data_smart.DataSmart object at 0x7cec6d0>)
IOError: [Errno 2] No such file or directory:
'/home/andreas/data/Downloads/packets/dl/defconfig'

I'm not seeing any of that, but I'm keeping an eye on it.

#2 lore raw
Quoted 15 lines · Koen Kooi

Op 20 dec. 2011, om 11:15 heeft Andreas Müller het volgende geschreven:

Quoted 13 lines

On all my build machines I get

Loading cache: 100% |
#########################################################################
#####################################################################|
ETA: 00:00:00
Loaded 1880 entries from dependency cache.
ERROR: Unable to parse /home/andreas/data/oe-core/sources/meta-ti/recipes- kernel/linux/linux_3.1.bb
...
IOError: [Errno 2] No such file or directory:
'/home/andreas/data/Downloads/packets/dl/defconfig'

Quoted 1 line

I'm not seeing any of that, but I'm keeping an eye on it.

Hm.. can you try to set DL_DIR outside of OE_BASE?

Andreas

#3 lore raw

Op 20 dec. 2011, om 11:55 heeft Andreas Müller het volgende geschreven:

Quoted 16 lines · Koen Kooi
Quoted 15 lines

Op 20 dec. 2011, om 11:15 heeft Andreas Müller het volgende geschreven:

Quoted 13 lines

On all my build machines I get

Loading cache: 100% |
#########################################################################
#####################################################################|
ETA: 00:00:00
Loaded 1880 entries from dependency cache.
ERROR: Unable to parse /home/andreas/data/oe-core/sources/meta-ti/recipes- kernel/linux/linux_3.1.bb
...
IOError: [Errno 2] No such file or directory:
'/home/andreas/data/Downloads/packets/dl/defconfig'

Quoted 2 lines
Quoted 1 line

I'm not seeing any of that, but I'm keeping an eye on it.

Hm.. can you try to set DL_DIR outside of OE_BASE?

My setup is:

/OE/tentacle/oebb.sh -> DL_DIR /OE/downloads (debian) ~/Angstrom/oebb.sh -> DL_DIR ~/Angstrom/sources/downloads (fedora)

Both don't seem to suffer from the defconfig problem yet.

regards,

Koen

Quoted 6 lines

Andreas
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#4 lore raw
Quoted 24 lines · Koen Kooi

Op 20 dec. 2011, om 11:55 heeft Andreas Müller het volgende geschreven:

Quoted 16 lines · Koen Kooi
Quoted 15 lines

Op 20 dec. 2011, om 11:15 heeft Andreas Müller het volgende geschreven:

Quoted 13 lines

On all my build machines I get

Loading cache: 100% |
#########################################################################
#####################################################################|
ETA: 00:00:00
Loaded 1880 entries from dependency cache.
ERROR: Unable to parse /home/andreas/data/oe-core/sources/meta-ti/recipes- kernel/linux/linux_3.1.bb
...
IOError: [Errno 2] No such file or directory:
'/home/andreas/data/Downloads/packets/dl/defconfig'

Quoted 2 lines
Quoted 1 line

I'm not seeing any of that, but I'm keeping an eye on it.

Hm.. can you try to set DL_DIR outside of OE_BASE?

My setup is:

Quoted 8 lines

/OE/tentacle/oebb.sh -> DL_DIR /OE/downloads (debian) ~/Angstrom/oebb.sh -> DL_DIR ~/Angstrom/sources/downloads (fedora)

Both don't seem to suffer from the defconfig problem yet.

regards,

Koen

What version of bitbake & python are each of you running? Since the error is happening during the parsing of new python code, this might be significant.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#5 lore raw
In reply to Andreas Müller

Op 20 dec. 2011, om 11:15 heeft Andreas Müller het volgende geschreven:

Quoted 35 lines

Hi,

I thought I sent it alrerady but cannot find it in mailing archive. If you have already received simply ignore.

On all my build machines I get

Loading cache: 100% | ##############################################################################################################################################|
ETA: 00:00:00
Loaded 1880 entries from dependency cache.
ERROR: Unable to parse /home/andreas/data/oe-core/sources/meta-ti/recipes-
kernel/linux/linux_3.1.bb
| ETA: --:--:--
Traceback (most recent call last):
File "/home/andreas/oe-core/sources/bitbake/lib/bb/parse/ast.py", line 379,
in multi_finalize(fn='/home/andreas/data/oe-core/sources/meta-ti/recipes-
kernel/linux/linux_3.1.bb', d=<bb.data_smart.DataSmart object at 0x7cec6d0>):
try:

Quoted 1 line

finalize(fn, d)

except bb.parse.SkipPackage as e:
File "/home/andreas/oe-core/sources/bitbake/lib/bb/parse/ast.py", line 323,
in finalize(fn='/home/andreas/data/oe-core/sources/meta-ti/recipes- kernel/linux/linux_3.1.bb', d=<bb.data_smart.DataSmart object at 0x7cec6d0>, variant=None):

            code.append("%s(d)" % funcname)
Quoted 1 line

bb.utils.simple_exec("\n".join(code), {"d": d})

bb.data.update_data(d)
File "/home/andreas/oe-core/sources/bitbake/lib/bb/utils.py", line 387, in
simple_exec(code='__anon_119__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_staging_bbclass(d)\n__anon_487__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_base_bbclass(d)\n__anon_20__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_debian_bbclass(d)\n__anon_19__home_andreas_data_oe_core_sources_meta_openembedded_meta_oe_classes_blacklist_bbclass(d)\n__anon_189__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_package_bbclass(d)\n__anon_55__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_sstate_bbclass(d)\n__anon_447__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_package_ipk_bbclass(d)\n__anon_28__home_andreas_data_oe_core_sources_meta_openembedded_meta_oe_classes_kernel_bbclass(d)\n__anon_119__home_andreas_data_oe_core_sources_openembedded_core_meta_classes_siteinfo_bbclass(d)\n__anon_72__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d)\n__anon_2 77__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d)',
context={'d': <bb.data_smart.DataSmart object at 0x7cec6d0>}):
def simple_exec(code, context):

Quoted 1 line

exec(code, _context, context)

Quoted 8 lines

File "<string>", line 11, in <module>
File
"__anon_277__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc",
line 7, in __anon_277__home_andreas_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d=<bb.data_smart.DataSmart object at 0x7cec6d0>)
IOError: [Errno 2] No such file or directory:
'/home/andreas/data/Downloads/packets/dl/defconfig'

I figured it out, this happens when:

1) SOC_FAMILY = omap3
2) you have no defconfig for linux_3.1.bb for your machine(s).

I've pushed a workaround for the kernel recipe till linux.inc gets fixed to include more exceptions.

regards,

Koen

regards,

Koen