|
emerge gnome 时出现dev-lang/yasm-1.1.0 编译失败:
......
/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.6/site-packages/Cython/Compiler/Main.py", line 790, in main
result = compile(sources, options)
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/Main.py", line 765, in compile
return compile_multiple(source, options)
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/Main.py", line 737, in compile_multiple
result = run_pipeline(source, options)
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/Main.py", line 601, in run_pipeline
err, enddata = context.run_pipeline(pipeline, source)
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/Main.py", line 240, in run_pipeline
data = phase(data)
File "/usr/lib64/python2.6/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.6/site-packages/Cython/Compiler/ParseTreeTransforms.py", line 1033, in visit_ModuleNode
node.analyse_declarations(self.env_stack[-1])
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/ModuleNode.py", line 64, in analyse_declarations
self.body.analyse_declarations(env)
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/Nodes.py", line 346, in analyse_declarations
stat.analyse_declarations(env)
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/Nodes.py", line 346, in analyse_declarations
stat.analyse_declarations(env)
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/Nodes.py", line 3249, in analyse_declarations
self.body.analyse_declarations(scope)
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/Nodes.py", line 346, in analyse_declarations
stat.analyse_declarations(env)
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/Nodes.py", line 1999, in analyse_declarations
self.analyse_signature(env)
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/Nodes.py", line 2097, in analyse_signature
arg.hdr_type = sig.fixed_arg_type(i)
File "/usr/lib64/python2.6/site-packages/Cython/Compiler/TypeSlots.py", line 100, in fixed_arg_type
return self.format_map[self.fixed_arg_format]
KeyError: 'T'
make[2]: *** [yasm_python.c] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-lang/yasm-1.1.0/work/yasm-1.1.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-lang/yasm-1.1.0/work/yasm-1.1.0'
make: *** [all] Error 2
emake failed
* ERROR: dev-lang/yasm-1.1.0 failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 4955: Called _eapi2_src_compile
* ebuild.sh, line 654: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =dev-lang/yasm-1.1.0',
* the complete build log and the output of 'emerge -pqv =dev-lang/yasm-1.1.0'.
* The complete build log is located at '/var/tmp/portage/dev-lang/yasm-1.1.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/yasm-1.1.0/temp/environment'.
* S: '/var/tmp/portage/dev-lang/yasm-1.1.0/work/yasm-1.1.0'
在gentoo forums 找到一个建议是说需要将Python extension of yasm设置为disable.但我不知道需要在/etc/portage/package.use中添加什么内容。请大家帮忙解答一下 |
|