[oe] [beagleboard] Unable to build Angstrom meta-toolchain

fabian büttner fabian-buettner at gmx.de
Fri Aug 19 19:12:22 UTC 2011


On 18:58 Fri 19 Aug     , Stefan Herbrechtsmeier wrote:
> Am 19.08.2011 16:32, schrieb Khem Raj:
> > On 8/19/2011 6:18 AM, Philip Balister wrote:
> >> On 08/19/2011 02:33 AM, Stefan Herbrechtsmeier wrote:
> >>> Am 18.08.2011 19:48, schrieb Peter Housel:
> >>>> On Thu, 2011-08-18 at 15:10 +0200, fabian büttner wrote:
> >>>>> Hi,
> >>>>>
> >>>>> I am having troubles compiling the Angstrom SDK.
> >>>>>
> >>>>> I used the angstrom-setup-scripts to configure OE, sourced the
> >>>>> environment settings and built the base-image/console-image with
> >>>>> bitbake.
> >>>>>
> >>>>> While trying to compile the meta-toolchain, just when bitmake 
> >>>>> finishes
> >>>>> downloading task-sdk-bare_1.0-r2.6_armv7a.ipk, I am getting an error
> >>>>> output like this:
> >>>>>
> >>>>> http://pastie.org/2390409
> >>>>>
> >>>>> After that, I tried building the meta-toolchain(i did a bitmake clean
> >>>>> meta-toolchain) without '-j2' but the error I receive is ultimately
> >>>>> the same:
> >>>>> * satisfy_dependencies_for: Cannot satisfy the following dependencies
> >>>>> * for task-sdk-bare:
> >>>>> * libstdc++-dev *
> >>>>> * opkg_install_cmd: Cannot install package task-sdk-bare.
> >>>>>
> >>>>> Unfortunately I am too unexperienced with OE/Angstrom to fix bugs
> >>>>> like that.
> >>>>> Maybe someone could give me a hint how to get around this 
> >>>>> show-stopper?
> >>>> I can confirm that I've been seeing this as well on recent
> >>>> 2011.03-maintenance, but haven't had a chance to troubleshoot the root
> >>>> cause yet.
> >>>>
> >>> It was inbtroduced with commit 105d881227d06f31c180dffb777ee63361b2f2b8
> >>> "gcc: Package libstdc++ gdb python helpers into dev package".
> >>> If no helpers exist the empty package will not be generated.
> >>> I have try to add
> >>> ALLOW_EMPTY_libstdc++-dev = "1"
> >>> to gcc-package-cross.inc but this breaks meta-toolchain as the files in
> >>> ${prefix}/${TARGET_SYS}/usr/include/c++ are missing.
> >>>
> >>> Only removing libstdc++-dev package from gcc-package-cross.inc fix the
> >>> problem.
> >>
> >> Does anyone know if dv has the same problem? I can't check easily at the
> >> moment.
> >
> > what happens if you remove  libstdc++-dev libgcc-dev from PACKAGES in 
> > recipes/gcc/gcc-package-cross.inc ?
> Maybe I was not precise enough above, but removing libstdc++-dev from 
> PACKAGES
> in recipes/gcc/gcc-package-cross.inc and bump INC_PR in gcc-4.3.3.inc 
> fix the problems.

Hi Stefan,
thanks for your fix, as soon as I finish building another base-image, I
am going to try your suggestion.

What do you mean by bumping INC_PR?

After applying your patch, is there anything else I have to consider, like
e.g. cleaning meta-toolchain or things like that?

regards,
fabian





More information about the Openembedded-devel mailing list