Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python2 ../../pmgen.py testPymod.nim
- Determined includes & ldflags using command `python2-config`
- includes = ['-I/usr/include/python2.7', '-I/usr/include/python2.7']
- ldflags = ['-lpython2.7', '-lpthread', '-ldl', '-lutil', '-lm', '-Xlinker', '-export-dynamic']
- make -f Makefile.pmgen-testPymod pmgen
- nim compile --define:pmgen --noLinking --noMain pmgentestPymod_incl.nim
- Hint: used config file '/tmp/nim-pymod/tests/001-miscExamples/pmgen/nim.cfg' [Conf]
- Hint: system [Processing]
- Hint: pmgentestPymod_incl [Processing]
- Hint: macros [Processing]
- lib/nim/core/macros.nim(729, 14) template/generic instantiation from here
- lib/nim/system.nim(3554, 5) template/generic instantiation from here
- lib/nim/system.nim(270, 3) Warning: 'result' might not have been initialized [Uninit]
- Hint: astutils [Processing]
- Hint: strutils [Processing]
- Hint: parseutils [Processing]
- lib/nim/pure/parseutils.nim(122, 17) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/parseutils.nim(127, 9) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/parseutils.nim(132, 9) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/parseutils.nim(140, 11) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/parseutils.nim(146, 11) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/parseutils.nim(151, 11) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/parseutils.nim(218, 27) Warning: 'res' might not have been initialized [Uninit]
- lib/nim/pure/parseutils.nim(227, 31) Warning: 'res' might not have been initialized [Uninit]
- lib/nim/pure/parseutils.nim(246, 33) Warning: 'bf' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(491, 11) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(492, 18) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(550, 34) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(559, 41) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(568, 36) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(586, 16) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(589, 16) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(592, 16) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(939, 22) Warning: 'a' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(972, 8) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(999, 9) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(1006, 11) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(1013, 11) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(1043, 22) Warning: 'a' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(1076, 22) Warning: 'a' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(1120, 16) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(1226, 37) Warning: 'c' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(1378, 3) Warning: 'frmtstr' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(1385, 19) Warning: 'buf' might not have been initialized [Uninit]
- lib/nim/pure/strutils.nim(1389, 19) Warning: 'buf' might not have been initialized [Uninit]
- Hint: impls [Processing]
- Hint: hashes [Processing]
- Hint: etcpriv [Processing]
- Hint: docstrings [Processing]
- Hint: registrytypes [Processing]
- Hint: sequtils [Processing]
- /tmp/nim-pymod/pymodpkg/private/impls.nim(264, 35) Warning: 'filename' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/private/impls.nim(264, 45) Warning: 'mod_name' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/private/impls.nim(347, 33) template/generic instantiation from here
- lib/nim/pure/collections/sequtils.nim(639, 7) Warning: shadowed identifier: 'result' [ShadowIdent]
- /tmp/nim-pymod/pymodpkg/private/impls.nim(1260, 7) Warning: shadowed identifier: 'modname' [ShadowIdent]
- Hint: pymod [Processing]
- Hint: pyobject [Processing]
- Hint: pyarrayobject [Processing]
- Hint: typetraits [Processing]
- Hint: miscutils [Processing]
- Hint: math [Processing]
- Hint: times [Processing]
- lib/nim/pure/times.nim(248, 3) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/times.nim(412, 5) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/times.nim(502, 28) Warning: 'a' might not have been initialized [Uninit]
- lib/nim/pure/times.nim(795, 38) Warning: 'sv' might not have been initialized [Uninit]
- lib/nim/pure/times.nim(847, 38) Warning: 'sv' might not have been initialized [Uninit]
- lib/nim/pure/times.nim(854, 38) Warning: 'sv' might not have been initialized [Uninit]
- lib/nim/pure/times.nim(861, 38) Warning: 'sv' might not have been initialized [Uninit]
- lib/nim/pure/times.nim(940, 38) Warning: 'sv' might not have been initialized [Uninit]
- lib/nim/pure/times.nim(1101, 3) Warning: 'result' might not have been initialized [Uninit]
- lib/nim/pure/times.nim(1174, 3) Warning: 'result' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/miscutils.nim(108, 38) Warning: 'filename' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/miscutils.nim(108, 48) Warning: 'linenum' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/miscutils.nim(108, 57) Warning: 'funcname' might not have been initialized [Uninit]
- Hint: membrain [Processing]
- /tmp/nim-pymod/pymodpkg/private/membrain.nim(168, 31) Warning: not GC-safe: 'decRefAllRegisteredPyObjects()' [GcUnsafe]
- Hint: nptypes [Processing]
- Hint: npytypenums [Processing]
- Hint: pyarraydescrtype [Processing]
- Hint: pyarrayenums [Processing]
- Hint: pyarrayflags [Processing]
- Hint: pyarrayobjecttype [Processing]
- Hint: ptrutils [Processing]
- /tmp/nim-pymod/pymodpkg/private/pyarrayobjecttype.nim(177, 3) Warning: 'result' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/private/pyarrayobjecttype.nim(186, 3) Warning: 'result' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/private/pyarrayobjecttype.nim(201, 3) Warning: 'result' might not have been initialized [Uninit]
- Hint: pyarrayiterators [Processing]
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(600, 5) Warning: 'dims_holder' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(602, 23) Warning: 'dims_holder' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(690, 31) template/generic instantiation from here
- /tmp/nim-pymod/pymodpkg/private/membrain.nim(115, 45) Warning: not GC-safe: 'registerNewPyObjectImpl(py_obj, from_where, which_func, created_at)' [GcUnsafe]
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(690, 31) Warning: not GC-safe: 'registerNewPyObject(createNewLikeArrayImpl(old, -1, descr, 1), AllocInNim, procname,
- ii)' [GcUnsafe]
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(749, 5) Warning: 'dims_holder' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(751, 23) Warning: 'dims_holder' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(793, 5) Warning: 'dims_holder' might not have been initialized [Uninit]
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(796, 3) Warning: 'dims_holder' might not have been initialized [Uninit]
- /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(94, 69) template/generic instantiation from here
- /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(150, 19) template/generic instantiation from here
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(384, 21) template/generic instantiation from here
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(353, 30) Warning: 'result' might not have been initialized [Uninit]
- /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(94, 69) template/generic instantiation from here
- /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(151, 21) template/generic instantiation from here
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(450, 16) template/generic instantiation from here
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(441, 29) Warning: 'result' might not have been initialized [Uninit]
- /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(94, 69) template/generic instantiation from here
- /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(162, 19) template/generic instantiation from here
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(384, 21) template/generic instantiation from here
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(353, 30) Warning: 'result' might not have been initialized [Uninit]
- /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(94, 69) template/generic instantiation from here
- /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(163, 21) template/generic instantiation from here
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(450, 16) template/generic instantiation from here
- /tmp/nim-pymod/pymodpkg/pyarrayobject.nim(441, 29) Warning: 'result' might not have been initialized [Uninit]
- /tmp/nim-pymod/tests/001-miscExamples/testPymod.nim(233, 13) template/generic instantiation from here
- lib/nim/system/sysio.nim(203, 5) Error: cannot 'importc' variable at compile time
- close(f)
- ^
- Makefile.pmgen-testPymod:7: recipe for target 'pmgen' failed
- make: *** [pmgen] Error 1
- Traceback (most recent call last):
- File "../../pmgen.py", line 473, in <module>
- main()
- File "../../pmgen.py", line 136, in main
- pmgen_fnames = generate_pmgen_files(nim_modfiles, pminc_basename)
- File "../../pmgen.py", line 299, in generate_pmgen_files
- subprocess.check_call(make_command)
- File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
- raise CalledProcessError(retcode, cmd)
- 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