[Distutils] stdeb bug: syntax error during dpkg -i

Tore Ferner torfer at pvv.org
Tue May 15 09:56:43 CEST 2007


Andrew Straw wrote:
> Tore Ferner wrote:
>> Andrew Straw wrote:
>>
>> [snip]
>>
>>  
>>> Hmm, this is strange. Apparently pycentral isn't interested in
>>> Python2.3, and yet it does get called. It's possible there's a pycentral
>>> bug, but I'm not sure. Can you post the contents of your
>>> deb-dst/bzr-0.16.0/debian/rules file?
>>>     
>>
>> Hi,
>>
>> It's at the end of the mail.
>>   
> 
> Hmm, the line "PYVERS=$(shell pyversions -vr)" looks like the only place
> where Python 2.3 could get found. So, what does the output of
> "pyversions -vr" give you?


When I stand in the location deb_dist/bzr-0.16.0, I get:

   $ pyversions -vr
   2.4


I've found some reports about this "using old verion" "bug", but no
solution really...yet.
Maybe I just as well remove python2.3 completely...

> Other that, I can't see anything else. Can
> you also post the output of "apt-cache show python-central" and
> "apt-cache show debhelper"?

$ apt-cache show python-central

Package: python-central
Priority: standard
Section: python
Installed-Size: 200
Maintainer: Matthias Klose <doko at debian.org>
Architecture: all
Version: 0.5.13-0.1
Depends: python (>= 2.3.5-7)
Conflicts: debhelper (<= 5.0.37.3)
Filename: pool/main/p/python-central/python-central_0.5.13-0.1_all.deb
Size: 32360
MD5sum: 7755414e18725f10a175d55a86e3a5df
SHA1: 94e410edcb6f3fea3fbd3fc7d888e0c199e1f0d0
SHA256: 5f08b32fb8ad086973e534fed730dfec005b575e890a33fa644e777f70ca7cfc
Description: register and build utility for Python packages
 This package provides support for building and installing
 python modules independent of the current installed Python
 version.
Tag: admin::automation, admin::package-management, devel::buildtools,
devel::lang:python, implemented-in::python, interface::commandline,
scope::utility, works-with::software:package, works-with::software:source

================================================

$ apt-cache show debhelper

Package: debhelper
Priority: optional
Section: devel
Installed-Size: 1260
Maintainer: Joey Hess <joeyh at debian.org>
Architecture: all
Version: 5.0.49
Depends: perl (>= 5.6.0-16), coreutils, file (>= 3.23-1), dpkg-dev (>=
1.13.13), html2text, binutils, po-debconf
Suggests: dh-make
Conflicts: dpkg-cross (<< 1.18), python-support (<< 0.5.3),
python-central (<< 0.5.6)
Filename: pool/main/d/debhelper/debhelper_5.0.49_all.deb
Size: 516948
MD5sum: b3af544027ede19ee72dc2f2f76e09b3
SHA1: f3d2899cd6831ac041c400b18a214fa44e6cf58f
SHA256: c1c0484f491060610704575015d38821ef7ffb4b0856180d3f7be73376a7b0a7
Description: helper programs for debian/rules
 A collection of programs that can be used in a debian/rules file to
 automate common tasks related to building debian packages. Programs
 are included to install various files into your package, compress
 files, fix file permissions, integrate your package with the debian
 menu system, debconf, doc-base, etc. Most debian packages use debhelper
 as part of their build process.
Tag: devel::{buildtools,debian,packaging}, implemented-in::perl,
interface::commandline, role::program, scope::utility, suite::debian,
works-with::software:source

Package: debhelper
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 1256
Maintainer: Joey Hess <joeyh at debian.org>
Architecture: all
Version: 5.0.44
Depends: perl (>= 5.6.0-16), coreutils, file (>= 3.23-1), dpkg-dev (>=
1.13.13), html2text, binutils, po-debconf
Suggests: dh-make
Conflicts: dpkg-cross (<< 1.18), python-support (<< 0.5.3),
python-central (<< 0.5.6)
Description: helper programs for debian/rules
 A collection of programs that can be used in a debian/rules file to
 automate common tasks related to building debian packages. Programs
 are included to install various files into your package, compress
 files, fix file permissions, integrate your package with the debian
 menu system, debconf, doc-base, etc. Most debian packages use debhelper
 as part of their build process.

Package: debhelper
Priority: optional
Section: devel
Installed-Size: 1004
Maintainer: Joey Hess <joeyh at debian.org>
Architecture: all
Version: 4.2.32
Depends: perl (>= 5.6.0-16), coreutils | fileutils (>= 4.0-2.1), file
(>= 3.23-1), dpkg-dev (>= 1.7.0), html2text, debconf-utils (>= 1.1.1),
binutils, po-debconf
Suggests: dh-make
Conflicts: dpkg-cross (<< 1.18)
Filename: pool/main/d/debhelper/debhelper_4.2.32_all.deb
Size: 362154
MD5sum: 863cd01cfbbafda7946bb35df5bac4cf
SHA1: 6a4e7e3389031d4c1dfbaf5373ad268382569eba
SHA256: a6bdca9e8ec6c8acac7531dc2366e465caf88cfbca4ed074b7e79c2aa97ac97f
Description: helper programs for debian/rules
 A collection of programs that can be used in a debian/rules file to
 automate common tasks related to building debian packages. Programs
 are included to install various files into your package, compress
 files, fix file permissions, integrate your package with the debian
 menu system, debconf, doc-base, etc. Most debian packages use debhelper
 as part of their build process.

================================================

$ dpkg -l| grep python-central
ii  python-central                       0.5.13-0.1
 register and build utility for Python packages

$ dpkg -l| grep debhelper
ii  debhelper                            5.0.44
 helper programs for debian/rules


Best regards
Tore


More information about the Distutils-SIG mailing list