Your message dated Sun, 28 Sep 2008 21:17:37 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#500383: fixed in python2.4 2.4.5-5.1
has caused the Debian Bug report #500383,
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.)
--
500383: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500383
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.4
Source-Version: 2.4.5-5.1
We believe that the bug you reported is fixed in the latest version of
python2.4, which is due to be installed in the Debian FTP archive:
idle-python2.4_2.4.5-5.1_all.deb
to pool/main/p/python2.4/idle-python2.4_2.4.5-5.1_all.deb
python2.4-dbg_2.4.5-5.1_mips.deb
to pool/main/p/python2.4/python2.4-dbg_2.4.5-5.1_mips.deb
python2.4-dev_2.4.5-5.1_mips.deb
to pool/main/p/python2.4/python2.4-dev_2.4.5-5.1_mips.deb
python2.4-examples_2.4.5-5.1_all.deb
to pool/main/p/python2.4/python2.4-examples_2.4.5-5.1_all.deb
python2.4-minimal_2.4.5-5.1_mips.deb
to pool/main/p/python2.4/python2.4-minimal_2.4.5-5.1_mips.deb
python2.4_2.4.5-5.1.diff.gz
to pool/main/p/python2.4/python2.4_2.4.5-5.1.diff.gz
python2.4_2.4.5-5.1.dsc
to pool/main/p/python2.4/python2.4_2.4.5-5.1.dsc
python2.4_2.4.5-5.1_mips.deb
to pool/main/p/python2.4/python2.4_2.4.5-5.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.4 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:17:31 +0100
Source: python2.4
Binary: python2.4 python2.4-minimal python2.4-examples python2.4-dev
idle-python2.4 python2.4-doc python2.4-dbg
Architecture: source all mips
Version: 2.4.5-5.1
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[EMAIL PROTECTED]>
Changed-By: Thiemo Seufer <[EMAIL PROTECTED]>
Description:
idle-python2.4 - An IDE for Python (v2.4) using Tkinter
python2.4 - An interactive high-level object-oriented language (version 2.4)
python2.4-dbg - Debug Build of the Python Interpreter (version 2.4)
python2.4-dev - Header files and a static library for Python (v2.4)
python2.4-doc - Documentation for the high-level object-oriented language
Python
python2.4-examples - Examples for the Python language (v2.4)
python2.4-minimal - A minimal subset of the Python language (version 2.4)
Closes: 498857 500383
Changes:
python2.4 (2.4.5-5.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Expand copyright notice to cover licenses of linked against libraries.
Closes: #498857.
* Introduce new platform definitions for alpha, hppa, mips, mipsel, sparc.
Closes: #500383.
Checksums-Sha1:
52e460c908344acd44d385bd8fd6ec942cc2c14b 1614 python2.4_2.4.5-5.1.dsc
7176983f7e818ace8f5f16efa583b9d5c2c9d557 232128 python2.4_2.4.5-5.1.diff.gz
b156bf1062ef3f2479e28e4dfe8d8a90e7c71238 592660
python2.4-examples_2.4.5-5.1_all.deb
eb09b91a844f6e2425fae90080c5d6c4cdc5419e 62428 idle-python2.4_2.4.5-5.1_all.deb
be3b3edd2ef53010403e9a86a7f9fb3f554ec654 2841108 python2.4_2.4.5-5.1_mips.deb
6ac6d2ff21f4ac29e8b412e0ee3c8c46f50bd76b 1029126
python2.4-minimal_2.4.5-5.1_mips.deb
c039eb259566416c7e076d3f244556232dbb930a 1693556
python2.4-dev_2.4.5-5.1_mips.deb
ea5a4d557f3081f88890b9a7cd31f89150c84855 7088578
python2.4-dbg_2.4.5-5.1_mips.deb
Checksums-Sha256:
a77972defdb3daa88068ae78c7c754b1d4deb431eeaa9021e83583c238c2068c 1614
python2.4_2.4.5-5.1.dsc
5ac7097dc5cdb391f03d7589b7dda17d5c12cd92a4bdc6f94ab0361bd6502ac2 232128
python2.4_2.4.5-5.1.diff.gz
1ee476ef3b64bb8b02a88e6829ca9348acf475fe7c442bee0456d327f7bf0d19 592660
python2.4-examples_2.4.5-5.1_all.deb
d948d9247cb9c4417703a57b7a37636cad52cf8d0590a6c91bb1de688e20913a 62428
idle-python2.4_2.4.5-5.1_all.deb
1ab5766979793391d41b02147cdf12cd75acc0366957ff36cd48e0edb007c266 2841108
python2.4_2.4.5-5.1_mips.deb
8a5c6d9215b2996877133d555374a8acad340168b891f1a0f1478ededec4ec98 1029126
python2.4-minimal_2.4.5-5.1_mips.deb
ece4190878987fcb3ccd9f1d8561f11111d7399e03713b015a5d8e676a77870d 1693556
python2.4-dev_2.4.5-5.1_mips.deb
4c2bc5c18f1dc4c44b122a5e48a2321d25d37389e156adcdd44db07b55d995e7 7088578
python2.4-dbg_2.4.5-5.1_mips.deb
Files:
e2ccfb69fba38eca197343f9fb0d9626 1614 python optional python2.4_2.4.5-5.1.dsc
cd1fc1bb370a3a6cf5820e9f3f717e33 232128 python optional
python2.4_2.4.5-5.1.diff.gz
a6c402d4aa5f6a1c207a623a1e357be9 592660 python optional
python2.4-examples_2.4.5-5.1_all.deb
609173e1aa1f266aa4e81165d238af1c 62428 python optional
idle-python2.4_2.4.5-5.1_all.deb
cb5db9433d6d3ba047a15f30858acace 2841108 python optional
python2.4_2.4.5-5.1_mips.deb
60a844ab1b1aaaa6ec1b7f4216942fdc 1029126 python optional
python2.4-minimal_2.4.5-5.1_mips.deb
63bb88cd8910d2a1be68c722c40c2abf 1693556 python optional
python2.4-dev_2.4.5-5.1_mips.deb
4fbef591656a8012bfae0137e6abda2f 7088578 python extra
python2.4-dbg_2.4.5-5.1_mips.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjf3ZIACgkQXNuq0tFCNaAsHACgvrTJRv8lYn3s7YYmV42PdU/F
DIEAoMnB4EeKGqwYDVeH8Tv0UYVPJ2YD
=m29K
-----END PGP SIGNATURE-----
--- End Message ---