[MacPorts] #17950: dbus patched with launchd support and version dump
MacPorts
noreply at macports.org
Wed Jan 21 16:21:36 PST 2009
#17950: dbus patched with launchd support and version dump
---------------------------------+------------------------------------------
Reporter: jonas.baehr@… | Owner: macports-tickets@…
Type: defect | Status: reopened
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Resolution: | Keywords: launchd kde4 x11
Port: dbus |
---------------------------------+------------------------------------------
Comment(by kadorken@…):
Replying to [comment:62 kadorken@…]:
> Replying to [comment:59 jonas@…]:
> > Replying to [comment:56 kadorken@…]:
> > > I then found this thread and did an 'upgrade' to dbus to @1.2.12_4
(confirmed as active), but my original problem still exists.
> >
> > Can't reproduce. I just installed gnucash and it just works with
dbus at 1.2.12_4. Did you execute this after the installation of dbus?
> > {{{
> > launchctl load /Library/LaunchAgents/org.freedesktop.dbus-
session.plist
> > }}}
>
> After removing ALL of macports, and then installing gnucash from scratch
(with one glitch reported as a comment at
[https://trac.macports.org/ticket/18138#comment:2]), gnucash was
installed. I received the message (after modifying .profile to have eval
`dbus-launch --auto-syntax`
>
>
> $ source .profile
> Failed to start message bus: Check-in failed: Permission denied
>
> EOF in dbus-launch reading address from bus daemon
>
>
>
> I then modified .profile to first do
> launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
>
> I then received the following:
>
>
> $ source .profile
> org.freedesktop.dbus-session: Already loaded
> Failed to start message bus: Check-in failed: Permission denied
>
> EOF in dbus-launch reading address from bus daemon
>
>
> $ port info dbus
>
>
> dbus @1.2.12, Revision 4 (devel)
> Variants: darwin_7, test, universal
>
>
> a PS shows
> 501 158 154 0 31 0 75852 256 - S ?? 0:02.34
kadorken 0.0 0.0 9:15pm /opt/local/bin/dbus-daemon --nofork --session
PATH=/usr/bin:/bin:/usr/sbin:/sbin
TMPDIR=/var/folders/o2/o2G2VCZsEr4yO97IVJ+cpU+++TI/-Tmp-/ SHELL=/bin/bash
HOME=/Users/kadorken USER=kadorken LOGNAME=kadorken __LAUNCHD_FD=15
DISPLAY=/tmp/launch-Ih2MVH/:0 SSH_AUTH_SOCK=/tmp/launch-utu1fq/Listeners
Apple_PubSub_Socket_Render=/tmp/launch-4iWANk/Render
DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/launch-pFyVtI/session
>
> running as 'me'; Is it supposed to be running as root?
Okay, after posting all the above, I continued to experiment (within the
same terminal session that I had removed Macports, and reinstalled
gnucash). I did a launchctl unload /Library/LaunchAgents/org.freedesktop
.dbus-session.plist
(no error received). A PS confirmed it wasn't running. I then tried a sudo
launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
(despite the warning not to do this). This resulted in
gnc.bin-Message: main: binreloc relocation support was disabled at
configure time.
Dynamic session lookup supported but failed: launchd did not provide a
socket path, verify that org.freedesktop.dbus-session.plist is loaded!
So I did a sudo unload ...., followed by (from the $ prompt) launchctl
load .....
NOW gnucash starts up.
My theory is that all my previous attempts earlier this morning left the
'old' dbus running (?) despite me rebuilding gnucash TWICE.
I figured I should post the entire outcome in case someone else ends up
doing something similar and starts searching for the various error
messages.
Thanks for your assistance.
--
Ticket URL: <http://trac.macports.org/ticket/17950#comment:63>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list