[Build-common-hackers] Bug#545373: cdbs: Misleading warning about X.-Python-Version

Ludovico Cavedon ludovico.cavedon at gmail.com
Sun Sep 6 18:40:14 UTC 2009

Package: cdbs
Version: 0.4.61
Severity: minor

If XS-Python-Version and XB-Python-Version fields are present in debian/control,
but do debian/pyversions file, cdbs will give the following warning:

/usr/share/cdbs/1/class/python-distutils.mk:67: WARNING:  Use of
XS-Python-Version and XB-Python-Version fields in debian/control is deprecated
with pysupport method; use debian/pyversions if you need to specify specific

However XS-Python-Version and XB-Python-Version are required by the debian
python policy for simplifying python transitions. Moreover python-support will
work correctly with XS-Python-Version and XB-Python-Version fields and no
pyversions file. See discussion at [1].

[1] http://lists.debian.org/debian-python/2009/09/msg00038.html

Thank you,

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdbs depends on:
ii  debhelper                     7.4.0      helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20090611.1 Update infrastructure for config.{

Versions of packages cdbs suggests:
ii  devscripts                    2.10.54    scripts to make the life of a Debi
pn  doc-base                      <none>     (no description available)

-- no debconf information

More information about the Build-common-hackers mailing list