Opened 11 years ago

Closed 9 years ago

#38848 closed enhancement (invalid)

dbus: userdir install failed

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

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

The root directory of my MacPorts install resides in my user directory. When I use build Gimp, it errors out with the following information:

Error: org.macports.activate for port dbus returned: error renaming "/Users/mike/macports/var/macports/software/dbus/mpextractD7sWHyg3/Library/LaunchAgents/org.freedesktop.dbus-session.plist" to "/Library/LaunchAgents/org.freedesktop.dbus-session.plist": permission denied
Error: Failed to install dbus
Please see the log file for port dbus for details:
 /Users/mike/macports/var/macports/logs/_Users_mike_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus/dbus/main.log

I have attached the referenced log file. Could the build be modified to be flexible enough to accomodate macport userdir installations?

Attachments (1)

main.log (9.9 KB) - added by mikecress@… 11 years ago.
main.log error file

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by mikecress@…

Attachment: main.log added

main.log error file

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: gimp removed
Owner: changed from macports-tickets@… to mcalhoun@…
Port: dbus added; gimp removed
Summary: Gimp userdir install faileddbus: userdir install failed

Try selecting the no_root variant and/or deselecting the startupitem variant. I don't know if the port could be modified to do so automatically when appropriate.

$ port variants dbus
dbus has the variants:
   no_root: Run the DBUS daemon as MacPorts install user.
[+]startupitem: Install startup files.
   test: enable tests
   universal: Build for multiple architectures

comment:2 Changed 11 years ago by mikecress@…

Just attempted to build dbus with +no_root and it errored out with:

Error: The DBUS daemon should not be run as root.
Error: org.macports.fetch for port dbus returned: Please do not use this variant with your MacPorts configuration.

Thank you for your help. I will install the pre-built version available on their website.

Last edited 11 years ago by mikecress@… (previous) (diff)

comment:3 Changed 11 years ago by mikecress@…

For the record, this was the build command:

iMac:bin mike$ ./port install dbus +no_root

comment:4 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Apologies for not acknowledging this earlier.
Is it still an issue?

comment:5 Changed 9 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: invalid
Status: newclosed

comment:1 and comment:2 seem to indicate that the issue was resolved.

Note: See TracTickets for help on using tickets.