[Build-common-hackers] Bug#525436: cdbs: distutils not installing into non-python-named package

Martin Pitt mpitt at debian.org
Mon Apr 27 06:34:44 UTC 2009

Hello Jonas,

Jonas Smedegaard [2009-04-25 14:01 +0200]:
> The problem is another: calibre relied on python-distutils installing 
> into topmost binary package declared in debian/control.

Actually this was what I specifically wanted to avoid. Since it is a
multi-binary package, I'd expect cdbs autotools/distutils to install
into debian/tmp/, and using dh_install etc. to install into binary
packages. With that, I can do the necessary steps in this order:

 1. upstream install into debian/tmp/
 2. weed out the files which must be purged from debian/tmp/
 3. Let cdbs do its dh_* magic

If I move 2. past 3., the bad files are spread amongst all binary
packages (potentially), so cleaning is a bit more difficult.

It's not particularly difficult for the calibre case, of course.

> Adding the following (either above or below snippet inclusions - order 
> does not matter) makes the package build corectly:

That would indeed be a bit weird to specify. I think I'll just move
the stuff to binary-install/calibre then, if you think that's the
right thing to do.



Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20090427/12f2c2b9/attachment.pgp>

More information about the Build-common-hackers mailing list