[MacPorts] #28121: dbus @1.2.24 +no_root fails with dscl error when ${install.user} does not exist
MacPorts
noreply at macports.org
Mon Jan 23 00:48:07 PST 2012
#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 ph227@…):
Replying to [comment:6 jtbates@…]:
> I have the same problem. ph277, how do I use your fix?
This is case-specific, but for me, in the file:
[your macport installation
path]/var/macports/sources/rsync.macports.org/release/ports/devel/dbus/Portfile
I change the line
{{{
set startup_root [join [lrange [exec /usr/bin/dscl . -read
Users/${install.user} NFSHomeDirectory] 1 end]]
}}}
to
{{{
set startup_root [join [lrange [exec /usr/bin/dscl '/Active Directory/All
Domains' -read Users/${install.user} NFSHomeDirectory] 1 end]]
}}}
and I run again the package installation.
--
Ticket URL: <https://trac.macports.org/ticket/28121#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list