[oe] Trouble compiling system-tools-backends

Zach Frey zach at znfrey.com
Wed Nov 3 15:58:14 UTC 2010


On Wed, Nov 3, 2010 at 12:50 AM, Khem Raj <raj.khem at gmail.com> wrote:

> On Tue, Nov 2, 2010 at 8:10 PM, Zach Frey <zach at znfrey.com> wrote:
> > On Tue, Nov 2, 2010 at 10:56 PM, Khem Raj <raj.khem at gmail.com> wrote:
> >
> >> > A question -- is the build supposed to be using the build host's
> >> automake,
> >> > or is it supposed to be using one from its downloaded toolchain?
> >>
> >> well automake is used from the contained versions. We use the version
> >> from native staging which
> >> is the version we build. The automake installed on your host is not
> >> used unless you do some stuff
> >> with assume provided.
> >>
> >>
> > From
> >
> $OEBASE/build/tmp/work/armv7a-angstrom-linux-gnueabi/system-tools-backends-2.10.1-r0/temp/run.do_compile.12625
> >
> >                        AUTOV=`automake --version |head -n 1 |sed "s/.*
> > //;s/\.[0-9]\+$//"`
> >                        automake --version
> >                        echo "AUTOV is $AUTOV"
> >
> > As far as I can tell, this will pick up the host, not the contained
> version.
> >
> > Tried to understand where this is spelled out in the recipe, but not
> seeing
> > it (afraid I'm new to this).
> >
>
> Well see where the PATHS are set in the script.
>
>
export
PATH="/home/PHOENIX/frey/OE/build/tmp/sysroots/x86_64-linux/usr/armv7a/bin:/home/PHOENIX/frey/OE/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/PHOENIX/frey/OE/build/tmp/sysroots/x86_64-linux/usr/bin:/home/PHOENIX/frey/OE/build/tmp/sysroots/x86_64-linux/sbin:/home/PHOENIX/frey/OE/build/tmp/sysroots/x86_64-linux//bin:/home/PHOENIX/frey/OE/bitbake/bin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"


Which looks like it ought to be right... if that PATH is truly in effect,
then /home/PHOENIX/frey/OE/build/tmp/sysroots/x86_64-linux/usr/bin/automake
ought to be found before /usr/bin/automake.


Thanks,
Zach



More information about the Openembedded-devel mailing list