Debian Bug report logs - #577613
lintian: build-depends-on-python-dev-with-no-arch-any

version graph

Package: cdbs; Maintainer for cdbs is Debian QA Group <packages@qa.debian.org>; Source for cdbs is src:cdbs (PTS, buildd, popcon).

Reported by: Frank Lin PIAT <fpiat@klabs.be>

Date: Tue, 13 Apr 2010 06:15:02 UTC

Severity: wishlist

Found in version cdbs/0.4.77

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, CDBS Hackers <build-common-hackers@lists.alioth.debian.org>:
Bug#577613; Package cdbs. (Tue, 13 Apr 2010 06:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to Frank Lin PIAT <fpiat@klabs.be>:
New Bug report received and forwarded. Copy sent to CDBS Hackers <build-common-hackers@lists.alioth.debian.org>. (Tue, 13 Apr 2010 06:15:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Frank Lin PIAT <fpiat@klabs.be>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lintian: build-depends-on-python-dev-with-no-arch-any
Date: Tue, 13 Apr 2010 08:13:30 +0200
Package: cdbs
Version: 0.4.77
Severity: wishlist

Hello,

Python packages built with CDBS Build-depend on python-dev, even though
a build-depends on python would be enough. The lintian warning[1],
which is consistent with python policy:

The python policy (appendix A)[1], mention that:
> Build dependencies for Python dependent packages must be declared for
> every Python version that the package is built for. The python-all-dev
> should be used when building modules for any or all Python versions.
> To build for a specific version or versions, Build-Depend on
> pythonX.Y-dev.

**It also says**:
> Some applications and pure Python modules may be able to build-depend
> only on python or python-all and not require the -dev packages.

Lintian warning[1] is consistent with the later paragraph.

It would be nice if cdbs could detect whether python-dev is needed or
python if enough.

Alternatively, please better document that one should set:
  CDBS_BUILD_DEPENDS_class_python-distutils = python
or
  CDBS_BUILD_DEPENDS_class_python-distutils = python-all


Thanks,

Franklin

[1] http://lintian.debian.org/tags/build-depends-on-python-dev-with-no-arch-any.html

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

Kernel: Linux 2.6.32-4-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.17     helper programs for debian/rules

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

Versions of packages cdbs suggests:
ii  devscripts                    2.10.61    scripts to make the life of a Debi
ii  doc-base                      0.9.5      utilities to manage online documen

-- no debconf information




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jan 30 05:33:20 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.