Opened 12 years ago

Closed 12 years ago

#37278 closed defect (invalid)

dbus 1.6.8_0 activation failure

Reported by: michi_ca@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: dbus

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Mountain Lion 10.8.2 with lastest XCode. Completely uninstalled macports with these instructions: http://guide.macports.org/chunked/installing.macports.uninstalling.html Installed Macports again, then installing wine-devel I get this (tried 3 times, no folder in /opt apart from X11 after uninstall):

Activating dbus @1.6.8_0+startupitem+universal
Error: org.macports.activate for port dbus 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. Use 'port -f activate dbus' to force the activation.
Error: Failed to install dbus
Please see the log file for port dbus for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus/dbus/main.log
Error: The following dependencies were not installed: gst-plugins-base gnome-vfs gconf dbus-glib dbus gtk2 atk gobject-introspection cairo libpixman libpng xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xz xorg-xextproto xorg-xcb-util xrender xorg-renderproto pkgconfig gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser orbit2 libidl policykit eggdbus gnome-mime-data gstreamer bison m4 flex libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms libxslt mesa makedepend py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wine-devel failed

Change History (4)

comment:1 Changed 12 years ago by michi_ca@…

I tried also

port -f activate dbus

but to no avail

Last edited 12 years ago by michi_ca@… (previous) (diff)

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to mcalhoun@…
Summary: dbus 1.6.8_0 instalation failuredbus 1.6.8_0 activation failure

Unfortunately some ports, in this case dbus, install files with unusual names in unusual places which our manual uninstall instructions do not cover, in this case /Library/LaunchAgents/org.freedesktop.dbus-session.plist. You can either manually delete that file, or use force the activation (sudo port -f activate dbus) to have MacPorts move the file(s) with conflicting name(s) out of the way for you. Can you elaborate on how sudo port -f activate dbus did not work? It should have. If not, run it with the debug flag (sudo port -df activate dbus) and see if there are any errors.

comment:3 in reply to:  2 Changed 12 years ago by michi_ca@…

Replying to ryandesign@…:

Unfortunately some ports, in this case dbus, install files with unusual names in unusual places which our manual uninstall instructions do not cover, in this case /Library/LaunchAgents/org.freedesktop.dbus-session.plist. You can either manually delete that file, or use force the activation (sudo port -f activate dbus) to have MacPorts move the file(s) with conflicting name(s) out of the way for you. Can you elaborate on how sudo port -f activate dbus did not work? It should have. If not, run it with the debug flag (sudo port -df activate dbus) and see if there are any errors.

I tried deleting the file manually (after another complete uninstall) but i'm still getting the same error. Running the suggested command bring this:

Michi$ port -f activate dbus
Error: Insufficient privileges to write to MacPorts install prefix.

Debug is:

Michi$ sudo port -df activate dbus
DEBUG: Copying /Users/Michi/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: Changing to port directory: /opt/local/var/macports/registry/portfiles/dbus/1.6.8_0+startupitem+universal
DEBUG: OS darwin/12.2.0 (Mac OS X 10.8) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Executing variant universal provides universal
DEBUG: Executing variant startupitem provides startupitem
DEBUG: Starting logging for dbus
--->  Computing dependencies for dbus
DEBUG: Checking for conflicts against dbus
DEBUG: Searching for dependency: dbus-devel
DEBUG: Didn't find receipt, going to depspec regex for: dbus-devel
DEBUG: Searching for dependency: expat
DEBUG: Found Dependency: receipt exists for expat
DEBUG: activate phase started at Tue Dec 11 12:38:07 CET 2012
DEBUG: Executing proc-pre-org.macports.activate-activate-0
DEBUG: Executing org.macports.activate (dbus)
--->  Activating dbus @1.6.8_0+startupitem+universal
DEBUG: Using /usr/bin/tar
DEBUG: Using /usr/bin/bzip2
x ./
x ./+COMMENT
x ./+CONTENTS
x ./+DESC
x ./+PORTFILE
x ./+STATE
x ./Library/
x ./opt/
x ./opt/local/
x ./opt/local/bin/
x ./opt/local/etc/
x ./opt/local/include/
x ./opt/local/lib/
x ./opt/local/libexec/
x ./opt/local/Library/
x ./opt/local/share/
x ./opt/local/var/
x ./opt/local/var/lib/
x ./opt/local/var/run/
x ./opt/local/var/run/dbus/
x ./opt/local/var/run/dbus/.turd_dbus
x ./opt/local/var/lib/dbus/
x ./opt/local/var/lib/dbus/machine-id
x ./opt/local/share/dbus-1/
x ./opt/local/share/doc/
x ./opt/local/share/man/
x ./opt/local/share/man/man1/
x ./opt/local/share/man/man1/dbus-cleanup-sockets.1.gz
x ./opt/local/share/man/man1/dbus-daemon.1.gz
x ./opt/local/share/man/man1/dbus-launch.1.gz
x ./opt/local/share/man/man1/dbus-monitor.1.gz
x ./opt/local/share/man/man1/dbus-send.1.gz
x ./opt/local/share/man/man1/dbus-uuidgen.1.gz
x ./opt/local/share/doc/dbus/
x ./opt/local/share/doc/dbus/dbus-faq.html
x ./opt/local/share/doc/dbus/dbus-specification.html
x ./opt/local/share/doc/dbus/dbus-test-plan.html
x ./opt/local/share/doc/dbus/dbus-tutorial.html
x ./opt/local/share/doc/dbus/diagram.png
x ./opt/local/share/doc/dbus/diagram.svg
x ./opt/local/share/doc/dbus/system-activation.txt
x ./opt/local/share/dbus-1/services/
x ./opt/local/share/dbus-1/services/.turd_dbus
x ./opt/local/Library/LaunchAgents/
x ./opt/local/Library/LaunchDaemons/
x ./opt/local/Library/LaunchDaemons/org.freedesktop.dbus-system.plist
x ./opt/local/Library/LaunchAgents/org.freedesktop.dbus-session.plist
x ./opt/local/libexec/dbus-daemon-launch-helper
x ./opt/local/lib/dbus-1.0/
x ./opt/local/lib/libdbus-1.3.dylib
x ./opt/local/lib/libdbus-1.a
x ./opt/local/lib/libdbus-1.dylib
x ./opt/local/lib/libdbus-1.la
x ./opt/local/lib/pkgconfig/
x ./opt/local/lib/pkgconfig/dbus-1.pc
x ./opt/local/lib/dbus-1.0/include/
x ./opt/local/lib/dbus-1.0/include/dbus/
x ./opt/local/lib/dbus-1.0/include/dbus/dbus-arch-deps.h
x ./opt/local/include/dbus-1.0/
x ./opt/local/include/dbus-1.0/dbus/
x ./opt/local/include/dbus-1.0/dbus/dbus-address.h
x ./opt/local/include/dbus-1.0/dbus/dbus-bus.h
x ./opt/local/include/dbus-1.0/dbus/dbus-connection.h
x ./opt/local/include/dbus-1.0/dbus/dbus-errors.h
x ./opt/local/include/dbus-1.0/dbus/dbus-macros.h
x ./opt/local/include/dbus-1.0/dbus/dbus-memory.h
x ./opt/local/include/dbus-1.0/dbus/dbus-message.h
x ./opt/local/include/dbus-1.0/dbus/dbus-misc.h
x ./opt/local/include/dbus-1.0/dbus/dbus-pending-call.h
x ./opt/local/include/dbus-1.0/dbus/dbus-protocol.h
x ./opt/local/include/dbus-1.0/dbus/dbus-server.h
x ./opt/local/include/dbus-1.0/dbus/dbus-shared.h
x ./opt/local/include/dbus-1.0/dbus/dbus-signature.h
x ./opt/local/include/dbus-1.0/dbus/dbus-syntax.h
x ./opt/local/include/dbus-1.0/dbus/dbus-threads.h
x ./opt/local/include/dbus-1.0/dbus/dbus-types.h
x ./opt/local/include/dbus-1.0/dbus/dbus.h
x ./opt/local/etc/dbus-1/
x ./opt/local/etc/dbus-1/session.conf
x ./opt/local/etc/dbus-1/session.d/
x ./opt/local/etc/dbus-1/system.conf
x ./opt/local/etc/dbus-1/system.d/
x ./opt/local/etc/dbus-1/system.d/.turd_dbus
x ./opt/local/etc/dbus-1/session.d/.turd_dbus
x ./opt/local/bin/dbus-cleanup-sockets
x ./opt/local/bin/dbus-daemon
x ./opt/local/bin/dbus-launch
x ./opt/local/bin/dbus-monitor
x ./opt/local/bin/dbus-send
x ./opt/local/bin/dbus-uuidgen
x ./Library/LaunchAgents/
x ./Library/LaunchDaemons/
x ./Library/LaunchDaemons/org.freedesktop.dbus-system.plist
x ./Library/LaunchAgents/org.freedesktop.dbus-session.plist
Warning: File /Library/LaunchDaemons/org.freedesktop.dbus-system.plist already exists.  Moving to: /Library/LaunchDaemons/org.freedesktop.dbus-system.plist.mp_1355225887.
DEBUG: activating directory: /
DEBUG: activating directory: /Library
DEBUG: activating directory: /Library/LaunchAgents
DEBUG: activating file: /Library/LaunchAgents/org.freedesktop.dbus-session.plist
DEBUG: activating directory: /Library/LaunchDaemons
DEBUG: activating file: /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
DEBUG: activating directory: /opt
DEBUG: activating directory: /opt/local
DEBUG: activating directory: /opt/local/Library
DEBUG: activating directory: /opt/local/Library/LaunchAgents
DEBUG: activating file: /opt/local/Library/LaunchAgents/org.freedesktop.dbus-session.plist
DEBUG: activating directory: /opt/local/Library/LaunchDaemons
DEBUG: activating file: /opt/local/Library/LaunchDaemons/org.freedesktop.dbus-system.plist
DEBUG: activating directory: /opt/local/bin
DEBUG: activating file: /opt/local/bin/dbus-cleanup-sockets
DEBUG: activating file: /opt/local/bin/dbus-daemon
DEBUG: activating file: /opt/local/bin/dbus-launch
DEBUG: activating file: /opt/local/bin/dbus-monitor
DEBUG: activating file: /opt/local/bin/dbus-send
DEBUG: activating file: /opt/local/bin/dbus-uuidgen
DEBUG: activating directory: /opt/local/etc
DEBUG: activating directory: /opt/local/etc/dbus-1
DEBUG: activating file: /opt/local/etc/dbus-1/session.conf
DEBUG: activating directory: /opt/local/etc/dbus-1/session.d
DEBUG: activating file: /opt/local/etc/dbus-1/session.d/.turd_dbus
DEBUG: activating file: /opt/local/etc/dbus-1/system.conf
DEBUG: activating directory: /opt/local/etc/dbus-1/system.d
DEBUG: activating file: /opt/local/etc/dbus-1/system.d/.turd_dbus
DEBUG: activating directory: /opt/local/include
DEBUG: activating directory: /opt/local/include/dbus-1.0
DEBUG: activating directory: /opt/local/include/dbus-1.0/dbus
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-address.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-bus.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-connection.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-errors.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-macros.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-memory.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-message.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-misc.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-pending-call.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-protocol.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-server.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-shared.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-signature.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-syntax.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-threads.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus-types.h
DEBUG: activating file: /opt/local/include/dbus-1.0/dbus/dbus.h
DEBUG: activating directory: /opt/local/lib
DEBUG: activating directory: /opt/local/lib/dbus-1.0
DEBUG: activating directory: /opt/local/lib/dbus-1.0/include
DEBUG: activating directory: /opt/local/lib/dbus-1.0/include/dbus
DEBUG: activating file: /opt/local/lib/dbus-1.0/include/dbus/dbus-arch-deps.h
DEBUG: activating file: /opt/local/lib/libdbus-1.3.dylib
DEBUG: activating file: /opt/local/lib/libdbus-1.a
DEBUG: activating file: /opt/local/lib/libdbus-1.dylib
DEBUG: activating file: /opt/local/lib/libdbus-1.la
DEBUG: activating directory: /opt/local/lib/pkgconfig
DEBUG: activating file: /opt/local/lib/pkgconfig/dbus-1.pc
DEBUG: activating directory: /opt/local/libexec
DEBUG: activating file: /opt/local/libexec/dbus-daemon-launch-helper
DEBUG: activating directory: /opt/local/share
DEBUG: activating directory: /opt/local/share/dbus-1
DEBUG: activating directory: /opt/local/share/dbus-1/services
DEBUG: activating file: /opt/local/share/dbus-1/services/.turd_dbus
DEBUG: activating directory: /opt/local/share/doc
DEBUG: activating directory: /opt/local/share/doc/dbus
DEBUG: activating file: /opt/local/share/doc/dbus/dbus-faq.html
DEBUG: activating file: /opt/local/share/doc/dbus/dbus-specification.html
DEBUG: activating file: /opt/local/share/doc/dbus/dbus-test-plan.html
DEBUG: activating file: /opt/local/share/doc/dbus/dbus-tutorial.html
DEBUG: activating file: /opt/local/share/doc/dbus/diagram.png
DEBUG: activating file: /opt/local/share/doc/dbus/diagram.svg
DEBUG: activating file: /opt/local/share/doc/dbus/system-activation.txt
DEBUG: activating directory: /opt/local/share/man
DEBUG: activating directory: /opt/local/share/man/man1
DEBUG: activating file: /opt/local/share/man/man1/dbus-cleanup-sockets.1.gz
DEBUG: activating file: /opt/local/share/man/man1/dbus-daemon.1.gz
DEBUG: activating file: /opt/local/share/man/man1/dbus-launch.1.gz
DEBUG: activating file: /opt/local/share/man/man1/dbus-monitor.1.gz
DEBUG: activating file: /opt/local/share/man/man1/dbus-send.1.gz
DEBUG: activating file: /opt/local/share/man/man1/dbus-uuidgen.1.gz
DEBUG: activating directory: /opt/local/var
DEBUG: activating directory: /opt/local/var/lib
DEBUG: activating directory: /opt/local/var/lib/dbus
DEBUG: activating file: /opt/local/var/lib/dbus/machine-id
DEBUG: activating directory: /opt/local/var/run
DEBUG: activating directory: /opt/local/var/run/dbus
DEBUG: activating file: /opt/local/var/run/dbus/.turd_dbus

############################################################################
# Startup items have been generated that will aid in
# starting dbus with launchd. They are disabled
# by default. Execute the following command to start them,
# and to cause them to launch at startup:
#
# sudo launchctl load -w
/Library/LaunchDaemons/org.freedesktop.dbus-system.plist
# launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
############################################################################

DEBUG: Executing proc-post-org.macports.activate-activate-0
DEBUG: Executing org.macports.main (dbus)
DEBUG: clean phase started at Tue Dec 11 12:38:08 CET 2012
--->  Cleaning dbus
DEBUG: Executing org.macports.clean (dbus)
--->  Removing work directory for dbus
DEBUG: No work directory found to remove at /opt/local/var/macports/build/_opt_local_var_macports_registry_portfiles_dbus_1.6.8_0+startupitem+universal/dbus
DEBUG: No work directory found to remove at /Users/Michi/.macports/opt/local/var/macports/build/_opt_local_var_macports_registry_portfiles_dbus_1.6.8_0+startupitem+universal/dbus
DEBUG: Removing directory: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_dbus_1.6.8_0+startupitem+universal/dbus
DEBUG: delete: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_dbus_1.6.8_0+startupitem+universal/dbus
Version 1, edited 12 years ago by michi_ca@… (previous) (next) (diff)

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.