Source: poker-network
Version: 1.7.7-3.2
Severity: important
User: debian-pyt...@lists.debian.org
Usertags: python2.7

I rebuilt poker-network against python-defaults 2.7.2-1 (currently in experimental). The resulting binary package python-poker2d contained only extension modules for Python 2.6 (rather than, as I would expect, 2.7):

$ dpkg -c python-poker2d_1.7.7-3.2_i386.deb  | grep -- -packages/$
drwxr-xr-x root/root         0 2011-06-03 22:49 
./usr/lib/python2.6/dist-packages/

It looks like upstream's Python interpreter detection code is broken. (Please note that simply choosing lowest/heighest version from among all available ones is not a valid strategy for Debian!)

Normally for packages using autoconf you can use PYTHON environment variable to override the (usually broken) detection system, e.g. by putting

export PYTHON = $(shell pyversions -d)

to debian/rules. But, for some reason, it doesn't work for poker-network:

[...]
| checking for ANSI C header files... (cached) yes
| checking for inline... inline
| checking whether python2.7 version =2.3... configure: error: too old

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to