Description of Problem: I rebuilt kdelibs with gcc-3.1-2. All went well ( or seemed to). When I tried to install the rpm, the rpm packager couldn't find or open the files Version-Release number of selected component (if applicable): kdelibs-3.0.1-2.src.rpm FWIW: rpm-4.0.4-7x.18 How Reproducible: Steps to Reproduce: 1. rpm --rebuild 2. rpm -Uvh 3. Actual Results: rpm -Uvvvh kdelibs* D: ============== kdelibs-3.0.1-2.i386.rpm D: Expected size: 10379982 = lead(96)+sigs(160)+pad(0)+data(10379726) D: Actual size: 10379982 D: opening db environment /var/lib/rpm/Packages create:mpool D: opening db index /var/lib/rpm/Packages create mode=0x42 D: locked db index /var/lib/rpm/Packages D: opening db index /var/lib/rpm/Name create mode=0x42 D: added binary package [0] D: ============== kdelibs.deps D: ============== kdelibs-devel-3.0.1-2.i386.rpm D: Expected size: 3504549 = lead(96)+sigs(160)+pad(0)+data(3504293) D: Actual size: 3504549 D: added binary package [1] D: ============== error: error: open of error: failed: No such file or directory D: ============== failed error: open of failed failed: No such file or directory D: ============== dependencies: error: open of dependencies: failed: No such file or directory D: ============== libqtmcop-gcc2.96.so.1 error: open of libqtmcop-gcc2.96.so.1 failed: No such file or directory D: ============== is error: open of is failed: No such file or directory D: ============== needed error: open of needed failed: No such file or directory D: ============== by error: open of by failed: No such file or directory D: ============== kdelibs-3.0.1-2 error: open of kdelibs-3.0.1-2 failed: No such file or directory D: ============== libsoundserver_idl-gcc2.96.so.1 error: open of libsoundserver_idl-gcc2.96.so.1 failed: No such file or directory D: ============== is error: open of is failed: No such file or directory D: ============== needed error: open of needed failed: No such file or directory D: ============== by error: open of by failed: No such file or directory D: ============== kdelibs-3.0.1-2 error: open of kdelibs-3.0.1-2 failed: No such file or directory D: ============== libartskde-gcc2.96.so.1 error: open of libartskde-gcc2.96.so.1 failed: No such file or directory D: ============== is error: open of is failed: No such file or directory D: ============== needed error: open of needed failed: No such file or directory D: ============== by error: open of by failed: No such file or directory ..... [goes on for a long time ] Expected Results: Additional Information:
This is because gcc 3.1 is not binary compatible with earlier gccs. Use --nodeps to install the package (you'll need to recompile anything using it afterwards). A kdelibs package built with gcc 3.1 doesn't provide lib*-gcc2.96.so.1.
--nodeps doesn't work. Same result. Even --force doesn't work. I'm not an rpm maven, but as I read this output it's unable to read the rpm file itself. That is, it's not up to checking for dependencies, it doesn't even start. jay
Created attachment 58864 [details] last part of output from rpm --rebuild kdelibs-3.0.1-2
Right, something else is going on here, but it's not reproducable here (see the rawhide kde packages for proof ;) ). By any chance, did you forget to rebuild qt and/or arts first?
So I rpm -e all of kde and arts. No kdelibs*, no *gcc2.96*. rpm --rebuilddb. I rebuild and install arts. I rebuild and try to install kdelibs - same result. I've attached a snip from the kdelibs rebuild showing the requires. None of this stuff is there. Why is rpm trying to open it? How does rpm even know about the other files and programs? This seems like some weird rpm error. jay
Sorry - my comment passed yours in the ether. I did rebuild qt with gc-3.1 , though before I erased kde. I'll rebuild it again now that kde is all gone. [root@daddy include]# rpm -qa | grep 3.0.0 kdoc-3.0.0-1.cvs20020321.2 I have grep'ed /usr/lib and /usr/include for gcc2.96. Nothing. Did you rebuild kdelibs with gcc-3.1? jay
WFM now. I rebuilt qt w/o kde installed. then arts. then kdelibs-3.0.2-4. It worked. Still puzzled by why I had the original problem, but...