[MacPorts] #28121: dbus @1.2.24 +no_root fails with dscl error when ${install.user} does not exist

MacPorts noreply at macports.org
Mon Feb 4 03:34:05 PST 2013


#28121: dbus @1.2.24 +no_root fails with dscl error when ${install.user} does not
exist
----------------------+------------------------
  Reporter:  ph227@…  |      Owner:  mcalhoun@…
      Type:  defect   |     Status:  reopened
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  1.9.2
Resolution:           |   Keywords:
      Port:  dbus     |
----------------------+------------------------

Comment (by rharwood@…):

 It's slightly more bloody than that.  When I have +no_root set in
 variants.conf, the following occurs:

 {{{
 $ port -v info dbus
 Error: dbus: Error executing no_root: <dscl_cmd> DS Error: -14136
 (eDSRecordNotFound)
 Error: Unable to open port: Error evaluating variants
 }}}

 Setting install.user blank explicitly immediately before it is checked
 (line 202 of Portfile) causes the problem to disappear, while setting it
 to my actual username causes the same error.  Needless to say, this throws
 errors later on the relevant chown/chgrp commands, but it does cause the
 port to install.

-- 
Ticket URL: <https://trac.macports.org/ticket/28121#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list