Your message dated Sun, 19 Jan 2014 19:56:28 +0100
with message-id <[email protected]>
and subject line Not a bug
has caused the Debian Bug report #639098,
regarding python-distutils.mk needs DEB_PYTHON_DESTDIR when non-python packages
are created by the same source
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
639098: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639098
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cdbs
Version: 0.4.96
Severity: normal
Hello,
I attached a very simple example package in order to make this bug
easier to talk about. The source package name is foo and it provides two
packages: foo and python-foo.
Package foo has only one binary, also called foo. It is installed to
/usr/bin/foo using foo.install file.
Package python-foo has a python package called foolizer and a module
foo inside it. It can be installed using distutils.
At first I set up my debian/rules like this:
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_PYTHON_MODULE_PACKAGES = python-foo
include /usr/share/cdbs/1/class/python-distutils.mk
it did not work (actually, at first I tried without
DEB_PYTHON_MODULE_PACKAGES, but it didn't work either). After some
debugging, I found out that this would work:
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_PYTHON_MODULE_PACKAGES = python-foo
DEB_PYTHON_DESTDIR = $(CURDIR)/debian/python-foo
include /usr/share/cdbs/1/class/python-distutils.mk
If I don't set DEB_PYTHON_DESTDIR, then the destination directory for
python modules becomes debian/tmp. That never gets added into python-foo
package. By setting that variable, it is properly installed in
debian/python-foo and it gets included in python-foo package.
It seems odd to me, because if I remove package foo from debian/control,
then all works even without setting DEB_PYTHON_DESTDIR or
DEB_PYTHON_MODULE_PACKAGES (actually, DEB_PYTHON_MODULE_PACKAGES never
seems to be necessary). Perhaps that's even the proper way. But why does
it need to be that way? Can't it be deduced from
DEB_PYTHON_MODULE_PACKAGES?
The same thing happens on cdbs from squeeze (setting DEB_PYTHON_SYSTEM
properly, of course), but I don't know how taget both versions of the
package. So I'm reporting this on sid, which has the latest version.
[]'s
Rafael
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages cdbs depends on:
ii debhelper 8.9.6 helper programs for debian/rules
Versions of packages cdbs recommends:
ii autotools-dev 20110511.1 Update infrastructure for config.{
Versions of packages cdbs suggests:
ii devscripts 2.11.1 scripts to make the life of a Debi
-- no debconf information
--- End Message ---
--- Begin Message ---
Closing - it was (supposedly: got not response) just user error, not a
bug.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature
--- End Message ---