Package: python2.4-minimal
Version: 2.4.4-3
Severity: important

Trying to install a complex application suite (LSC DataGrid Server 4.4) which is
base don Pacman and Python scripting, I discovered that the platform.processor()
return string is empty instead of holding CPU information.

system Linux release 2.6.17-hexe-smp version #1 SMP Wed Nov 15 13:30:09 CET 2006
node MMM machine x86_64 processor

Same for Etch in i686; and even for a k7 Sarge machine.

I cross-checked with Fedora Core 5:
system Linux release 2.6.20-1.2316.fc5smp version #1 SMP Fri Apr 27 20:34:56 
EDT 2007
node DDD machine i686 processor i686

Here's the diff:

*** platform.py.FC5     Mon Oct 23 20:19:59 2006
--- platform.py.Etch    Thu Apr  5 20:43:32 2007
***************
*** 1,4 ****
! #! /usr/bin/env python2.4

  """ This module tries to retrieve as much platform-identifying data as
      possible. It makes this information available via function APIs.
--- 1,4 ----
! #! /usr/bin/python2.4

  """ This module tries to retrieve as much platform-identifying data as
      possible. It makes this information available via function APIs.
***************
*** 601,607 ****
          versioninfo = (version,stage,nonrel)
      if sysa:
          machine = {0x1: '68k',
!                    0x2: 'PowerPC'}.get(sysa,'')
      return release,versioninfo,machine

  def _java_getprop(name,default):
--- 601,608 ----
          versioninfo = (version,stage,nonrel)
      if sysa:
          machine = {0x1: '68k',
!                    0x2: 'PowerPC',
!                    0xa: 'i386'}.get(sysa,'')
      return release,versioninfo,machine

  def _java_getprop(name,default):

I'm not sure whether the culprit might be elsewhere though...


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages python2.4-minimal depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  zlib1g                      1:1.2.3-13   compression library - runtime

python2.4-minimal recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to