Mono 单声道;mdoc:XML文档中有一个错误;

Mono 单声道;mdoc:XML文档中有一个错误;,mono,Mono,我在,现在它不再建造了: make[7]: Leaving directory `/home/nico/src/mono-roman/mono-2.10.8.1/mcs/mcs' make[7]: Entering directory `/home/nico/src/mono-roman/mono-2.10.8.1/mcs/docs' /usr/bin/make all-local make[8]: Entering directory `/home/nico/src/mono-roman/mo

我在,现在它不再建造了:

make[7]: Leaving directory `/home/nico/src/mono-roman/mono-2.10.8.1/mcs/mcs'
make[7]: Entering directory `/home/nico/src/mono-roman/mono-2.10.8.1/mcs/docs'
/usr/bin/make all-local
make[8]: Entering directory `/home/nico/src/mono-roman/mono-2.10.8.1/mcs/docs'
MDOC    [net_4_0] cs-errors.tree
mdoc: There is an error in XML document.
See `mdoc help' for more information.
make[8]: *** [cs-errors.tree] Error 1
make[8]: Leaving directory `/home/nico/src/mono-roman/mono-2.10.8.1/mcs/docs'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory `/home/nico/src/mono-roman/mono-2.10.8.1/mcs/docs'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/nico/src/mono-roman/mono-2.10.8.1/mcs'
make[5]: *** [profile-do--net_4_0--all] Error 2
make[5]: Leaving directory `/home/nico/src/mono-roman/mono-2.10.8.1/mcs'
make[4]: *** [profiles-do--all] Error 2
make[4]: Leaving directory `/home/nico/src/mono-roman/mono-2.10.8.1/mcs'
make[3]: *** [all-local] Error 2
make[3]: Leaving directory `/home/nico/src/mono-roman/mono-2.10.8.1/runtime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nico/src/mono-roman/mono-2.10.8.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/nico/src/mono-roman/mono-2.10.8.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command 'cd mono-2.10.8.1 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
问题是
mdoc:XML文档中有一个错误。MDOC是一种用于Mono的Javadoc。我很惊讶,改变一些良性的C#线会使MDOC失败


关于这里发生的事有什么线索吗?我也不知道这是关于什么XML文档。

在再次尝试“make”之前尝试“make clean”。

我在评论中发布的最初分析似乎是正确的。MDOC正在加载
cs errors.config
,并使用新构建的运行时。加载所述文件时,您所做的更改会产生以下异常:

System.InvalidOperationException: Element 'FilesPath' has wrong order in sequence (expected - -1, actual - 0
这是由您的修补程序添加的。我猜您可能还需要检查
readbysoaporter
,例如:

if (readBySoapOrder && info.ExplicitOrder != ind)
    throw new InvalidOperationException(string.Format("Element '{0}' has wrong order in sequence (expected - {1}, actual - {2}", Reader.LocalName, info.ExplicitOrder, ind));

有了这个小小的改变,MDOC很高兴,编译也成功了,但我不知道这是否是正确的行为。

大概MDOC正在尝试在代码中处理xml注释,并为此使用了新构建的mono。显然,您在System.Xml命名空间中所做的更改破坏了MDOC.UPDATE:查看makefile,
cs errors.tree
是基于Xml文件
cs errors.config
创建的。因此,可能它已损坏,或者无法使用您的修改加载它。