Advertisement
Guest User

Untitled

a guest
Nov 12th, 2015
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.92 KB | None | 0 0
  1. $ python2 ../../pmgen.py testPymod.nim
  2. Determined includes & ldflags using command `python2-config`
  3. includes = ['-I/usr/include/python2.7', '-I/usr/include/python2.7']
  4. ldflags = ['-lpython2.7', '-lpthread', '-ldl', '-lutil', '-lm', '-Xlinker', '-export-dynamic']
  5. make -f Makefile.pmgen-testPymod pmgen
  6. nim compile --define:pmgen --noLinking --noMain pmgentestPymod_incl.nim
  7. Hint: used config file '/tmp/nim-pymod/tests/001-miscExamples/pmgen/nim.cfg' [Conf]
  8. Hint: system [Processing]
  9. Hint: pmgentestPymod_incl [Processing]
  10. Hint: macros [Processing]
  11. lib/nim/core/macros.nim(729, 14) template/generic instantiation from here
  12. lib/nim/system.nim(3554, 5) template/generic instantiation from here
  13. lib/nim/system.nim(270, 3) Warning: 'result' might not have been initialized [Uninit]
  14. Hint: astutils [Processing]
  15. Hint: strutils [Processing]
  16. Hint: parseutils [Processing]
  17. lib/nim/pure/parseutils.nim(122, 17) Warning: 'result' might not have been initialized [Uninit]
  18. lib/nim/pure/parseutils.nim(127, 9) Warning: 'result' might not have been initialized [Uninit]
  19. lib/nim/pure/parseutils.nim(132, 9) Warning: 'result' might not have been initialized [Uninit]
  20. lib/nim/pure/parseutils.nim(140, 11) Warning: 'result' might not have been initialized [Uninit]
  21. lib/nim/pure/parseutils.nim(146, 11) Warning: 'result' might not have been initialized [Uninit]
  22. lib/nim/pure/parseutils.nim(151, 11) Warning: 'result' might not have been initialized [Uninit]
  23. lib/nim/pure/parseutils.nim(218, 27) Warning: 'res' might not have been initialized [Uninit]
  24. lib/nim/pure/parseutils.nim(227, 31) Warning: 'res' might not have been initialized [Uninit]
  25. lib/nim/pure/parseutils.nim(246, 33) Warning: 'bf' might not have been initialized [Uninit]
  26. lib/nim/pure/strutils.nim(491, 11) Warning: 'result' might not have been initialized [Uninit]
  27. lib/nim/pure/strutils.nim(492, 18) Warning: 'result' might not have been initialized [Uninit]
  28. lib/nim/pure/strutils.nim(550, 34) Warning: 'result' might not have been initialized [Uninit]
  29. lib/nim/pure/strutils.nim(559, 41) Warning: 'result' might not have been initialized [Uninit]
  30. lib/nim/pure/strutils.nim(568, 36) Warning: 'result' might not have been initialized [Uninit]
  31. lib/nim/pure/strutils.nim(586, 16) Warning: 'result' might not have been initialized [Uninit]
  32. lib/nim/pure/strutils.nim(589, 16) Warning: 'result' might not have been initialized [Uninit]
  33. lib/nim/pure/strutils.nim(592, 16) Warning: 'result' might not have been initialized [Uninit]
  34. lib/nim/pure/strutils.nim(939, 22) Warning: 'a' might not have been initialized [Uninit]
  35. lib/nim/pure/strutils.nim(972, 8) Warning: 'result' might not have been initialized [Uninit]
  36. lib/nim/pure/strutils.nim(999, 9) Warning: 'result' might not have been initialized [Uninit]
  37. lib/nim/pure/strutils.nim(1006, 11) Warning: 'result' might not have been initialized [Uninit]
  38. lib/nim/pure/strutils.nim(1013, 11) Warning: 'result' might not have been initialized [Uninit]
  39. lib/nim/pure/strutils.nim(1043, 22) Warning: 'a' might not have been initialized [Uninit]
  40. lib/nim/pure/strutils.nim(1076, 22) Warning: 'a' might not have been initialized [Uninit]
  41. lib/nim/pure/strutils.nim(1120, 16) Warning: 'result' might not have been initialized [Uninit]
  42. lib/nim/pure/strutils.nim(1226, 37) Warning: 'c' might not have been initialized [Uninit]
  43. lib/nim/pure/strutils.nim(1378, 3) Warning: 'frmtstr' might not have been initialized [Uninit]
  44. lib/nim/pure/strutils.nim(1385, 19) Warning: 'buf' might not have been initialized [Uninit]
  45. lib/nim/pure/strutils.nim(1389, 19) Warning: 'buf' might not have been initialized [Uninit]
  46. Hint: impls [Processing]
  47. Hint: hashes [Processing]
  48. Hint: etcpriv [Processing]
  49. Hint: docstrings [Processing]
  50. Hint: registrytypes [Processing]
  51. Hint: sequtils [Processing]
  52. /tmp/nim-pymod/pymodpkg/private/impls.nim(264, 35) Warning: 'filename' might not have been initialized [Uninit]
  53. /tmp/nim-pymod/pymodpkg/private/impls.nim(264, 45) Warning: 'mod_name' might not have been initialized [Uninit]
  54. /tmp/nim-pymod/pymodpkg/private/impls.nim(347, 33) template/generic instantiation from here
  55. lib/nim/pure/collections/sequtils.nim(639, 7) Warning: shadowed identifier: 'result' [ShadowIdent]
  56. /tmp/nim-pymod/pymodpkg/private/impls.nim(1260, 7) Warning: shadowed identifier: 'modname' [ShadowIdent]
  57. Hint: pymod [Processing]
  58. Hint: pyobject [Processing]
  59. Hint: pyarrayobject [Processing]
  60. Hint: typetraits [Processing]
  61. Hint: miscutils [Processing]
  62. Hint: math [Processing]
  63. Hint: times [Processing]
  64. lib/nim/pure/times.nim(248, 3) Warning: 'result' might not have been initialized [Uninit]
  65. lib/nim/pure/times.nim(412, 5) Warning: 'result' might not have been initialized [Uninit]
  66. lib/nim/pure/times.nim(502, 28) Warning: 'a' might not have been initialized [Uninit]
  67. lib/nim/pure/times.nim(795, 38) Warning: 'sv' might not have been initialized [Uninit]
  68. lib/nim/pure/times.nim(847, 38) Warning: 'sv' might not have been initialized [Uninit]
  69. lib/nim/pure/times.nim(854, 38) Warning: 'sv' might not have been initialized [Uninit]
  70. lib/nim/pure/times.nim(861, 38) Warning: 'sv' might not have been initialized [Uninit]
  71. lib/nim/pure/times.nim(940, 38) Warning: 'sv' might not have been initialized [Uninit]
  72. lib/nim/pure/times.nim(1101, 3) Warning: 'result' might not have been initialized [Uninit]
  73. lib/nim/pure/times.nim(1174, 3) Warning: 'result' might not have been initialized [Uninit]
  74. /tmp/nim-pymod/pymodpkg/miscutils.nim(108, 38) Warning: 'filename' might not have been initialized [Uninit]
  75. /tmp/nim-pymod/pymodpkg/miscutils.nim(108, 48) Warning: 'linenum' might not have been initialized [Uninit]
  76. /tmp/nim-pymod/pymodpkg/miscutils.nim(108, 57) Warning: 'funcname' might not have been initialized [Uninit]
  77. Hint: membrain [Processing]
  78. /tmp/nim-pymod/pymodpkg/private/membrain.nim(168, 31) Warning: not GC-safe: 'decRefAllRegisteredPyObjects()' [GcUnsafe]
  79. Hint: nptypes [Processing]
  80. Hint: npytypenums [Processing]
  81. Hint: pyarraydescrtype [Processing]
  82. Hint: pyarrayenums [Processing]
  83. Hint: pyarrayflags [Processing]
  84. Hint: pyarrayobjecttype [Processing]
  85. Hint: ptrutils [Processing]
  86. /tmp/nim-pymod/pymodpkg/private/pyarrayobjecttype.nim(177, 3) Warning: 'result' might not have been initialized [Uninit]
  87. /tmp/nim-pymod/pymodpkg/private/pyarrayobjecttype.nim(186, 3) Warning: 'result' might not have been initialized [Uninit]
  88. /tmp/nim-pymod/pymodpkg/private/pyarrayobjecttype.nim(201, 3) Warning: 'result' might not have been initialized [Uninit]
  89. Hint: pyarrayiterators [Processing]
  90. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(600, 5) Warning: 'dims_holder' might not have been initialized [Uninit]
  91. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(602, 23) Warning: 'dims_holder' might not have been initialized [Uninit]
  92. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(690, 31) template/generic instantiation from here
  93. /tmp/nim-pymod/pymodpkg/private/membrain.nim(115, 45) Warning: not GC-safe: 'registerNewPyObjectImpl(py_obj, from_where, which_func, created_at)' [GcUnsafe]
  94. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(690, 31) Warning: not GC-safe: 'registerNewPyObject(createNewLikeArrayImpl(old, -1, descr, 1), AllocInNim, procname,
  95. ii)' [GcUnsafe]
  96. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(749, 5) Warning: 'dims_holder' might not have been initialized [Uninit]
  97. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(751, 23) Warning: 'dims_holder' might not have been initialized [Uninit]
  98. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(793, 5) Warning: 'dims_holder' might not have been initialized [Uninit]
  99. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(796, 3) Warning: 'dims_holder' might not have been initialized [Uninit]
  100. /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(94, 69) template/generic instantiation from here
  101. /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(150, 19) template/generic instantiation from here
  102. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(384, 21) template/generic instantiation from here
  103. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(353, 30) Warning: 'result' might not have been initialized [Uninit]
  104. /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(94, 69) template/generic instantiation from here
  105. /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(151, 21) template/generic instantiation from here
  106. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(450, 16) template/generic instantiation from here
  107. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(441, 29) Warning: 'result' might not have been initialized [Uninit]
  108. /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(94, 69) template/generic instantiation from here
  109. /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(162, 19) template/generic instantiation from here
  110. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(384, 21) template/generic instantiation from here
  111. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(353, 30) Warning: 'result' might not have been initialized [Uninit]
  112. /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(94, 69) template/generic instantiation from here
  113. /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(163, 21) template/generic instantiation from here
  114. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(450, 16) template/generic instantiation from here
  115. /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(441, 29) Warning: 'result' might not have been initialized [Uninit]
  116. /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(233, 13) template/generic instantiation from here
  117. lib/nim/system/sysio.nim(203, 5) Error: cannot 'importc' variable at compile time
  118. close(f)
  119. ^
  120. Makefile.pmgen-testPymod:7: recipe for target 'pmgen' failed
  121. make: *** [pmgen] Error 1
  122. Traceback (most recent call last):
  123. File "../../pmgen.py", line 473, in <module>
  124. main()
  125. File "../../pmgen.py", line 136, in main
  126. pmgen_fnames = generate_pmgen_files(nim_modfiles, pminc_basename)
  127. File "../../pmgen.py", line 299, in generate_pmgen_files
  128. subprocess.check_call(make_command)
  129. File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
  130. raise CalledProcessError(retcode, cmd)
  131. subprocess.CalledProcessError: Command '['make', '-f', 'Makefile.pmgen-testPymod', 'pmgen']' returned non-zero exit status 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement