[issue10201] Fix building of socket module under Solaris

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, there's a better patch in #8852. -- resolution: -> duplicate status: open -> closed superseder: -> _socket fails to build on OpenSolaris x64 ___ Python tracker ___

[issue10201] Fix building of socket module under Solaris

2010-10-27 Thread John Levon
John Levon added the comment: This is not a bug in Solaris - the interfaces Python is trying to use are not standardized. (It's a reasonable RFE for Solaris to fully support these, though - I'll follow up on that.) WRT the patch, at least the PACKET_* defined would be better done via a spec

[issue10201] Fix building of socket module under Solaris

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Jesús Cea Avión added the comment: > > Could this to be considered a bug in OpenSolaris?. That's a good question. Perhaps Laca (who wrote the original patch) can chime in. > If not, I think this fix should be backported to 2.5/2.6/2.7/3.1. It's not a secu

[issue10201] Fix building of socket module under Solaris

2010-10-26 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Could this to be considered a bug in OpenSolaris?. If not, I think this fix should be backported to 2.5/2.6/2.7/3.1. Just for the record, I am asking for help to get a buildbot under OpenIndiana: http://openindiana.org/pipermail/openindiana-discuss/2010-Octo

[issue10201] Fix building of socket module under Solaris

2010-10-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > This is not a problem under Solaris 10. I guess it is a problem with > OpenSolaris/OpenIndiana/Illumos. > > Can you confirm?. It's with the most recent OpenSolaris development build (build 134). -- ___ Python tra

[issue10201] Fix building of socket module under Solaris

2010-10-26 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: This is not a problem under Solaris 10. I guess it is a problem with OpenSolaris/OpenIndiana/Illumos. Can you confirm?. -- ___ Python tracker __

[issue10201] Fix building of socket module under Solaris

2010-10-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a working patch for py3k. Tested under OpenSolaris with both gcc and Sun C. -- keywords: +patch nosy: +laca Added file: http://bugs.python.org/file19371/buildsocket.patch ___ Python tracker

[issue10201] Fix building of socket module under Solaris

2010-10-26 Thread Antoine Pitrou
New submission from Antoine Pitrou : Sun/Oracle uses the following patch to fix building of the socket module, since on Solaris "netpacket/packet.h" is incompatible with its Linux counterpart. Otherwise, it fails with the following messages: /home/antoine/py3k/gcc/Modules/socketmodule.c: In fu