[MacPorts] #28384: dbus fails to install as non root
MacPorts
noreply at macports.org
Sat Feb 12 17:54:19 PST 2011
#28384: dbus fails to install as non root
----------------------------------------+-----------------------------------
Reporter: www.macports.org@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port:
----------------------------------------+-----------------------------------
On a fully updated/upgraded MacPort, while installing ftgl, dbus fails to
install, apparently because it can't manage to properly install as a non
root user (my MacPort installation is entirely non root).
The installer tries to copy
"/Users/laurent/unix/macports/var/macports/software/dbus/1.2.24_1/Library/LaunchAgents/org.freedesktop
.dbus-session.plist" to "/Library/LaunchAgents/org.freedesktop.dbus-
session.plist" which it obviously fails to do since it's running as a non
root user.
I guess that it should instead try to copy that file to
/Users/laurent/Library/....
{{{
---> Fetching dbus
---> Attempting to fetch dbus-1.2.24.tar.gz from
http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/dbus
---> Verifying checksum(s) for dbus
---> Extracting dbus
---> Applying patches to dbus
---> Configuring dbus
---> Building dbus
---> Staging dbus into destroot
---> Installing dbus @1.2.24_1
Warning: addgroup only works when running as root.
Warning: The requested group 'messagebus' was not created.
Warning: adduser only works when running as root.
Warning: The requested user 'messagebus' was not created.
---> Activating dbus @1.2.24_1
Error: Target org.macports.activate returned: error copying
"/Users/laurent/unix/macports/var/macports/software/dbus/1.2.24_1/Library/LaunchAgents/org.freedesktop
.dbus-session.plist" to "/Library/LaunchAgents/org.freedesktop.dbus-
session.plist": permission denied
Error: Failed to install dbus
Log for dbus is at:
/Users/laurent/unix/macports/var/macports/logs/_Users_laurent_unix_macports_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/main.log
Error: The following dependencies were not installed: doxygen graphviz
pango glib2 dbus urw-fonts xorg-libXaw groff xorg-libXmu gsed
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
--
Ticket URL: <https://trac.macports.org/ticket/28384>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list