Fails building with mono 2.10

Bug #739139 reported by Travis Glenn Hansen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Sharp
Fix Committed
High
Manish Sinha (मनीष सिन्हा)

Bug Description

thansen@m6500 ~/Playground/zeitgeist-sharp-0.1.1.0 $ make
Making all in Zeitgeist
make[1]: Entering directory `/home/thansen/Playground/zeitgeist-sharp-0.1.1.0/Zeitgeist'
/usr/bin/xbuild /p:Configuration=Debug /p:WarningLevel=0 /p:OutputPath=/home/thansen/Playground/zeitgeist-sharp-0.1.1.0/bin /p:BaseIntermediateOutputPath=/home/thansen/Playground/zeitgeist-sharp-0.1.1.0/bin/obj/ /p:DocumentationFile= ./Zeitgeist.csproj
XBuild Engine Version 2.10.1.0
Mono, Version 2.10.1.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.

Build started 3/20/2011 9:27:52 PM.
__________________________________________________
Project "/home/thansen/Playground/zeitgeist-sharp-0.1.1.0/Zeitgeist/Zeitgeist.csproj" (default target(s)):
        Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
                Created directory "/home/thansen/Playground/zeitgeist-sharp-0.1.1.0/bin/"
                Created directory "/home/thansen/Playground/zeitgeist-sharp-0.1.1.0/bin/obj/Debug/"
        Target GenerateSatelliteAssemblies:
        No input files were specified for target GenerateSatelliteAssemblies, skipping.
        Target CoreCompile:
                Tool /usr/bin/dmcs execution started with arguments: /noconfig /debug:full /debug+ /keyfile:zeitgeist-sharp.snk /optimize+ /out:/home/thansen/Playground/zeitgeist-sharp-0.1.1.0/bin/obj/Debug/zeitgeist-sharp.dll Datamodel/Event.cs Datamodel/Subject.cs Datamodel/ResultType.cs Datamodel/TimeRange.cs Datamodel/StorageState.cs Datamodel/DataSource.cs Delegates.cs Client/IDataSource.cs Client/IBlacklist.cs Client/ILog.cs DataSourceClient.cs BlacklistClient.cs LogClient.cs ZsUtils.cs Datamodel/Interpretation.cs Datamodel/Manifestation.cs Datamodel/NameUri.cs Datamodel/Monitor.cs Datamodel/Delegates.cs AssemblyInfo.cs /target:library /define:DEBUG /reference:/usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll /reference:/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll /reference:/usr/lib/mono/ndesk-dbus-1.0/NDesk.DBus.dll /reference:/usr/lib/mono/ndesk-dbus-glib-1.0/NDesk.DBus.GLib.dll /reference:/usr/lib64/mono/gtk-sharp-2.0/glib-sharp.dll /warn:0
Datamodel/Event.cs(192,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
Datamodel/Event.cs(193,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
Datamodel/Event.cs(194,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
Datamodel/Event.cs(191,17): error CS0171: Field `Zeitgeist.Datamodel.RawEvent._metadata' must be fully assigned before control leaves the constructor
Datamodel/Event.cs(191,17): error CS0171: Field `Zeitgeist.Datamodel.RawEvent._subjects' must be fully assigned before control leaves the constructor
Datamodel/Event.cs(191,17): error CS0171: Field `Zeitgeist.Datamodel.RawEvent._payload' must be fully assigned before control leaves the constructor
Datamodel/DataSource.cs(232,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
Datamodel/DataSource.cs(233,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
Datamodel/DataSource.cs(234,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
Datamodel/DataSource.cs(235,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
Datamodel/DataSource.cs(236,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
Datamodel/DataSource.cs(237,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
Datamodel/DataSource.cs(238,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._uniqueId' must be fully assigned before control leaves the constructor
Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._name' must be fully assigned before control leaves the constructor
Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._description' must be fully assigned before control leaves the constructor
Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._rawEvents' must be fully assigned before control leaves the constructor
Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._running' must be fully assigned before control leaves the constructor
Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._lastSeen' must be fully assigned before control leaves the constructor
Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._enabled' must be fully assigned before control leaves the constructor
        Task "Csc" execution -- FAILED
        Done building target "CoreCompile" in project "/home/thansen/Playground/zeitgeist-sharp-0.1.1.0/Zeitgeist/Zeitgeist.csproj".-- FAILED
Done building project "/home/thansen/Playground/zeitgeist-sharp-0.1.1.0/Zeitgeist/Zeitgeist.csproj".-- FAILED

Build FAILED.
Errors:

/home/thansen/Playground/zeitgeist-sharp-0.1.1.0/Zeitgeist/Zeitgeist.csproj (default targets) ->
/usr/lib64/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) ->

        Datamodel/Event.cs(192,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
        Datamodel/Event.cs(193,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
        Datamodel/Event.cs(194,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
        Datamodel/Event.cs(191,17): error CS0171: Field `Zeitgeist.Datamodel.RawEvent._metadata' must be fully assigned before control leaves the constructor
        Datamodel/Event.cs(191,17): error CS0171: Field `Zeitgeist.Datamodel.RawEvent._subjects' must be fully assigned before control leaves the constructor
        Datamodel/Event.cs(191,17): error CS0171: Field `Zeitgeist.Datamodel.RawEvent._payload' must be fully assigned before control leaves the constructor
        Datamodel/DataSource.cs(232,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
        Datamodel/DataSource.cs(233,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
        Datamodel/DataSource.cs(234,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
        Datamodel/DataSource.cs(235,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
        Datamodel/DataSource.cs(236,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
        Datamodel/DataSource.cs(237,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
        Datamodel/DataSource.cs(238,25): error CS0188: The `this' object cannot be used before all of its fields are assigned to
        Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._uniqueId' must be fully assigned before control leaves the constructor
        Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._name' must be fully assigned before control leaves the constructor
        Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._description' must be fully assigned before control leaves the constructor
        Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._rawEvents' must be fully assigned before control leaves the constructor
        Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._running' must be fully assigned before control leaves the constructor
        Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._lastSeen' must be fully assigned before control leaves the constructor
        Datamodel/DataSource.cs(231,17): error CS0171: Field `Zeitgeist.Datamodel.RawDataSource._enabled' must be fully assigned before control leaves the constructor

         0 Warning(s)
         20 Error(s)

Time Elapsed 00:00:00.8835630
make[1]: *** [../bin/zeitgeist-sharp.dll] Error 1
make[1]: Leaving directory `/home/thansen/Playground/zeitgeist-sharp-0.1.1.0/Zeitgeist'
make: *** [all-recursive] Error 1

Revision history for this message
Travis Glenn Hansen (travisghansen) wrote :
Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :

Confirmed with meebey that this works

Changed in zeitgeist-sharp:
assignee: nobody → Manish Sinha (मनीष सिन्हा) (manishsinha)
importance: Undecided → High
milestone: none → 0.8.0
status: New → In Progress
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.