[oe] OE beginner constantly failing to build anything

Rainer Koenig Rainer.Koenig at ts.fujitsu.com
Wed Oct 12 12:22:48 UTC 2011


Hi there,

the following lines might give you the feeling of a rant, sorry about
that but after 2 weeks of no success I need to write down quickly what
bothers me. Please don't feel offended by my deep desperation. ;-)

My build system is running Debian/Squeeze (amd64) and I also downloaded
the CodeSourcery Toolchain. Was able to compile a simple hello world
with that for Angstrom, but now I wanted to build Angstrom from scratch.

So I started with OE classic, tried the "getting started" from the PDF
docs and failed. I learned quickly that there are version dependencies
between bitbake and the version that I checkout of the OE tree. I also
learned that some of the failures come because I tried to bild "old"
images and meanwhile the sources that bitbake wants to fetch seem to
have moved to another place or got deleted. I tried according to the
wiki docs that said OE 2011.3 works with bitbake 1.12.0 but even then I
failed. Last failure had to do with building libtool-2.4-cross when the
build system told my that my compiler can't create binaries... after the
process has build around 60+ packets without any problem.

Well, I learned that OE classic is no longer maintained and that I
should switch to OE-core. So I said, lets start from scratch again and
see. I followed the Angstrome building instructions as they are written
here:
http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/angstrom-layers/tree/README

Did everything that was described there and faild again. This time
with the following errors:
----------------8<-snip----------------------
bitbake base-image
Pseudo is not present but is required, building this first before the
main build
NOTE: angstrom DOES NOT support libiconv because the eglibc provided
iconv library is used                         | ETA:  00:04:17
NOTE: angstrom DOES NOT support libiconv because the eglibc provided
iconv library is used                         | ETA:  00:04:16
NOTE: angstrom DOES NOT support gconf-dbus because gconf-dbus has been
merged back into main GConf                 | ETA:  00:03:57
NOTE: angstrom DOES NOT support gconf-dbus-native because gconf-dbus has
been merged back into main GConf
ERROR: Error Method already seen: get_tls_setting in' glx-use-tls.inc'
now in 'glx-use-tls.bbclass'                | ETA:  00:02:59
ERROR: Could not include required file
recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc
    | ETA:  00:02:01
ERROR: Command execution failed: Exited with 1
----------------8<-snip----------------------

Then I read "glx-use-tls" and remembered to saw that in the list archive
of today. There is a mail from Khem Raj
Subject: [oe] [meta-oe][PATCH 1/2] classes/glx-use-tls.bbclass: Delete

Yeah. I checked my meta-oe tree and glx-use-tls.bbclass is still there.
Then I checked where that tree came from, it comes from github, but
nevertheless, also the tree from http://git.openembedded.org at the
moment has no patch like that applied.

So I need to start questions:

1. Is there any *failsafe* procedure that lets me build some image for
my beagleboard? I'm relatively new to embedded linux and I need to read
a lot about bitbake and oe, but failing with every "getting started"
instructions doesn't give me much confidence that I will ever succeed.

2. How are patches applied in OE? The patch from Khem Raj is not yet in
the git-tree, so how can I patch it to my tree.

3. I tried to search for the bugs I encountered and found out that you
have abandoned a tool like Bugzilla in favor of reporting bugs on the
mailing list. From my perspective the mailing list is not very helpful
to *find* information about existing bugs and their status, so is there
a reason for this switch that I can understand?

I think there are solutions for my problem, the fact that Angstrom
exists and can be downloaded makes me think that somebody was able to
build it from the sources, but it seems that I got the wrong moment in
time for my attempts so all the sources and recipes that I'm depending
on are constantly changing and I always get lost in the gory details.

Ok, thank you for reading this, now I described my little problems and I
hope that someone on the list has answers.

Best regards
Rainer
-- 
Dipl.-Inf. (FH) Rainer Koenig
Project Manager Linux Clients
Dept. PDG WPS R&D SW OSE

Fujitsu Technology Solutions
Bürgermeister-Ullrich-Str. 100
86199 Augsburg
Germany

Telephone: +49-821-804-3321
Telefax:   +49-821-804-2131
Mail:      mailto:Rainer.Koenig at ts.fujitsu.com

Internet         ts.fujtsu.com
Company Details  ts.fujitsu.com/imprint.html




More information about the Openembedded-devel mailing list