Bug 456722

Summary: kdebindings 4.1 mixes up Python and Ruby bindings
Product: [Fedora] Fedora Reporter: Kevin Kofler <kevin>
Component: kdebindingsAssignee: Kevin Kofler <kevin>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: urgent    
Version: rawhideCC: kevin, ltinkl, rdieter, than, tuju, tuxbrewr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-26 01:11:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 446427    

Description Kevin Kofler 2008-07-25 20:10:51 UTC
Description of problem:
kdebindings 4.1 (and prereleases like 4.0.99) confuses the Ruby and Python 
bindings, Python bindings get installed into the Ruby directory:
*** WARNING: identical binaries are copied, not linked:
        /usr/lib64/python2.5/site-packages/PyKDE4/solid.so
   and  /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/solid.so
*** WARNING: identical binaries are copied, not linked:
        /usr/lib64/python2.5/site-packages/PyKDE4/ktexteditor.so
   and  /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/ktexteditor.so
*** WARNING: identical binaries are copied, not linked:
        /usr/lib64/python2.5/site-packages/PyKDE4/khtml.so
   and  /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/khtml.so
*** WARNING: identical binaries are copied, not linked:
        /usr/lib64/python2.5/site-packages/PyKDE4/phonon.so
   and  /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/phonon.so
*** WARNING: identical binaries are copied, not linked:
        /usr/lib64/python2.5/site-packages/PyKDE4/soprano.so
   and  /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/soprano.so
*** WARNING: identical binaries are copied, not linked:
        /usr/lib64/python2.5/site-packages/PyKDE4/nepomuk.so
   and  /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/nepomuk.so

Version-Release number of selected component (if applicable):
kdebindings-4.1.0-3.fc10

How reproducible:
Always

Steps to Reproduce:
1. Compare the files or look at the build.log.
  
Actual results:
Ruby bindings and Python bindings are correctly distinguished.

Expected results:
The wrong bindings are installed into the Ruby folder.

Additional info:
This is a regression from KDE 4.0 and kdebindings 4.1 should not reach F9 
updates before this is fixed.

Comment 1 Kevin Kofler 2008-07-25 20:12:42 UTC
Uh, of course I mean:

Actual results:
The wrong bindings are installed into the Ruby folder.

Expected results:
Ruby bindings and Python bindings are correctly distinguished.

Comment 2 Kevin Kofler 2008-07-25 20:21:01 UTC
Filed upstream KDE bug too:
http://bugs.kde.org/show_bug.cgi?id=167450

But please keep this open, as it is a showstopper and so we have to track its 
state in Fedora!

Comment 3 Kevin Kofler 2008-07-25 23:51:36 UTC
I applied a fix, but it only works in Rawhide (cmake 2.6), it fails the same 
way as before on F9 (cmake 2.4). :-(

Comment 4 Kevin Kofler 2008-07-26 00:45:13 UTC
Thanks to the help of Sebastian Sauer, I have a working patch now (the x86_64 
builds are complete and I checked that the mixup is no longer happening). Now 
we're just waiting for the builds to complete. (Note that upstream is 
apparently respinning their tarball with the patch included.)

Comment 5 Kevin Kofler 2008-07-26 01:11:08 UTC
Fixed in kdebindings-4.1.0-4.fc10 and kdebindings-4.1.0-4.fc9. (Rex, please 
include kdebindings-4.1.0-4.fc9 in the KDE 4.1.0 update.)