Hi all,<br>I am trying to build for AVR32 following the instructions at:<br><a href="http://www.openembedded.org/index.php/Getting_started" target="_blank">http://www.openembedded.org/index.php/Getting_started</a><br><br>My local.conf file contains:<br>
BBFILES = "${HOME}/oe/openembedded/recipes/*/*.bb"<br>MACHINE = “atngw100″<br>TARGET_OS = “linux-uclibc”<br>DISTRO = “angstrom-2010.x″<br><br>I execute the command: bitbake nano<br><br>The Build Configuration is shown as:<br>
BB_VERSION = "1.10.0"<br>METADATA_BRANCH = "org.openembedded.dev"<br>METADATA_REVISION = "afb05a2"<br>TARGET_ARCH = "avr32"<br>TARGET_OS = "linux"<br>
MACHINE = "atngw100"<br>DISTRO = "angstrom"<br>DISTRO_VERSION = "next"<br><br>My question is why does the build configuration take TARGET_OS as linux instead of linux-uclibc?<br>
<br>It seems the insane.bbclass supports avr32 for TARGET_OS "linux-uclibc" only, and so the build of linux-libc-headers fails. Log appended below.<br>Any help is appreciated.<br><br>Best Regards,<br>Kaushal<br>
---<br>NOTE: Task failed: ('function do_package_qa failed', '/home/avr32/oe/build/tmp/work/avr32-angstrom-linux/linux-libc-headers-2.6.32-r5/temp/log.do_package_qa.7628') <br>
ERROR: Logfile of failure stored in: /home/avr32/oe/build/tmp/work/avr32-angstrom-linux/linux-libc-headers-2.6.32-r5/temp/log.do_package_qa.7628 <br>Log data follows: <br>
| ERROR: Error in executing python function in: /home/avr32/oe/openembedded/recipes/linux-libc-headers/<a href="http://linux-libc-headers_2.6.32.bb" target="_blank">linux-libc-headers_2.6.32.bb</a> <br>
| ERROR: Exception:<type 'exceptions.KeyError'> Message:'avr32' <br>
| ERROR: Printing the environment of the function <br>| ERROR: 0004: packages = bb.data.getVar('PACKAGES',d, True) <br>
| ERROR: 0005: <br>| ERROR: 0006: # no packages should be scanned <br>
| ERROR: 0007: if not packages: <br>| ERROR: 0008: return <br>
| ERROR: 0009: <br>| ERROR: 0010: checks = [package_qa_check_rpath, package_qa_check_dev, <br>
| ERROR: 0011: package_qa_check_perm, package_qa_check_arch, <br>| ERROR: 0012: package_qa_check_desktop, package_qa_hash_style, <br>
| ERROR: Function do_package_qa failed <br>NOTE: package linux-libc-headers-2.6.32-r5: task do_package: Failed <br>
ERROR: TaskFailed event exception, aborting <br>ERROR: Build of /home/avr32/oe/openembedded/recipes/linux-libc-headers/<a href="http://linux-libc-headers_2.6.32.bb" target="_blank">linux-libc-headers_2.6.32.bb</a> do_package failed <br>
ERROR: Task 376 (/home/avr32/oe/openembedded/recipes/linux-libc-headers/<a href="http://linux-libc-headers_2.6.32.bb" target="_blank">linux-libc-headers_2.6.32.bb</a>, do_package) failed with 256<br>