[MacPorts] #29516: DBus doesn't launch, Digikam and other apps hang

MacPorts noreply at macports.org
Fri May 20 05:38:24 PDT 2011


#29516: DBus doesn't launch, Digikam and other apps hang
--------------------------------------------+-------------------------------
 Reporter:  macports.mexon@…                |       Owner:  macports-tickets@…                   
     Type:  defect                          |      Status:  new                                  
 Priority:  Normal                          |   Milestone:                                       
Component:  ports                           |     Version:  1.9.2                                
 Keywords:                                  |        Port:                                       
--------------------------------------------+-------------------------------
 During installation, I noticed two messages: # launchctl load
 /Library/LaunchAgents/org.freedesktop.dbus-session.plist # 'sudo chown -R
 $USER ~/Library/Preferences/KDE'

 I did both of these. launchctl fails like this:

 $ launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
 nothing found to load

 This is apparently a symptom of having "<key>Disabled</key>" in
 org.freedesktop.dbus-session.plist. To fix that, I found a "-w" flag from
 somewhere on the internet:

 launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

 That doesn't do anything, and there's no process with "dbus" in the name
 in the process table. If I then run digikam or kanagram or any other KDE
 application, the program just hangs.

 There is another message that gets printed if you happen to know that you
 should run "port notes dbus".  This message disagrees with the messages
 printed above.  Running those commands makes no difference whatsoever to
 the result:

 mat at Charly:~$ sudo launchctl load -w
 /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
 org.freedesktop.dbus-system: Already loaded
 mat at Charly:~$ launchctl load -w /Library/LaunchAgents/org.freedesktop
 .dbus-session.plist
 org.freedesktop.dbus-session: Already loaded
 mat at Charly:~$ ps auxww | grep -i dbus
 mat        201   0.5  0.0  2425524    156 s000  R+    8:34PM   0:00.01
 grep -i dbus
 messagebus    51   0.0  0.0  2435368    704   ??  Ss    8:30PM   0:00.02
 /opt/local/bin/dbus-daemon --system --nofork

 Processes still just hang.

-- 
Ticket URL: <https://trac.macports.org/ticket/29516>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list