Description of problem: It seems on ppc the scim libraries (ie scim-libs.ppc) are being linked against libstdc++ not libstdc++so7 which obvious breaks scim on ppc completely. How reproducible: every build Steps to Reproduce: 1. rpmbuild --target ppc --rebuild scim.src.rpm 2. rpm -qp --requires scim-libs.ppc.rpm | grep CXXABI Actual results: libstdc++.so.6(CXXABI_1.3) Expected results: libstdc++-20060203.so.7(CXXABI_1.4) Additional info: This doesn't seem to affect any other archs.
AFAICS the problem is basically that libstdc++so7.ppc puts its libs in /usr/lib/gcc/ppc-redhat-linux/4.2.0-20060203, whereas libstdc++.ppc puts its libs in /usr/lib/gcc/ppc64-redhat-linux/4.1.0. So it seems to me libstdc++so7.spec should define and use %{gcc_target_platform} like gcc.spec does. In particular this: %ifarch ppc %define gcc_target_platform ppc64-%{_vendor}-%{_target_os} %endif
I forgot to mention that scim.ppc is linked against libstdc++so7 though, and hence this totally breaks scim on ppc.
I've rebuild them on my pc to remove this invalid dependency, but in vain. Maybe, I could try again later this weekend.
> like gcc.spec does. In particular this: > %ifarch ppc > %define gcc_target_platform ppc64-%{_vendor}-%{_target_os} > %endif I've tested that and got the same result.
> I've tested that and got the same result. You want to test something like this in scim.spec: %ifarch ppc %define _target_platform ppc64-%{_vendor}-%{_target_os} %endif
At last, I've solved the problem. I haven't test this deeply, but I think it works.
Created attachment 127654 [details] New specfile Here the new specfile.
It've found that scim-anthy needs the same trick too. Maybe scim-pinyin does too.
I've tested this trick these few days, bug found no problem at all. I think we may close this post as solved. Please apply that trick on all the scim* packages, and then close this bugzilla.
libstdc++so7-4.2.0-0.3.20060428.fc5.1 scim-1.4.4-9.2.fc5 scim-anthy-1.0.0-1.fc5.1 scim-chewing-0.2.1-5.2 scim-hangul-0.2.2-1.fc5.1 scim-m17n-0.2.0-2.1 scim-pinyin-0.5.91-4.4 scim-tables-0.5.6-3.1 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.
Note the FC5 updates for this are in currently in "testing". They can be installed with something like: # yum --enablerepo=updates-testing upgrade scim-anthy