Skip to contentSkip to conversation

Unable to build Angstrom meta-toolchain

beagleboard fabian büttner 6 participants 16 messages Aug 18, 2011 – Aug 22, 2011

lore
Share & tools
lore
#0 lore raw

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?

regards,
fabian

#1 lore raw
Quoted 20 lines · fabian büttner

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.

Quoted 2 lines

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.

-Peter-

#2 lore raw
Quoted 21 lines · Peter Housel
Quoted 20 lines · fabian büttner

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.

Quoted 8 lines
Quoted 2 lines

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.

-Peter-

Hi Peter,
thank you for your answer!

In the meantime I am going to use one of those
toolchains: http://www.angstrom-distribution.org/toolchains/

I'd be glad to help you with finding the root cause!

regards,
fabian

#3 lore raw
In reply to Peter Housel

Am 18.08.2011 19:48, schrieb Peter Housel:

Quoted 21 lines · fabian büttner
Quoted 20 lines

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.

Quoted 6 lines
Quoted 2 lines

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.

Regards,
Stefan

#4 lore raw
Quoted 39 lines · Stefan Herbrechtsmeier

Am 18.08.2011 19:48, schrieb Peter Housel:

Quoted 23 lines · fabian büttner
Quoted 22 lines

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 2 lines

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.

Philip

#5 lore raw
Quoted 40 lines · Philip Balister
Quoted 39 lines · Stefan Herbrechtsmeier

Am 18.08.2011 19:48, schrieb Peter Housel:

Quoted 23 lines · fabian büttner
Quoted 22 lines

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 5 lines
Quoted 2 lines

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 ? I will see if I can reproduce it here

Quoted 7 lines

Philip

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#6 lore raw

Am 19.08.2011 16:32, schrieb Khem Raj:

Quoted 41 lines · Philip Balister
Quoted 40 lines · Stefan Herbrechtsmeier
Quoted 39 lines

Am 18.08.2011 19:48, schrieb Peter Housel:

Quoted 23 lines · fabian büttner
Quoted 22 lines

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

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.

#7 lore raw
Quoted 50 lines · Stefan Herbrechtsmeier

Am 19.08.2011 16:32, schrieb Khem Raj:

Quoted 49 lines · Philip Balister
Quoted 47 lines · Stefan Herbrechtsmeier
Quoted 41 lines

Am 18.08.2011 19:48, schrieb Peter Housel:

Quoted 24 lines · fabian büttner
Quoted 23 lines

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.

Quoted 8 lines
Quoted 4 lines

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.

Quoted 2 lines

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.

Quoted 6 lines
Quoted 2 lines

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

#9 lore raw
In reply to Khem Raj
Quoted 44 lines · Khem Raj
Quoted 43 lines · Philip Balister
Quoted 41 lines · Stefan Herbrechtsmeier

Am 18.08.2011 19:48, schrieb Peter Housel:

Quoted 23 lines · fabian büttner
Quoted 22 lines

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 14 lines
Quoted 2 lines

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 ?
I will see if I can reproduce it here

Quoted 7 lines

Philip

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Hi Khem,

I removed libstdc++-dev and I was able to build meta-toolchain.

regards,
fabian

#10 lore raw
Quoted 60 lines · fabian büttner
Quoted 44 lines · Khem Raj
Quoted 43 lines · Philip Balister
Quoted 41 lines · Stefan Herbrechtsmeier

Am 18.08.2011 19:48, schrieb Peter Housel:

Quoted 23 lines · fabian büttner
Quoted 22 lines

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 14 lines
Quoted 2 lines

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 ?
I will see if I can reproduce it here

Quoted 7 lines

Philip

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 4 lines

Hi Khem,

I removed libstdc++-dev and I was able to build meta-toolchain.

OK now can you send me list of files you have in
packages-split dir in gcc-cross build tree do

$ find

and send the output please

Quoted 8 lines

regards,
fabian

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#11 lore raw
Quoted 66 lines · Khem Raj
Quoted 60 lines · fabian büttner
Quoted 44 lines · Khem Raj
Quoted 43 lines · Philip Balister
Quoted 41 lines · Stefan Herbrechtsmeier

Am 18.08.2011 19:48, schrieb Peter Housel:

Quoted 23 lines · fabian büttner
Quoted 22 lines

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 14 lines
Quoted 2 lines

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 ?
I will see if I can reproduce it here

Quoted 7 lines

Philip

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 4 lines

Hi Khem,

I removed libstdc++-dev and I was able to build meta-toolchain.

Quoted 6 lines

OK now can you send me list of files you have in
packages-split dir in gcc-cross build tree do

$ find

and send the output please

Could you be more specific, I am new here.
Where do I find the packages-split dir?

regards,
fabian

#12 lore raw

Am Samstag, den 20.08.2011, 00:35 +0200 schrieb fabian büttner:

Quoted 2 lines · Khem Raj
Quoted 1 line · fabian büttner

[…]

Quoted 10 lines
Quoted 8 lines
Quoted 1 line

I removed libstdc++-dev and I was able to build meta-toolchain.

OK now can you send me list of files you have in
packages-split dir in gcc-cross build tree do

$ find

and send the output please

Could you be more specific, I am new here.

Adding a please would be nice next time.

Quoted 1 line

Where do I find the packages-split dir?

In your build directory. For example for libroxml.

        $ ls angstrom-dev/work/armv7a-angstrom-linux-gnueabi/libroxml-2.1.0-r0/
        image           package         staging-pkg      temp
        libroxml-2.1.0  packages-split  sysroot-destdir

If you have INHERIT += "rm_work" in you local.conf those directories are removed after a successful build. So you should comment that line out.

Thanks and good luck,

Paul

[1] http://gumstix.org/software-development/open-embedded/161-openembedded-directory-layout.html

#13 lore raw
In reply to fabian büttner

Am Samstag, den 20.08.2011, 00:35 +0200 schrieb fabian büttner:

Quoted 2 lines · Khem Raj
Quoted 1 line · fabian büttner

[…]

Quoted 10 lines
Quoted 8 lines
Quoted 1 line

I removed libstdc++-dev and I was able to build meta-toolchain.

OK now can you send me list of files you have in
packages-split dir in gcc-cross build tree do

$ find

and send the output please

Could you be more specific, I am new here.

Adding a please would be nice next time.

Quoted 1 line

Where do I find the packages-split dir?

In your build directory [1]. For example for libroxml.

        $ ls angstrom-dev/work/armv7a-angstrom-linux-gnueabi/libroxml-2.1.0-r0/
        image           package         staging-pkg      temp
        libroxml-2.1.0  packages-split  sysroot-destdir

If you have INHERIT += "rm_work" in you local.conf those directories are removed after a successful build. So you should comment that line out.

Thanks and good luck,

Paul

[1] http://gumstix.org/software-development/open-embedded/161-openembedded-directory-layout.html

#14 lore raw
Quoted 32 lines · Paul Menzel

Am Samstag, den 20.08.2011, 00:35 +0200 schrieb fabian büttner:

Quoted 2 lines · Khem Raj
Quoted 1 line · fabian büttner

[…]

Quoted 10 lines
Quoted 8 lines
Quoted 1 line

I removed libstdc++-dev and I was able to build meta-toolchain.

OK now can you send me list of files you have in
packages-split dir in gcc-cross build tree do

$ find

and send the output please

Could you be more specific, I am new here.

Adding a please would be nice next time.

Quoted 1 line

Where do I find the packages-split dir?

In your build directory [1]. For example for libroxml.

        $ ls angstrom-dev/work/armv7a-angstrom-linux-gnueabi/libroxml-2.1.0-r0/
        image           package         staging-pkg      temp
        libroxml-2.1.0  packages-split  sysroot-destdir

If you have INHERIT += "rm_work" in you local.conf those directories are removed after a successful build. So you should comment that line out.

Quoted 6 lines

Thanks and good luck,

Paul

[1] http://gumstix.org/software-development/open-embedded/161-openembedded-directory-layout.html

Hi Paul,

Thank you for your answer.
Like you suggested I commented the INHERIT line in my config and did a
bitbake -c clean gcc-cross. After that i tried building the
meta-toolchain again, which failed, with the following error:
[...]
| cp: cannot stat `/home/fab/git/angstrom-setup-scripts/build/tmp-angstrom_2010_x/pkgdata/armv7a-angstrom-linux-gnueabi/runtime/libstdc++-dev':
No such file or directory
NOTE: package meta-toolchain-1.0-r0: task do_populate_sdk: Failed
ERROR: Function 'do_populate_sdk' failed (see /home/fab/git/angstrom-setup-scripts/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/meta-toolchain-1.0-r0/temp/log.do_populate_sdk.23348 for further information)
ERROR: Task 14
(/home/fab/git/angstrom-setup-scripts/sources/openembedded/recipes/meta/meta-toolchain.bb,
do_populate_sdk) failed with exit code '1'
ERROR:
'/home/fab/git/angstrom-setup-scripts/sources/openembedded/recipes/meta/meta-toolchain.bb'
failed

The requested file list in packages-split work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.5-r37.1+svnr170443/packages-split:
./libssp
./libssp/usr
./libssp/usr/lib
./libssp/usr/lib/libssp.so.0.0.0
./libssp/usr/lib/libssp.so.0
./libstdc++.shlibdeps
./libssp.shlibdeps
./libgcc-dev
./libgcc-dev/usr
./libgcc-dev/usr/lib
./libgcc-dev/usr/lib/libgcc_s.so
./libg2c
./libgfortran
./libstdc++
./libstdc++/usr
./libstdc++/usr/lib
./libstdc++/usr/lib/libstdc++.so.6.0.14 ./libstdc++/usr/lib/libstdc++.so.6
./libgcc
./libgcc/lib
./libgcc/lib/libgcc_s.so.1
./libgcc.shlibdeps

regards,
fabian

#8 lore raw
In reply to fabian büttner

Am 19.08.2011 21:12, schrieb fabian büttner:

Quoted 55 lines · Stefan Herbrechtsmeier
Quoted 46 lines

Am 19.08.2011 16:32, schrieb Khem Raj:

Quoted 45 lines · Philip Balister
Quoted 44 lines · Stefan Herbrechtsmeier
Quoted 43 lines

Am 18.08.2011 19:48, schrieb Peter Housel:

Quoted 24 lines · fabian büttner
Quoted 23 lines

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.

Quoted 8 lines
Quoted 4 lines

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.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

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.

Quoted 5 lines

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?

I mean increasing the number of INC_PR to trigger a new build of the package and every dependent package.

Quoted 2 lines

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

If you increase the PR everything should work without cleaning.

Regards,
Stefan

#15 lore raw
In reply to fabian büttner

Am 20.08.2011 11:55, schrieb fabian büttner:

Quoted 71 lines · Paul Menzel
Quoted 27 lines

Am Samstag, den 20.08.2011, 00:35 +0200 schrieb fabian büttner:

Quoted 2 lines · Khem Raj
Quoted 1 line · fabian büttner

[…]

Quoted 8 lines
Quoted 7 lines
Quoted 1 line

I removed libstdc++-dev and I was able to build meta-toolchain.

OK now can you send me list of files you have in
packages-split dir in gcc-cross build tree do

$ find

and send the output please

Could you be more specific, I am new here.

Adding a please would be nice next time.

Quoted 1 line

Where do I find the packages-split dir?

In your build directory [1]. For example for libroxml.

         $ ls angstrom-dev/work/armv7a-angstrom-linux-gnueabi/libroxml-2.1.0-r0/
         image           package         staging-pkg      temp
         libroxml-2.1.0  packages-split  sysroot-destdir

If you have INHERIT += "rm_work" in you local.conf those directories are removed after a successful build. So you should comment that line out.

Quoted 6 lines

Thanks and good luck,

Paul

[1] http://gumstix.org/software-development/open-embedded/161-openembedded-directory-layout.html

Hi Paul,

Thank you for your answer.
Like you suggested I commented the INHERIT line in my config and did a
bitbake -c clean gcc-cross. After that i tried building the
meta-toolchain again, which failed, with the following error:
[...]
| cp: cannot stat `/home/fab/git/angstrom-setup-scripts/build/tmp-angstrom_2010_x/pkgdata/armv7a-angstrom-linux-gnueabi/runtime/libstdc++-dev':
No such file or directory
NOTE: package meta-toolchain-1.0-r0: task do_populate_sdk: Failed
ERROR: Function 'do_populate_sdk' failed (see /home/fab/git/angstrom-setup-scripts/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/meta-toolchain-1.0-r0/temp/log.do_populate_sdk.23348 for further information)
ERROR: Task 14
(/home/fab/git/angstrom-setup-scripts/sources/openembedded/recipes/meta/meta-toolchain.bb,
do_populate_sdk) failed with exit code '1'
ERROR:
'/home/fab/git/angstrom-setup-scripts/sources/openembedded/recipes/meta/meta-toolchain.bb'
failed

The requested file list in packages-split work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.5-r37.1+svnr170443/packages-split:
./libssp
./libssp/usr
./libssp/usr/lib
./libssp/usr/lib/libssp.so.0.0.0
./libssp/usr/lib/libssp.so.0
./libstdc++.shlibdeps
./libssp.shlibdeps
./libgcc-dev
./libgcc-dev/usr
./libgcc-dev/usr/lib
./libgcc-dev/usr/lib/libgcc_s.so
./libg2c
./libgfortran
./libstdc++

Quoted 9 lines

./libstdc++/usr
./libstdc++/usr/lib
./libstdc++/usr/lib/libstdc++.so.6.0.14
./libstdc++/usr/lib/libstdc++.so.6
./libgcc
./libgcc/lib
./libgcc/lib/libgcc_s.so.1
./libgcc.shlibdeps

Same error with gcc-cross-4.3.3-r24.2 for armv7a and armv5te

packages-split:
./libssp
./libssp/usr
./libssp/usr/lib
./libssp/usr/lib/libssp.so.0.0.0
./libssp/usr/lib/libssp.so.0
./libgfortran
./libgfortran/usr
./libgfortran/usr/lib
./libgfortran/usr/lib/libgfortran.so.3
./libgfortran/usr/lib/libgfortran.so.3.0.0
./libssp.shlibdeps
./libstdc++-dev
./libstdc++.shlibdeps
./libgfortran.shlibdeps
./libg2c
./libgcc-dev
./libgcc-dev/usr
./libgcc-dev/usr/lib
./libgcc-dev/usr/lib/libgcc_s.so
./libgcc.shlibdeps
./libstdc++
./libstdc++/usr
./libstdc++/usr/lib
./libstdc++/usr/lib/libstdc++.so.6.0.10
./libstdc++/usr/lib/libstdc++.so.6
./libgcc
./libgcc/lib
./libgcc/lib/libgcc_s.so.1

Regards,
Stefan