Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207399 - media-sound/last-exit needs dev-dotnet/dbus-glib-sharp at runtime
Summary: media-sound/last-exit needs dev-dotnet/dbus-glib-sharp at runtime
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-01-25 16:41 UTC by Marc Vinyals
Modified: 2008-02-14 05:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Vinyals 2008-01-25 16:41:16 UTC
last-exit builds without dbus-glib-sharp, however it fails to run with the following error message:

Unhandled Exception: System.Exception: Unable to open the system message bus. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at NDesk.DBus.Signature.TypeToDType (System.Type type) [0x00000] 
  at NDesk.DBus.Signature.TypeToDType (System.Type type) [0x00000] 
  at NDesk.DBus.MessageWriter.Write (System.Type type, System.Object val) [0x00000] 
  at NDesk.DBus.MessageWriter.WriteStruct (System.Type type, System.Object val) [0x00000] 
  at NDesk.DBus.Message.WriteHeader () [0x00000] 
  at NDesk.DBus.Connection.Send (NDesk.DBus.Message msg) [0x00000] 
  at NDesk.DBus.Connection.SendWithReply (NDesk.DBus.Message msg) [0x00000] 
  at NDesk.DBus.Connection.SendWithReplyAndBlock (NDesk.DBus.Message msg) [0x00000] 
  at NDesk.DBus.BusObject.Invoke (System.Reflection.MethodBase methodBase, System.String methodName, System.Object[] inArgs, System.Object[]& outArgs, System.Object& retVal, System.Exception& exception) [0x00000] 
  at NDesk.DBus.DProxy.Invoke (IMessage message) [0x00000] 
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00000] --- End of inner exception stack trace ---

  at NDesk.DBus.Bus.get_System () [0x00000] 
  at NDesk.DBus.BusG.Init () [0x00000] 
  at LastExit.Driver.Main (System.String[] args) [0x00000]

When built with dbus-glib-sharp already merged, last-exit works properly.
Comment 1 Steev Klimaszewski (RETIRED) gentoo-dev 2008-02-03 01:36:23 UTC
Which version is this?
Comment 2 Marc Vinyals 2008-02-03 13:12:23 UTC
last-exit is both 4.0 and 5.0.
dbus is 1.1.4
dbus-glib is 0.74
dbus-sharp is 0.6.0
dbus-glib-sharp is 0.4.1
mono is 1.2.6-r1
Comment 3 Steev Klimaszewski (RETIRED) gentoo-dev 2008-02-14 05:41:40 UTC
Just committed this fix.  Thanks for reporting, sorry it took so long.