Skip to contentSkip to conversation

Unable to build meta-toolchain

2011.03-maintenance Stefan Herbrechtsmeier 2 participants 2 messages Aug 24, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

commit 105d881227d06f31c180dffb777ee63361b2f2b8
'gcc: Package libstdc++ gdb python helpers into dev package'
breaks meta-toolchain generation. See also [1]

This commit adds dev packages (libstdc++-dev libgcc-dev) to gcc-cross (gcc-package-cross.inc) which are already part of gcc. The libgcc-dev package both include the libgcc_s.so file which triggers a 'file is already provided by package' error on incremental builds. The libstdc++-dev package have different content and triggers a 'Cannot satisfy the following dependencies for task-sdk-bare' error. If an empty libstdc++-dev package is generated it triggers a '..../usr/include/c++ not exist' error as this is part of the package from gcc but not gcc-cross.

For me the gcc-package-cross.inc part of the patch looks wrong as the dev packages are already part of the gcc recipe and the python helpers should only be removed from libstdc++ package.

I have the problems with my own machines (armv5te, armv7a) as well as with a fresh beagleboard build for angstrom-2008.1.

Regards,
Stefan

[1] http://www.mail-archive.com/[email protected]/msg20425.html

#1 lore raw
Quoted 21 lines · Stefan Herbrechtsmeier

Hi,

commit 105d881227d06f31c180dffb777ee63361b2f2b8
'gcc: Package libstdc++ gdb python helpers into dev package'
breaks meta-toolchain generation. See also [1]

This commit adds dev packages (libstdc++-dev libgcc-dev) to gcc-cross (gcc-package-cross.inc) which are already part of gcc. The libgcc-dev package both include the libgcc_s.so file which triggers a 'file is already provided by package' error on incremental builds. The libstdc++-dev package have different content and triggers a 'Cannot satisfy the following dependencies for task-sdk-bare' error. If an empty libstdc++-dev package is generated it triggers a '..../usr/include/c++ not exist' error as this is part of the package from gcc but not gcc-cross.

For me the gcc-package-cross.inc part of the patch looks wrong as the dev packages are already part of the gcc recipe and the python helpers should only be removed from libstdc++ package.

Quoted 7 lines

I have the problems with my own machines (armv5te, armv7a) as well as with a fresh beagleboard build for angstrom-2008.1.

Regards,
Stefan

[1] http://www.mail-archive.com/[email protected]/msg20425.html

Seems to be the same problem mentioned in the last part of [2]. Would be great if this could be fixed quickly.

Regards,
Steffen

[2] http://thread.gmane.org/gmane.comp.handhelds.openembedded/46924/focus=47145

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058