I am trying to build OE for MACHINE = "nokia770" and DISTRO = "maemo-1.0" , this build fails near the end when trying to build the libosso package with the following error:
[nokia770@TECHMKG-L1 build]$ bitbake maemo-image
NOTE: Using cache in '/home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/cache'
NOTE: Parsing finished. 2881 cached, 0 parsed, 64 skipped, 0 masked.
NOTE: build 200602202326: started
OE Build Configuration:
BB_VERSION = "1.3.3.1"
OE_REVISION = "0b9a2dfead1136f996280e9827949f83cb032537"
TARGET_ARCH = "arm"
TARGET_OS = "linux"
MACHINE = "nokia770"
DISTRO = "maemo"
TARGET_FPU = ""
NOTE: multiple providers are available (glibc, glibc-intermediate);
NOTE: consider defining PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc
NOTE: multiple providers are available (db3-native, db-native);
NOTE: consider defining PREFERRED_PROVIDER_virtual/db-native
NOTE: preferred version 0.0cvs20060221 of xrdb not available
NOTE: package libosso-0.8.9: started
NOTE: package libosso-0.8.9-r2: task do_fetch: started
NOTE: package libosso-0.8.9-r2: task do_fetch: completed
NOTE: package libosso-0.8.9-r2: task do_configure: started
ERROR: function do_configure failed
ERROR: log data follows (/home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/work/armv5te-linux/libosso-0.8.9-r2/temp/log.do_configure.26639)
| automake (GNU automake) 1.9.3
| Written by Tom Tromey <tromey@redhat.com>.
|
| Copyright 2004 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions. There is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| AUTOV is 1.9
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal-1.9 -I /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal -I /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal-1.9 -I /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal --force
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:45: warning: underquoted definition of AC_LBL_C_INIT
| run info '(automake)Extending aclocal'
| or see
http://sources.redhat.com/automake/automak...tending-aclocal| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:172: warning: underquoted definition of AC_LBL_C_INLINE
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:228: warning: underquoted definition of AC_LBL_LIBPCAP
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:296: warning: underquoted definition of AC_LBL_TYPE_SIGNAL
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:326: warning: underquoted definition of AC_LBL_FIXINCLUDES
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:372: warning: underquoted definition of AC_LBL_LEX_AND_YACC
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:425: warning: underquoted definition of AC_LBL_UNION_WAIT
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:454: warning: underquoted definition of AC_LBL_SOCKADDR_SA_LEN
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:479: warning: underquoted definition of AC_LBL_SOCKADDR_STORAGE
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:512: warning: underquoted definition of AC_LBL_HP_PPA_INFO_T_DL_MODULE_ID_1
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:538: warning: underquoted definition of AC_LBL_HAVE_RUN_PATH
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:564: warning: underquoted definition of AC_LBL_CHECK_TYPE
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:593: warning: underquoted definition of AC_LBL_UNALIGNED_ACCESS
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:698: warning: underquoted definition of AC_LBL_DEVEL
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:828: warning: underquoted definition of AC_LBL_LIBRARY_NET
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:851: warning: underquoted definition of AC_C___ATTRIBUTE__
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:889: warning: underquoted definition of AC_LBL_TPACKET_STATS
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/gconf-2.m4:8: warning: underquoted definition of AM_GCONF_SOURCE_2
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
| autoreconf: configure.ac: tracing
| autoreconf: running: libtoolize --copy --force
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:45: warning: underquoted definition of AC_LBL_C_INIT
| run info '(automake)Extending aclocal'
| or see
http://sources.redhat.com/automake/automak...tending-aclocal| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:172: warning: underquoted definition of AC_LBL_C_INLINE
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:228: warning: underquoted definition of AC_LBL_LIBPCAP
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:296: warning: underquoted definition of AC_LBL_TYPE_SIGNAL
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:326: warning: underquoted definition of AC_LBL_FIXINCLUDES
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:372: warning: underquoted definition of AC_LBL_LEX_AND_YACC
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:425: warning: underquoted definition of AC_LBL_UNION_WAIT
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:454: warning: underquoted definition of AC_LBL_SOCKADDR_SA_LEN
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:479: warning: underquoted definition of AC_LBL_SOCKADDR_STORAGE
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:512: warning: underquoted definition of AC_LBL_HP_PPA_INFO_T_DL_MODULE_ID_1
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:538: warning: underquoted definition of AC_LBL_HAVE_RUN_PATH
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:564: warning: underquoted definition of AC_LBL_CHECK_TYPE
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:593: warning: underquoted definition of AC_LBL_UNALIGNED_ACCESS
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:698: warning: underquoted definition of AC_LBL_DEVEL
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:828: warning: underquoted definition of AC_LBL_LIBRARY_NET
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:851: warning: underquoted definition of AC_C___ATTRIBUTE__
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/libpcap.m4:889: warning: underquoted definition of AC_LBL_TPACKET_STATS
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/gconf-2.m4:8: warning: underquoted definition of AM_GCONF_SOURCE_2
| /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
| autoreconf: running: /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/i686-linux/bin/autoconf --include=/home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal-1.9 --include=/home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal --force --warnings=cross
| autoreconf: running: /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/i686-linux/bin/autoheader --include=/home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal-1.9 --include=/home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/arm-linux/share/aclocal --force --warnings=cross
| autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross
| automake: unknown warning category `cross'
| autoreconf: running: gnu-configize
| autoreconf: Leaving directory `.'
| NOTE: Running /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/work/armv5te-linux/libosso-0.8.9-r2/libosso-0.8.9/configure --build=i686-linux --host=arm-linux --target=arm-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man ...
| configure: loading site script /home/nokia770/workspace/OpenEmbedded/org.openembedded.dev/site/arm-linux
| checking for a BSD-compatible install... /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/i686-linux/bin/install -c
| checking whether build environment is sane... yes
| checking for gawk... gawk
| checking whether make sets $(MAKE)... yes
| checking for arm-linux-strip... arm-linux-strip
| checking for arm-linux-gcc... arm-linux-gcc -march=armv5te -mtune=arm926ejs
| checking for C compiler default output file name... a.out
| checking whether the C compiler works... yes
| checking whether we are cross compiling... yes
| checking for suffix of executables...
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether arm-linux-gcc -march=armv5te -mtune=arm926ejs accepts -g... yes
| checking for arm-linux-gcc -march=armv5te -mtune=arm926ejs option to accept ANSI C... none needed
| checking for style of include used by make... GNU
| checking dependency style of arm-linux-gcc -march=armv5te -mtune=arm926ejs... gcc3
| checking how to run the C preprocessor... arm-linux-gcc -E
| checking for gawk... (cached) gawk
| checking whether make sets $(MAKE)... (cached) yes
| checking for a BSD-compatible install... /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/staging/i686-linux/bin/install -c
| checking build system type... i686-pc-linux-gnu
| checking host system type... arm-unknown-linux-gnu
| checking for a sed that does not truncate output... /bin/sed
| checking for egrep... grep -E
| checking for ld used by arm-linux-gcc -march=armv5te -mtune=arm926ejs... arm-linux-ld
| checking if the linker (arm-linux-ld) is GNU ld... yes
| checking for arm-linux-ld option to reload object files... -r
| checking for BSD-compatible nm... /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/cross/bin/arm-linux-nm -B
| checking whether ln -s works... yes
| checking how to recognise dependent libraries... pass_all
| checking for ANSI C header files... yes
| checking for sys/types.h... yes
| checking for sys/stat.h... yes
| checking for stdlib.h... yes
| checking for string.h... yes
| checking for memory.h... yes
| checking for strings.h... yes
| checking for inttypes.h... yes
| checking for stdint.h... yes
| checking for unistd.h... yes
| checking dlfcn.h usability... yes
| checking dlfcn.h presence... yes
| checking for dlfcn.h... yes
| checking for arm-linux-g++... arm-linux-g++ -march=armv5te -mtune=arm926ejs
| checking whether we are using the GNU C++ compiler... yes
| checking whether arm-linux-g++ -march=armv5te -mtune=arm926ejs accepts -g... yes
| checking dependency style of arm-linux-g++ -march=armv5te -mtune=arm926ejs... gcc3
| checking how to run the C++ preprocessor... arm-linux-g++ -march=armv5te -mtune=arm926ejs -E
| checking for arm-linux-g77... arm-linux-g77 -march=armv5te -mtune=arm926ejs
| checking whether we are using the GNU Fortran 77 compiler... yes
| checking whether arm-linux-g77 -march=armv5te -mtune=arm926ejs accepts -g... yes
| checking the maximum length of command line arguments... 32768
| checking command to parse /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/cross/bin/arm-linux-nm -B output from arm-linux-gcc -march=armv5te -mtune=arm926ejs object... ok
| checking for objdir... .libs
| checking for arm-linux-ar... arm-linux-ar
| checking for arm-linux-ranlib... arm-linux-ranlib
| checking for arm-linux-strip... (cached) arm-linux-strip
| checking if arm-linux-gcc -march=armv5te -mtune=arm926ejs static flag works... yes
| checking if arm-linux-gcc -march=armv5te -mtune=arm926ejs supports -fno-rtti -fno-exceptions... no
| checking for arm-linux-gcc -march=armv5te -mtune=arm926ejs option to produce PIC... -fPIC
| checking if arm-linux-gcc -march=armv5te -mtune=arm926ejs PIC flag -fPIC works... yes
| checking if arm-linux-gcc -march=armv5te -mtune=arm926ejs supports -c -o file.o... yes
| checking whether the arm-linux-gcc -march=armv5te -mtune=arm926ejs linker (arm-linux-ld) supports shared libraries... yes
| checking whether -lc should be explicitly linked in... no
| checking dynamic linker characteristics... GNU/Linux ld.so
| checking how to hardcode library paths into programs... immediate
| checking whether stripping libraries is possible... yes
| checking if libtool supports shared libraries... yes
| checking whether to build shared libraries... yes
| checking whether to build static libraries... yes
| configure: creating arm-linux-libtool
| appending configuration tag "CXX" to arm-linux-libtool
| checking for ld used by arm-linux-g++ -march=armv5te -mtune=arm926ejs... arm-linux-ld
| checking if the linker (arm-linux-ld) is GNU ld... yes
| checking whether the arm-linux-g++ -march=armv5te -mtune=arm926ejs linker (arm-linux-ld) supports shared libraries... yes
| checking for arm-linux-g++ -march=armv5te -mtune=arm926ejs option to produce PIC... -fPIC
| checking if arm-linux-g++ -march=armv5te -mtune=arm926ejs PIC flag -fPIC works... yes
| checking if arm-linux-g++ -march=armv5te -mtune=arm926ejs supports -c -o file.o... yes
| checking whether the arm-linux-g++ -march=armv5te -mtune=arm926ejs linker (arm-linux-ld) supports shared libraries... yes
| checking dynamic linker characteristics... GNU/Linux ld.so
| checking how to hardcode library paths into programs... immediate
| checking whether stripping libraries is possible... yes
| appending configuration tag "F77" to arm-linux-libtool
| checking if libtool supports shared libraries... yes
| checking whether to build shared libraries... yes
| checking whether to build static libraries... yes
| checking for arm-linux-g77 -march=armv5te -mtune=arm926ejs option to produce PIC... -fPIC
| checking if arm-linux-g77 -march=armv5te -mtune=arm926ejs PIC flag -fPIC works... yes
| checking if arm-linux-g77 -march=armv5te -mtune=arm926ejs supports -c -o file.o... yes
| checking whether the arm-linux-g77 -march=armv5te -mtune=arm926ejs linker (arm-linux-ld) supports shared libraries... yes
| checking dynamic linker characteristics... GNU/Linux ld.so
| checking how to hardcode library paths into programs... immediate
| checking whether stripping libraries is possible... yes
| Searching for the D-BUS
| checking checking for d-bus... configure: error: Can not locate the D-BUS, please use the switch "--with-dbus-root-dir" to specify its location.
| FATAL: oe_runconf failed
NOTE: Task failed: /home/nokia770/workspace/OpenEmbedded/build/tmp/maemo/work/armv5te-linux/libosso-0.8.9-r2/temp/log.do_configure.26639
NOTE: package libosso-0.8.9-r2: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package libosso-0.8.9: failed
ERROR: Build of maemo-image failed
I tried to add the --with-dbus-root-dir switch to libosso_0.8.9.bb using the EXTRA_OECONF option but no luck :-(
Any help will be aprichated.
BTW: My local.conf file look as follow:
PREFERRED_VERSION_samba = "3.0.14a"
#adapt these to match your directory lay-out
DL_DIR = "/home/nokia770/workspace/OpenEmbedded/downloads"
BBFILES := "/home/nokia770/workspace/OpenEmbedded/org.openembedded.dev/packages/*/*.bb"
INHERIT += "package_ipk"
CCACHE=""
#DEBUG_BUILD = "1"
#INHIBIT_PACKAGE_STRIP = "1"
#Set some default providers where multiple exist
PREFERRED_PROVIDER_virtual/libiconv=glibc
PREFERRED_PROVIDER_virtual/libintl=glibc
PREFERRED_PROVIDER_gnome-vfs=gnome-vfs-dbus
PREFERRED_PROVIDER_x11=diet-x11
#what kind of images do we want?
IMAGE_FSTYPE="jffs2 tar ext2"
#Some providers for the toolchain
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
PREFERRED_VERSION_gcc = "3.4.4"
PREFERRED_VERSION_gcc-cross = "3.4.4"
PREFERRED_VERSION_gcc-cross-initial = "3.4.4"
#set TMPDIR instead of defaulting it to $pwd/tmp
TMPDIR=/home/nokia770/workspace/OpenEmbedded/build/tmp/${DISTRO}
#Make use of my SMP box
PARALLEL_MAKE="-j2"
#multimachine build stuff
KERNEL_STAGING = "${STAGING_DIR}/${PACKAGE_ARCH}-${HOST_OS}/kernel"
STAGING_KERNEL_DIR = "${STAGING_DIR}/${PACKAGE_ARCH}-${HOST_OS}/kernel"
STAMP = "${TMPDIR}/stamps/${PACKAGE_ARCH}-${HOST_OS}/${PF}"
WORKDIR = "${TMPDIR}/work/${PACKAGE_ARCH}-${HOST_OS}/${PF}"
# Uncomment this to specify a machine to build for. See the conf directory
# for machines currently known to OpenEmbedded.
MACHINE = "nokia770"
# Use this to specify the target operating system. The default is "linux",
# for a normal linux system with glibc. Set this to "linux-uclibc" if you want
# to build a uclibc based system.
TARGET_OS = "linux"
# Uncomment this to select a distribution policy. See the conf directory
# for distributions currently known to OpenEmbedded.
# Stay away from unversioned distros unless you really know what you are doing
DISTRO = "maemo-1.0"
DISTRO_VERSION = "1.0"
#Add verbosity to make fixing easier
BBINCLUDELOGS = "yes"
#The name says it all
CVS_TARBALL_STASH = "
http://familiar.handhelds.org/source/v0.8.3/"
export GNU_MIRROR = "
ftp://ftp.gnu.org/gnu"
export DEBIAN_MIRROR = "
ftp://ftp.debian.org/debian/pool"
export SOURCEFORGE_MIRROR = "
http://heanet.dl.sourceforge.net/sourceforge"
export GPE_MIRROR = "
http://ftp.handhelds.org/pub/projects/gpe/source"
export GNOME_MIRROR = "
http://ftp.gnome.org/pub/GNOME/sources"
#needed for zauruskernels
#ASSUME_PROVIDED = virtual/arm-linux-gcc-2.95