Has socketmodule compilation broken for anyone else lately?
For the last couple of days, socketmodule hasn't compiled for me on Tru64 Unix. If I'm the only one seeing this, I'll file a bug report on sf... building '_socket' extension cc: Error: Modules/socketmodule.c, line 2820: An unexpected newline character is present in a string literal. (nlstring) "RAND_egd(path) -> bytes ^ cc: Warning: Modules/socketmodule.c, line 2821: Invalid token discarded. (invaltoken) \n\ ^ cc: Warning: Modules/socketmodule.c, line 2822: Invalid token discarded. (invaltoken) Queries the entropy gather daemon (EGD) on socket path. Returns number\n\ -----------------------------------------------------------------------^ cc: Warning: Modules/socketmodule.c, line 2823: Invalid token discarded. (invaltoken) of bytes read. Raises socket.sslerror if connection to EGD fails or\n\ --------------------------------------------------------------------^ cc: Error: Modules/socketmodule.c, line 2824: An unexpected newline character is present in a string literal. (nlstring) if it does provide enough data to seed PRNG."; --------------------------------------------^ cc: Error: Modules/socketmodule.c, line 3037: In this statement, "PySocket_methods" is not declared. (undeclared) m = Py_InitModule3("_socket", PySocket_methods, module_doc); ------------^ /bin/cc -O -Olimit 1500 -DUSE_SSL=1 -I/usr/local/ssl/include -I. -I/home/erebus2/groucho1/mark/src/python/CVS/python/dist/src/./Include -I/usr/local/include -IInclude/ -c /home/erebus2/groucho1/mark/src/python/CVS/python/dist/src/Modules/socketmod ule.c -o build/temp.osf1-V4.0-alpha-2.2/socketmodule.o WARNING: building of extension "_socket" failed: command '/bin/cc' failed with exit status 1
"MF" == Mark Favas <Mark.Favas@csiro.au> writes:
MF> For the last couple of days, socketmodule hasn't compiled for MF> me on Tru64 Unix. If I'm the only one seeing this, I'll file a MF> bug report on sf... I just did a fresh cvs update, "make test" on Linux and everything works for me. I'm about to create the 2.2b1 release branch, so unless the patch is in my inbox when I wake up about 8 hours from now, it probably won't make it into 2.2b1. -Barry
For the last couple of days, socketmodule hasn't compiled for me on Tru64 Unix. If I'm the only one seeing this, I'll file a bug report on sf...
It's probably a missing \n\ in a string literal. I've fixed this on the release branch now. --Guido van Rossum (home page: http://www.python.org/~guido/)
"GvR" == Guido van Rossum <guido@python.org> writes:
>> For the last couple of days, socketmodule hasn't compiled for >> me on Tru64 Unix. If I'm the only one seeing this, I'll file a >> bug report on sf... GvR> It's probably a missing \n\ in a string literal. I've fixed GvR> this on the release branch now. Thanks Guido. -Barry
participants (3)
-
barry@zope.com -
Guido van Rossum -
Mark.Favas@csiro.au