python-qt4-dbg installs into wrong target directory

Bug #682874 reported by Wolfgang Rohdewald
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-qt4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python-qt4-dbg

using kubuntu 10.10
ii python-qt4-dbg 4.7.4-0ubuntu1

it installs into /usr/lib/debug/usr/lib/python2.6/dist-packages
instead of /usr/lib/debug/usr/lib/pyshared/python2.6

with the result that backtraces do not find it.

The non-debug libs are in /usr/lib/pyshared/python2.6 and there
are symlinks like:
/usr/lib/pymodules/python2.6/PyQt4/QtCore.so -> /usr/lib/pyshared/python2.6/PyQt4/QtCore.so

For me the simplest fix was to do:
/usr/lib/debug/usr/lib/pyshared/python2.6# ln -s /usr/lib/debug/usr/lib/python2.6/dist-packages/PyQt4/ .

now backtrace finds the debug library.

Revision history for this message
Matthias Klose (doko) wrote :

known python-support insanity

Changed in python-qt4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Scott Kitterman (kitterman) wrote :

Is this still a problem in precise? The package now uses dh_python2 instead of python-support, but it looks to me like the files are still in the same place. If this is also a problem with dh_python2, then we need to go re-assess it's design.

Revision history for this message
Wolfgang Rohdewald (wolfgang-rohdewald) wrote :

the debug files are in the same place but the normal ones moved so yes now it works.

i5:/# ls -l `locate Qt4/QtCore.so`
-rw-r--r-- 1 root root 7286013 Apr 15 01:47 /usr/lib/debug/usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
lrwxrwxrwx 1 root root 48 Apr 15 01:48 /usr/lib/pyshared/python2.7/PyQt4/QtCore.so -> ../../../python2.7/dist-packages/PyQt4/QtCore.so
-rw-r--r-- 1 root root 2380744 Apr 15 01:47 /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so

Changed in python-qt4 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.