[Build-common-hackers] Bug#525436: cdbs: distutils not installing into non-python-named package
Jonas Smedegaard
dr at jones.dk
Sat Apr 25 12:01:47 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
package cdbs
retitle 525436 cdbs: distutils not installing into non-python-named package
thanks
On Sat, Apr 25, 2009 at 11:40:50AM +0200, Jonas Smedegaard wrote:
>On Sat, Apr 25, 2009 at 10:42:43AM +0200, Martin Pitt wrote:
>>Jonas Smedegaard [2009-04-25 9:36 +0200]:
>>> In other words, the problem is not that python install rule does no
>>> longer get invoked, but that it now gets invoked in parallel (or in
>>> undefined order of) other install/* rules.
>>
>>So if I first include distutils.mk and then define an "install/foo::"
>>rule, my own rule isn't guaranteed to be invoked later than the
>>distutils ones? I always understood "::" as an "append" operator, not
>>"throw it into the set". It's entirely possible that I was wrong all
>>the time, of course.
>
>I might be wrong, but yes, my understanding of :: rules is that even if
>they often in practice run in the order defined, that is not ensured.
According to make documentation, :: rules are indeed "executed in the
order they appear in the makefile" as you expected.
The problem is another: calibre relied on python-distutils installing
into topmost binary package declared in debian/control.
Adding the following (either above or below snippet inclusions - order
does not matter) makes the package build corectly:
DEB_PYTHON_MODULE_PACKAGES = calibre
Not sure yet if this is a bug in CDBS - just emailing this as soon as I
discovered the true issue.
- Jonas
- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkny+6sACgkQn7DbMsAkQLiH2ACfamSfwDo3htW3Ayhcqs9HIEBi
cFoAnRPYV9eVLR0pA5XEerBNKrvbrHw5
=fcbe
-----END PGP SIGNATURE-----
More information about the Build-common-hackers
mailing list