#18138: DBUS Conflict with KDE install -----------------------------------+---------------------------------------- Reporter: rmdegennaro@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by kadorken@…): Replying to [ticket:18138 rmdegennaro@…]:
"Error: Target org.macports.activate returned: Image error: /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and does not belong to a registered port. Unable to activate port dbus."
I received a similar problem after removing all of MacPorts and doing a reinstall of GNUCASH. After following the instructions at http://guide.macports.org/#installing.macports.uninstalling to remove everything after my failed attempt to build gnucash for 'quartz', a subsequent 'sudo port install gnucash' failed with: ---> Activating dbus @1.2.12_4 Error: Target org.macports.activate returned: Image error: /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and does not belong to a registered port. Unable to activate port dbus. Error: The following dependencies failed to build: gconf dbus dbus-glib orbit2 libidl goffice bzip2 libart_lgpl libgsf gnome-vfs desktop-file- utils popt gnome-mime-data libbonobo guile16 libgnomeprintui gnome-icon- theme hicolor-icon-theme icon-naming-utils p5-xml-simple p5-xml- namespacesupport p5-xml-sax libgnomecanvas libgnomeprint bison libgnomecups libgnomeui gnome-keyring libbonoboui libgnome esound audiofile libgtkhtml3 enchant libsoup lzmautils p5-finance-quote p5-crypt- ssleay p5-datemanip p5-html-tableextract p5-libwww-perl p5-compress-zlib p5-compress-raw-zlib p5-io-compress-base p5-io-compress-zlib p5-html- parser p5-html-tagset p5-uri slib slib-guile16 Error: Status 1 encountered during processing. The RM instructions for MACPORTS missed the file /Library/LaunchAgents/org.freedesktop.dbus-session.plist when I removed everything and restarted a new install of gnucash. Removing the file and restarting the install, everything was okay Perhaps the instructions for removing macports should be amended to include /Library/LaunchAgents/org.macports.* and the install of dbus for macports should use the Launch agent name /org.macports.freedesktop.dbus-session.plist -- Ticket URL: <http://trac.macports.org/ticket/18138#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS