Skip to content

Instantly share code, notes, and snippets.

@sandyarmstrong
Created February 28, 2011 16:14
Show Gist options
  • Save sandyarmstrong/847535 to your computer and use it in GitHub Desktop.
Save sandyarmstrong/847535 to your computer and use it in GitHub Desktop.
Building dbus-sharp with xbuild on Mono 2.4 (Ubuntu Lucid LTS)
[sys] ~/mono-git/dbus-sharp (alan-master)
$ mono --version
Mono JIT compiler version 2.4.4 (Debian 2.4.4~svn151842-1ubuntu4)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
[sys] ~/mono-git/dbus-sharp (alan-master)
$ xbuild --version
XBuild Engine Version 2.4.4.0
Mono, Version 2.4.4.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2009.
MSBUILD: error MSBUILD0000: Project file '--version' not found.
[sys] ~/mono-git/dbus-sharp (alan-master)
$ ./autogen.sh --prefix=/usr && make
configure.ac:12: installing `./install-sh'
configure.ac:12: installing `./missing'
Makefile.am: installing `./INSTALL'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for MONO... yes
checking for gmcs... /usr/bin/gmcs
checking for gacutil... /usr/bin/gacutil
checking for Mono.Posix.dll... found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dbus-sharp-1.0.pc
config.status: creating src/AssemblyInfo.cs
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating examples/Makefile
Making all in src
make[1]: Entering directory `/home/sandy/mono-git/dbus-sharp/src'
xbuild dbus-sharp.csproj
XBuild Engine Version 2.4.4.0
Mono, Version 2.4.4.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2009.
/home/sandy/mono-git/dbus-sharp/src/dbus-sharp.csproj: warning : A circular reference was found involving the import of $(MSBuildBinPath)\Microsoft.CSharp.targets. Only the first import of this file will be used, ignoring others.
Build started 2/28/2011 8:13:49 AM.
__________________________________________________
Project "/home/sandy/mono-git/dbus-sharp/src/dbus-sharp.csproj" (default target(s)):
/home/sandy/mono-git/dbus-sharp/src/dbus-sharp.csproj: warning : A circular reference was found involving the import of $(MSBuildBinPath)\Microsoft.CSharp.targets. Only the first import of this file will be used, ignoring others.
Target _ValidateEssentialProperties:
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Created directory "obj/Debug/"
Target SplitProjectReferencesByExistent:
Target ResolveProjectReferences:
Target ResolveAssemblyReferences:
Target CopyFilesMarkedCopyLocal:
Target AssignTargetPaths:
Target SplitResourcesByCulture:
Target CreateManifestResourceNames:
Target GenerateResources:
Target GenerateSatelliteAssemblies:
Skipping target "GenerateSatelliteAssemblies" because its outputs are up-to-date.
Target CoreCompile:
Tool /usr/bin/gmcs execution started with arguments: /noconfig /debug:full /debug+ /keyfile:../dbus-sharp.snk /optimize- /out:obj/Debug/dbus-sharp.dll Address.cs AssemblyInfoStatic.cs Authentication.cs Bus.cs BusObject.cs Connection.cs DBus.cs DProxy.cs ExportObject.cs Introspection.cs Mapper.cs MatchRule.cs Message.cs MessageFilter.cs MessageReader.cs MessageWriter.cs PendingCall.cs Protocol.cs Signature.cs SocketTransport.cs Transport.cs TypeImplementer.cs Unix.cs UnixNativeTransport.cs UnixTransport.cs TypeRental.cs DType.cs ArgDirection.cs ObjectPath.cs Header.cs MessageType.cs FieldCode.cs EndianFlag.cs HeaderFlag.cs BusException.cs AddressEntry.cs Signal.cs Error.cs MethodReturn.cs MethodCall.cs /target:library /unsafe+ /define:DEBUG;TRACE;STRONG_NAME /reference:/usr/lib/mono/2.0/System.dll /reference:/usr/lib/mono/2.0/System.Core.dll /reference:/usr/lib/mono/2.0/System.Xml.dll /warn:4
BusObject.cs(301,56): warning CS0612: `DBus.MessageWriter.Write(System.Type, object)' is obsolete
Mapper.cs(245,36): warning CS0612: `DBus.MessageWriter.Write(System.Type, object)' is obsolete
Mapper.cs(315,48): warning CS0612: `DBus.MessageWriter.Write(System.Type, object)' is obsolete
Mapper.cs(346,48): warning CS0612: `DBus.MessageWriter.Write(System.Type, object)' is obsolete
MessageWriter.cs(365,25): warning CS0612: `DBus.MessageWriter.Write(System.Type, object)' is obsolete
Protocol.cs(75,44): warning CS0618: `DBus.DType.Struct' is obsolete: `Not in protocol'
Protocol.cs(80,44): warning CS0618: `DBus.DType.DictEntry' is obsolete: `Not in protocol'
Signature.cs(640,46): warning CS0618: `DBus.DType.Struct' is obsolete: `Not in protocol'
Signature.cs(807,44): warning CS0618: `DBus.DType.Struct' is obsolete: `Not in protocol'
Signature.cs(809,44): warning CS0618: `DBus.DType.DictEntry' is obsolete: `Not in protocol'
TypeRental.cs(253,47): warning CS0219: The variable `shortDelta' is assigned but its value is never used
TypeRental.cs(257,47): warning CS0219: The variable `delta' is assigned but its value is never used
TypeRental.cs(261,46): warning CS0219: The variable `int8' is assigned but its value is never used
TypeRental.cs(265,47): warning CS0219: The variable `int32' is assigned but its value is never used
TypeRental.cs(269,47): warning CS0219: The variable `int64' is assigned but its value is never used
TypeRental.cs(273,48): warning CS0219: The variable `float32' is assigned but its value is never used
TypeRental.cs(277,48): warning CS0219: The variable `float64' is assigned but its value is never used
TypeRental.cs(281,46): warning CS0219: The variable `index8' is assigned but its value is never used
TypeRental.cs(285,48): warning CS0219: The variable `index16' is assigned but its value is never used
TypeRental.cs(298,41): warning CS0162: Unreachable code detected
TypeRental.cs(328,41): warning CS0162: Unreachable code detected
TypeRental.cs(226,31): warning CS0219: The variable `offset' is assigned but its value is never used
BusObject.cs(16,24): warning CS0414: The private field `DBus.BusObject.alt_bus_name' is assigned but its value is never used
TypeRental.cs(362,24): warning CS0169: The private method `DBus.ILReader2.ReadUInt32()' is never used
TypeRental.cs(370,24): warning CS0169: The private method `DBus.ILReader2.ReadUInt64()' is never used
Target GetCopyToOutputDirectoryItems:
Target DeployOutputFiles:
Copying file from '/home/sandy/mono-git/dbus-sharp/src/obj/Debug/dbus-sharp.dll.mdb' to '/home/sandy/mono-git/dbus-sharp/src/dbus-sharp.dll.mdb'
Copying file from '/home/sandy/mono-git/dbus-sharp/src/obj/Debug/dbus-sharp.dll' to '/home/sandy/mono-git/dbus-sharp/src/dbus-sharp.dll'
Target _GetCompileOutputsForClean:
Target _RecordCleanFile:
Done building project "/home/sandy/mono-git/dbus-sharp/src/dbus-sharp.csproj".
Build succeeded.
Warnings:
/home/sandy/mono-git/dbus-sharp/src/dbus-sharp.csproj: warning : A circular reference was found involving the import of $(MSBuildBinPath)\Microsoft.CSharp.targets. Only the first import of this file will be used, ignoring others.
/home/sandy/mono-git/dbus-sharp/src/dbus-sharp.csproj (default targets) ->
/home/sandy/mono-git/dbus-sharp/src/dbus-sharp.csproj: warning : A circular reference was found involving the import of $(MSBuildBinPath)\Microsoft.CSharp.targets. Only the first import of this file will be used, ignoring others.
/home/sandy/mono-git/dbus-sharp/src/dbus-sharp.csproj (default targets) ->
(CoreCompile target) ->
BusObject.cs(301,56): warning CS0612: `DBus.MessageWriter.Write(System.Type, object)' is obsolete
Mapper.cs(245,36): warning CS0612: `DBus.MessageWriter.Write(System.Type, object)' is obsolete
Mapper.cs(315,48): warning CS0612: `DBus.MessageWriter.Write(System.Type, object)' is obsolete
Mapper.cs(346,48): warning CS0612: `DBus.MessageWriter.Write(System.Type, object)' is obsolete
MessageWriter.cs(365,25): warning CS0612: `DBus.MessageWriter.Write(System.Type, object)' is obsolete
Protocol.cs(75,44): warning CS0618: `DBus.DType.Struct' is obsolete: `Not in protocol'
Protocol.cs(80,44): warning CS0618: `DBus.DType.DictEntry' is obsolete: `Not in protocol'
Signature.cs(640,46): warning CS0618: `DBus.DType.Struct' is obsolete: `Not in protocol'
Signature.cs(807,44): warning CS0618: `DBus.DType.Struct' is obsolete: `Not in protocol'
Signature.cs(809,44): warning CS0618: `DBus.DType.DictEntry' is obsolete: `Not in protocol'
TypeRental.cs(253,47): warning CS0219: The variable `shortDelta' is assigned but its value is never used
TypeRental.cs(257,47): warning CS0219: The variable `delta' is assigned but its value is never used
TypeRental.cs(261,46): warning CS0219: The variable `int8' is assigned but its value is never used
TypeRental.cs(265,47): warning CS0219: The variable `int32' is assigned but its value is never used
TypeRental.cs(269,47): warning CS0219: The variable `int64' is assigned but its value is never used
TypeRental.cs(273,48): warning CS0219: The variable `float32' is assigned but its value is never used
TypeRental.cs(277,48): warning CS0219: The variable `float64' is assigned but its value is never used
TypeRental.cs(281,46): warning CS0219: The variable `index8' is assigned but its value is never used
TypeRental.cs(285,48): warning CS0219: The variable `index16' is assigned but its value is never used
TypeRental.cs(298,41): warning CS0162: Unreachable code detected
TypeRental.cs(328,41): warning CS0162: Unreachable code detected
TypeRental.cs(226,31): warning CS0219: The variable `offset' is assigned but its value is never used
BusObject.cs(16,24): warning CS0414: The private field `DBus.BusObject.alt_bus_name' is assigned but its value is never used
TypeRental.cs(362,24): warning CS0169: The private method `DBus.ILReader2.ReadUInt32()' is never used
TypeRental.cs(370,24): warning CS0169: The private method `DBus.ILReader2.ReadUInt64()' is never used
27 Warning(s)
0 Error(s)
Time Elapsed 00:00:01.9895610
make[1]: Leaving directory `/home/sandy/mono-git/dbus-sharp/src'
Making all in tools
make[1]: Entering directory `/home/sandy/mono-git/dbus-sharp/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/sandy/mono-git/dbus-sharp/tools'
Making all in examples
make[1]: Entering directory `/home/sandy/mono-git/dbus-sharp/examples'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/sandy/mono-git/dbus-sharp/examples'
make[1]: Entering directory `/home/sandy/mono-git/dbus-sharp'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/sandy/mono-git/dbus-sharp'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment