Hello everyone,
I encoutered a serious problem while trying to build angstrom using
the oebb.sh setup script.
I used the mos recent verison of the script and even tried to build
completely from scratch.
During the build I get several notes of this kind:
NOTE: Gettext required but not in DEPENDS for file /home/wilksn/OE/
build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/gcc-
cross-4.3.3-r14.1/gcc-4.3.3/intl/configure.ac.
Missing inherit gettext?
The build continues, of course but fails later compiling ncurses. I
attached the error messages to this post.
It seems to me, as if the cross compiler can't be build properly and
so, my build fails.
Maybe someone can help me. Does anyone else have had this kind of
problems?
With kind regards,
Sven Wilksen
##### Build log starting here ####
until here, everything went well except the missing gettext warnings:
NOTE: Running task 490 of 4712 (ID: 1493, /home/wilksn/OE/sources/
openembedded/recipes/ncurses/ncurses_5.4.bb, do_setscene)
NOTE: package ncurses-5.4-r20.0: task do_setscene: Started
NOTE: package ncurses-5.4-r20.0: task do_setscene: Succeeded
NOTE: Running task 491 of 4712 (ID: 1491, /home/wilksn/OE/sources/
openembedded/recipes/ncurses/ncurses_5.4.bb, do_fetch)
NOTE: package ncurses-5.4-r20.0: task do_fetch: Started
NOTE: package ncurses-5.4-r20.0: task do_fetch: Succeeded
NOTE: Running task 492 of 4712 (ID: 1487, /home/wilksn/OE/sources/
openembedded/recipes/ncurses/ncurses_5.4.bb, do_unpack)
NOTE: package ncurses-5.4-r20.0: task do_unpack: Started
NOTE: Unpacking ../sources/downloads/ncurses-5.4.tar.gz to tmp-
angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/ncurses-5.4-r20.0/
NOTE: package ncurses-5.4-r20.0: task do_unpack: Succeeded
NOTE: Running task 493 of 4712 (ID: 1488, /home/wilksn/OE/sources/
openembedded/recipes/ncurses/ncurses_5.4.bb, do_patch)
NOTE: package ncurses-5.4-r20.0: task do_patch: Started
NOTE: Applying patch 'makefile_tweak.patch' (../sources/openembedded/
recipes/ncurses/ncurses/makefile_tweak.patch)
NOTE: Applying patch 'use_ldflags.patch' (../sources/openembedded/
recipes/ncurses/ncurses/use_ldflags.patch)
NOTE: Applying patch 'visibility.patch' (../sources/openembedded/
recipes/ncurses/ncurses/visibility.patch)
NOTE: package ncurses-5.4-r20.0: task do_patch: Succeeded
NOTE: Running task 494 of 4712 (ID: 1494, /home/wilksn/OE/sources/
openembedded/recipes/ncurses/ncurses_5.4.bb, do_configure)
NOTE: package ncurses-5.4-r20.0: task do_configure: Started
And now, the build fails:
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/wilksn/OE/sources/openembedded/recipes/ncurses/
ncurses_5.4.bb do_configure failed
ERROR: Task 1494 (/home/wilksn/OE/sources/openembedded/recipes/ncurses/
ncurses_5.4.bb, do_configure) failed with 256
ERROR: '/home/wilksn/OE/sources/openembedded/recipes/ncurses/
ncurses_5.4.bb' failed
ERROR: Function do_configure failed
NOTE: Task failed: ('function do_configure failed', '/home/wilksn/OE/
build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/
ncurses-5.4-r20.0/temp/log.do_configure.20319')
ERROR: Logfile of failure stored in: /home/wilksn/OE/build/tmp-
angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/ncurses-5.4-r20.0/
temp/log.do_configure.20319
Log data follows:
automake (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <Licenses - GNU Project - Free Software Foundation
gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.
AUTOV is 1.11
NOTE: Executing autoreconf --verbose --install --force --
exclude=autopoint -I /home/wilksn/OE/build/tmp-angstrom_2008_1/work/
armv7a-angstrom-linux-gnueabi/ncurses-5.4-r20.0/ncurses-5.4/m4/ -I/
home/wilksn/OE/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-
linux-gnueabi/usr/share/aclocal-1.11 -I /home/wilksn/OE/build/tmp-
angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/
aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I /home/wilksn/OE/build/tmp-
angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/ncurses-5.4-r20.0/
ncurses-5.4/m4/ -I /home/wilksn/OE/build/tmp-angstrom_2008_1/sysroots/
armv7a-angstrom-linux-gnueabi/usr/share/aclocal-1.11 -I /home/wilksn/
OE/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/
usr/share/aclocal -I /home/wilksn/OE/build/tmp-angstrom_2008_1/work/
armv7a-angstrom-linux-gnueabi/ncurses-5.4-r20.0/ncurses-5.4/m4/ -I /
home/wilksn/OE/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-
linux-gnueabi/usr/share/aclocal-1.11 -I /home/wilksn/OE/build/tmp-
angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/
aclocal --force
configure.in:162: warning: AC_CACHE_VAL(cf_cv_subst_AR_OPTS, ...):
suspicious presence of an AC_SUBST in the second argument, where no
actions should be taken
../../lib/autoconf/general.m4:1999: AC_CACHE_VAL is expanded from...
/home/wilksn/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-
gnueabi/ncurses-5.4-r20.0/ncurses-5.4/m4/cf.m4:3105: CF_SUBST is
expanded from...
configure.in:162: the top level
autoreconf: configure.in: tracing
configure.in:162: warning: AC_CACHE_VAL(cf_cv_subst_AR_OPTS, ...):
suspicious presence of an AC_SUBST in the second argument, where no
actions should be taken
../../lib/autoconf/general.m4:1999: AC_CACHE_VAL is expanded from...
aclocal.m4:11065: CF_SUBST is expanded from...
configure.in:162: the top level
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in
Makefile.am.
configure.in:162: warning: AC_CACHE_VAL(cf_cv_subst_AR_OPTS, ...):
suspicious presence of an AC_SUBST in the second argument, where no
actions should be taken
../../lib/autoconf/general.m4:1999: AC_CACHE_VAL is expanded from...
/home/wilksn/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-
gnueabi/ncurses-5.4-r20.0/ncurses-5.4/m4/cf.m4:3105: CF_SUBST is
expanded from...
configure.in:162: the top level
autoreconf: running: /home/wilksn/OE/build/tmp-angstrom_2008_1/
sysroots/i686-linux/usr/bin/autoconf --include=/home/wilksn/OE/build/
tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/ncurses-5.4-
r20.0/ncurses-5.4/m4/ --include=/home/wilksn/OE/build/tmp-
angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/
aclocal-1.11 --include=/home/wilksn/OE/build/tmp-angstrom_2008_1/
sysroots/armv7a-angstrom-linux-gnueabi/usr/share/aclocal --force --
warnings=cross
configure.in:162: warning: AC_CACHE_VAL(cf_cv_subst_AR_OPTS, ...):
suspicious presence of an AC_SUBST in the second argument, where no
actions should be taken
../../lib/autoconf/general.m4:1999: AC_CACHE_VAL is expanded from...
aclocal.m4:11065: CF_SUBST is expanded from...
configure.in:162: the top level
autoreconf: running: /home/wilksn/OE/build/tmp-angstrom_2008_1/
sysroots/i686-linux/usr/bin/autoheader --include=/home/wilksn/OE/build/
tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/ncurses-5.4-
r20.0/ncurses-5.4/m4/ --include=/home/wilksn/OE/build/tmp-
angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/
aclocal-1.11 --include=/home/wilksn/OE/build/tmp-angstrom_2008_1/
sysroots/armv7a-angstrom-linux-gnueabi/usr/share/aclocal --force --
warnings=cross
configure.in:162: warning: AC_CACHE_VAL(cf_cv_subst_AR_OPTS, ...):
suspicious presence of an AC_SUBST in the second argument, where no
actions should be taken
../../lib/autoconf/general.m4:1999: AC_CACHE_VAL is expanded from...
aclocal.m4:11065: CF_SUBST is expanded from...
configure.in:162: the top level
autoreconf: configure.in: not using Automake
autoreconf: running: gnu-configize
configure.in:162: warning: AC_CACHE_VAL(cf_cv_subst_AR_OPTS, ...):
suspicious presence of an AC_SUBST in the second argument, where no
actions should be taken
../../lib/autoconf/general.m4:1999: AC_CACHE_VAL is expanded from...
aclocal.m4:11065: CF_SUBST is expanded from...
configure.in:162: the top level
autoreconf: Leaving directory `.'
configure: loading site script /home/wilksn/OE/sources/openembedded/
site/endian-little
configure: loading site script /home/wilksn/OE/sources/openembedded/
site/common-linux
configure: loading site script /home/wilksn/OE/sources/openembedded/
site/common-glibc
configure: loading site script /home/wilksn/OE/sources/openembedded/
site/arm-common
configure: loading site script /home/wilksn/OE/sources/openembedded/
site/arm-linux
configure: loading site script /home/wilksn/OE/sources/openembedded/
site/common
configure: loading site script /home/wilksn/OE/sources/openembedded/
site/common
Configuring NCURSES 5.4 ABI 5 (Mon Jul 26 16:35:32 CEST 2010)
checking build system type... i686-pc-linux-gnu
checking host system type... arm-angstrom-linux-gnueabi
checking target system type... arm-angstrom-linux-gnueabi
Configuring for linux-gnueabi
checking for prefix... /usr
checking for arm-angstrom-linux-gnueabi-gcc... arm-angstrom-linux-
gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-
abi=softfp -mthumb-interwork -mno-thumb
checking whether the C compiler works... no
configure: error: in `/home/wilksn/OE/build/tmp-angstrom_2008_1/work/
armv7a-angstrom-linux-gnueabi/ncurses-5.4-r20.0/ncurses-5.4':
configure: error: C compiler cannot create executables
See `config.log' for more details.
ERROR: Function do_configure failed
NOTE: package ncurses-5.4-r20.0: task do_configure: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/wilksn/OE/sources/openembedded/recipes/ncurses/
ncurses_5.4.bb do_configure failed
ERROR: Task 1494 (/home/wilksn/OE/sources/openembedded/recipes/ncurses/
ncurses_5.4.bb, do_configure) failed with 256
ERROR: '/home/wilksn/OE/sources/openembedded/recipes/ncurses/
ncurses_5.4.bb' failed
ERROR: '/home/wilksn/OE/sources/openembedded/recipes/ncurses/
ncurses_5.4.bb' failed