[opensuse-buildservice] Strange Behavior in Project "CrossToolchain:sh4"
After some work, I now managed to bootstrap a linux cross toolchain for sh4 from scratch without binaries here: http://build.opensuse.org/project/show?project=CrossToolchain%3Ash4 It uses binutiles, kernel headers, gcc and glibc from openSUSE:Factory sources. But now I have run into some strange behavior of the buildservice: - All packages build fine for openSUSE 10.2 and openSUSE Factory targets - on SUSE 10.0 and SUSE 10.1, I get some strange expansion errors: have choice for libgcc_s.so.1 needed by db: libgcc cross-sh4-gcc, have choice for libgcc_s.so.1(GCC_3.0) needed by db: libgcc cross-sh4-gcc, have choice for libstdc++.so.6 needed by db: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(CXXABI_1.3) needed by db: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(GLIBCXX_3.4) needed by db: libstdc++ cross-sh4-gcc, have choice for libgcc_s.so.1 needed by gettext: libgcc cross-sh4-gcc, have choice for libgcc_s.so.1(GCC_3.0) needed by gettext: libgcc cross-sh4-gcc, have choice for libstdc++.so.6 needed by gettext: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(CXXABI_1.3) needed by gettext: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(GLIBCXX_3.4) needed by gettext: libstdc++ cross-sh4-gcc Can anybody explain what this means in my context? What can I do to fix this (can I?)? Cheers, Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Apr 17, 2007 at 03:59:21PM +0200, Martin Mohring wrote:
After some work, I now managed to bootstrap a linux cross toolchain for sh4 from scratch without binaries here: http://build.opensuse.org/project/show?project=CrossToolchain%3Ash4
It uses binutiles, kernel headers, gcc and glibc from openSUSE:Factory sources.
But now I have run into some strange behavior of the buildservice:
- All packages build fine for openSUSE 10.2 and openSUSE Factory targets - on SUSE 10.0 and SUSE 10.1, I get some strange expansion errors:
have choice for libgcc_s.so.1 needed by db: libgcc cross-sh4-gcc, have choice for libgcc_s.so.1(GCC_3.0) needed by db: libgcc cross-sh4-gcc, have choice for libstdc++.so.6 needed by db: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(CXXABI_1.3) needed by db: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(GLIBCXX_3.4) needed by db: libstdc++ cross-sh4-gcc, have choice for libgcc_s.so.1 needed by gettext: libgcc cross-sh4-gcc, have choice for libgcc_s.so.1(GCC_3.0) needed by gettext: libgcc cross-sh4-gcc, have choice for libstdc++.so.6 needed by gettext: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(CXXABI_1.3) needed by gettext: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(GLIBCXX_3.4) needed by gettext: libstdc++ cross-sh4-gcc
Can anybody explain what this means in my context? What can I do to fix this (can I?)?
This means that your packages contain a C++ runtime library which was either built for the host platform instead of the target platform or RPM has added provides for libraries of the target platform. In the first case you have to make sure to build the library for the target platform and in the second case you should prevent RPM from adding those provides (for example by disabling automatic generation of provides). Robert -- Robert Schiele Dipl.-Wirtsch.informatiker mailto:rschiele@gmail.com "Quidquid latine dictum sit, altum sonatur."
Robert Schiele wrote:
On Tue, Apr 17, 2007 at 03:59:21PM +0200, Martin Mohring wrote:
After some work, I now managed to bootstrap a linux cross toolchain for sh4 from scratch without binaries here: http://build.opensuse.org/project/show?project=CrossToolchain%3Ash4
It uses binutiles, kernel headers, gcc and glibc from openSUSE:Factory sources.
But now I have run into some strange behavior of the buildservice:
- All packages build fine for openSUSE 10.2 and openSUSE Factory targets - on SUSE 10.0 and SUSE 10.1, I get some strange expansion errors:
have choice for libgcc_s.so.1 needed by db: libgcc cross-sh4-gcc, have choice for libgcc_s.so.1(GCC_3.0) needed by db: libgcc cross-sh4-gcc, have choice for libstdc++.so.6 needed by db: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(CXXABI_1.3) needed by db: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(GLIBCXX_3.4) needed by db: libstdc++ cross-sh4-gcc, have choice for libgcc_s.so.1 needed by gettext: libgcc cross-sh4-gcc, have choice for libgcc_s.so.1(GCC_3.0) needed by gettext: libgcc cross-sh4-gcc, have choice for libstdc++.so.6 needed by gettext: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(CXXABI_1.3) needed by gettext: libstdc++ cross-sh4-gcc, have choice for libstdc++.so.6(GLIBCXX_3.4) needed by gettext: libstdc++ cross-sh4-gcc
Can anybody explain what this means in my context? What can I do to fix this (can I?)?
This means that your packages contain a C++ runtime library which was either built for the host platform instead of the target platform or RPM has added provides for libraries of the target platform. In the first case you have to make sure to build the library for the target platform and in the second case you should prevent RPM from adding those provides (for example by disabling automatic generation of provides).
I think, the second is the case. How can I tell RPM not to do this? It looks like this happens only on SUSE 10.0 and SUSE 10.1, and only on i586 buildhost here. Strange. And I have now deactivated the build target for the potential cause of the error. I get now the same error for some packages not related to glibc at all. Is there some "caching" effect? Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
soon you can configure that the buildservice will not use the built package to build other packages. see: http://lists.opensuse.org/opensuse-buildservice/2007-03/msg00157.html darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Apr 17, 2007 at 11:45:44PM +0200, Marcus Rueckert wrote:
soon you can configure that the buildservice will not use the built package to build other packages.
I guess that would not solve the issue here since he actually _needs_ his compiler to build a cross toolchain. Robert -- Robert Schiele Dipl.-Wirtsch.informatiker mailto:rschiele@gmail.com "Quidquid latine dictum sit, altum sonatur."
On Tue, Apr 17, 2007 at 11:13:53PM +0200, Martin Mohring wrote:
I think, the second is the case. How can I tell RPM not to do this? It
Just add autoprov: no to your spec file.
looks like this happens only on SUSE 10.0 and SUSE 10.1, and only on i586 buildhost here. Strange.
This is not really strange since x86_64 libraries have a different naming convention for their libraries to prevent conflicts with 32 bit libraries. Although I wonder why it does not conflict with the 32 bit compat package there.
And I have now deactivated the build target for the potential cause of the error. I get now the same error for some packages not related to glibc at all. Is there some "caching" effect?
I don't really understand what you mean here. This problem is completely unrelated to glibc, it listed libstdc++, didn't it? Robert -- Robert Schiele Dipl.-Wirtsch.informatiker mailto:rschiele@gmail.com "Quidquid latine dictum sit, altum sonatur."
participants (3)
-
Marcus Rueckert
-
Martin Mohring
-
Robert Schiele