FTBFS: Missing Build-Depends python

Bug #6832 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
pyrex (Debian)
Fix Released
Unknown
pyrex (Ubuntu)
Fix Released
Medium
Matt Zimmerman

Bug Description

Automatically imported from Debian bug report #255603
http://bugs.debian.org/255603

Revision history for this message
In , Paul Brossier (piem) wrote : moreinfo needed

tags 255603 moreinfo unreproductible
thanks, piem

from to the debian python policy draft [1] in 2.2.1:

     If the build process uses distutils and/or binary modules are
     built, the source package must declare:

          Build-Depends: pythonX.Y-dev

     where <X>.<Y> is the version used in the `Depends'. If the
     packaging process can deal with later versions of python without
     any changes to the packaging, it can instead declare:

          Build-Depends: python-dev (>= X.Y)

we are in the first case, since moving to python2.4 would require
changing the packaging. but further with appendix A, i understand that
for pyrex it should be:

          Build-Depends: python2.2-dev (>= 2.2-1)
          Build-Depends: python2.3-dev (>= 2.3-1)
          Build-Depends: python-dev (>= 2.3)

this is somewhat contradictory. anyway pbuilder is quite happy building
the package without using the python-dev package at all. python itself
is installed simply by the python2.3-dev build-dependancy. i get the
following output using pbuild against sarge [2].

are you trying to compile it for woody? let me know if/why you think a
Build-Depends on python-dev is still required.

thanks for your help

paul

--
[1] http://people.debian.org/~joss/python/python-policy-draft.txt

--
[2] snip from running 'pbuilder build pyrex_0.9.2.1-3.dsc'
Installing the build-deps
 -> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.18 2003/04/20 03:40:36 dancer Exp $
 -> Considering python2.2-dev
   -> Trying python2.2-dev
 -> Considering python2.3-dev
   -> Trying python2.3-dev
 -> Considering debhelper (>> 4.1.52)
   -> Trying debhelper
 -> Installing python2.2-dev python2.3-dev debhelper
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  debconf debconf-i18n debconf-utils file gettext gettext-base html2text intltool-debian libbz2-1.0 libdb4.2
  liblocale-gettext-perl libmagic1 libreadline4 libssl0.9.7 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl po-debconf python python2.2 python2.3
Suggested packages:
  debconf-doc whiptail dialog gnome-utils libterm-readline-gnu-perl libgnome2-perl libqt-perl libnet-ldap-perl
  dh-make cvs libbz2-dev bzip2 python-doc python-tk python2.2-doc python2.3-doc
Recommended packages:
  apt-utils python2.2-iconvcodec python2.2-cjkcodecs python2.2-japanese-codecs python2.3-iconvcodec
  python2.3-cjkcodecs python2.3-japanese-codecs
The following NEW packages will be installed:
  debconf debconf-i18n debconf-utils debhelper file gettext gettext-base html2text intltool-debian libbz2-1.0
  libdb4.2 liblocale-gettext-perl libmagic1 libreadline4 libssl0.9.7 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl po-debconf python python2.2 python2.2-dev python2.3 python2.3-dev
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
In , Paul Brossier (piem) wrote : unreproductible

tags 255603 unreproductible
# should not be that bad since amd64 is not released yet
severity 255603 minor
thanks, piem

Revision history for this message
In , Paul Brossier (piem) wrote : without the spelling

# arg, not very productive
tags 255603 unreproducible
thanks, the frog

Revision history for this message
In , Goswin von Brederlow (brederlo) wrote : Re: Bug#255603: unreproductible

Paul Brossier <email address hidden> writes:

> tags 255603 unreproductible
> # should not be that bad since amd64 is not released yet
> severity 255603 minor
> thanks, piem

Released or not doesn't matter. Previously build or not matters and
only toggels between RC or not RC.

Anyway, you are using

        dh_python

in debian/rules. That means you need python installed. Alternatively
you can use "-V version" to use a more specific python version.

MfG
        Goswin

Revision history for this message
In , LaMont Jones (lamont) wrote : Re: Bug#255603: FTBFS: Missing Build-Depends python

severity 255603 serious
tags 255603 -unreproducible
--

Pyrex fails to build in a current sid chroot, since it fails to build-depend
on python, and python2.3 (correctly) does not Depend: python.

Installing only python-2.3-dev (and python-2.3) does not give you a
/usr/bin/python.

Failure to build from source is a serious bug if it fails on any machine
that has previously built the package. i386 qualifies at this time.

The fix is to add 'python' to your Build-Depends: list.

lamont

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

Automatically imported from Debian bug report #255603
http://bugs.debian.org/255603

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

Message-Id: <E1BcWU4-0003xV-RF@dual>
Date: Mon, 21 Jun 2004 21:37:44 +0000
From: Goswin von Brederlow <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: FTBFS: Missing Build-Depends python

Package: pyrex
Version: 0.9.2.1
Severity: serious
Justification: no longer builds from source

Hi,

you are missing a Build-Depends on python.

MfG
 Goswin

-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=C

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

Message-ID: <20040622110737.GA14199@seagoon>
Date: Tue, 22 Jun 2004 12:07:37 +0100
From: Paul Brossier <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: moreinfo needed

tags 255603 moreinfo unreproductible
thanks, piem

from to the debian python policy draft [1] in 2.2.1:

     If the build process uses distutils and/or binary modules are
     built, the source package must declare:

          Build-Depends: pythonX.Y-dev

     where <X>.<Y> is the version used in the `Depends'. If the
     packaging process can deal with later versions of python without
     any changes to the packaging, it can instead declare:

          Build-Depends: python-dev (>= X.Y)

we are in the first case, since moving to python2.4 would require
changing the packaging. but further with appendix A, i understand that
for pyrex it should be:

          Build-Depends: python2.2-dev (>= 2.2-1)
          Build-Depends: python2.3-dev (>= 2.3-1)
          Build-Depends: python-dev (>= 2.3)

this is somewhat contradictory. anyway pbuilder is quite happy building
the package without using the python-dev package at all. python itself
is installed simply by the python2.3-dev build-dependancy. i get the
following output using pbuild against sarge [2].

are you trying to compile it for woody? let me know if/why you think a
Build-Depends on python-dev is still required.

thanks for your help

paul

--
[1] http://people.debian.org/~joss/python/python-policy-draft.txt

--
[2] snip from running 'pbuilder build pyrex_0.9.2.1-3.dsc'
Installing the build-deps
 -> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.18 2003/04/20 03:40:36 dancer Exp $
 -> Considering python2.2-dev
   -> Trying python2.2-dev
 -> Considering python2.3-dev
   -> Trying python2.3-dev
 -> Considering debhelper (>> 4.1.52)
   -> Trying debhelper
 -> Installing python2.2-dev python2.3-dev debhelper
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  debconf debconf-i18n debconf-utils file gettext gettext-base html2text intltool-debian libbz2-1.0 libdb4.2
  liblocale-gettext-perl libmagic1 libreadline4 libssl0.9.7 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl po-debconf python python2.2 python2.3
Suggested packages:
  debconf-doc whiptail dialog gnome-utils libterm-readline-gnu-perl libgnome2-perl libqt-perl libnet-ldap-perl
  dh-make cvs libbz2-dev bzip2 python-doc python-tk python2.2-doc python2.3-doc
Recommended packages:
  apt-utils python2.2-iconvcodec python2.2-cjkcodecs python2.2-japanese-codecs python2.3-iconvcodec
  python2.3-cjkcodecs python2.3-japanese-codecs
The following NEW packages will be installed:
  debconf debconf-i18n debconf-utils debhelper file gettext gettext-base html2text intltool-debian libbz2-1.0
  libdb4.2 liblocale-gettext-perl libmagic1 libreadline4 libssl0.9.7 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl po-debconf python python2.2 python2.2-dev python2.3 python2.3-dev
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.

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

Message-ID: <20040623143645.GA15141@paulpc>
Date: Wed, 23 Jun 2004 15:36:45 +0100
From: Paul Brossier <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: unreproductible

tags 255603 unreproductible
# should not be that bad since amd64 is not released yet
severity 255603 minor
thanks, piem

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

Message-ID: <20040623151557.GA20160@paulpc>
Date: Wed, 23 Jun 2004 16:15:57 +0100
From: Paul Brossier <email address hidden>
To: <email address hidden>
Subject: without the spelling

# arg, not very productive
tags 255603 unreproducible
thanks, the frog

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

Message-ID: <email address hidden>
Date: Thu, 24 Jun 2004 04:15:18 +0200
From: Goswin von Brederlow <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#255603: unreproductible

Paul Brossier <email address hidden> writes:

> tags 255603 unreproductible
> # should not be that bad since amd64 is not released yet
> severity 255603 minor
> thanks, piem

Released or not doesn't matter. Previously build or not matters and
only toggels between RC or not RC.

Anyway, you are using

        dh_python

in debian/rules. That means you need python installed. Alternatively
you can use "-V version" to use a more specific python version.

MfG
        Goswin

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

Message-ID: <email address hidden>
Date: Fri, 25 Jun 2004 16:50:07 -0600
From: LaMont Jones <email address hidden>
To: <email address hidden>
Subject: Re: Bug#255603: FTBFS: Missing Build-Depends python

severity 255603 serious
tags 255603 -unreproducible
--

Pyrex fails to build in a current sid chroot, since it fails to build-depend
on python, and python2.3 (correctly) does not Depend: python.

Installing only python-2.3-dev (and python-2.3) does not give you a
/usr/bin/python.

Failure to build from source is a serious bug if it fails on any machine
that has previously built the package. i386 qualifies at this time.

The fix is to add 'python' to your Build-Depends: list.

lamont

Revision history for this message
Matt Zimmerman (mdz) wrote :

Reassigning to LaMont, since I can tell he is itching to NMU it anyway :-)

Revision history for this message
In , Paul Brossier (piem) wrote :

tags 255603 confirmed pending
--

oops, sorry for insisting. the -4 version package should fix this
http://piem.homeip.net/~piem/debian/source/
http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.diff.gz
http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.dsc

if anyone can upload it...
cheers, piem

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

Message-ID: <email address hidden>
Date: Tue, 29 Jun 2004 19:45:46 +0100
From: Paul Brossier <email address hidden>
To: <email address hidden>
Subject: Re: Bug#255603: FTBFS: Missing Build-Depends python

tags 255603 confirmed pending
--

oops, sorry for insisting. the -4 version package should fix this
http://piem.homeip.net/~piem/debian/source/
http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.diff.gz
http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.dsc

if anyone can upload it...
cheers, piem

Revision history for this message
In , Marc 'HE' Brockschmidt (marc-marcbrockschmidt) wrote :

Hi,
> oops, sorry for insisting. the -4 version package should fix this
> http://piem.homeip.net/~piem/debian/source/
> http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.diff.gz
> http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.dsc

No, it doesn't (you have the fitting changelog entry, but haven't added
python to the Build-Depends). If you fix this, i could sponsor the
upload.

Marc
--
BOFH #56:
Electricians made popcorn in the power supply

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

Message-ID: <email address hidden>
Date: Thu, 01 Jul 2004 19:34:17 +0200
From: Marc 'HE' Brockschmidt <email address hidden>
To: Paul Brossier <email address hidden>
CC: <email address hidden>
Subject: Re: Bug#255603: FTBFS: Missing Build-Depends python

--=-=-=

Hi,
> oops, sorry for insisting. the -4 version package should fix this
> http://piem.homeip.net/~piem/debian/source/
> http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.diff.gz
> http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.dsc

No, it doesn't (you have the fitting changelog entry, but haven't added
python to the Build-Depends). If you fix this, i could sponsor the
upload.

Marc
--
BOFH #56:
Electricians made popcorn in the power supply

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBA5EsamO5zOp3h7rERAn8IAJ9CBz1hBTei5UKqLHr+vu7viPVcLACfb5l4
pD0K17ScZro4FpchIG4TFY8=
=D1re
-----END PGP SIGNATURE-----
--=-=-=--

Revision history for this message
In , Paul Brossier (piem) wrote :

On Thu, Jul 01, 2004 at 07:34:17PM +0200, Marc 'HE' Brockschmidt wrote:
> Hi,
> > oops, sorry for insisting. the -4 version package should fix this
> > http://piem.homeip.net/~piem/debian/source/
> > http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.diff.gz
> > http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.dsc
>
> No, it doesn't (you have the fitting changelog entry, but haven't added
> python to the Build-Depends). If you fix this, i could sponsor the
> upload.

oulalah, why am i really trying to make it so much more difficult !
should be fixed now,
thanks, paul

>
> Marc
> --
> BOFH #56:
> Electricians made popcorn in the power supply

Revision history for this message
In , Paul Brossier (piem-seagoon) wrote : Bug#255603: fixed in pyrex 0.9.2.1-4

Source: pyrex
Source-Version: 0.9.2.1-4

We believe that the bug you reported is fixed in the latest version of
pyrex, which is due to be installed in the Debian FTP archive:

pyrex_0.9.2.1-4.diff.gz
  to pool/main/p/pyrex/pyrex_0.9.2.1-4.diff.gz
pyrex_0.9.2.1-4.dsc
  to pool/main/p/pyrex/pyrex_0.9.2.1-4.dsc
python-pyrex_0.9.2.1-4_all.deb
  to pool/main/p/pyrex/python-pyrex_0.9.2.1-4_all.deb
python2.2-pyrex_0.9.2.1-4_all.deb
  to pool/main/p/pyrex/python2.2-pyrex_0.9.2.1-4_all.deb
python2.3-pyrex_0.9.2.1-4_all.deb
  to pool/main/p/pyrex/python2.3-pyrex_0.9.2.1-4_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Brossier <piem@seagoon> (supplier of updated pyrex package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 28 Jun 2004 12:01:14 +0100
Source: pyrex
Binary: python2.2-pyrex python-pyrex python2.3-pyrex
Architecture: source all
Version: 0.9.2.1-4
Distribution: unstable
Urgency: low
Maintainer: Paul Brossier <email address hidden>
Changed-By: Paul Brossier <piem@seagoon>
Description:
 python-pyrex - Compile native-code modules for Python from python-like syntax
 python2.2-pyrex - Compile native-code modules for Python from python-like syntax
 python2.3-pyrex - Compile native-code modules for Python from python-like syntax
Closes: 255603
Changes:
 pyrex (0.9.2.1-4) unstable; urgency=low
 .
   * Fixed python Build-Depends: for amd64 (closes: #255603)
Files:
 2d760c6f7904b53972cf78c05b524fe1 651 python optional pyrex_0.9.2.1-4.dsc
 1f897b059a8148da8f4fae4bf6febe01 4557 python optional pyrex_0.9.2.1-4.diff.gz
 0a9102e29a6499084124c417898f57ac 172282 python optional python2.3-pyrex_0.9.2.1-4_all.deb
 ea28027806a1a0127193dbe610863b7d 172234 python optional python2.2-pyrex_0.9.2.1-4_all.deb
 2701962a1fedb00f75644f4ab9b45975 13726 python optional python-pyrex_0.9.2.1-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iEYEARECAAYFAkDkhEAACgkQmO5zOp3h7rEufgCgkZdUxp+RjprFwK133kM1z0I5
BK8Anjcfatod0ofW26LUrvgI97jyw2UL
=jwKQ
-----END PGP SIGNATURE-----

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

Message-ID: <email address hidden>
Date: Thu, 1 Jul 2004 22:03:45 +0100
From: Paul Brossier <email address hidden>
To: Marc 'HE' Brockschmidt <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#255603: FTBFS: Missing Build-Depends python

--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 01, 2004 at 07:34:17PM +0200, Marc 'HE' Brockschmidt wrote:
> Hi,
> > oops, sorry for insisting. the -4 version package should fix this=20
> > http://piem.homeip.net/~piem/debian/source/
> > http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.diff.gz
> > http://piem.homeip.net/~piem/debian/source/pyrex_0.9.2.1-4.dsc
>=20
> No, it doesn't (you have the fitting changelog entry, but haven't added
> python to the Build-Depends). If you fix this, i could sponsor the
> upload.

oulalah, why am i really trying to make it so much more difficult !
should be fixed now,
thanks, paul

>=20
> Marc
> --=20
> BOFH #56:
> Electricians made popcorn in the power supply

--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA5Hwx2PLmgVuXpdIRAidVAKCKFFSsa08Dj9vvwSo3lRQPrYej4QCeJE27
eZfCzOSGQUatdBURAwY2AfU=
=KBYf
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--

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

Message-Id: <email address hidden>
Date: Thu, 01 Jul 2004 17:47:17 -0400
From: Paul Brossier <piem@seagoon>
To: <email address hidden>
Subject: Bug#255603: fixed in pyrex 0.9.2.1-4

Source: pyrex
Source-Version: 0.9.2.1-4

We believe that the bug you reported is fixed in the latest version of
pyrex, which is due to be installed in the Debian FTP archive:

pyrex_0.9.2.1-4.diff.gz
  to pool/main/p/pyrex/pyrex_0.9.2.1-4.diff.gz
pyrex_0.9.2.1-4.dsc
  to pool/main/p/pyrex/pyrex_0.9.2.1-4.dsc
python-pyrex_0.9.2.1-4_all.deb
  to pool/main/p/pyrex/python-pyrex_0.9.2.1-4_all.deb
python2.2-pyrex_0.9.2.1-4_all.deb
  to pool/main/p/pyrex/python2.2-pyrex_0.9.2.1-4_all.deb
python2.3-pyrex_0.9.2.1-4_all.deb
  to pool/main/p/pyrex/python2.3-pyrex_0.9.2.1-4_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Brossier <piem@seagoon> (supplier of updated pyrex package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 28 Jun 2004 12:01:14 +0100
Source: pyrex
Binary: python2.2-pyrex python-pyrex python2.3-pyrex
Architecture: source all
Version: 0.9.2.1-4
Distribution: unstable
Urgency: low
Maintainer: Paul Brossier <email address hidden>
Changed-By: Paul Brossier <piem@seagoon>
Description:
 python-pyrex - Compile native-code modules for Python from python-like syntax
 python2.2-pyrex - Compile native-code modules for Python from python-like syntax
 python2.3-pyrex - Compile native-code modules for Python from python-like syntax
Closes: 255603
Changes:
 pyrex (0.9.2.1-4) unstable; urgency=low
 .
   * Fixed python Build-Depends: for amd64 (closes: #255603)
Files:
 2d760c6f7904b53972cf78c05b524fe1 651 python optional pyrex_0.9.2.1-4.dsc
 1f897b059a8148da8f4fae4bf6febe01 4557 python optional pyrex_0.9.2.1-4.diff.gz
 0a9102e29a6499084124c417898f57ac 172282 python optional python2.3-pyrex_0.9.2.1-4_all.deb
 ea28027806a1a0127193dbe610863b7d 172234 python optional python2.2-pyrex_0.9.2.1-4_all.deb
 2701962a1fedb00f75644f4ab9b45975 13726 python optional python-pyrex_0.9.2.1-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iEYEARECAAYFAkDkhEAACgkQmO5zOp3h7rEufgCgkZdUxp+RjprFwK133kM1z0I5
BK8Anjcfatod0ofW26LUrvgI97jyw2UL
=jwKQ
-----END PGP SIGNATURE-----

Revision history for this message
Matt Zimmerman (mdz) wrote :

Requested sync of 0.9.2.1-4 from Debian

Revision history for this message
Matt Zimmerman (mdz) wrote :

Sync executed

Changed in pyrex:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.