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

Jochen Wezel (CompuMaster GmbH) jwezel@compumaster.de
Thu, 28 Oct 2004 19:04:28 +0200


Hi Paul, again,

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 monkeyguide monocov
cd mono
./autogen.sh --prefix=3D/usr
make

This is the new and well-known error message:

-2.0 -I/usr/lib/glib-2.0/include -DGC_LINUX_THREADS -D_GNU_SOURCE =
-D_REENTRANT -D_FILE_OFFSET_BITS=3D64 -DUSE_COMPILER_TLS -g -O2 =
-fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes =
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes =
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align =
-Wwrite-strings -c mono-cov.c -MT mono-cov.lo -MD -MP -MF =
.deps/mono-cov.TPlo -o mono-cov.o >/dev/null 2>&1
mv -f .libs/mono-cov.lo mono-cov.lo
/bin/sh ../../libtool --mode=3Dlink gcc  -g -O2 -fno-strict-aliasing -g =
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations =
-Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs =
-Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings   -o =
libmono-profiler-cov.la -rpath /usr/lib  mono-cov.lo =
../../mono/mini/libmono.la -lnsl -lpthread -lm -lrt
rm -fr .libs/libmono-profiler-cov.la .libs/libmono-profiler-cov.* =
.libs/libmono-profiler-cov.*
gcc -shared  mono-cov.lo  -Wl,--rpath =
-Wl,/mono-dev/mono-cvs-auth/mono/mono/mini/.libs  -L/usr/lib =
../../mono/mini/.libs/libmono.so -lnsl -lpthread -lm -lrt   -Wl,-soname =
-Wl,libmono-profiler-cov.so.0 -o .libs/libmono-profiler-cov.so.0.0.0
(cd .libs && rm -f libmono-profiler-cov.so.0 && ln -s =
libmono-profiler-cov.so.0.0.0 libmono-profiler-cov.so.0)
(cd .libs && rm -f libmono-profiler-cov.so && ln -s =
libmono-profiler-cov.so.0.0.0 libmono-profiler-cov.so)
ar cru .libs/libmono-profiler-cov.a  mono-cov.o
ranlib .libs/libmono-profiler-cov.a
creating libmono-profiler-cov.la
(cd .libs && rm -f libmono-profiler-cov.la && ln -s =
../libmono-profiler-cov.la libmono-profiler-cov.la)
make[3]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/mono/profiler=C2=AB
make[3]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/mono=C2=AB
make[3]: F=C3=BCr das Target =C2=BBall-am=C2=AB gibt es nichts zu tun.
make[3]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/mono=C2=AB
make[2]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/mono=C2=AB
Making all in docs
make[2]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/docs=C2=AB
make[2]: F=C3=BCr das Target =C2=BBall=C2=AB gibt es nichts zu tun.
make[2]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/docs=C2=AB
Making all in data
make[2]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/data=C2=AB
Making all in net_1_1
make[3]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/data/net_1_1=C2=AB
make[3]: F=C3=BCr das Target =C2=BBall=C2=AB gibt es nichts zu tun.
make[3]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/data/net_1_1=C2=AB
Making all in net_2_0
make[3]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/data/net_2_0=C2=AB
make[3]: F=C3=BCr das Target =C2=BBall=C2=AB gibt es nichts zu tun.
make[3]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/data/net_2_0=C2=AB
make[3]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/data=C2=AB
make[3]: F=C3=BCr das Target =C2=BBall-am=C2=AB gibt es nichts zu tun.
make[3]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/data=C2=AB
make[2]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/data=C2=AB
Making all in runtime
make[2]: Wechsel in das Verzeichnis Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/runtime=C2=AB
Making all in .
make[3]: Wechsel in das Verzeichnis Verzeichnis =
=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 =
=C2=BB/mono-dev/mono-cvs-auth/mono/runtime=C2=AB
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/runtime=C2=AB
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono=C2=AB
make: *** [all] Fehler 2
[root@lwezel mono]#


-----Urspr=FCngliche Nachricht-----
Von: Jochen Wezel (CompuMaster GmbH)=20
Gesendet: Donnerstag, 28. Oktober 2004 18:48
An: 'Paul'; 'Mono List'
Betreff: AW: AW: [Mono-list] Daily build errors

Hi Paul,

I needed to update my mono runtime because I cannot compile via CVS.

In folder mono, I started with:

./autogen.sh --prefix=3D/usr
make


make install
[......]
/bin/sh ../../mkinstalldirs /usr/lib/mono/1.0  /usr/bin/install -c -m =
644 mscorlib.dll /usr/lib/mono/1.0/mscorlib.dll /usr/bin/install -c -m =
644 ./mscorlib.dll.mdb /usr/lib/mono/1.0/mscorlib.dll.mdb
MONO_PATH=3D. ../../mono/mini/mono --config ../../data/config =
./../gacutil.exe /i ./Accessibility.dll /f /package 1.0 /gacdir /usr/lib =
/root /usr/lib Corlib not in sync with this runtime: expected corlib =
version 28, found 26.
Download a newer corlib or a newer runtime at =
http://www.go-mono.com/daily.
make[3]: *** [install-data-local] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/runtime/net_1_1=C2=AB
make[2]: *** [install-am] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/runtime/net_1_1=C2=AB
make[1]: *** [install-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis =
=C2=BB/mono-dev/mono-cvs-auth/mono/runtime=C2=AB
make: *** [install-recursive] Fehler 1


For testing purposes, I also started that:

[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
Corlib not in sync with this runtime: expected corlib version 28, found =
22.
Download a newer corlib or a newer runtime at =
http://www.go-mono.com/daily.
make[2]: *** [mcs.exe] Fehler 1
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]#


I'm wondering why it finds sometimes runtime version 22, and the next =
time 26...

In any case, this is the cause why I tried to build from the "daily =
builds" completely new.

I also have tried to remove anything which has been installed with mono =
(/usr and /usr/local). This helped last time when there was mono =
installed in /usr and in another version in /usr/local. After this, I =
removed all mono-packages with red carpet and then reinstalled them =
again to get a working start point. But it hasn't helped this time :( =
[root@lwezel mono-cvs-auth]# cat cleanupmonoinstallation.sh #!/bin/sh cd =
/usr rm -f -R -d bin/*.exe bin/*.dll bin/mbas* bin/mcs* bin/mono* =
bin/libmono* bin/libmint* lib/mono include/mono etc/mono share/mono cd =
/usr/local rm -f -R -d bin/*.exe bin/*.dll bin/mbas* bin/mcs* bin/mono* =
bin/libmono* bin/libmint* lib/mono include/mono etc/mono share/mono =
[root@lwezel mono-cvs-auth]#


-----Urspr=FCngliche Nachricht-----
Von: mono-list-admin@lists.ximian.com =
[mailto:mono-list-admin@lists.ximian.com] Im Auftrag von Paul
Gesendet: Donnerstag, 28. Oktober 2004 17:47
An: Mono List
Betreff: Re: AW: [Mono-list] Daily build errors

Hi,

> > First - why are you doing this as root? Root is there for a purpose
> and it
> > isn't just so you don't have to keep typing su to change to it. On a =

> > machine, it can be considered a major deity. It has the power of=20
> > life,
>=20
> > death and existance on a box. Mess something up as root and you can=20
> > (and probably *will*) do some serious damage!
> As in the real world: if you have rights you can missuse them. If you=20
> don't have any rights, you can't do your job.

You've missed the point. You do everything as a user and until you need =
to (for instance, installing into a directory owned by root, such as =
/usr or /var), you stay like that. As a user, you have all the rights =
you need.

> > Second, is this a compile from cvs and if it is, is it via and=20
> > update and if it is from an update, what happens if you ditch that=20
> > version of
>=20
> > mono/mcs and do a fresh checkout?
> This is a compile from the "daily build" downloaded from the mono=20
> website. Nothing CVS or similar.

Try the cvs route - it's much easier to bugtrack!

> > Third, what distro are you using? I know with Fedora Core, things
> aren't
> > always happy in that /usr/local/lib/pkgconfig isn't always checked - =

> > this could be something similar.
> Sorry, I had really forgotten this important information. Here it is:
> RedHat 9

RH9 was fine with pkgconfig in /usr/local/lib

> > Fourth, when you ran autogen.sh, did you specify anything with --
> prefix=3D?=20
> > (ie. --prefix=3D/usr). Again, problems can occur if you're in as =
root=20
> > or
>=20
> > have specified somewhere insane for your libraries and apps to live.
> I used following lines:
> ./autogen.sh --prefix=3D/usr
> make
> make install			<---- here it crashes because of the
> missing file

As I say, use the cvs route. Full instructions are at

http://www.all-the-johnsons.co.uk/mono/mono-compiling.html

TTFN

Paul
--
"Trust me, I know what I'm doing" - Det. Sledgehammer