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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to