[Openembedded-users] avr32 build issue

Kaushal Kumar k.kaushal at gmail.com
Tue Dec 21 15:49:02 UTC 2010


Hi all,
I am trying to build for AVR32 following the instructions at:
http://www.openembedded.org/index.php/Getting_started

My local.conf file contains:
BBFILES = "${HOME}/oe/openembedded/recipes/*/*.bb"
MACHINE = “atngw100″
TARGET_OS = “linux-uclibc”
DISTRO = “angstrom-2010.x″

I execute the command: bitbake nano

The Build Configuration is shown as:
BB_VERSION        = "1.10.0"
METADATA_BRANCH   = "org.openembedded.dev"
METADATA_REVISION = "afb05a2"
TARGET_ARCH       = "avr32"
TARGET_OS         = "linux"
MACHINE           = "atngw100"
DISTRO            = "angstrom"
DISTRO_VERSION    = "next"

My question is why does the build configuration take TARGET_OS as linux
instead of linux-uclibc?

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.
Any help is appreciated.

Best Regards,
Kaushal
---
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')

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

Log data
follows:

| ERROR: Error in executing python function in:
/home/avr32/oe/openembedded/recipes/linux-libc-headers/
linux-libc-headers_2.6.32.bb
| ERROR: Exception:<type 'exceptions.KeyError'>
Message:'avr32'

| ERROR: Printing the environment of the
function

| ERROR:        0004:    packages = bb.data.getVar('PACKAGES',d,
True)

| ERROR:
0005:

| ERROR:        0006:    # no packages should be
scanned

| ERROR:        0007:    if not
packages:

| ERROR:        0008:
return

| ERROR:
0009:

| ERROR:        0010:    checks = [package_qa_check_rpath,
package_qa_check_dev,

| ERROR:        0011:              package_qa_check_perm,
package_qa_check_arch,

| ERROR:        0012:              package_qa_check_desktop,
package_qa_hash_style,

| ERROR: Function do_package_qa
failed

NOTE: package linux-libc-headers-2.6.32-r5: task do_package:
Failed

ERROR: TaskFailed event exception,
aborting

ERROR: Build of /home/avr32/oe/openembedded/recipes/linux-libc-headers/
linux-libc-headers_2.6.32.bb do_package
failed
ERROR: Task 376 (/home/avr32/oe/openembedded/recipes/linux-libc-headers/
linux-libc-headers_2.6.32.bb, do_package) failed with 256
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20101221/4a7b77c7/attachment-0002.html>


More information about the Openembedded-users mailing list