[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

python-bz2_1.1-6 really is broken



Rebuilds will always fail.  Line 78 of dh_python does:

my $python = 'python';

# The current python major version
my $python_major;
my $python_version = `$python -V 2>&1`;
if ("$python_version" eq "") {
        error("Python is not installed, aborting. (Probably forgot to Build-Depe
nd on python.)");
}

ie you haven't depended on python, so there is no /usr/bin/python.
python2.2-dev depends on python2.2, but python2.2 doesn't depend on
python.

----- Forwarded message from Bdale Garbee <bdale@gag.com> -----

To: willy@debian.org
Subject: [Debian/IA64 non-US Build Daemon] Log for failed build of
 python-bz2_1.1-6 (dist=unstable)
From: Bdale Garbee <bdale@gag.com>
Date: Tue, 26 Aug 2003 12:36:03 -0600
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

X-From-Line: buildd@caballero.debian.org  Tue Aug 26 12:15:05 2003
X-Original-To: bdale@localhost
Delivered-To: bdale@localhost
Delivered-To: bdale@gag.com
Subject: Log for failed build of python-bz2_1.1-6 (dist=unstable)
From: Debian/IA64 non-US Build Daemon <buildd@caballero.debian.org>
To: buildd-porters@caballero.debian.org
Date: Tue, 26 Aug 2003 19:11:57 +0100
Delivered-To: buildd-porters@caballero.debian.org
X-UIDL: GPL!!n!B"!K>M!!(0j"!
Xref: rover.gag.com debian.buildd.ia64:93453

Automatic build of python-bz2_1.1-6 on caballero by sbuild/ia64 1.170.4
Build started at 20030826-1911
******************************************************************************
Checking available source versions...
Fetching source files...
Reading Package Lists...
Building Dependency Tree...
Need to get 28.6kB of source archives.
Get:1 http://incoming.debian.org unstable/main python-bz2 1.1-6 (dsc) [611B]
Get:2 http://incoming.debian.org unstable/main python-bz2 1.1-6 (tar) [25.2kB]
Get:3 http://incoming.debian.org unstable/main python-bz2 1.1-6 (diff) [2779B]
Fetched 28.6kB in 0s (37.5kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends: debhelper (>= 4.1), python2.2-dev, libbz2-dev, bzip2, cdbs
Checking for already installed source dependencies...
debhelper: missing
python2.2-dev: missing
libbz2-dev: missing
bzip2: missing
cdbs: missing
Checking for source dependency conflicts...
  /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install debhelper python2.2-dev libbz2-dev bzip2 cdbs
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  debconf-utils gettext html2text intltool-debian libbz2-1.0 libdb4.1
  libreadline4 libssl0.9.7 po-debconf python2.2 
The following NEW packages will be installed:
  bzip2 cdbs debconf-utils debhelper gettext html2text intltool-debian
  libbz2-1.0 libbz2-dev libdb4.1 libreadline4 libssl0.9.7 po-debconf python2.2
  python2.2-dev 
0 packages upgraded, 15 newly installed, 0 to remove and 0  not upgraded.
Need to get 0B/9276kB of archives. After unpacking 30.2MB will be used.
Selecting previously deselected package libreadline4.
(Reading database ... 13091 files and directories currently installed.)
Unpacking libreadline4 (from .../libreadline4_4.3-5_ia64.deb) ...
Selecting previously deselected package libssl0.9.7.
Unpacking libssl0.9.7 (from .../libssl0.9.7_0.9.7b-2_ia64.deb) ...
Selecting previously deselected package libdb4.1.
Unpacking libdb4.1 (from .../libdb4.1_4.1.25-6_ia64.deb) ...
Selecting previously deselected package python2.2.
Unpacking python2.2 (from .../python2.2_2.2.3-4_ia64.deb) ...
Selecting previously deselected package libbz2-1.0.
Unpacking libbz2-1.0 (from .../libbz2-1.0_1.0.2-1_ia64.deb) ...
Selecting previously deselected package bzip2.
Unpacking bzip2 (from .../bzip2_1.0.2-1_ia64.deb) ...
Selecting previously deselected package cdbs.
Unpacking cdbs (from .../archives/cdbs_0.4.5.3_all.deb) ...
Selecting previously deselected package debconf-utils.
Unpacking debconf-utils (from .../debconf-utils_1.3.12_all.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.1-2_ia64.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.12.1-3_ia64.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.26+20030525_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_0.7.1_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_4.1.70_all.deb) ...
Selecting previously deselected package libbz2-dev.
Unpacking libbz2-dev (from .../libbz2-dev_1.0.2-1_ia64.deb) ...
Selecting previously deselected package python2.2-dev.
Unpacking python2.2-dev (from .../python2.2-dev_2.2.3-4_ia64.deb) ...
Setting up libreadline4 (4.3-5) ...

Setting up libssl0.9.7 (0.9.7b-2) ...

Setting up libdb4.1 (4.1.25-6) ...
Setting up python2.2 (2.2.3-4) ...

Setting up libbz2-1.0 (1.0.2-1) ...

Setting up bzip2 (1.0.2-1) ...

Setting up cdbs (0.4.5.3) ...
Setting up debconf-utils (1.3.12) ...

Setting up html2text (1.3.1-2) ...

Setting up gettext (0.12.1-3) ...

Setting up intltool-debian (0.26+20030525) ...
Setting up po-debconf (0.7.1) ...
Setting up debhelper (4.1.70) ...
Setting up libbz2-dev (1.0.2-1) ...

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

Checking correctness of source dependencies...
Toolchain package versions: libc6.1-dev_2.3.2-3 gcc-3.3_1:3.3.2-0pre1 g++-3.3_1:3.3.2-0pre1 binutils_2.14.90.0.5-0.2 libstdc++5_1:3.3.2-0pre1 libstdc++5-3.3-dev_1:3.3.2-0pre1
------------------------------------------------------------------------------
dpkg-source: extracting python-bz2 in python-bz2-1.1
dpkg-buildpackage: source package is python-bz2
dpkg-buildpackage: source version is 1.1-6
dpkg-buildpackage: host architecture is ia64
 /usr/bin/fakeroot debian/rules clean
test -x debian/rules
test "`id -u`" = 0
if test -n "" && test "" != "."; then rmdir ""; fi
if test "." != "."; then rmdir .; fi
dh_clean
patches: debian/patches/pointers.patch
Trying reversed patch debian/patches/pointers.patch at level 0...1...2...failure (ignored).
if [ "reverse-patches" = "debian/stamp-patched" ]; then touch debian/stamp-patched; fi
rm -f debian/stamp-patch*
rm -f debian/patches/*.log
python setup.py clean -a
make: python: Command not found
make: [clean] Error 127 (ignored)
 debian/rules build
test -x debian/rules
if [ -n "" ]; then \
  mkdir -p ""; \
fi
if [ ! -d "." ]; then \
  mkdir -p "."; \
fi
if [ -z "" ]; then \
  if ! test -f debian/compat; then echo 4 > debian/compat; fi; \
fi
patches: debian/patches/pointers.patch
Trying patch debian/patches/pointers.patch at level 0...1...success.
if [ "debian/stamp-patched" = "debian/stamp-patched" ]; then touch debian/stamp-patched; fi
cd . && python2.2 setup.py build --build-base="./build"
running build
running build_ext
building 'bz2' extension
creating build
creating build/temp.linux-ia64-2.2
gcc -DNDEBUG -g -O3 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DVERSION="1.1" -I/usr/include/python2.2 -c bz2.c -o ./build/temp.linux-ia64-2.2/bz2.o
creating build/lib.linux-ia64-2.2
gcc -shared ./build/temp.linux-ia64-2.2/bz2.o -lbz2 -o ./build/lib.linux-ia64-2.2/bz2.so
 /usr/bin/fakeroot debian/rules binary-arch
test -x debian/rules
test "`id -u`" = 0
dh_clean -k
dh_installdirs -A 
if [ -n "" ]; then \
  mkdir -p ""; \
fi
if [ ! -d "." ]; then \
  mkdir -p "."; \
fi
if [ -z "" ]; then \
  if ! test -f debian/compat; then echo 4 > debian/compat; fi; \
fi
cd . && python2.2 setup.py build --build-base="./build"
running build
running build_ext
skipping 'bz2' extension (up-to-date)
python2.2 test.py 2>&1
.................
----------------------------------------------------------------------
Ran 17 tests in 0.080s

OK
dh_installdirs -ppython2.2-bz2 
cd . && /usr/bin/python2.2 setup.py install --root=debian/python2.2-bz2 --no-compile -O0 
running install
running build
running build_ext
skipping 'bz2' extension (up-to-date)
warning: install: modules installed to 'debian/python2.2-bz2/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_lib
creating debian/python2.2-bz2/usr
creating debian/python2.2-bz2/usr/lib
creating debian/python2.2-bz2/usr/lib/python2.2
creating debian/python2.2-bz2/usr/lib/python2.2/site-packages
copying build/lib.linux-ia64-2.2/bz2.so -> debian/python2.2-bz2/usr/lib/python2.2/site-packages
dh_link -ppython2.2-bz2 
dh_installdocs -ppython2.2-bz2 ./README ./NEWS ./AUTHORS  
dh_installexamples -ppython2.2-bz2 
dh_installman -ppython2.2-bz2  
dh_installinfo -ppython2.2-bz2  
dh_installmenu -ppython2.2-bz2 
dh_installcron -ppython2.2-bz2 
dh_installinit -ppython2.2-bz2   
dh_installdebconf -ppython2.2-bz2 
dh_installemacsen -ppython2.2-bz2   
dh_installpam -ppython2.2-bz2 
dh_installchangelogs -ppython2.2-bz2   
dh_install -ppython2.2-bz2  
dh_link -ppython2.2-bz2 
dh_python -ppython2.2-bz2
Use of uninitialized value in string at /usr/bin/dh_python line 78.
dh_python: Python is not installed, aborting. (Probably forgot to Build-Depend on python.)
make: *** [binary-install/python2.2-bz2] Error 1
******************************************************************************
Build finished at 20030826-1911
FAILED [dpkg-buildpackage died]
------------------------------------------------------------------------------

----- End forwarded message -----

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk



Reply to: