AW: WG: AW: [Mono-list] Daily build errors

Jochen Wezel (CompuMaster GmbH) jwezel@compumaster.de
Fri, 29 Oct 2004 12:38:56 +0200


Hi Hari!

I removed the complete CVS tree and downloaded it again to my disc. =
Then, in the mono-folder, I've said:
make monolite-bootstrap

This is my result: an error in System.Xml:
make[2]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/class/System.XML=C2=AB
Creating ../../build/deps/System.Xml_test_default.dll.response ...
Creating ../../build/deps/System.Xml_test_default.dll.makefrag ...
Creating ../../build/deps/default_System.Xml.dll.makefrag ...
make[2]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/class/System.XML=C2=AB
make[2]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/class/System.XML=C2=AB
make all-local
make[3]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/class/System.XML=C2=AB
make[3]: *** Warnung: Datei =
=C2=BBMono.Xml.XPath/XPathEditableDocument.cs=C2=AB hat =C4              =
                                                               =
nderungszeit aus der Zukunft (2004-10-29 03:16:28 > 2004-10-28 =
21:29:20.498218)!
../../jay/jay -ct < ../../jay/skeleton.cs System.Xml.XPath/Parser.jay =
>System.Xml.XPath/Parser.cs
MONO_PATH=3D"../../class/lib/default:$MONO_PATH" mono  ../../mcs/mcs.exe =
  -d:NET_1_1 -d:ONLY_1_1 -g /noconfig /lib:/usr/local/lib /noconfig =
/unsafe /r:mscorlib.dll /r:System.dll /nowarn:0162 /nowarn:0618 =
/target:library /out:System.Xml.dll @System.Xml.dll.sources
Mono.Xml.Schema/XsdValidatingReader.cs(1400) warning CS0612: =
'System.Xml.IXmlNamespaceResolver.LookupNamespace(string, bool)' is =
obsolete
Mono.Xml.Schema/XsdValidatingReader.cs(212) warning CS0612: =
'System.Xml.IXmlNamespaceResolver.LookupPrefix(string, bool)' is =
obsolete
Mono.Xml.Schema/XsdValidatingReader.cs(204) warning CS0612: =
'System.Xml.IXmlNamespaceResolver.LookupPrefix(string, bool)' is =
obsolete
System.Xml.Schema/XmlSchemaUtil.cs(122) error CS0117: =
`System.Xml.XmlTextReader' does not contain a definition for =
`GetInternalParserContext'
System.Xml.Schema/XmlSchemaUtil.cs(125) error CS0117: =
`System.Xml.XmlNodeReader' does not contain a definition for =
`GetInternalParserContext'
System.Xml.Schema/XmlSchemaUtil.cs(128) error CS0117: =
`System.Xml.XmlValidatingReader' does not contain a definition for =
`GetInternalParserContext'
Compilation failed: 3 error(s), 3 warnings
make[3]: *** [../../class/lib/default/System.Xml.dll] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/class/System.XML=C2=AB
make[2]: *** [all.real] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/class/System.XML=C2=AB
make[1]: *** [mcs-do-short-build] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono=C2=AB
make: *** [monolite-bootstrap] Fehler 2
[root@lwezel mono]#


My try to say "make bootstrap" has these errors again:
[root@lwezel mono]# make bootstrap
rm -f ./../mcs/mcs/mcs.exe ./../mcs/class/lib/default/mscorlib.dll =
./../mcs/class/lib/default/System.dll =
./../mcs/class/lib/default/System.Xml.dll =
./../mcs/class/lib/default/Mono.CompilerServices.SymbolWriter.dll
for dir in jay mcs class/corlib class/System; do \
  (cd ./../mcs/$dir && make PROFILE=3Ddefault NO_SIGN_ASSEMBLY=3Dyes =
USE_BOOT_COMPILE=3Dyes BOOTSTRAP_MCS=3D"mcs -d:BOOTSTRAP_WITH_OLDLIB") =
|| exit 1 ; \
done
make[1]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/jay=C2=AB
make all-local
make[2]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/jay=C2=AB
make[2]: F=C3=BCr das Target =C2=BBall-local=C2=AB gibt es nichts zu =
tun.
make[2]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/jay=C2=AB
make[1]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/jay=C2=AB
make[1]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/mcs=C2=AB
make all-local
make[2]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/mcs=C2=AB
mcs -d:BOOTSTRAP_WITH_OLDLIB   -d:NET_1_1 -d:ONLY_1_1 -g /target:exe =
/out:mcs.exe cs-parser.cs  @mcs.exe.sources
make[2]: mcs: Kommando nicht gefunden.
make[2]: *** [mcs.exe] Fehler 127
make[2]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/mcs=C2=AB
make[1]: *** [all.real] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/mcs=C2=AB
make: *** [mcs-do-basic-build] Fehler 1
[root@lwezel mono]#


Then I tryed to install from redcarpet the mono-core. It's there. Now I =
tried to make bootstrap again. Now it can compile the mcs.exe. But here =
is a warning which makes me wondering again about mscorlib.dll.mdb:
make all-local
make[2]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/class/corlib=C2=AB
mcs -d:BOOTSTRAP_WITH_OLDLIB /nowarn:649 /nowarn:169 -d:INSIDE_CORLIB  =
-d:NET_1_1 -d:ONLY_1_1 -g /noconfig /unsafe /nostdlib /target:library =
/out:mscorlib.dll @corlib.dll.sources
Compilation succeeded
mv mscorlib.dll ../../class/lib/default/mscorlib.dll
mv mscorlib.dll.mdb ../../class/lib/default/mscorlib.dll.mdb
mv: can't stat source mscorlib.dll.mdb
make[2]: [../../class/lib/default/mscorlib.dll] Fehler 1 (ignoriert)
make[2]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/class/corlib=C2=AB
make[1]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/


But at the end of this make bootstrap, we find us again at these lines:
Mono.Xml.Schema/XsdValidatingReader.cs(212) warning CS0612: =
'System.Xml.IXmlNamespaceResolver.LookupPrefix(string, bool)' is =
obsolete
Mono.Xml.Schema/XsdValidatingReader.cs(204) warning CS0612: =
'System.Xml.IXmlNamespaceResolver.LookupPrefix(string, bool)' is =
obsolete
System.Xml.Schema/XmlSchemaUtil.cs(122) error CS0117: =
`System.Xml.XmlTextReader' does not contain a definition for =
`GetInternalParserContext'
System.Xml.Schema/XmlSchemaUtil.cs(125) error CS0117: =
`System.Xml.XmlNodeReader' does not contain a definition for =
`GetInternalParserContext'
System.Xml.Schema/XmlSchemaUtil.cs(128) error CS0117: =
`System.Xml.XmlValidatingReader' does not contain a definition for =
`GetInternalParserContext'
Compilation failed: 3 error(s), 3 warnings
make[3]: *** [../../class/lib/default/System.Xml.dll] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/class/System.XML=C2=AB
make[2]: *** [all.real] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mcs/class/System.XML=C2=AB
make[1]: *** [mcs-do-short-build] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono=C2=AB
make: *** [bootstrap] Fehler 2
[root@lwezel mono]#


Wondering and wondering...
Jochen

-----Urspr=FCngliche Nachricht-----
Von: Raja R Harinath [mailto:rharinath@novell.com]=20
Gesendet: Freitag, 29. Oktober 2004 10:35
An: Jochen Wezel (CompuMaster GmbH)
Cc: Paul; Mono List
Betreff: Re: WG: AW: [Mono-list] Daily build errors

Hi,

"Jochen Wezel (CompuMaster GmbH)" <jwezel@compumaster.de> writes:

> Now I removed my complete old content of my CVS folder and checked out =
again.
>
> export CVS_RSH=3Dssh
> export CVSROOT=3Djochen@mono-cvs.ximian.com:/cvs/public
> rm -f -R -d mcs mono xsp monkeyguide monocov cvs -z3 co mcs mono xsp=20
> monkeyguide monocov cd mono ./autogen.sh --prefix=3D/usr make

You need to use some form of bootstrapping.  I'm working on a patch that =
will do the bootstrap automatically, but for now, on a fresh checkout =
from CVS, you _need_ to use 'make bootstrap' or 'make =
monolite-bootstrap'.

> This is the new and well-known error message:
>
> Making all in runtime
> make[2]: Wechsel in das Verzeichnis Verzeichnis=20
> =C2=BB/mono-dev/mono-cvs-auth/mono/runtime=C2=AB
> Making all in .
> make[3]: Wechsel in das Verzeichnis Verzeichnis=20
> =C2=BB/mono-dev/mono-cvs-auth/mono/runtime=C2=AB
> test -f ../../mcs/monoresgen/monoresgen.exe
> make[3]: *** [monoresgen.exe] Fehler 1
> make[3]: Verlassen des Verzeichnisses Verzeichnis=20
> =C2=BB/mono-dev/mono-cvs-auth/mono/runtime=C2=AB
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Verlassen des Verzeichnisses Verzeichnis=20
> =C2=BB/mono-dev/mono-cvs-auth/mono/runtime=C2=AB
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Verlassen des Verzeichnisses Verzeichnis=20
> =C2=BB/mono-dev/mono-cvs-auth/mono=C2=AB
> make: *** [all] Fehler 2

It's saying: the command

  test -f ../../mcs/monoresgen/monoresgen.exe

failed.  It failed because that file doesn't exist.  That file doesn't =
exist because you didn't build in the 'mcs' tree.  If you use one of the =
bootstrapping targets ('bootstrap' or 'monolite-bootstrap'), it =
automatically builds in the 'mcs' tree in the right order.

- Hari