Package: python2.7 Version: 2.7.2-2 Severity: important Tags: patch upstream
To reproduce: build on Linux 3.0, check sys.platform "linux3" (instead of "linux2) causes immediate problem for the build of Python 2.7 itself (because "linux3" isn't handled) - some extensions are not built - some regression tests are skipped Other software that uses sys.platform, e.g. for configuration, will fail in strange ways, for example chromium-browser FTBFS. This problem affects any Python (2.6, 2.7, 3.2) in Debian. Patch attached (use "linux2" even on Linux 3.x). Cheers, Roderich -- System Information: Debian Release: wheezy/sid APT prefers oneiric APT policy: (500, 'oneiric'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39.2 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python2.7 depends on: ii libbz2-1.0 1.0.5-6 high-quality block-sorting file co ii libc6 2.13-10 Embedded GNU C Library: Shared lib ii libdb4.8 4.8.30-9 Berkeley v4.8 Database Libraries [ ii libexpat1 2.0.1-7 XML parsing C library - runtime li ii libncurses5 5.9-1 shared libraries for terminal hand ii libreadline6 6.2-2 GNU readline and history libraries ii libsqlite3-0 3.7.7-2 SQLite 3 shared library ii mime-support 3.51-1 MIME files 'mime.types' & 'mailcap ii python2.7-minimal 2.7.2-2 A minimal subset of the Python lan python2.7 recommends no packages. Versions of packages python2.7 suggests: ii binutils 2.21.52.20110707-1 The GNU assembler, linker and bina ii python2.7-doc 2.7.2-2 Documentation for the high-level o -- no debconf information
--- a/configure.in 2011-06-11 17:46:28.000000000 +0200 +++ b/configure.in 2011-06-19 22:32:05.852934453 +0200 @@ -293,6 +293,7 @@ MACHDEP="$ac_md_system$ac_md_release" case $MACHDEP in + linux3) MACHDEP="linux2";; cygwin*) MACHDEP="cygwin";; darwin*) MACHDEP="darwin";; atheos*) MACHDEP="atheos";;