collective / buildout.python

Buildout all the Pythons
109 stars 47 forks source link

Building Python2.4 on recent Debian (Jessie, Stretch) fails on SSL #73

Closed naro closed 4 years ago

naro commented 6 years ago

I'm trying to build python 2.4 on Debian 9 Stretch but it fails on SSL build.

The most important part of the log is:

DPy_BUILD_CORE  -DUSE_SSL -I/usr/include -I/usr/include/openssl -c ./Modules/_ssl.c -o Modules/_ssl.o
./Modules/_ssl.c: In function 'newPySSLObject':
./Modules/_ssl.c:293:11: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}'
  self->ssl->debug = 1;
           ^~
./Modules/_ssl.c: In function 'PySSL_RAND_egd':
./Modules/_ssl.c:639:13: warning: implicit declaration of function 'RAND_egd' [-Wimplicit-function-declaration]
     bytes = RAND_egd(PyString_AS_STRING(arg));
             ^~~~~~~~
Makefile:1086: recipe for target 'Modules/_ssl.o' failed

I have tried to build Python outside of buildout.python as well and if I remove that line, as of https://github.com/python/cpython/commit/0dddf600d480108040557ebb24584ae86cf46a09 then the build fails on

libpython2.4.a(_ssl.o): In function `PySSL_RAND_egd':
./Python-2.4.6/./Modules/_ssl.c:637: undefined reference to `RAND_egd'

Full log as follows:

Unused options for buildout: 'pil-install-args'.
Updating opt.
opt: Running 
mkdir -p /home/zope/buildout.python/parts/opt && mkdir -p /home/zope/buildout.python/parts/opt/bin && mkdir -p /home/zope/buildout.python/parts/opt/man/man1
Updating virtualenv.
Updating readline.
Installing python-2.4-build.
python-2.4-build: Downloading https://www.python.org/ftp/python/2.4.6/Python-2.4.6.tar.bz2
python-2.4-build: Unpacking and configuring
python-2.4-build: Updating environment: CPPFLAGS=-I/usr/local/opt/openssl/include
python-2.4-build: Updating environment: LDFLAGS=-L/usr/local/opt/openssl/lib
patching file Modules/Setup.dist
checking MACHDEP... linux3
checking EXTRAPLATDIR... 
checking for --without-gcc... no
checking for --with-cxx=<compiler>... no
checking for c++... c++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for --with-suffix... 
checking for case-insensitive build directory... no
checking LIBRARY... libpython$(VERSION).a
checking LINKCC... $(PURIFY) $(CC)
checking for --enable-shared... no
checking for --enable-profiling... 
checking LDLIBRARY... libpython$(VERSION).a
checking for ranlib... ranlib
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for --with-pydebug... no
checking whether gcc accepts -fno-strict-aliasing... yes
checking whether gcc accepts -OPT:Olimit=0... no
checking whether gcc accepts -Olimit 1500... no
checking whether pthreads are available without options... no
checking whether gcc accepts -Kpthread... no
checking whether gcc accepts -Kthread... no
checking whether gcc accepts -pthread... yes
checking whether c++ also accepts flags for thread support... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for stdint.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sys/bsdtty.h usability... no
checking sys/bsdtty.h presence... no
checking for sys/bsdtty.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/lock.h usability... no
checking sys/lock.h presence... no
checking for sys/lock.h... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking bluetooth.h usability... no
checking bluetooth.h presence... no
checking for bluetooth.h... no
checking bluetooth/bluetooth.h usability... no
checking bluetooth/bluetooth.h presence... no
checking for bluetooth/bluetooth.h... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking for term.h... no
checking for clock_t in time.h... yes
checking for makedev... yes
checking Solaris LFS bug... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for void *... yes
checking size of void *... 8
checking for short... yes
checking size of short... 2
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for fpos_t... yes
checking size of fpos_t... 16
checking for long long support... yes
checking for long long... yes
checking size of long long... 8
checking for uintptr_t... yes
checking for uintptr_t... (cached) yes
checking size of uintptr_t... 8
checking size of off_t... 8
checking whether to enable large file support... no
checking size of time_t... 8
checking for pthread_t... yes
checking size of pthread_t... 8
checking for --enable-toolbox-glue... no
checking for --enable-framework... no
checking for dyld... no
checking SO... .so
checking LDSHARED... $(CC) -shared
checking CCSHARED... -fPIC
checking LINKFORSHARED... -Xlinker -export-dynamic
checking CFLAGSFORSHARED... 
checking SHLIBS... $(LIBS)
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for library containing sem_init... -lpthread
checking for textdomain in -lintl... no
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for --with-libs... no
checking for --with-signal-module... yes
checking for --with-dec-threads... no
checking for --with-threads... yes
checking if PTHREAD_SCOPE_SYSTEM is supported... yes
checking for pthread_sigmask... yes
checking if --enable-ipv6 is specified... yes
checking if RFC2553 API is available... yes
checking ipv6 stack type... linux-glibc
checking for --with-doc-strings... yes
checking for --with-tsc... no
checking for --with-pymalloc... yes
checking for --with-wctype-functions... no
checking for dlopen... yes
checking DYNLOADFILE... dynload_shlib.o
checking MACHDEP_OBJS... MACHDEP_OBJS
checking for alarm... yes
checking for bind_textdomain_codeset... yes
checking for chown... yes
checking for clock... yes
checking for confstr... yes
checking for ctermid... yes
checking for execv... yes
checking for fork... yes
checking for fpathconf... yes
checking for ftime... yes
checking for ftruncate... yes
checking for gai_strerror... yes
checking for getgroups... yes
checking for getlogin... yes
checking for getloadavg... yes
checking for getpeername... yes
checking for getpgid... yes
checking for getpid... yes
checking for getpriority... yes
checking for getpwent... yes
checking for getsid... yes
checking for getwd... yes
checking for kill... yes
checking for killpg... yes
checking for lchown... yes
checking for lstat... yes
checking for mkfifo... yes
checking for mknod... yes
checking for mktime... yes
checking for mremap... yes
checking for nice... yes
checking for pathconf... yes
checking for pause... yes
checking for plock... no
checking for poll... yes
checking for pthread_init... no
checking for putenv... yes
checking for readlink... yes
checking for realpath... yes
checking for select... yes
checking for setegid... yes
checking for seteuid... yes
checking for setgid... yes
checking for setlocale... yes
checking for setregid... yes
checking for setreuid... yes
checking for setsid... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setuid... yes
checking for setvbuf... yes
checking for snprintf... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for sigrelse... yes
checking for strftime... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for tempnam... yes
checking for timegm... yes
checking for times... yes
checking for tmpfile... yes
checking for tmpnam... yes
checking for tmpnam_r... yes
checking for truncate... yes
checking for uname... yes
checking for unsetenv... yes
checking for utimes... yes
checking for waitpid... yes
checking for wcscoll... yes
checking for _getpty... no
checking for chroot... yes
checking for link... yes
checking for symlink... yes
checking for fchdir... yes
checking for fsync... yes
checking for fdatasync... yes
checking for ctermid_r... no
checking for flock... yes
checking for getpagesize... yes
checking for true... true
checking for inet_aton in -lc... yes
checking for hstrerror... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for setgroups... yes
checking for openpty... no
checking for openpty in -lutil... yes
checking for forkpty... yes
checking for fseek64... no
checking for fseeko... yes
checking for fstatvfs... yes
checking for ftell64... no
checking for ftello... yes
checking for statvfs... yes
checking for dup2... yes
checking for getcwd... yes
checking for strdup... yes
checking for strerror... yes
checking for memmove... yes
checking for getpgrp... yes
checking for setpgrp... (cached) yes
checking for gettimeofday... yes
checking for major... yes
checking for getaddrinfo... yes
checking getaddrinfo bug... good
checking for getnameinfo... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for time.h that defines altzone... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for addrinfo... yes
checking for sockaddr_storage... yes
checking whether char is unsigned... no
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for working signed char... yes
checking for prototypes... yes
checking for variable length prototypes and stdarg.h... yes
checking for socketpair... yes
checking if sockaddr has sa_len member... no
checking whether va_list is an array... yes
checking for gethostbyname_r... yes
checking gethostbyname_r with 6 args... yes
checking for __fpu_control... yes
checking for --with-fpectl... no
checking for --with-libm=STRING... default LIBM="-lm"
checking for --with-libc=STRING... default LIBC=""
checking for hypot... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for wchar_t... yes
checking size of wchar_t... 4
checking for UCS-4 tcl... no
checking whether wchar_t is signed... no
checking what type to use for unicode... unsigned short
checking whether byte ordering is bigendian... no
checking whether right shift extends the sign bit... yes
checking for getc_unlocked() and friends... yes
checking for rl_callback_handler_install in -lreadline... no
checking for rl_pre_input_hook in -lreadline... no
checking for rl_completion_matches in -lreadline... no
checking for broken nice()... no
checking for broken poll()... no
checking for struct tm.tm_zone... (cached) yes
checking for working tzset()... yes
checking for tv_nsec in struct stat... yes
checking whether mvwdelch is an expression... no
checking whether WINDOW has _flags... no
checking for /dev/ptmx... yes
checking for /dev/ptc... no
checking for socklen_t... yes
checking for build directories... done
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Modules/Setup.config
config.status: creating pyconfig.h
creating Setup
creating Setup.local
creating Makefile
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Modules/python.o Modules/python.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/node.o Parser/node.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/parsetok.o Parser/parsetok.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/bitset.o Parser/bitset.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/metagrammar.o Parser/metagrammar.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/firstsets.o Parser/firstsets.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/grammar.o Parser/grammar.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/pgen.o Parser/pgen.c
Parser/pgen.c: In function 'compile_atom':
Parser/pgen.c:279:6: warning: variable 'i' set but not used [-Wunused-but-set-variable]
  int i;
      ^
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/myreadline.o Parser/myreadline.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/tokenizer.o Parser/tokenizer.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/abstract.o Objects/abstract.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/boolobject.o Objects/boolobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/bufferobject.o Objects/bufferobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/cellobject.o Objects/cellobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/classobject.o Objects/classobject.c
In file included from ./Include/Python.h:77:0,
                 from Objects/classobject.c:4:
Objects/classobject.c: In function 'PyMethod_New':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Objects/classobject.c:2198:3: note: in expansion of macro 'PyObject_INIT'
   PyObject_INIT(im, &PyMethod_Type);
   ^~~~~~~~~~~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/cobject.o Objects/cobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/complexobject.o Objects/complexobject.c
In file included from ./Include/Python.h:77:0,
                 from Objects/complexobject.c:8:
Objects/complexobject.c: In function 'PyComplex_FromCComplex':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Objects/complexobject.c:206:2: note: in expansion of macro 'PyObject_INIT'
  PyObject_INIT(op, &PyComplex_Type);
  ^~~~~~~~~~~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/descrobject.o Objects/descrobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/enumobject.o Objects/enumobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/genobject.o Objects/genobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/fileobject.o Objects/fileobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/floatobject.o Objects/floatobject.c
In file included from ./Include/Python.h:77:0,
                 from Objects/floatobject.c:7:
Objects/floatobject.c: In function 'PyFloat_FromDouble':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Objects/floatobject.c:60:2: note: in expansion of macro 'PyObject_INIT'
  PyObject_INIT(op, &PyFloat_Type);
  ^~~~~~~~~~~~~
Objects/floatobject.c: In function 'float_richcompare':
Objects/floatobject.c:428:10: warning: variable 'mant' set but not used [-Wunused-but-set-variable]
   double mant;
          ^~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/frameobject.o Objects/frameobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/funcobject.o Objects/funcobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/intobject.o Objects/intobject.c
In file included from ./Include/Python.h:77:0,
                 from Objects/intobject.c:4:
Objects/intobject.c: In function 'PyInt_FromLong':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Objects/intobject.c:106:2: note: in expansion of macro 'PyObject_INIT'
  PyObject_INIT(v, &PyInt_Type);
  ^~~~~~~~~~~~~
Objects/intobject.c: In function '_PyInt_Init':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Objects/intobject.c:1067:3: note: in expansion of macro 'PyObject_INIT'
   PyObject_INIT(v, &PyInt_Type);
   ^~~~~~~~~~~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/iterobject.o Objects/iterobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/listobject.o Objects/listobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c
Objects/longobject.c: In function 'long_float':
Objects/longobject.c:680:6: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized]
  x = ldexp(x, e * SHIFT);
      ^~~~~~~~~~~~~~~~~~~
Objects/longobject.c:667:6: note: 'e' was declared here
  int e;
      ^
Objects/longobject.c: In function 'long_true_divide':
Objects/longobject.c:2303:7: warning: 'bexp' may be used uninitialized in this function [-Wmaybe-uninitialized]
  aexp -= bexp;
       ^~
Objects/longobject.c:2303:7: warning: 'aexp' may be used uninitialized in this function [-Wmaybe-uninitialized]
Objects/longobject.c: In function 'PyLong_AsDouble':
Objects/longobject.c:680:6: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized]
  x = ldexp(x, e * SHIFT);
      ^~~~~~~~~~~~~~~~~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/dictobject.o Objects/dictobject.c
Objects/dictobject.c: In function 'insertdict':
Objects/dictobject.c:398:25: warning: typedef 'lookupfunc' locally defined but not used [-Wunused-local-typedefs]
  typedef PyDictEntry *(*lookupfunc)(PyDictObject *, PyObject *, long);
                         ^~~~~~~~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/methodobject.o Objects/methodobject.c
In file included from ./Include/Python.h:77:0,
                 from Objects/methodobject.c:4:
Objects/methodobject.c: In function 'PyCFunction_NewEx':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Objects/methodobject.c:16:3: note: in expansion of macro 'PyObject_INIT'
   PyObject_INIT(op, &PyCFunction_Type);
   ^~~~~~~~~~~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/moduleobject.o Objects/moduleobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/object.o Objects/object.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/rangeobject.o Objects/rangeobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/setobject.o Objects/setobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/sliceobject.o Objects/sliceobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/stringobject.o Objects/stringobject.c
In file included from ./Include/Python.h:77:0,
                 from Objects/stringobject.c:3:
Objects/stringobject.c: In function 'PyString_FromStringAndSize':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
./Include/objimpl.h:163:28: note: in expansion of macro 'PyObject_INIT'
  ( (op)->ob_size = (size), PyObject_INIT((op), (typeobj)) )
                            ^~~~~~~~~~~~~
Objects/stringobject.c:88:2: note: in expansion of macro 'PyObject_INIT_VAR'
  PyObject_INIT_VAR(op, &PyString_Type, size);
  ^~~~~~~~~~~~~~~~~
Objects/stringobject.c: In function 'PyString_FromString':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
./Include/objimpl.h:163:28: note: in expansion of macro 'PyObject_INIT'
  ( (op)->ob_size = (size), PyObject_INIT((op), (typeobj)) )
                            ^~~~~~~~~~~~~
Objects/stringobject.c:143:2: note: in expansion of macro 'PyObject_INIT_VAR'
  PyObject_INIT_VAR(op, &PyString_Type, size);
  ^~~~~~~~~~~~~~~~~
Objects/stringobject.c: In function 'string_concat':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
./Include/objimpl.h:163:28: note: in expansion of macro 'PyObject_INIT'
  ( (op)->ob_size = (size), PyObject_INIT((op), (typeobj)) )
                            ^~~~~~~~~~~~~
Objects/stringobject.c:938:2: note: in expansion of macro 'PyObject_INIT_VAR'
  PyObject_INIT_VAR(op, &PyString_Type, size);
  ^~~~~~~~~~~~~~~~~
Objects/stringobject.c: In function 'string_repeat':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
./Include/objimpl.h:163:28: note: in expansion of macro 'PyObject_INIT'
  ( (op)->ob_size = (size), PyObject_INIT((op), (typeobj)) )
                            ^~~~~~~~~~~~~
Objects/stringobject.c:981:2: note: in expansion of macro 'PyObject_INIT_VAR'
  PyObject_INIT_VAR(op, &PyString_Type, size);
  ^~~~~~~~~~~~~~~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/structseq.o Objects/structseq.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/tupleobject.o Objects/tupleobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c
In file included from ./Include/Python.h:77:0,
                 from Objects/typeobject.c:3:
Objects/typeobject.c: In function 'PyType_GenericAlloc':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Objects/typeobject.c:466:3: note: in expansion of macro 'PyObject_INIT'
   PyObject_INIT(obj, type);
   ^~~~~~~~~~~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/weakrefobject.o Objects/weakrefobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c
In file included from ./Include/Python.h:77:0,
                 from Objects/unicodeobject.c:39:
Objects/unicodeobject.c: In function '_PyUnicode_New':
./Include/objimpl.h:161:65: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Objects/unicodeobject.c:211:9: note: in expansion of macro 'PyObject_INIT'
         PyObject_INIT(unicode, &PyUnicode_Type);
         ^~~~~~~~~~~~~
Objects/unicodeobject.c: In function '_PyUnicode_DecodeUnicodeInternal':
Objects/unicodeobject.c:2334:16: warning: variable 'unimax' set but not used [-Wunused-but-set-variable]
     Py_UNICODE unimax;
                ^~~~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Objects/unicodectype.o Objects/unicodectype.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/bltinmodule.o Python/bltinmodule.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/exceptions.o Python/exceptions.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/mysnprintf.o Python/mysnprintf.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/tokenizer_pgen.o Parser/tokenizer_pgen.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/printgrammar.o Parser/printgrammar.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Parser/pgenmain.o Parser/pgenmain.c
gcc -pthread -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -L/usr/local/opt/openssl/lib  Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -lpthread -ldl  -lutil -o Parser/pgen
Parser/pgen ./Grammar/Grammar ./Include/graminit.h ./Python/graminit.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/compile.o Python/compile.c
Python/compile.c:1104:1: warning: 'dump' defined but not used [-Wunused-function]
 dump(node *n, int pad, int depth)
 ^~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/codecs.o Python/codecs.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/errors.o Python/errors.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/frozen.o Python/frozen.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/frozenmain.o Python/frozenmain.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/future.o Python/future.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/getargs.o Python/getargs.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/getcompiler.o Python/getcompiler.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/getcopyright.o Python/getcopyright.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/getmtime.o Python/getmtime.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -DPLATFORM='"linux3"' -o Python/getplatform.o ./Python/getplatform.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/getversion.o Python/getversion.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/graminit.o Python/graminit.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/import.o Python/import.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -I. -o Python/importdl.o ./Python/importdl.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/marshal.o Python/marshal.c
Python/marshal.c: In function 'PyMarshal_ReadShortFromFile':
Python/marshal.c:350:4: warning: 'rf.end' may be used uninitialized in this function [-Wmaybe-uninitialized]
  x = r_byte(p);
    ^
Python/marshal.c:727:8: note: 'rf.end' was declared here
  RFILE rf;
        ^~
Python/marshal.c:350:4: warning: 'rf.ptr' may be used uninitialized in this function [-Wmaybe-uninitialized]
  x = r_byte(p);
    ^
Python/marshal.c:727:8: note: 'rf.ptr' was declared here
  RFILE rf;
        ^~
Python/marshal.c: In function 'PyMarshal_ReadLongFromFile':
Python/marshal.c:330:73: warning: 'rf.end' may be used uninitialized in this function [-Wmaybe-uninitialized]
 #define rs_byte(p) (((p)->ptr != (p)->end) ? (unsigned char)*(p)->ptr++ : EOF)
                                                                         ^
Python/marshal.c:736:8: note: 'rf.end' was declared here
  RFILE rf;
        ^~
Python/marshal.c:330:73: warning: 'rf.ptr' may be used uninitialized in this function [-Wmaybe-uninitialized]
 #define rs_byte(p) (((p)->ptr != (p)->end) ? (unsigned char)*(p)->ptr++ : EOF)
                                                                         ^
Python/marshal.c:736:8: note: 'rf.ptr' was declared here
  RFILE rf;
        ^~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/modsupport.o Python/modsupport.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/mystrtoul.o Python/mystrtoul.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/pyfpe.o Python/pyfpe.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/pystate.o Python/pystate.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/pythonrun.o Python/pythonrun.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/structmember.o Python/structmember.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/symtable.o Python/symtable.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/sysmodule.o Python/sysmodule.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/traceback.o Python/traceback.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/getopt.o Python/getopt.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/pystrtod.o Python/pystrtod.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/dynload_shlib.o Python/dynload_shlib.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Python/thread.o Python/thread.c
In file included from Python/thread.c:115:0:
Python/thread_pthread.h: In function 'PyThread_free_lock':
Python/thread_pthread.h:277:14: warning: variable 'error' set but not used [-Wunused-but-set-variable]
  int status, error = 0;
              ^~~~~
Python/thread_pthread.h: In function 'PyThread_acquire_lock':
Python/thread_pthread.h:307:14: warning: variable 'error' set but not used [-Wunused-but-set-variable]
  int status, error = 0;
              ^~~~~
Python/thread_pthread.h: In function 'PyThread_release_lock':
Python/thread_pthread.h:334:14: warning: variable 'error' set but not used [-Wunused-but-set-variable]
  int status, error = 0;
              ^~~~~
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Modules/config.o Modules/config.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -DPYTHONPATH='":plat-linux3:lib-tk"' \
    -DPREFIX='"/home/zope/buildout.python/parts/opt"' \
    -DEXEC_PREFIX='"/home/zope/buildout.python/parts/opt"' \
    -DVERSION='"2.4"' \
    -DVPATH='""' \
    -o Modules/getpath.o ./Modules/getpath.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Modules/main.o Modules/main.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.c
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE  -c ./Modules/threadmodule.c -o Modules/threadmodule.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE  -c ./Modules/signalmodule.c -o Modules/signalmodule.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE  -c ./Modules/posixmodule.c -o Modules/posixmodule.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE  -c ./Modules/errnomodule.c -o Modules/errnomodule.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE  -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE  -c ./Modules/_sre.c -o Modules/_sre.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE  -c ./Modules/_codecsmodule.c -o Modules/_codecsmodule.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE  -c ./Modules/zipimport.c -o Modules/zipimport.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE  -c ./Modules/symtablemodule.c -o Modules/symtablemodule.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE  -DUSE_SSL -I/usr/include -I/usr/include/openssl -c ./Modules/_ssl.c -o Modules/_ssl.o
./Modules/_ssl.c: In function 'newPySSLObject':
./Modules/_ssl.c:293:11: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}'
  self->ssl->debug = 1;
           ^~
./Modules/_ssl.c: In function 'PySSL_RAND_egd':
./Modules/_ssl.c:639:13: warning: implicit declaration of function 'RAND_egd' [-Wimplicit-function-declaration]
     bytes = RAND_egd(PyString_AS_STRING(arg));
             ^~~~~~~~
Makefile:1086: recipe for target 'Modules/_ssl.o' failed
make: *** [Modules/_ssl.o] Error 1
python-2.4-build: cmmi failed: /tmp/tmp1MMQA4buildout-python-2.4-build
While:
  Installing python-2.4-build.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/zope/buildout.python/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
    getattr(buildout, command)(args)
  File "/home/zope/buildout.python/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 555, in install
    installed_files = self[part]._call(recipe.install)
  File "/home/zope/buildout.python/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1227, in _call
    return f()
  File "build/bdist.linux-x86_64/egg/zc/recipe/cmmi/__init__.py", line 113, in install
    self.build()
  File "/home/zope/buildout.python/eggs/collective.recipe.cmmi-0.5-py2.7.egg/collective/recipe/cmmi/__init__.py", line 24, in build
    result = Base.build(self)
  File "build/bdist.linux-x86_64/egg/zc/recipe/cmmi/__init__.py", line 196, in build
    self.cmmi(dest)
  File "/home/zope/buildout.python/eggs/collective.recipe.cmmi-0.5-py2.7.egg/collective/recipe/cmmi/__init__.py", line 61, in cmmi
    system("%s %s" % (make, make_options))
  File "build/bdist.linux-x86_64/egg/zc/recipe/cmmi/__init__.py", line 34, in system
    raise SystemError("Failed", c)
SystemError: ('Failed', 'make ')
mjpieters commented 4 years ago

Python 2.4 (or 2.5, 2.6 and 3.2-3.4 can’t be built with OpenSSL 1.1; you’d have to install OpenSSL 1.0.x somewhere and configure your buildout to use that when building these older Python versions.

mjpieters commented 4 years ago

That said, this is exactly the error that causes the 16.04 and 18.04 builds for 2.4 and 3.2 to fail, whereas the 2.5 and 3.3 builds work fine. I'm investigating this now.

mjpieters commented 4 years ago

Fixed by #92