[MacPorts] #38848: dbus: userdir install failed (was: Gimp userdir install failed)

MacPorts noreply at macports.org
Thu Apr 18 14:33:28 PDT 2013


#38848: dbus: userdir install failed
--------------------------+------------------------
  Reporter:  mikecress@…  |      Owner:  mcalhoun@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.3
Resolution:               |   Keywords:
      Port:  dbus         |
--------------------------+------------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => mcalhoun@…
 * keywords:  gimp =>
 * port:  gimp => dbus


Old description:

> 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?

New description:

 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?

--

Comment:

 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/38848#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list