karthikvee

Errors for: pip install monasca-common

Jul 25th, 2017
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 38.50 KB | None | 0 0
  1. root@slave1:/opt/storm# pip install monasca-common
  2. Downloading/unpacking monasca-common
  3.   Downloading monasca_common-2.2.0-py2.py3-none-any.whl (85kB): 85kB downloaded
  4. Downloading/unpacking ujson>=1.35 (from monasca-common)
  5.   Downloading ujson-1.35.tar.gz (192kB): 192kB downloaded
  6.   Running setup.py (path:/tmp/pip_build_root/ujson/setup.py) egg_info for package ujson
  7.    
  8. Downloading/unpacking six>=1.9.0 (from monasca-common)
  9.   Downloading six-1.10.0-py2.py3-none-any.whl
  10. Downloading/unpacking pyparsing>=2.1.0 (from monasca-common)
  11.   Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB): 56kB downloaded
  12. Downloading/unpacking oslo.config>=4.0.0 (from monasca-common)
  13.   Downloading oslo.config-4.11.0-py2.py3-none-any.whl (109kB): 109kB downloaded
  14. Downloading/unpacking pykafka>=2.5.0 (from monasca-common)
  15.   Downloading pykafka-2.6.0.tar.gz (118kB): 118kB downloaded
  16.   Running setup.py (path:/tmp/pip_build_root/pykafka/setup.py) egg_info for package pykafka
  17.    
  18. Downloading/unpacking PyMySQL>=0.7.6 (from monasca-common)
  19.   Downloading PyMySQL-0.7.11-py2.py3-none-any.whl (78kB): 78kB downloaded
  20. Downloading/unpacking kazoo>=2.2 (from monasca-common)
  21.   Downloading kazoo-2.4.0-py2.py3-none-any.whl (134kB): 134kB downloaded
  22. Downloading/unpacking pbr>=2.0.0,!=2.1.0 (from monasca-common)
  23.   Downloading pbr-3.1.1-py2.py3-none-any.whl (99kB): 99kB downloaded
  24. Downloading/unpacking rfc3986>=0.3.1 (from oslo.config>=4.0.0->monasca-common)
  25.   Downloading rfc3986-1.1.0-py2.py3-none-any.whl
  26. Downloading/unpacking netaddr>=0.7.13,!=0.7.16 (from oslo.config>=4.0.0->monasca-common)
  27.   Downloading netaddr-0.7.19-py2.py3-none-any.whl (1.6MB): 1.6MB downloaded
  28. Downloading/unpacking oslo.i18n>=2.1.0,!=3.15.2 (from oslo.config>=4.0.0->monasca-common)
  29.   Downloading oslo.i18n-3.17.0-py2.py3-none-any.whl (42kB): 42kB downloaded
  30. Downloading/unpacking debtcollector>=1.2.0 (from oslo.config>=4.0.0->monasca-common)
  31.   Downloading debtcollector-1.17.0-py2.py3-none-any.whl
  32. Downloading/unpacking stevedore>=1.20.0 (from oslo.config>=4.0.0->monasca-common)
  33.   Downloading stevedore-1.25.0-py2.py3-none-any.whl
  34. Downloading/unpacking PyYAML>=3.10.0 (from oslo.config>=4.0.0->monasca-common)
  35.   Downloading PyYAML-3.12.tar.gz (253kB): 253kB downloaded
  36.   Running setup.py (path:/tmp/pip_build_root/PyYAML/setup.py) egg_info for package PyYAML
  37.    
  38. Downloading/unpacking tabulate (from pykafka>=2.5.0->monasca-common)
  39.   Downloading tabulate-0.7.7-py2.py3-none-any.whl
  40. Downloading/unpacking gevent>=1.1.0 (from pykafka>=2.5.0->monasca-common)
  41.   Downloading gevent-1.2.2.tar.gz (3.1MB): 3.1MB downloaded
  42.   Running setup.py (path:/tmp/pip_build_root/gevent/setup.py) egg_info for package gevent
  43.     /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'cffi_modules'
  44.       warnings.warn(msg)
  45.    
  46.     warning: no files found matching 'changelog.rst'
  47.     warning: no files found matching 'known_failures.py'
  48.     warning: no files found matching '.pep8'
  49.     no previously-included directories found matching '*/__pycache__'
  50.     warning: no previously-included files matching '*.so' found anywhere in distribution
  51.     warning: no previously-included files matching '*.o' found anywhere in distribution
  52.     warning: no previously-included files matching '*.lo' found anywhere in distribution
  53.     warning: no previously-included files matching '*.la' found anywhere in distribution
  54.     warning: no previously-included files matching 'config.log' found anywhere in distribution
  55.     warning: no previously-included files matching 'config.status' found anywhere in distribution
  56.     no previously-included directories found matching 'doc/_build'
  57.     warning: no previously-included files matching '*.pyc' found anywhere in distribution
  58.     warning: no previously-included files matching '.coverage' found under directory 'src/greentest'
  59.     no previously-included directories found matching 'src/greentest/htmlcov'
  60.     warning: no previously-included files matching 'stamp-h?' found under directory 'deps/c-ares'
  61.     warning: no previously-included files matching 'ares_build.h.orig' found under directory 'deps/c-ares'
  62.     no previously-included directories found matching 'deps/libev/.deps'
  63.     warning: no previously-included files matching 'Makefile' found under directory 'deps/libev'
  64.     warning: no previously-included files matching 'libtool' found under directory 'deps/libev'
  65.     warning: no previously-included files matching 'stamp-h?' found under directory 'deps/libev'
  66.     warning: no previously-included files matching 'config.h' found under directory 'deps/libev'
  67.     warning: no previously-included files matching '_corecffi.c' found under directory 'src/gevent'
  68.     warning: no previously-included files found matching 'Makefile'
  69.     warning: no previously-included files found matching 'configure-output'
  70. Downloading/unpacking Babel>=2.3.4,!=2.4.0 (from oslo.i18n>=2.1.0,!=3.15.2->oslo.config>=4.0.0->monasca-common)
  71.   Downloading Babel-2.3.4-py2.py3-none-any.whl (7.1MB): 7.1MB downloaded
  72. Downloading/unpacking wrapt>=1.7.0 (from debtcollector>=1.2.0->oslo.config>=4.0.0->monasca-common)
  73.   Downloading wrapt-1.10.10.tar.gz
  74.   Running setup.py (path:/tmp/pip_build_root/wrapt/setup.py) egg_info for package wrapt
  75.    
  76. Downloading/unpacking funcsigs>=0.4 (from debtcollector>=1.2.0->oslo.config>=4.0.0->monasca-common)
  77.   Downloading funcsigs-1.0.2-py2.py3-none-any.whl
  78. Downloading/unpacking greenlet>=0.4.10 (from gevent>=1.1.0->pykafka>=2.5.0->monasca-common)
  79.   Downloading greenlet-0.4.12.tar.gz (57kB): 57kB downloaded
  80.   Running setup.py (path:/tmp/pip_build_root/greenlet/setup.py) egg_info for package greenlet
  81.    
  82. Downloading/unpacking pytz>=0a (from Babel>=2.3.4,!=2.4.0->oslo.i18n>=2.1.0,!=3.15.2->oslo.config>=4.0.0->monasca-common)
  83.   Downloading pytz-2017.2-py2.py3-none-any.whl (484kB): 484kB downloaded
  84. Installing collected packages: monasca-common, ujson, six, pyparsing, oslo.config, pykafka, PyMySQL, kazoo, pbr, rfc3986, netaddr, oslo.i18n, debtcollector, stevedore, PyYAML, tabulate, gevent, Babel, wrapt, funcsigs, greenlet, pytz
  85.   Running setup.py install for ujson
  86.     building 'ujson' extension
  87.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I./python -I./lib -I/usr/include/python2.7 -c ./python/ujson.c -o build/temp.linux-x86_64-2.7/./python/ujson.o -D_GNU_SOURCE
  88.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I./python -I./lib -I/usr/include/python2.7 -c ./python/objToJSON.c -o build/temp.linux-x86_64-2.7/./python/objToJSON.o -D_GNU_SOURCE
  89.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I./python -I./lib -I/usr/include/python2.7 -c ./python/JSONtoObj.c -o build/temp.linux-x86_64-2.7/./python/JSONtoObj.o -D_GNU_SOURCE
  90.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I./python -I./lib -I/usr/include/python2.7 -c ./lib/ultrajsonenc.c -o build/temp.linux-x86_64-2.7/./lib/ultrajsonenc.o -D_GNU_SOURCE
  91.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I./python -I./lib -I/usr/include/python2.7 -c ./lib/ultrajsondec.c -o build/temp.linux-x86_64-2.7/./lib/ultrajsondec.o -D_GNU_SOURCE
  92.     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/./python/ujson.o build/temp.linux-x86_64-2.7/./python/objToJSON.o build/temp.linux-x86_64-2.7/./python/JSONtoObj.o build/temp.linux-x86_64-2.7/./lib/ultrajsonenc.o build/temp.linux-x86_64-2.7/./lib/ultrajsondec.o -o build/lib.linux-x86_64-2.7/ujson.so
  93.    
  94.   Found existing installation: six 1.5.2
  95.     Not uninstalling six at /usr/lib/python2.7/dist-packages, owned by OS
  96.   Running setup.py install for pykafka
  97.    
  98.     building 'pykafka.rdkafka._rd_kafka' extension
  99.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c pykafka/rdkafka/_rd_kafkamodule.c -o build/temp.linux-x86_64-2.7/pykafka/rdkafka/_rd_kafkamodule.o
  100.     pykafka/rdkafka/_rd_kafkamodule.c:11:32: fatal error: librdkafka/rdkafka.h: No such file or directory
  101.      #include <librdkafka/rdkafka.h>
  102.                                     ^
  103.     compilation terminated.
  104.     ---------------
  105.     INFO: Failed to build rdkafka extension:
  106.     command 'x86_64-linux-gnu-gcc' failed with exit status 1
  107.     INFO: will now attempt setup without extension.
  108.     ---------------
  109.    
  110.     Installing kafka-tools script to /usr/local/bin
  111.   Running setup.py install for PyYAML
  112.     checking if libyaml is compilable
  113.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o
  114.     build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory
  115.      #include <yaml.h>
  116.                       ^
  117.     compilation terminated.
  118.    
  119.     libyaml is not found or a compiler error: forcing --without-libyaml
  120.     (if libyaml is installed correctly, you may need to
  121.      specify the option --include-dirs or uncomment and
  122.      modify the parameter include_dirs in setup.cfg)
  123.    
  124.   Running setup.py install for gevent
  125.     /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'cffi_modules'
  126.       warnings.warn(msg)
  127.    
  128.     warning: no files found matching 'changelog.rst'
  129.     warning: no files found matching 'known_failures.py'
  130.     warning: no files found matching '.pep8'
  131.     no previously-included directories found matching '*/__pycache__'
  132.     warning: no previously-included files matching '*.so' found anywhere in distribution
  133.     warning: no previously-included files matching '*.o' found anywhere in distribution
  134.     warning: no previously-included files matching '*.lo' found anywhere in distribution
  135.     warning: no previously-included files matching '*.la' found anywhere in distribution
  136.     warning: no previously-included files matching 'config.log' found anywhere in distribution
  137.     warning: no previously-included files matching 'config.status' found anywhere in distribution
  138.     no previously-included directories found matching 'doc/_build'
  139.     warning: no previously-included files matching '*.pyc' found anywhere in distribution
  140.     warning: no previously-included files matching '.coverage' found under directory 'src/greentest'
  141.     no previously-included directories found matching 'src/greentest/htmlcov'
  142.     warning: no previously-included files matching 'stamp-h?' found under directory 'deps/c-ares'
  143.     warning: no previously-included files matching 'ares_build.h.orig' found under directory 'deps/c-ares'
  144.     no previously-included directories found matching 'deps/libev/.deps'
  145.     warning: no previously-included files matching 'Makefile' found under directory 'deps/libev'
  146.     warning: no previously-included files matching 'libtool' found under directory 'deps/libev'
  147.     warning: no previously-included files matching 'stamp-h?' found under directory 'deps/libev'
  148.     warning: no previously-included files matching 'config.h' found under directory 'deps/libev'
  149.     warning: no previously-included files matching '_corecffi.c' found under directory 'src/gevent'
  150.     warning: no previously-included files found matching 'Makefile'
  151.     warning: no previously-included files found matching 'configure-output'
  152.     Running '(cd  "/tmp/pip_build_root/gevent/deps/libev"  && sh ./configure   && cp config.h "$OLDPWD" ) > configure-output.txt' in /tmp/pip_build_root/gevent/build/temp.linux-x86_64-2.7/libev
  153.     building 'gevent.libev.corecext' extension
  154.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DLIBEV_EMBED=1 -DEV_COMMON= -DEV_CLEANUP_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_PERIODIC_ENABLE=0 -Ibuild/temp.linux-x86_64-2.7/libev -I/tmp/pip_build_root/gevent/deps/libev -I/usr/include/python2.7 -c src/gevent/libev/gevent.corecext.c -o build/temp.linux-x86_64-2.7/src/gevent/libev/gevent.corecext.o
  155.     In file included from src/gevent/libev/libev.h:2:0,
  156.                      from src/gevent/libev/gevent.corecext.c:434:
  157.     /tmp/pip_build_root/gevent/deps/libev/ev.c:483:48: warning: "/*" within comment [-Wcomment]
  158.      /*#define MIN_INTERVAL  0.00000095367431640625 /* 1/2**20, good till 2200 */
  159.      ^
  160.     In file included from src/gevent/libev/libev.h:2:0,
  161.                      from src/gevent/libev/gevent.corecext.c:434:
  162.     /tmp/pip_build_root/gevent/deps/libev/ev.c:1831:31: warning: ‘ev_default_loop_ptr’ initialized and declared ‘extern’ [enabled by default]
  163.        EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */
  164.                                    ^
  165.     In file included from src/gevent/libev/libev.h:2:0,
  166.                      from src/gevent/libev/gevent.corecext.c:434:
  167.     /tmp/pip_build_root/gevent/deps/libev/ev.c: In function ‘ev_io_start’:
  168.     /tmp/pip_build_root/gevent/deps/libev/ev.c:3878:34: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
  169.        fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
  170.                                       ^
  171.     /tmp/pip_build_root/gevent/deps/libev/ev.c: At top level:
  172.     /tmp/pip_build_root/gevent/deps/libev/ev.c:5135:27: warning: "/*" within comment [-Wcomment]
  173.      /* EV_STAT     0x00001000 /* stat data changed */
  174.      ^
  175.     /tmp/pip_build_root/gevent/deps/libev/ev.c:5136:27: warning: "/*" within comment [-Wcomment]
  176.      /* EV_EMBED    0x00010000 /* embedded event loop needs sweep */
  177.      ^
  178.     In file included from src/gevent/libev/libev.h:2:0,
  179.                      from src/gevent/libev/gevent.corecext.c:434:
  180.     /tmp/pip_build_root/gevent/deps/libev/ev.c: In function ‘evpipe_write’:
  181.     /tmp/pip_build_root/gevent/deps/libev/ev.c:2468:17: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  182.                write (evpipe [1], &counter, sizeof (uint64_t));
  183.                      ^
  184.     /tmp/pip_build_root/gevent/deps/libev/ev.c:2480:17: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  185.                write (evpipe [1], &(evpipe [1]), 1);
  186.                      ^
  187.     /tmp/pip_build_root/gevent/deps/libev/ev.c: In function ‘pipecb’:
  188.     /tmp/pip_build_root/gevent/deps/libev/ev.c:2501:16: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
  189.                read (evpipe [1], &counter, sizeof (uint64_t));
  190.                     ^
  191.     /tmp/pip_build_root/gevent/deps/libev/ev.c:2515:16: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
  192.                read (evpipe [0], &dummy, sizeof (dummy));
  193.                     ^
  194.     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/gevent/libev/gevent.corecext.o -o build/lib.linux-x86_64-2.7/gevent/libev/corecext.so
  195.     Running '(cd  "/tmp/pip_build_root/gevent/deps/c-ares"  && if [ -r ares_build.h ]; then cp ares_build.h ares_build.h.orig; fi   && sh ./configure --disable-dependency-tracking CONFIG_COMMANDS=   && cp ares_config.h ares_build.h "$OLDPWD"   && mv ares_build.h.orig ares_build.h) > configure-output.txt' in /tmp/pip_build_root/gevent/build/temp.linux-x86_64-2.7/c-ares
  196.     building 'gevent.ares' extension
  197.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H= -DCARES_EMBED=1 -Ibuild/temp.linux-x86_64-2.7/c-ares -I/tmp/pip_build_root/gevent/deps/c-ares -I/usr/include/python2.7 -c src/gevent/gevent.ares.c -o build/temp.linux-x86_64-2.7/src/gevent/gevent.ares.o
  198.     In file included from src/gevent/gevent.ares.c:435:0:
  199.     src/gevent/dnshelper.c:19:0: warning: "PyUnicode_FromString" redefined [enabled by default]
  200.        #define PyUnicode_FromString         PyBytes_FromString
  201.      ^
  202.     In file included from /usr/include/python2.7/Python.h:85:0,
  203.                      from src/gevent/gevent.ares.c:4:
  204.     /usr/include/python2.7/unicodeobject.h:281:0: note: this is the location of the previous definition
  205.      # define PyUnicode_FromString PyUnicodeUCS4_FromString
  206. 'gevent._semaphore' extension
  207.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/gevent/gevent._semaphore.c -o build/temp.linux-x86_64-2.7/src/gevent/gevent._semaphore.o
  208.     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/gevent/gevent._semaphore.o -o build/lib.linux-x86_64-2.7/gevent/_semaphore.so
  209.       File "/usr/local/lib/python2.7/dist-packages/gevent/_socket3.py", line 195
  210.         def makefile(self, mode="r", buffering=None, *,
  211.                                                       ^
  212.     SyntaxError: invalid syntax
  213.    
  214.   Running setup.py install for wrapt
  215.     building 'wrapt._wrappers' extension
  216.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/wrapt/_wrappers.c -o build/temp.linux-x86_64-2.7/src/wrapt/_wrappers.o
  217.     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/wrapt/_wrappers.o -o build/lib.linux-x86_64-2.7/wrapt/_wrappers.so
  218.    
  219.   Running setup.py install for greenlet
  220.     building 'greenlet' extension
  221.     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c greenlet.c -o build/temp.linux-x86_64-2.7/greenlet.o
  222.     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/greenlet.o -o build/lib.linux-x86_64-2.7/greenlet.so
  223.    
  224. Successfully installed monasca-common ujson six pyparsing oslo.config pykafka PyMySQL kazoo pbr rfc3986 netaddr oslo.i18n debtcollector stevedore PyYAML tabulate gevent Babel wrapt funcsigs greenlet pytz
  225. Cleaning up...
Add Comment
Please, Sign In to add comment