Advertisement
Guest User

Untitled

a guest
Jul 21st, 2015
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.99 KB | None | 0 0
  1. $ pip install pywsman-*.tar.gz
  2. Unpacking ./pywsman-2.6.0-0.tar.gz
  3. Running setup.py (path:/tmp/pip-gHvMFp-build/setup.py) egg_info for package from file:///home/ifarkas/code/openwsman/bindings/python/pywsman/dist/pywsman-2.6.0-0.tar.gz
  4. No version.i.in file found -- Building from sdist.
  5.  
  6. file pywsman.py (for module pywsman) not found
  7. Installing collected packages: pywsman
  8. Running setup.py install for pywsman
  9. No version.i.in file found -- Building from sdist.
  10. building '_pywsman' extension
  11. swigging openwsman.i to openwsman_wrap.c
  12. swig -python -I/tmp/pip-gHvMFp-build -I/usr/include/openwsman -features autodoc -o openwsman_wrap.c openwsman.i
  13. gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/tmp/pip-gHvMFp-build -I/usr/include/openwsman -I/usr/include/python2.7 -c openwsman.c -o build/temp.linux-x86_64-2.7/openwsman.o
  14. gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/tmp/pip-gHvMFp-build -I/usr/include/openwsman -I/usr/include/python2.7 -c openwsman_wrap.c -o build/temp.linux-x86_64-2.7/openwsman_wrap.o
  15. openwsman_wrap.c: In function ‘epr_t_cmp’:
  16. openwsman_wrap.c:3836:26: warning: passing argument 2 of ‘epr_cmp’ discards ‘const’ qualifier from pointer target type
  17. return epr_cmp(self, epr2);
  18. ^
  19. In file included from /usr/include/openwsman/wsman-client-api.h:47:0,
  20. from /usr/include/openwsman/wsman-client.h:48,
  21. from openwsman_wrap.c:3206:
  22. /usr/include/openwsman/wsman-epr.h:163:6: note: expected ‘struct epr_t *’ but argument is of type ‘const struct epr_t *’
  23. int epr_cmp(epr_t *epr1, epr_t *epr2);
  24. ^
  25. openwsman_wrap.c: In function ‘epr_t_selector_names’:
  26. openwsman_wrap.c:3861:5: error: unknown type name ‘key_value_t’
  27. key_value_t *p = self->refparams.selectorset.selectors;
  28. ^
  29. openwsman_wrap.c:3861:22: warning: initialization from incompatible pointer type
  30. key_value_t *p = self->refparams.selectorset.selectors;
  31. ^
  32. openwsman_wrap.c:3863:48: error: request for member ‘key’ in something not a structure or union
  33. Target_ListSet(ary, i, SWIG_FromCharPtr(p->key));
  34. ^
  35. openwsman_wrap.c:3030:50: note: in definition of macro ‘Target_ListSet’
  36. #define Target_ListSet(x,n,y) PyList_SetItem(x,n,y)
  37. ^
  38. openwsman_wrap.c: In function ‘client_opt_t_add_property__SWIG_1’:
  39. openwsman_wrap.c:4422:5: warning: implicit declaration of function ‘wsmc_add_property_epr’ [-Wimplicit-function-declaration]
  40. wsmc_add_property_epr(self, key, epr);
  41. ^
  42. openwsman_wrap.c: In function ‘client_opt_t_set_locale’:
  43. openwsman_wrap.c:4468:2: warning: implicit declaration of function ‘wsmc_set_locale’ [-Wimplicit-function-declaration]
  44. wsmc_set_locale(self, locale);
  45. ^
  46. openwsman_wrap.c: In function ‘client_opt_t_locale’:
  47. openwsman_wrap.c:4471:16: error: ‘client_opt_t’ has no member named ‘locale’
  48. return self->locale;
  49. ^
  50. openwsman_wrap.c:4472:3: warning: control reaches end of non-void function [-Wreturn-type]
  51. }
  52. ^
  53. error: command 'gcc' failed with exit status 1
  54. Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-gHvMFp-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-AP4WDe-record/install-record.txt --single-version-externally-managed --compile:
  55. No version.i.in file found -- Building from sdist.
  56.  
  57. running install
  58.  
  59. running build
  60.  
  61. running build_ext
  62.  
  63. building '_pywsman' extension
  64.  
  65. swigging openwsman.i to openwsman_wrap.c
  66.  
  67. swig -python -I/tmp/pip-gHvMFp-build -I/usr/include/openwsman -features autodoc -o openwsman_wrap.c openwsman.i
  68.  
  69. creating build
  70.  
  71. creating build/temp.linux-x86_64-2.7
  72.  
  73. gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/tmp/pip-gHvMFp-build -I/usr/include/openwsman -I/usr/include/python2.7 -c openwsman.c -o build/temp.linux-x86_64-2.7/openwsman.o
  74.  
  75. gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/tmp/pip-gHvMFp-build -I/usr/include/openwsman -I/usr/include/python2.7 -c openwsman_wrap.c -o build/temp.linux-x86_64-2.7/openwsman_wrap.o
  76.  
  77. openwsman_wrap.c: In function ‘epr_t_cmp’:
  78.  
  79. openwsman_wrap.c:3836:26: warning: passing argument 2 of ‘epr_cmp’ discards ‘const’ qualifier from pointer target type
  80.  
  81. return epr_cmp(self, epr2);
  82.  
  83. ^
  84.  
  85. In file included from /usr/include/openwsman/wsman-client-api.h:47:0,
  86.  
  87. from /usr/include/openwsman/wsman-client.h:48,
  88.  
  89. from openwsman_wrap.c:3206:
  90.  
  91. /usr/include/openwsman/wsman-epr.h:163:6: note: expected ‘struct epr_t *’ but argument is of type ‘const struct epr_t *’
  92.  
  93. int epr_cmp(epr_t *epr1, epr_t *epr2);
  94.  
  95. ^
  96.  
  97. openwsman_wrap.c: In function ‘epr_t_selector_names’:
  98.  
  99. openwsman_wrap.c:3861:5: error: unknown type name ‘key_value_t’
  100.  
  101. key_value_t *p = self->refparams.selectorset.selectors;
  102.  
  103. ^
  104.  
  105. openwsman_wrap.c:3861:22: warning: initialization from incompatible pointer type
  106.  
  107. key_value_t *p = self->refparams.selectorset.selectors;
  108.  
  109. ^
  110.  
  111. openwsman_wrap.c:3863:48: error: request for member ‘key’ in something not a structure or union
  112.  
  113. Target_ListSet(ary, i, SWIG_FromCharPtr(p->key));
  114.  
  115. ^
  116.  
  117. openwsman_wrap.c:3030:50: note: in definition of macro ‘Target_ListSet’
  118.  
  119. #define Target_ListSet(x,n,y) PyList_SetItem(x,n,y)
  120.  
  121. ^
  122.  
  123. openwsman_wrap.c: In function ‘client_opt_t_add_property__SWIG_1’:
  124.  
  125. openwsman_wrap.c:4422:5: warning: implicit declaration of function ‘wsmc_add_property_epr’ [-Wimplicit-function-declaration]
  126.  
  127. wsmc_add_property_epr(self, key, epr);
  128.  
  129. ^
  130.  
  131. openwsman_wrap.c: In function ‘client_opt_t_set_locale’:
  132.  
  133. openwsman_wrap.c:4468:2: warning: implicit declaration of function ‘wsmc_set_locale’ [-Wimplicit-function-declaration]
  134.  
  135. wsmc_set_locale(self, locale);
  136.  
  137. ^
  138.  
  139. openwsman_wrap.c: In function ‘client_opt_t_locale’:
  140.  
  141. openwsman_wrap.c:4471:16: error: ‘client_opt_t’ has no member named ‘locale’
  142.  
  143. return self->locale;
  144.  
  145. ^
  146.  
  147. openwsman_wrap.c:4472:3: warning: control reaches end of non-void function [-Wreturn-type]
  148.  
  149. }
  150.  
  151. ^
  152.  
  153. error: command 'gcc' failed with exit status 1
  154.  
  155. ----------------------------------------
  156. Cleaning up...
  157. Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-gHvMFp-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-AP4WDe-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-gHvMFp-build
  158. Traceback (most recent call last):
  159. File "/bin/pip", line 11, in <module>
  160. sys.exit(main())
  161. File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 184, in main
  162. return command.main(cmd_args)
  163. File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 161, in main
  164. text = '\n'.join(complete_log)
  165. UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 34: ordinal not in range(128)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement