$ wget http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz
...
$ tar -xzf yasm-1.1.0.tar.gz
$ cd yasm-1.1.0
$ ./configure --enable-python --enable-python-bindings
...
$ make
...
/usr/bin/python -c "from Cython.Compiler.Main import main; 
main(command_line=1)" \
        -o yasm_python.c yasm.pyx
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Main.py", line 790, 
in main
    result = compile(sources, options)
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Main.py", line 765, 
in compile
    return compile_multiple(source, options)
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Main.py", line 737, 
in compile_multiple
    result = run_pipeline(source, options)
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Main.py", line 601, 
in run_pipeline
    err, enddata = context.run_pipeline(pipeline, source)
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Main.py", line 240, 
in run_pipeline
    data = phase(data)
  File 
"/usr/lib64/python2.7/site-packages/Cython/Compiler/ParseTreeTransforms.py", 
line 1025, in __call__
    return super(AnalyseDeclarationsTransform, self).__call__(root)
  File "Visitor.py", line 272, in 
Cython.Compiler.Visitor.CythonTransform.__call__ 
(Cython/Compiler/Visitor.c:4936)
  File "Visitor.py", line 255, in 
Cython.Compiler.Visitor.VisitorTransform.__call__ 
(Cython/Compiler/Visitor.c:4696)
  File "Visitor.py", line 163, in Cython.Compiler.Visitor.TreeVisitor._visit 
(Cython/Compiler/Visitor.c:3254)
  File 
"/usr/lib64/python2.7/site-packages/Cython/Compiler/ParseTreeTransforms.py", 
line 1033, in visit_ModuleNode
    node.analyse_declarations(self.env_stack[-1])
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/ModuleNode.py", line 
64, in analyse_declarations
    self.body.analyse_declarations(env)
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Nodes.py", line 346, 
in analyse_declarations
    stat.analyse_declarations(env)
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Nodes.py", line 346, 
in analyse_declarations
    stat.analyse_declarations(env)
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Nodes.py", line 
3249, in analyse_declarations
    self.body.analyse_declarations(scope)
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Nodes.py", line 346, 
in analyse_declarations
    stat.analyse_declarations(env)
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Nodes.py", line 
1999, in analyse_declarations
    self.analyse_signature(env)
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Nodes.py", line 
2097, in analyse_signature
    arg.hdr_type = sig.fixed_arg_type(i)
  File "/usr/lib64/python2.7/site-packages/Cython/Compiler/TypeSlots.py", line 
100, in fixed_arg_type
    return self.format_map[self.fixed_arg_format[i]]
KeyError: 'T'

This problem doesn't occur with Cython 0.13.
Is it a bug in Cython 0.14 or in Yasm?

-- 
Arfrever Frehtes Taifersar Arahesis

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to