From: Geoffrey Wossum <geoffrey@pager.net>
To: Openembedded-devel@lists.openembedded.org
Subject: AVR32 + OpenEmbedded: Problems with uclibc-initial do_populate_staging()
Date: Wed, 5 Mar 2008 13:49:39 -0600 [thread overview]
Message-ID: <200803051349.39583.geoffrey@pager.net> (raw)
Hi all,
I'm working on getting OpenEmbeddded to build for an AVR32 system. Right now
I'm using an AT32STK1000, although eventually I'll be running on custom
hardware.
I've been having problems getting past the uclibc-initial (0.9.28). I get an
error when it attempts do_populate_staging(). Here's the error I've been
getting.
--begin--
NOTE: package uclibc-initial-0.9.28-r10: task do_populate_staging: started
ERROR: function do_stage failed
ERROR: log data follows
(/home/geoff/lrs/playpaq/tmp/work/avr32-angstrom-linux-uclibc/uclibc-initial-0.9.28-r10/temp/log.do_stage.17824)
| make: avr32-angstrom-linux-uclibc-gcc: Command not found
| make: avr32-angstrom-linux-uclibc-gcc: Command not found
|
+ ./extra/scripts/fix_includes.sh -k /home/geoff/lrs/playpaq/tmp/cross/avr32-angstrom-linux-uclibc -t
avr32
|
|
| The
file /home/geoff/lrs/playpaq/tmp/cross/avr32-angstrom-linux-uclibc/Makefile
or /home/geoff/lrs/playpaq/tmp/cross/avr32-angstrom-linux-uclibc/include/linux/version.h
is missing!
| Perhaps your kernel source is broken?
|
|
| make: *** [headers] Error 1
NOTE: Task
failed: /home/geoff/lrs/playpaq/tmp/work/avr32-angstrom-linux-uclibc/uclibc-initial-0.9.28-r10/temp/log.do_stage.17824
NOTE: package uclibc-initial-0.9.28-r10: task do_populate_staging: failed
ERROR: TaskFailed event exception, aborting
NOTE: package uclibc-initial-0.9.28: failed
--end--
I was able to get past this by modifying uclibc_0.9.28.bb so that
KERNEL_SOURCE is now getting to what I think is correct. It was:
KERNEL_SOURCE = "${CROSS_DIR}/${TARGET_SYS}"
and I changed it to:
KERNEL_SOURCE = "${STAGING_DIR_HOST}/${exec_prefix}"
It also looks like I could have re-enabled the nokernelheader.patch. Any
comments on what the "proper" fix is here?
With that change made, the do_populate_staging went further, but not much
further. In uclibc-initial_0.9.28.bb, there is the following command:
make PREFIX= DEVEL_PREFIX=${UCLIBC_PREFIX}/ \
RUNTIME_PREFIX=${UCLIBC_PREFIX}/ \
pregen install_dev
UCLIBC_PREFIX used to be defined in uclibc.inc, but that was changed about a
week ago. Changing uclibc-initial_0.9.28.bb to use UCLIBC_STAGING_PREFIX
instead of UCLIBC_PREFIX got me past this issue. Any comments about
the "correct" fix here?
Thanks,
---
Geoffrey
next reply other threads:[~2008-03-05 19:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-05 19:49 Geoffrey Wossum [this message]
2008-03-05 20:43 ` AVR32 + OpenEmbedded: Problems with uclibc-initial do_populate_staging() Richard Purdie
2008-03-05 20:58 ` AVR32 + OpenEmbedded: Problems with uclibc-initial do_populate_staging () Geoffrey Wossum
2008-03-05 21:59 ` Richard Purdie
2008-03-05 22:47 ` Geoffrey Wossum
2008-03-07 22:56 ` Geoffrey Wossum
2008-03-07 23:33 ` Richard Purdie
2008-03-07 23:46 ` Geoffrey Wossum
2008-03-10 13:59 ` Geoffrey Wossum
2008-03-07 21:23 ` Geoffrey Wossum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200803051349.39583.geoffrey@pager.net \
--to=geoffrey@pager.net \
--cc=Openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.