[Mono-bugs] [Bug 600506] New: Mono 2.6.4 source release uses system mono instead of monolite

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 28 10:09:38 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=600506

http://bugzilla.novell.com/show_bug.cgi?id=600506#c0


           Summary: Mono 2.6.4 source release uses system mono instead of
                    monolite
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.6.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Other.
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: piotr.wysocki at secpl.cs.put.poznan.pl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9)
Gecko/20100402 Ubuntu/9.10 (karmic) Firefox/3.5.9

When I build mono from 2.6.4 source release it says
(http://pastebin.com/1k0XLkNa):
make[6]: Leaving directory `/home/wysek/src/mono-2.6.4/mono-2.6.4/mcs/jay'
make[6]: Entering directory `/home/wysek/src/mono-2.6.4/mono-2.6.4/mcs/mcs'
Makefile:93: warning: overriding commands for target `csproj-local' 
./build/executable.make:131: warning: ignoring old commands for target
`csproj-local'
make all-local
make[7]: Entering directory `/home/wysek/src/mono-2.6.4/mono-2.6.4/mcs/mcs'
Makefile:93: warning: overriding commands for target `csproj-local' 
./build/executable.make:131: warning: ignoring old commands for target
`csproj-local'
mcs /codepage:65001  -optimize -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB
-target:exe -out:mcs.exe cs-parser.cs  @mcs.exe.sources
decl.cs(628,57): error CS0246: The type or namespace name `var' could not be
found. Are you missing a using directive or an assembly reference?
nullable.cs(81,45): warning CS0219: The variable `c' is assigned but its value
is never used
Compilation failed: 1 error(s), 1 warnings
make[7]: *** [../class/lib/basic/mcs.exe] Error 1
make[7]: Leaving directory `/home/wysek/src/mono-2.6.4/mono-2.6.4/mcs/mcs'
make[6]: *** [do-all] Error 2
make[6]: Leaving directory `/home/wysek/src/mono-2.6.4/mono-2.6.4/mcs/mcs'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/wysek/src/mono-2.6.4/mono-2.6.4/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/home/wysek/src/mono-2.6.4/mono-2.6.4/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/home/wysek/src/mono-2.6.4/mono-2.6.4/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/home/wysek/src/mono-2.6.4/mono-2.6.4/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wysek/src/mono-2.6.4/mono-2.6.4'  
make: *** [all] Error 2

The mcs which is used at this stage is the system one = 2.0.1.0 (default from
Ubuntu 9.04). Monolite mcs (2.6.4.0) is in the package (in
mcs/class/lib/monolite) but it's not used to build the basic mcs.

I uninstalled system's mcs so that /usr/bin/mcs is unusable (actually it
exists, but it does not work. I am not root there so I cannot remove it
totally. Doesn't matter though.) and it works now (not sure if everything
works, it's still compiling, but it got past that error).

This also happened to me when I tried to build mono 2.6-branch r156249
I tried to use monolite as README explains but the error was the same as in
2.6.4.

Reproducible: Always

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list