FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

LinkBack Thread Tools
Old 11-20-2010, 09:50 PM
Eric Pozharski
Default Bug#604188: make: dh_python2: Command not found

Package: gcc-defaults
Version: 1.96
Severity: important
Tags: patch
Justification: fails to build from source

[[ blog excerpt ]]
dh_installchangelogs -i
dh_installdocs -plibgcj-common
dh_installchangelogs -plibgcj-common
mv debian/libgcj-common/usr/share/doc/libgcj-common/changelog
install -m644 build/cacerts debian/libgcj-common/etc/java/cacerts-gcj
dh_compress -i -XREADME.Debian
dh_fixperms -i
dh_python2 -plibgcj-common
make: dh_python2: Command not found
make: *** [binary-indep] Error 127
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
[[ end excerpt ]]

As you can see, not any 'python' binary package gives 'dh_python2'.
I've checked, gcc-defaults_1.97exp1 has B-D-I of 'python' plain too.
Please, make your B-D-I relative.

-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (700, 'testing'), (700, 'stable'), (1, 'testing'), (1, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=ru_UA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
--- ../control 2010-11-21 00:32:12.000000000 +0200
+++ debian/control 2010-11-21 00:33:27.000000000 +0200
@@ -5,7 +5,7 @@
Uploaders: Matthias Klose <doko@debian.org>, Arthur Loiret <aloiret@debian.org>
Standards-Version: 3.9.1
Build-Depends: m4, debhelper (>= 5), dpkg-dev (>= 1.13.9), gcj-4.4-base (>= 4.4.5~) [!arm], gcc-4.4-base (>= 4.4.5~), lsb-release
-Build-Depends-Indep: ca-certificates, gcj-jdk, python
+Build-Depends-Indep: ca-certificates, gcj-jdk, python (>= 2.6.5)
XS-Python-Version: all

Package: cpp

Thread Tools

All times are GMT. The time now is 04:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org