Use correct root path when converting dist- to site- in arch packages

Bug #374892 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cdbs (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: cdbs

Currently the code that converts dist- to site- calls DEB_PYTHON_SETUP_CMD with the wrong --root command. Which means that the following code that does the conversion can't find the installed code.

The end result is errors like the following during pkg install:

tar: /home/mike/Projects/karmic/quodlibet/quodlibet-2.0-3ubuntu1.messy/debian/quodlibet-ext/usr/lib/python?.?/dist-packages: Cannot chdir: No such file or directory
tar: Error is not recoverable: exiting now
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

And you end up with an empty /usr/lib/python?.?/site-packages directory in the resulting .deb.

I found this when building the quodlibet-ext package.

A debdiff and bzr branch is forthcoming.

Revision history for this message
Michael Terry (mterry) wrote :
Martin Pitt (pitti)
Changed in cdbs (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks, good catch!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cdbs - 0.4.56ubuntu4

---------------
cdbs (0.4.56ubuntu4) karmic; urgency=low

  * 1/class/python-distutils.mk.in:
    - Use correct --root path for arch packages when converting from
      dist-packages to site-packages. LP: #374892

 -- Michael Terry <email address hidden> Fri, 15 May 2009 18:08:12 +0200

Changed in cdbs (Ubuntu):
status: In Progress → 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.