Comment 2 for bug 6977

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <E1BieBc-00036e-00@dual>
Date: Thu, 08 Jul 2004 21:03:59 +0200
From: Goswin Brederlow <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: FTBFS: Missing Build-Depends on python or lacks versioned python call

--===============0289414623==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: pexpect
Severity: serious
Justification: no longer builds from source

Hi,

pexpect uses python during build which is now only available if the
python package is installed. You haveto Build-Depend on python or use
versioned pythonX.Y calls.

MfG
 Goswin

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=de_DE

--===============0289414623==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="build-20040707-2203.log"

Automatic build of pexpect_0.999-1 on dual by sbuild/amd64 1.169
Build started at 20040707-2203
******************************************************************************
Checking available source versions...
Fetching source files...
Reading Package Lists...
Building Dependency Tree...
Need to get 23.5kB of source archives.
Get:1 copy: sid/main pexpect 0.999-1 (dsc) [648B]
Get:2 copy: sid/main pexpect 0.999-1 (tar) [20.2kB]
Get:3 copy: sid/main pexpect 0.999-1 (diff) [2625B]
Fetched 23.5kB in 0s (415kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends-Indep: python2.2-dev, python2.3-dev, debhelper (>> 4.1.52)
Checking for already installed source dependencies...
python2.2-dev: missing
python2.3-dev: missing
debhelper: already installed (in sufficient version 4.2.12 >> 4.1.52)
Checking for source dependency conflicts...
  /usr/bin/sudo /usr/bin/apt-get --purge -q -y install python2.2-dev python2.3-dev
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  python2.2
Suggested packages:
  python2.2-doc
Recommended packages:
  python2.2-iconvcodec python2.2-cjkcodecs python2.2-japanese-codecs
The following NEW packages will be installed:
  python2.2 python2.2-dev python2.3-dev
debconf: Please do not capitalize the first letter of the debconf frontend.
0 upgraded, 3 newly installed, 0 to remove and 8 not upgraded.
Need to get 0B/5389kB of archives.
After unpacking 19.3MB of additional disk space will be used.
Selecting previously deselected package python2.2.
(Reading database ... 12863 files and directories currently installed.)
Unpacking python2.2 (from .../python2.2_2.2.3-10_amd64.deb) ...
Selecting previously deselected package python2.2-dev.
Unpacking python2.2-dev (from .../python2.2-dev_2.2.3-10_amd64.deb) ...
Selecting previously deselected package python2.3-dev.
Unpacking python2.3-dev (from .../python2.3-dev_2.3.4-5_amd64.deb) ...
Setting up python2.2 (2.2.3-10) ...
Compiling python modules in /usr/lib/python2.2 ...
Compiling optimized python modules in /usr/lib/python2.2 ...

Setting up python2.2-dev (2.2.3-10) ...

Setting up python2.3-dev (2.3.4-5) ...

Checking correctness of source dependencies...
------------------------------------------------------------------------------
dpkg-source: extracting pexpect in pexpect-0.999
dpkg-buildpackage: source package is pexpect
dpkg-buildpackage: source version is 0.999-1
dpkg-buildpackage: host architecture is amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
rm -rf build
dh_clean
 debian/rules build
dh_testdir
touch configure-stamp
dh_testdir
/usr/bin/python2.2 setup.py build
running build
running build_py
creating build
creating build/lib
copying pexpect.py -> build/lib
/usr/bin/python2.3 setup.py build
running build
running build_py
touch build-stamp
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
/usr/bin/python2.2 setup.py install --root=debian/python2.2-pexpect \
            --no-compile
warning: install: modules installed to 'debian/python2.2-pexpect/usr/lib/python2.2/site-packages/', which is not in Python's module search path (sys.path) -- you'll have to change the search path yourself
running install
running build
running build_py
not copying pexpect.py (output up-to-date)
running install_lib
creating debian/python2.2-pexpect/usr
creating debian/python2.2-pexpect/usr/lib
creating debian/python2.2-pexpect/usr/lib/python2.2
creating debian/python2.2-pexpect/usr/lib/python2.2/site-packages
copying build/lib/pexpect.py -> debian/python2.2-pexpect/usr/lib/python2.2/site-packages
/usr/bin/python2.3 setup.py install --root=debian/python2.3-pexpect \
            --no-compile
running install
running build
running build_py
running install_lib
creating debian/python2.3-pexpect/usr
creating debian/python2.3-pexpect/usr/lib
creating debian/python2.3-pexpect/usr/lib/python2.3
creating debian/python2.3-pexpect/usr/lib/python2.3/site-packages
copying build/lib/pexpect.py -> debian/python2.3-pexpect/usr/lib/python2.3/site-packages
dh_testdir -i
dh_testroot -i
dh_installdocs -i
dh_installexamples -i
dh_installchangelogs -i
dh_link -i
dh_python -i
dh_python: Python is not installed, aborting. (Probably forgot to Build-Depend on python.)
make: *** [binary-indep] Error 1
******************************************************************************
Build finished at 20040707-2203
FAILED [dpkg-buildpackage died]
------------------------------------------------------------------------------
  /usr/bin/sudo dpkg --purge python2.3-dev python2.2 python2.2-dev

--===============0289414623==--