[Python-modules-team] Bug#601259: FTBFS if only built with Python >=2.6

Jakub Wilk jwilk at debian.org
Sun Oct 24 22:40:26 UTC 2010

* Luke Faraone <lfaraone at debian.org>, 2010-10-24, 15:59:
>> The patch you committed is incorrect: the package will FTBFS on some
>> architectures or if DEB_* variables were not exported into environment.
>I've added the following:
>    DEB_BUILD_ARCH_OS := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
>    DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
>What architectures would it FTBFS on?

armel, hppa, mips, powerpc, maybe s390, plus all non-Linux ones. Use 
something like:

$(shell python -c 'import distutils.util as d; print d.get_platform()')

or, better, use wildcards.

Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20101025/349d4782/attachment.pgp>

More information about the Python-modules-team mailing list