Advertisement
Guest User

Untitled

a guest
Jul 11th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.94 KB | None | 0 0
  1. translation:info] Error:
  2. File "/home/magniff/workspace/pypy3-v5.8.0-src/rpython/translator/goal/translate.py", line 318, in main
  3. drv.proceed(goals)
  4. File "/home/magniff/workspace/pypy3-v5.8.0-src/rpython/translator/driver.py", line 551, in proceed
  5. result = self._execute(goals, task_skip = self._maybe_skip())
  6. File "/home/magniff/workspace/pypy3-v5.8.0-src/rpython/translator/tool/taskengine.py", line 114, in _execute
  7. res = self._do(goal, taskcallable, *args, **kwds)
  8. File "/home/magniff/workspace/pypy3-v5.8.0-src/rpython/translator/driver.py", line 278, in _do
  9. res = func()
  10. File "/home/magniff/workspace/pypy3-v5.8.0-src/rpython/translator/driver.py", line 518, in task_compile_c
  11. cbuilder.compile(**kwds)
  12. File "/home/magniff/workspace/pypy3-v5.8.0-src/rpython/translator/c/genc.py", line 343, in compile
  13. extra_opts)
  14. File "/home/magniff/workspace/pypy3-v5.8.0-src/rpython/translator/platform/posix.py", line 231, in execute_makefile
  15. self._handle_error(returncode, stdout, stderr, path.join('make'))
  16. File "/home/magniff/workspace/pypy3-v5.8.0-src/rpython/translator/platform/__init__.py", line 152, in _handle_error
  17. raise CompilationError(stdout, stderr)
  18. [translation:ERROR] CompilationError: CompilationError(err="""
  19. In file included from data_rpython_memory_gctransform.c:6:0:
  20. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  21. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  22. ^
  23. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  24. In file included from data_rpython_memory_gctransform.c:6:0:
  25. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  26. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  27. ^
  28. In file included from data_rpython_flowspace.c:6:0:
  29. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  30. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  31. ^
  32. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  33. In file included from data_rpython_flowspace.c:6:0:
  34. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  35. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  36. ^
  37. In file included from testing_1.c:4:0:
  38. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  39. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  40. ^
  41. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  42. In file included from testing_1.c:4:0:
  43. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  44. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  45. ^
  46. In file included from data_rpython_memory_gc.c:6:0:
  47. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  48. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  49. ^
  50. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  51. In file included from data_rpython_memory_gc.c:6:0:
  52. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  53. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  54. ^
  55. In file included from data_rpython_rlib.c:6:0:
  56. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  57. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  58. ^
  59. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  60. In file included from data_rpython_rlib.c:6:0:
  61. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  62. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  63. ^
  64. In file included from data_rpython_rtyper.c:6:0:
  65. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  66. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  67. ^
  68. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  69. In file included from data_rpython_rtyper.c:6:0:
  70. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  71. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  72. ^
  73. In file included from data_rpython_rtyper_lltypesystem.c:6:0:
  74. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  75. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  76. ^
  77. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  78. In file included from data_rpython_rtyper_lltypesystem.c:6:0:
  79. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  80. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  81. ^
  82. In file included from data_rpython_translator_c.c:6:0:
  83. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  84. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  85. ^
  86. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  87. In file included from data_rpython_translator_c.c:6:0:
  88. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  89. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  90. ^
  91. In file included from nonfuncnodes.c:6:0:
  92. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  93. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  94. ^
  95. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  96. In file included from nonfuncnodes.c:6:0:
  97. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  98. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  99. ^
  100. In file included from data_rpython_memory_gc_1.c:6:0:
  101. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  102. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  103. ^
  104. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  105. In file included from data_rpython_memory_gc_1.c:6:0:
  106. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  107. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  108. ^
  109. In file included from data_rpython_rlib_1.c:6:0:
  110. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  111. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  112. ^
  113. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  114. In file included from data_rpython_rlib_1.c:6:0:
  115. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  116. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  117. ^
  118. In file included from data_rpython_rtyper_lltypesystem_1.c:6:0:
  119. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  120. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  121. ^
  122. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  123. In file included from data_rpython_rtyper_lltypesystem_1.c:6:0:
  124. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  125. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  126. ^
  127. In file included from implement.c:6:0:
  128. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  129. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  130. ^
  131. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  132. In file included from implement.c:6:0:
  133. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  134. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  135. ^
  136. implement.c:12:24: warning: ‘struct RegexList’ declared inside parameter list
  137. Signed tokenize(struct RegexList *l_arg0_3, char *l_arg1_3, Signed l_arg2_1) {
  138. ^
  139. implement.c:12:8: error: conflicting types for ‘tokenize’
  140. Signed tokenize(struct RegexList *l_arg0_3, char *l_arg1_3, Signed l_arg2_1) {
  141. ^
  142. In file included from implement.c:6:0:
  143. forwarddecl.h:8:21: note: previous declaration of ‘tokenize’ was here
  144. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  145. ^
  146. implement.c: In function ‘tokenize’:
  147. implement.c:31:28: warning: passing argument 1 of ‘pypy_g_tokenize’ from incompatible pointer type [-Wincompatible-pointer-types]
  148. l_res_0 = pypy_g_tokenize(l_arg0_3, l_arg1_3, l_arg2_1);
  149. ^
  150. In file included from implement.c:6:0:
  151. forwarddecl.h:44:19: note: expected ‘struct RegexList *’ but argument is of type ‘struct RegexList *’
  152. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  153. ^
  154. In file included from rere_vm.c:6:0:
  155. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  156. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  157. ^
  158. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  159. In file included from rere_vm.c:6:0:
  160. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  161. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  162. ^
  163. make[1]: *** [implement.o] Error 1
  164. make[1]: *** Waiting for unfinished jobs....
  165. In file included from rpython_memory.c:6:0:
  166. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  167. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  168. ^
  169. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  170. In file included from rpython_memory.c:6:0:
  171. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  172. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  173. ^
  174. In file included from rpython_flowspace.c:6:0:
  175. forwarddecl.h:8:37: warning: ‘struct RegexList’ declared inside parameter list
  176. RPY_EXPORTED Signed tokenize(struct RegexList *l_arg0_1, char *l_arg1_1, Signed l_arg2_0);
  177. ^
  178. forwarddecl.h:8:37: warning: its scope is only this definition or declaration, which is probably not what you want
  179. In file included from rpython_flowspace.c:6:0:
  180. forwarddecl.h:44:42: warning: ‘struct RegexList’ declared inside parameter list
  181. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  182. ^
  183. rere_vm.c:22:31: warning: ‘struct RegexList’ declared inside parameter list
  184. Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_cp_2, Signed l_maxlen_0) {
  185. ^
  186. rere_vm.c:22:8: error: conflicting types for ‘pypy_g_tokenize’
  187. Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_cp_2, Signed l_maxlen_0) {
  188. ^
  189. In file included from rere_vm.c:6:0:
  190. forwarddecl.h:44:19: note: previous declaration of ‘pypy_g_tokenize’ was here
  191. RPY_EXTERN Signed pypy_g_tokenize(struct RegexList *l_regex_list_0, char *l_input_bytes_0, Signed l_input_len_0);
  192. ^
  193. make[1]: *** [rere_vm.o] Error 1
  194. make: *** [lldebug] Error 2
  195. """)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement