Your message dated Mon, 29 Sep 2008 01:02:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#499132: fixed in python2.5 2.5.2-11.1
has caused the Debian Bug report #499132,
regarding Python is broken on mips/mipsel, alpha, sparc, hppa
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
499132: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499132
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python2.5
Version: 2.5.2-11
Severity: important

Python currently assumes for all "linux2" platforms a single set of
constants for e.g. socket.h and dlfcn.h. This assumption breaks on
Linux platforms which derived their constants from pre-existing
commercial OSes. Affected in Debian are mips/mipsel, alpha, sparc and
hppa, some of their socket constants are defined incorrectly. MIPS is
hit particularily hard, some of the RTLD_* constants are different as
well.

Those incorrect RTLD values are probably responsible for
hard-to-reproduce python segfaults seen on the build daemons.
OTOH python2.4 has the same bug but didn't trigger similiar segfaults.

I attach a (untested) patch which updates the constants for mips/mipsel.
This patch isn't usable as is, in addition the python build process
needs to learn about those differing linux2 platforms. Also, similiar
changes for alpha, sparc and hppa are necessary.

On a more general note, the current linux2 support assumes a pre-NTPL
glibc with linuxthread (2.2.6). While it is advisable to stick with
that for python 2.5, it probably should see an update in the next
major upstream version.


Thiemo


--- plat-linux2/DLFCN.py        2008-08-31 17:59:03.000000000 +0200
+++ plat-linux2-mips/DLFCN.py   2008-08-31 21:38:18.000000000 +0200
@@ -77,7 +77,7 @@ __USE_EXTERN_INLINES = 1
 RTLD_LAZY = 0x00001
 RTLD_NOW = 0x00002
 RTLD_BINDING_MASK = 0x3
-RTLD_NOLOAD = 0x00004
-RTLD_GLOBAL = 0x00100
+RTLD_NOLOAD = 0x00008
+RTLD_GLOBAL = 0x00004
 RTLD_LOCAL = 0
 RTLD_NODELETE = 0x01000
--- plat-linux2/IN.py   2008-08-31 17:59:04.000000000 +0200
+++ plat-linux2-mips/IN.py      2008-09-16 14:45:29.000000000 +0200
@@ -436,33 +436,33 @@ def CMSG_FIRSTHDR(mhdr): return \
 # Included from asm/socket.h
 
 # Included from asm/sockios.h
-FIOSETOWN = 0x8901
-SIOCSPGRP = 0x8902
-FIOGETOWN = 0x8903
-SIOCGPGRP = 0x8904
-SIOCATMARK = 0x8905
+FIOSETOWN = 0x8004667c
+SIOCSPGRP = 0x80047308
+FIOGETOWN = 0x4004667b
+SIOCGPGRP = 0x40047309
+SIOCATMARK = 0x40047307
 SIOCGSTAMP = 0x8906
-SOL_SOCKET = 1
-SO_DEBUG = 1
-SO_REUSEADDR = 2
-SO_TYPE = 3
-SO_ERROR = 4
-SO_DONTROUTE = 5
-SO_BROADCAST = 6
-SO_SNDBUF = 7
-SO_RCVBUF = 8
-SO_KEEPALIVE = 9
-SO_OOBINLINE = 10
+SOL_SOCKET = 0xffff
+SO_DEBUG = 0x0001
+SO_REUSEADDR = 0x0004
+SO_TYPE = 0x1008
+SO_ERROR = 0x1007
+SO_DONTROUTE = 0x0010
+SO_BROADCAST = 0x0020
+SO_SNDBUF = 0x1001
+SO_RCVBUF = 0x1002
+SO_KEEPALIVE = 0x0008
+SO_OOBINLINE = 0x0100
 SO_NO_CHECK = 11
 SO_PRIORITY = 12
-SO_LINGER = 13
+SO_LINGER = 0x0080
 SO_BSDCOMPAT = 14
-SO_PASSCRED = 16
-SO_PEERCRED = 17
-SO_RCVLOWAT = 18
-SO_SNDLOWAT = 19
-SO_RCVTIMEO = 20
-SO_SNDTIMEO = 21
+SO_PASSCRED = 17
+SO_PEERCRED = 18
+SO_RCVLOWAT = 0x1004
+SO_SNDLOWAT = 0x1003
+SO_RCVTIMEO = 0x1006
+SO_SNDTIMEO = 0x1005
 SO_SECURITY_AUTHENTICATION = 22
 SO_SECURITY_ENCRYPTION_TRANSPORT = 23
 SO_SECURITY_ENCRYPTION_NETWORK = 24
@@ -472,9 +472,9 @@ SO_DETACH_FILTER = 27
 SO_PEERNAME = 28
 SO_TIMESTAMP = 29
 SCM_TIMESTAMP = SO_TIMESTAMP
-SO_ACCEPTCONN = 30
-SOCK_STREAM = 1
-SOCK_DGRAM = 2
+SO_ACCEPTCONN = 0x1009
+SOCK_STREAM = 2
+SOCK_DGRAM = 1
 SOCK_RAW = 3
 SOCK_RDM = 4
 SOCK_SEQPACKET = 5



--- End Message ---
--- Begin Message ---
Source: python2.5
Source-Version: 2.5.2-11.1

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

idle-python2.5_2.5.2-11.1_all.deb
  to pool/main/p/python2.5/idle-python2.5_2.5.2-11.1_all.deb
python2.5-dbg_2.5.2-11.1_mips.deb
  to pool/main/p/python2.5/python2.5-dbg_2.5.2-11.1_mips.deb
python2.5-dev_2.5.2-11.1_mips.deb
  to pool/main/p/python2.5/python2.5-dev_2.5.2-11.1_mips.deb
python2.5-examples_2.5.2-11.1_all.deb
  to pool/main/p/python2.5/python2.5-examples_2.5.2-11.1_all.deb
python2.5-minimal_2.5.2-11.1_mips.deb
  to pool/main/p/python2.5/python2.5-minimal_2.5.2-11.1_mips.deb
python2.5_2.5.2-11.1.diff.gz
  to pool/main/p/python2.5/python2.5_2.5.2-11.1.diff.gz
python2.5_2.5.2-11.1.dsc
  to pool/main/p/python2.5/python2.5_2.5.2-11.1.dsc
python2.5_2.5.2-11.1_mips.deb
  to pool/main/p/python2.5/python2.5_2.5.2-11.1_mips.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 PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thiemo Seufer <[EMAIL PROTECTED]> (supplier of updated python2.5 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 PROTECTED])


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

Format: 1.8
Date: Sun, 28 Sep 2008 19:04:23 +0100
Source: python2.5
Binary: python2.5 python2.5-minimal python2.5-examples python2.5-dev 
idle-python2.5 python2.5-dbg
Architecture: source all mips
Version: 2.5.2-11.1
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[EMAIL PROTECTED]>
Changed-By: Thiemo Seufer <[EMAIL PROTECTED]>
Description: 
 idle-python2.5 - An IDE for Python (v2.5) using Tkinter
 python2.5  - An interactive high-level object-oriented language (version 2.5)
 python2.5-dbg - Debug Build of the Python Interpreter (version 2.5)
 python2.5-dev - Header files and a static library for Python (v2.5)
 python2.5-examples - Examples for the Python language (v2.5)
 python2.5-minimal - A minimal subset of the Python language (version 2.5)
Closes: 498477 499132
Changes: 
 python2.5 (2.5.2-11.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Expand copyright notice to cover licenses of linked against libraries.
     Closes: #498477.
   * Introduce new platform definitions for alpha, hppa, mips, mipsel, sparc.
     Closes: #499132.
Checksums-Sha1: 
 745f980f7e48578412084233ac8d3ecd3ca8ed35 1822 python2.5_2.5.2-11.1.dsc
 5f185411ecc04890587dc0c57d47913569f03d6e 252853 python2.5_2.5.2-11.1.diff.gz
 89b3705436ea6577bf8c078bf566eb29c2feb4a8 649526 
python2.5-examples_2.5.2-11.1_all.deb
 035738b6ba925ff28152d2dff5d0450349be7a3c 66430 
idle-python2.5_2.5.2-11.1_all.deb
 c6e9e2b4955160857455727701b5c1d62f670e10 2928972 python2.5_2.5.2-11.1_mips.deb
 9d5308a974c57059d3570634cf78fcbcfd67c1b6 1237714 
python2.5-minimal_2.5.2-11.1_mips.deb
 397cb0849929e80f47daaa4c28e2123b28907b10 2121328 
python2.5-dev_2.5.2-11.1_mips.deb
 e2b72b304f28ff0c87e865e6e3d3f84d78c8c3ae 8130516 
python2.5-dbg_2.5.2-11.1_mips.deb
Checksums-Sha256: 
 f8f40bfdd5826102995566c7d90e17c911f1d0a4d0d344cc57abc411e46a15a6 1822 
python2.5_2.5.2-11.1.dsc
 63201a394a013e6ffb4f90684fd21eec1490ad671c35a88e7f0f29f0bec72382 252853 
python2.5_2.5.2-11.1.diff.gz
 07b30dda3ecc157f09ae0abfeba3a07132dd40655c0c470ef6f0f3c819880883 649526 
python2.5-examples_2.5.2-11.1_all.deb
 18ba90c25cb6d4f40a171561c986353053d575e772dd4566d28111efcdbf23a2 66430 
idle-python2.5_2.5.2-11.1_all.deb
 2d5969009bb5c47ad6f5bca152ee2e68d1907872d59958a1136835aa49b6ccdb 2928972 
python2.5_2.5.2-11.1_mips.deb
 7e479787844e633e5b607ba7124bb30b1a8c56c4308e6c6706b487626db62697 1237714 
python2.5-minimal_2.5.2-11.1_mips.deb
 47f538ef1d843c25f9cde149ecf9af20249436f4c3f28d10a70bb7b1694e6ecd 2121328 
python2.5-dev_2.5.2-11.1_mips.deb
 fd7cfc5d9c2c55bd2a98a1456888487bfcddd39b9cc7c3d080f564119907c5ef 8130516 
python2.5-dbg_2.5.2-11.1_mips.deb
Files: 
 44a7db9ec85f0aec3f797cf6b157936a 1822 python optional python2.5_2.5.2-11.1.dsc
 4bf4c07843d00f492c4f6d919c7cc82a 252853 python optional 
python2.5_2.5.2-11.1.diff.gz
 dfabccc1d546c33c691a371ae36180d0 649526 python optional 
python2.5-examples_2.5.2-11.1_all.deb
 605c498cdbfa375d42773da29ae68436 66430 python optional 
idle-python2.5_2.5.2-11.1_all.deb
 6ce958200420d99c18bfdb0db3aada51 2928972 python optional 
python2.5_2.5.2-11.1_mips.deb
 f0057641ab4b55927c968625b20b4de9 1237714 python optional 
python2.5-minimal_2.5.2-11.1_mips.deb
 ce0ae23d8fb1719e293897bbe60dabf2 2121328 python optional 
python2.5-dev_2.5.2-11.1_mips.deb
 c39bbeb87998525de5dfc2068b9e17dd 8130516 python extra 
python2.5-dbg_2.5.2-11.1_mips.deb

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

iEYEARECAAYFAkjgJV8ACgkQXNuq0tFCNaCQSQCgu3lQWWMvkD3MlOSqqspzWZPw
Q7AAoLhS/I9jtQZ9Sj9onFBWlhJDgsda
=969T
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to