i was just reminded by an e-mailer that i hadn't checked on why the
last attempt i made to build angstrom for the BB with the development
branch of OE failed, but after doing an update on OE a few minutes
ago, it now looks like it builds, so i'm just curious about what might
have changed.
i've documented the exact steps i use in building angstrom for the
BB on my fedora 11 system here:
http://www.crashcourse.ca/wiki/index.php/Angstrom
the last time i tried this (a few days ago), i tried to "bitbake
base-image", and the tail end of the output was:
NOTE: Running task 1721 of 3361 (ID: 214,
/home/rpjday/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
mmap: Permission denied
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
NOTE: Task failed: localedef returned an error (command was
PATH="/home/rpjday/oe/angstrom-dev/staging/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/home/rpjday/oe/angstrom-dev/staging/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/home/rpjday/oe/angstrom-dev/staging/x86_64-linux/usr/sbin:/home/rpjday/oe/angstrom-dev/staging/x86_64-linux/usr/bin:/home/rpjday/oe/angstrom-dev/cross/armv7a/bin:/home/rpjday/oe/angstrom-dev/staging/x86_64-linux/sbin:/home/rpjday/oe/angstrom-dev/staging/x86_64-linux/bin:/home/rpjday/oe/openembedded/bitbake/bin:/home/rpjday/nuxeo/dl/nuxeo-dm-5.2.0/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/rpjday/bin:/home/rpjday/bitbake-1.8.12/bin:/home/rpjday/eldk/usr/bin"
I18NPATH="/home/rpjday/oe/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/glibc-2.9-r35.2/locale-tree//usr/share/i18n"
qemu-arm -s 1048576 -r 2.6.24 -L
/home/rpjday/oe/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/glibc-2.9-r35.2/locale-tree
-E
LD_LIBRARY_PATH=/home/rpjday/oe/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/glibc-2.9-r35.2/locale-tree/lib
-cpu cortex-a8
/home/rpjday/oe/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/glibc-2.9-r35.2/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/home/rpjday/oe/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/glibc-2.9-r35.2/locale-tree
--inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/rpjday/oe/openembedded/recipes/glibc/glibc_2.9.bb do_package
failed
i *thought* i'd set up everything properly. so just this morning, i
went back, did "git pull", then leaving angstrom-dev in place, just
ran "bitbake base-image" again, and it completed. strange.
to be methodical, i should remove the angstrom-dev directory and
build from scratch, but can anyone think of why that build from a few
days ago failed, but this morning, it worked? normally, i would have
thought that i'd failed to set the mmap properties properly, but it
doesn't appear that way.
thoughts? i think i'll start the build from scratch to verify this.
rday