Berkelium汇编错误



这是我在github上发布的问题的重新发布(https://github.com/sirikata/berkelium/issues/19)。

我的问题:

在Linux上的铬汇编期间(Debian Testing,64bit,GCC 4.7.1,Cmake 2.8.9),Python脚本action_makenames.py失败了以下错误:

...
  ACTION webcore_bindings_sources_HTMLNames out/Release/obj/gen/webkit/HTMLNames.cpp
  ACTION webcore_bindings_sources_SVGNames out/Release/obj/gen/webkit/SVGNames.cpp
  ACTION webcore_bindings_sources_MathMLNames out/Release/obj/gen/webkit/MathMLNames.cpp
  ACTION webcore_bindings_sources_XLinkNames out/Release/obj/gen/webkit/XLinkNames.cpp
  ACTION webcore_bindings_sources_XMLNSNames out/Release/obj/gen/webkit/XMLNSNames.cpp
Unknown parameter math for tags/attrs
Traceback (most recent call last):
  File "scripts/action_makenames.py", line 174, in <module>
    sys.exit(main(sys.argv))
  File "scripts/action_makenames.py", line 156, in main
    assert returnCode == 0
AssertionError
make: *** [out/Release/obj/gen/webkit/MathMLNames.cpp] Error 1
make: *** Waiting for unfinished jobs....
Unknown parameter a for tags/attrs
Traceback (most recent call last):
  File "scripts/action_makenames.py", line 174, in <module>
    sys.exit(main(sys.argv))
  File "scripts/action_makenames.py", line 156, in main
    assert returnCode == 0
AssertionError
Unknown parameter a interfaceName for tags/attrs
make: *** [out/Release/obj/gen/webkit/SVGNames.cpp] Error 1
Traceback (most recent call last):
  File "scripts/action_makenames.py", line 174, in <module>
    sys.exit(main(sys.argv))
  File "scripts/action_makenames.py", line 156, in main
    assert returnCode == 0
AssertionError
make: *** [out/Release/obj/gen/webkit/HTMLNames.cpp] Error 1
Unknown parameter actuate for tags/attrs
Traceback (most recent call last):
  File "scripts/action_makenames.py", line 174, in <module>
    sys.exit(main(sys.argv))
  File "scripts/action_makenames.py", line 156, in main
    assert returnCode == 0
AssertionError
make: *** [out/Release/obj/gen/webkit/XLinkNames.cpp] Error 1
Unknown parameter xmlns for tags/attrs
Traceback (most recent call last):
  File "scripts/action_makenames.py", line 174, in <module>
    sys.exit(main(sys.argv))
  File "scripts/action_makenames.py", line 156, in main
    assert returnCode == 0
AssertionError
make: *** [out/Release/obj/gen/webkit/XMLNSNames.cpp] Error 1
Failed to install: chromium

看起来Python脚本正在调用Perl脚本,而Perl脚本在第209行中死亡:

die "Unknown parameter $parameter for tags/attrsn" if !defined($parameters{$parameter});

'未知参数是:

  • 数学
  • A
  • InterFaceName
  • 攻击
  • xmlns

我不确定这些参数来自哪里。

有人知道如何纠正此问题?

原来是GCC 4.6的预处理器错误。作为解决方案,您必须删除make_names.pl中的GCC预处理器命令的-P参数。

错误报告:http://code.google.com/p/chromium/issues/detail?id=46411

错误修复:http://trac.webkit.org/changeset/84123

听起来您可能缺少目录,la

http://aur.archlinux.org/packages.php?id=45713

相关内容

  • 没有找到相关文章

最新更新