Bug #380
Twitterizer build fails on Mono 2.6
Status: | Closed | Start: | 06/05/2010 | |
Priority: | Normal | Due date: | ||
Assigned to: | Mirco Bauer | % Done: | 100% |
|
Category: | Engine Twitter | |||
Target version: | 0.7.2 | |||
Complexity: | Low |
Found in Version: | ||
Votes: | 0 |
Description
When building Smuxi 0.7.1 on Mono 2.6 it fails with:
Target CoreCompile: Tool /usr/local/bin/gmcs execution started with arguments: /noconfig /debug:full /delaysign- /debug+ /keyfile:Twitterizer.Framework.snk /optimize- /out:/usr/home/romain/Projects/bsd-sharp/trunk/irc/smuxi/work/smuxi-0.7.1/bin/debug/obj/Debug/Twitterizer.Framework.dll InvalidTwitterParameterException.cs Method_Classes/TwitterDirectMessageMethods.cs Properties/AssemblyInfo.cs Twitter.cs TwitterizerException.cs Data_Transfer_Objects/TwitterParameters.cs TwitterRequest.cs Data_Transfer_Objects/TwitterRequestData.cs Data_Transfer_Objects/TwitterStatus.cs Data_Transfer_Objects/TwitterStatusCollection.cs Method_Classes/TwitterStatusMethods.cs Data_Transfer_Objects/TwitterUser.cs Data_Transfer_Objects/TwitterUserCollection.cs Method_Classes/TwitterUserMethods.cs /target:library /define:DEBUG;TRACE /nowarn:CS0168 /reference:/usr/local/lib/mono/2.0/System.dll /reference:/usr/local/lib/mono/2.0/System.Data.dll /reference:/usr/local/lib/mono/2.0/System.Web.dll /reference:/usr/local/lib/mono/2.0/System.Xml.dll /reference:/usr/local/lib/mono/2.0/System.Configuration.dll /warn:4 : error CS1904: `CS0168' is not a valid warning number Task "Csc" execution -- FAILED Done building target "CoreCompile" in project "/usr/home/romain/Projects/bsd-sharp/trunk/irc/smuxi/work/smuxi-0.7.1/lib/Twitterizer.Framework/Twitterizer.Framework.vs2008.csproj".-- FAILED Target _GetCompileOutputsForClean: Target _RecordCleanFile: Done building project "/usr/home/romain/Projects/bsd-sharp/trunk/irc/smuxi/work/smuxi-0.7.1/lib/Twitterizer.Framework/Twitterizer.Framework.vs2008.csproj".-- FAILED Build FAILED. Errors: /usr/home/romain/Projects/bsd-sharp/trunk/irc/smuxi/work/smuxi-0.7.1/lib/Twitterizer.Framework/Twitterizer.Framework.vs2008.csproj (default targets) -> (CoreCompile target) -> : error CS1904: `CS0168' is not a valid warning number 0 Warning(s) 1 Error(s) Time Elapsed 00:00:03.4376260 gmake[2]: *** [../../bin/debug/Twitterizer.Framework.dll] Erreur 1 gmake[2]: quittant le répertoire « /usr/home/romain/Projects/bsd-sharp/trunk/irc/smuxi/work/smuxi-0.7.1/lib/Twitterizer.Framework » gmake[1]: *** [all-recursive] Erreur 1 gmake[1]: quittant le répertoire « /usr/home/romain/Projects/bsd-sharp/trunk/irc/smuxi/work/smuxi-0.7.1/lib » gmake: *** [all-recursive] Erreur 1 *** Error code 1 Stop in /usr/home/romain/Projects/bsd-sharp/trunk/irc/smuxi.This patch fixes it:
--- lib/Twitterizer.Framework/Makefile.in.orig +++ lib/Twitterizer.Framework/Makefile.in @@ -238,7 +238,7 @@ ASSEMBLY_TARGET = $(OUTPUT_DIR)/$(ASSEMBLY_NAME) KEY_FILE = $(srcdir)/Twitterizer.Framework.snk BUILD_FILE = $(srcdir)/Twitterizer.Framework.vs2008.csproj -XBUILD_FLAGS = /p:Configuration=Debug /p:NoWarn=CS0168 /p:OutputPath=$(abspath $(OUTPUT_DIR)) /p:BaseIntermediateOutputPath=$(abspath $(OBJECT_DIR))/ +XBUILD_FLAGS = /p:Configuration=Debug /p:NoWarn=0168 /p:OutputPath=$(abspath $(OUTPUT_DIR)) /p:BaseIntermediateOutputPath=$(abspath $(OBJECT_DIR))/ # magic automake variables @ENABLE_ENGINE_TWITTER_TRUE@pkglib_DATA = $(ASSEMBLY_TARGET) $(ASSEMBLY_TARGET).mdb
Associated revisions
Revision 1b7ebd1dfcca090b3e8510947d9ea8a54d919b09
Fixed build issue with xbuild on Mono 2.6 (closes: #380)
History
Updated by Mirco Bauer 5313 days ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset 1b7ebd1dfcca090b3e8510947d9ea8a54d919b09.