Debian Bug report logs - #640693
dh_python2: error: no such option: --with

version graph

Package: python-defaults; Maintainer for python-defaults is Matthias Klose <doko@debian.org>;

Reported by: Mathieu Malaterre <malat@debian.org>

Date: Tue, 6 Sep 2011 15:57:02 UTC

Severity: normal

Found in version 2.6.7-3

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, Matthias Klose <doko@debian.org>:
Bug#640693; Package python-defaults. (Tue, 06 Sep 2011 15:57:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Malaterre <mathieu.malaterre@gmail.com>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>. (Tue, 06 Sep 2011 15:57:05 GMT) Full text and rfc822 format available.

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

From: Mathieu Malaterre <mathieu.malaterre@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dh_python2: error: no such option: --with
Date: Tue, 06 Sep 2011 17:52:10 +0200
Package: python-defaults
Version: 2.6.7-3
Severity: normal


Hi,

  I cannot compile a C++ module with python bindings using python2. It fails with:

Unknown option: with
dh_bugfiles: warning: ignored unknown options in DH_OPTIONS
   dh_ucf -O--parallel
Unknown option: with
dh_ucf: warning: ignored unknown options in DH_OPTIONS
   dh_lintian -O--parallel
Unknown option: with
dh_lintian: warning: ignored unknown options in DH_OPTIONS
	install -d debian/libgdcm2.0/usr/share/lintian/overrides
	install -p -m644 debian/libgdcm2.0.lintian-overrides debian/libgdcm2.0/usr/share/lintian/overrides/libgdcm2.0
	install -d debian/python-vtkgdcm/usr/share/lintian/overrides
	install -p -m644 debian/python-vtkgdcm.lintian-overrides debian/python-vtkgdcm/usr/share/lintian/overrides/python-vtkgdcm
   dh_gconf -O--parallel
Unknown option: with
dh_gconf: warning: ignored unknown options in DH_OPTIONS
   dh_icons -O--parallel
Unknown option: with
dh_icons: warning: ignored unknown options in DH_OPTIONS
   dh_perl -O--parallel
Unknown option: with
dh_perl: warning: ignored unknown options in DH_OPTIONS
   dh_python2 -O--parallel
Usage: dh_python2 -p PACKAGE [-V [X.Y][-][A.B]] DIR [-X REGEXPR]


dh_python2: error: no such option: --with
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2


Input is:

$ cat rules
...
%:
	dh $@ --parallel --with python2

Thanks

-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

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




Changed Bug submitter to 'Mathieu Malaterre <malat@debian.org>' from 'Mathieu Malaterre <mathieu.malaterre@gmail.com>' Request was from Mathieu Malaterre <malat@debian.org> to control@bugs.debian.org. (Wed, 28 Mar 2012 13:54:48 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 16:55:11 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.