HOSTDEV-1134 fixing build on ubuntu 13.04

================================================================================

Host Infrastructure / HOSTDEV-1134
python-build fails to build python on Ubuntu 13.04

Type:              Sub-task                          Status:        Open                       Assignee: Guy Rozendorn
Priority:          Minor                             Resolution:    Unresolved                 Reporter: Guy Rozendorn
Affects Version/s:                                   Fix Version/s: 0.33
Components: python-build                                                                       Created: 2013-08-15 01:57
Labels:                                                                                        Updated: 2013-08-15 01:58

Issue Links:

Sub-Tasks:

Description:
{noformat}

make  all-recursive
make[1]: Entering directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3'
Making all in lib
make[2]: Entering directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib'
make  all-recursive
make[3]: Entering directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib'
Making all in gl
make[4]: Entering directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl'
  GEN    alloca.h
  GEN    arg-nonnull.h
  GEN    c++defs.h
  GEN    warn-on-use.h
  GEN    netdb.h
  GEN    stdio.h
  GEN    stdlib.h
  GEN    string.h
  GEN    strings.h
  GEN    sys/socket.h
  GEN    sys/stat.h
  GEN    time.h
  GEN    unistd.h
make  all-recursive
make[5]: Entering directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl'
Making all in tests
make[6]: Entering directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl/tests'
  GEN    arg-nonnull.h
  GEN    c++defs.h
  GEN    warn-on-use.h
  GEN    fcntl.h
make  all-recursive
make[7]: Entering directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl/tests'
Making all in .
make[8]: Entering directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl/tests'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl/tests'
make[7]: Leaving directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl/tests'
make[6]: Leaving directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl/tests'
make[6]: Entering directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl'
  CC     c-ctype.lo
  CC     close-hook.lo
  CC     sockets.lo
  CC     asnprintf.lo
  CC     printf-args.lo
  CC     printf-parse.lo
  CC     read-file.lo
In file included from read-file.h:26:0,
                 from read-file.c:21:
./stdio.h:477:1: error: 'gets' undeclared here (not in a function)
make[6]: *** [read-file.lo] Error 1
make[6]: Leaving directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib/gl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/python-build/parts/libgnutls__compile__/gnutls-2.12.3'
make: *** [all] Error 2
libgnutls: Command failed with exit code 2: make
libgnutls: Compilation error. The package is left as is at /root/python-build/parts/libgnutls__compile__/gnutls-2.12.3 where you can inspect what went wrong
While:
  Installing libgnutls.
Error: System error
{noformat}

Comments: