Author Topic: Oe Build For Nokia770  (Read 6141 times)

ghellman

  • Newbie
  • *
  • Posts: 6
    • View Profile
Oe Build For Nokia770
« on: February 08, 2006, 04:20:00 pm »
Hi,

I am trying to build OpenEmbedded for the Nokia770 using the maemo distro. I followed the very well documented step-by-step instructions from http://downloads.kernelconcepts.de/maemo-oe.txt . Every thing was going well until I got the following error:

14:23:55 (454.31 KB/s) - `/home/nokia770/OpenEmbedded/source/tslib_0.0.1-15.tar.gz' saved [1,122,813/1,122,813]

NOTE: package tslib-maemo-0.0.1-15-r1: task do_fetch: completed
NOTE: package tslib-maemo-0.0.1-15-r1: task do_unpack: started
NOTE: Unpacking /home/nokia770/OpenEmbedded/source/tslib_0.0.1-15.tar.gz to /home/nokia770/OpenEmbedded/build/tmp/maemo/work/armv5te-linux/tslib-maemo-0.0.1-15-r1/
NOTE: Unpacking /home/nokia770/OpenEmbedded/org.openembedded.dev/packages/tslib/tslib-maemo/nokia770/ts.conf to /home/nokia770/OpenEmbedded/build/tmp/maemo/work/armv5te-linux/tslib-maemo-0.0.1-15-r1/
NOTE: Unpacking /home/nokia770/OpenEmbedded/org.openembedded.dev/packages/tslib/tslib-maemo/nokia770/tslib.sh to /home/nokia770/OpenEmbedded/build/tmp/maemo/work/armv5te-linux/tslib-maemo-0.0.1-15-r1/
NOTE: package tslib-maemo-0.0.1-15-r1: task do_unpack: completed
NOTE: package tslib-maemo-0.0.1-15-r1: task do_patch: started
NOTE: package tslib-maemo-0.0.1-15-r1: task do_patch: completed
NOTE: package tslib-maemo-0.0.1-15-r1: task do_configure: started
NOTE: package tslib-maemo-0.0.1-15-r1: task do_configure: completed
NOTE: package tslib-maemo-0.0.1-15-r1: task do_compile: started
NOTE: package tslib-maemo-0.0.1-15-r1: task do_compile: completed
NOTE: package tslib-maemo-0.0.1-15-r1: task do_populate_staging: started
ERROR: function do_stage failed
ERROR: log data follows (/home/nokia770/OpenEmbedded/build/tmp/maemo/work/armv5te-linux/tslib-maemo-0.0.1-15-r1/temp/log.do_stage.12969)
| oe_libinstall: cd src
| oe_libinstall: install -d /home/nokia770/OpenEmbedded/build/tmp/maemo/staging/arm-linux/lib/
| FATAL: oe_libinstall: unable to locate shared library
NOTE: Task failed: /home/nokia770/OpenEmbedded/build/tmp/maemo/work/armv5te-linux/tslib-maemo-0.0.1-15-r1/temp/log.do_stage.12969
NOTE: package tslib-maemo-0.0.1-15-r1: task do_populate_staging: failed
ERROR: TaskFailed event exception, aborting
NOTE: package tslib-maemo-0.0.1-15: failed
ERROR: Build of maemo-image failed
[nokia770@TECHMKG-L1 build]$

Did any one experinces this type of problem? If yes I will aprichate if you can shar the information on how to solve this if you know.

BTW: This is what my local.conf file contain

PREFERRED_VERSION_samba = "3.0.14a"

#adapt these to match your directory lay-out
DL_DIR = "/home/nokia770/OpenEmbedded/source"
BBFILES := "/home/nokia770/OpenEmbedded/org.openembedded.dev/packages/*/*.bb"

#INHERIT += "sourcepkg"
 
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"

# Uncomment this to specify a machine to build for. See the conf directory
# for machines currently known to OpenEmbedded.
MACHINE = "nokia770"

# Uncomment this to specify where BitBake should create its temporary files.
# Note that a full build of everything in OpenEmbedded will take GigaBytes of hard
# disk space, so make sure to free enough space. The default TMPDIR is
# <build directory>/tmp
TMPDIR = /home/nokia770/OpenEmbedded/build/tmp/${DISTRO}

#Make use of 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}"

#Set distro and version
DISTRO = "maemo-1.0"
DISTRO_VERSION = "1.0"
#DISTRO = "familiar-0.8.3"

#Add verbosity to make fixing easier
BBINCLUDELOGS = "yes"

#The name says it all
CVS_TARBALL_STASH = "http://www.oesources.org/source/current/"

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"

Also I am using the org.openembedded.dev branch after updating it using the following command:
monotone update -rjan2006prebreakage

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Oe Build For Nokia770
« Reply #1 on: February 08, 2006, 06:21:58 pm »
It seems like the tslib-maemo .bb is broken. try replacing the do_stage part with:

Code: [Select]
do_stage() {
autotools_stage_all
}

could you also file a bug for this at http://bugs.treke.net?
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

ghellman

  • Newbie
  • *
  • Posts: 6
    • View Profile
Oe Build For Nokia770
« Reply #2 on: February 13, 2006, 05:02:27 pm »
Hi Koen,

Thanks for the help. You suggestion solved the build problem of the tslib package. I also filed a bug report for this. The bug ID is 690

Gil
« Last Edit: February 13, 2006, 05:03:32 pm by ghellman »