#41470: Can't install dbus if not root -----------------------+-------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: dbus -----------------------+-------------------------------- It seems you can't install dbus if you are not root: {{{ ---> Computing dependencies for dbus:info:main .:debug:main 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 Wed Nov 20 16:00:59 CET 2013 DEBUG: Executing proc-pre-org.macports.activate-activate-0 DEBUG: Executing org.macports.activate (dbus) ---> Activating dbus @1.6.12_0+startupitem DEBUG: Using /usr/bin/tar DEBUG: Using /usr/bin/bzip2 x ./ x ./+COMMENT x ./+CONTENTS x ./+DESC x ./+PORTFILE x ./+STATE x ./Library/ x ./Users/ x ./Users/prudloff/ x ./Users/prudloff/opt/ x ./Users/prudloff/opt/bin/ x ./Users/prudloff/opt/etc/ x ./Users/prudloff/opt/include/ x ./Users/prudloff/opt/lib/ x ./Users/prudloff/opt/libexec/ x ./Users/prudloff/opt/Library/ x ./Users/prudloff/opt/share/ x ./Users/prudloff/opt/var/ x ./Users/prudloff/opt/var/lib/ x ./Users/prudloff/opt/var/run/ x ./Users/prudloff/opt/var/run/dbus/ x ./Users/prudloff/opt/var/run/dbus/.turd_dbus x ./Users/prudloff/opt/var/lib/dbus/ x ./Users/prudloff/opt/var/lib/dbus/machine-id x ./Users/prudloff/opt/share/dbus-1/ x ./Users/prudloff/opt/share/doc/ x ./Users/prudloff/opt/share/man/ x ./Users/prudloff/opt/share/man/man1/ x ./Users/prudloff/opt/share/man/man1/dbus-cleanup-sockets.1.gz x ./Users/prudloff/opt/share/man/man1/dbus-daemon.1.gz x ./Users/prudloff/opt/share/man/man1/dbus-launch.1.gz x ./Users/prudloff/opt/share/man/man1/dbus-monitor.1.gz x ./Users/prudloff/opt/share/man/man1/dbus-send.1.gz x ./Users/prudloff/opt/share/man/man1/dbus-uuidgen.1.gz x ./Users/prudloff/opt/share/doc/dbus/ x ./Users/prudloff/opt/share/doc/dbus/dbus-faq.html x ./Users/prudloff/opt/share/doc/dbus/dbus-specification.html x ./Users/prudloff/opt/share/doc/dbus/dbus-test-plan.html x ./Users/prudloff/opt/share/doc/dbus/dbus-tutorial.html x ./Users/prudloff/opt/share/doc/dbus/diagram.png x ./Users/prudloff/opt/share/doc/dbus/diagram.svg x ./Users/prudloff/opt/share/doc/dbus/system-activation.txt x ./Users/prudloff/opt/share/dbus-1/services/ x ./Users/prudloff/opt/share/dbus-1/services/.turd_dbus x ./Users/prudloff/opt/Library/LaunchAgents/ x ./Users/prudloff/opt/Library/LaunchDaemons/ x ./Users/prudloff/opt/Library/LaunchDaemons/org.freedesktop.dbus- system.plist x ./Users/prudloff/opt/Library/LaunchAgents/org.freedesktop.dbus- session.plist x ./Users/prudloff/opt/libexec/dbus-daemon-launch-helper x ./Users/prudloff/opt/lib/dbus-1.0/ x ./Users/prudloff/opt/lib/libdbus-1.3.dylib x ./Users/prudloff/opt/lib/libdbus-1.a x ./Users/prudloff/opt/lib/libdbus-1.dylib x ./Users/prudloff/opt/lib/libdbus-1.la x ./Users/prudloff/opt/lib/pkgconfig/ x ./Users/prudloff/opt/lib/pkgconfig/dbus-1.pc x ./Users/prudloff/opt/lib/dbus-1.0/include/ x ./Users/prudloff/opt/lib/dbus-1.0/include/dbus/ x ./Users/prudloff/opt/lib/dbus-1.0/include/dbus/dbus-arch-deps.h x ./Users/prudloff/opt/include/dbus-1.0/ x ./Users/prudloff/opt/include/dbus-1.0/dbus/ x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-address.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-bus.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-connection.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-errors.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-macros.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-memory.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-message.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-misc.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-pending-call.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-protocol.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-server.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-shared.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-signature.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-syntax.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-threads.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus-types.h x ./Users/prudloff/opt/include/dbus-1.0/dbus/dbus.h x ./Users/prudloff/opt/etc/dbus-1/ x ./Users/prudloff/opt/etc/dbus-1/session.conf x ./Users/prudloff/opt/etc/dbus-1/session.d/ x ./Users/prudloff/opt/etc/dbus-1/system.conf x ./Users/prudloff/opt/etc/dbus-1/system.d/ x ./Users/prudloff/opt/etc/dbus-1/system.d/.turd_dbus x ./Users/prudloff/opt/etc/dbus-1/session.d/.turd_dbus x ./Users/prudloff/opt/bin/dbus-cleanup-sockets x ./Users/prudloff/opt/bin/dbus-daemon x ./Users/prudloff/opt/bin/dbus-launch x ./Users/prudloff/opt/bin/dbus-monitor x ./Users/prudloff/opt/bin/dbus-send x ./Users/prudloff/opt/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 DEBUG: activating directory: / DEBUG: activating directory: /Library DEBUG: activating directory: /Library/LaunchAgents DEBUG: activating file: /Library/LaunchAgents/org.freedesktop.dbus- session.plist DEBUG: Activation failed, rolling back. Error: org.macports.activate for port dbus returned: error renaming "/Users/prudloff/opt/var/macports/software/dbus/mpextractM5uzuRGh/Library/LaunchAgents/org.freedesktop .dbus-session.plist" to "/Library/LaunchAgents/org.freedesktop.dbus- session.plist": permission denied DEBUG: Error code: POSIX EACCES {permission denied} DEBUG: Backtrace: error renaming "/Users/prudloff/opt/var/macports/software/dbus/mpextractM5uzuRGh/Library/LaunchAgents/org.freedesktop .dbus-session.plist" to "/Library/LaunchAgents/org.freedesktop.dbus- session.plist": permission denied }}} Is there any workaround around this ? -- Ticket URL: <https://trac.macports.org/ticket/41470> MacPorts <http://www.macports.org/> Ports system for OS X