[MacPorts] #62229: dbus @1.12.20 (devel): Destroot failed, backslash in group name
MacPorts
noreply at macports.org
Sat Feb 6 00:52:00 UTC 2021
#62229: dbus @1.12.20 (devel): Destroot failed, backslash in group name
---------------------------+---------------------------------
Reporter: Dave-Allured | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: dbus |
---------------------------+---------------------------------
Description changed by Dave-Allured:
Old description:
> dbus @1.12.20 (devel) builds and installs, then fails in
> destroot/activate:
> {{{
> :debug:activate Executing proc-post-org.macports.activate-activate-0
> :error:activate Failed to activate dbus: could not set group for file
> "/Users/dallured/port/264/var/run/dbus": group "PSD
> ain" does not exist
> :debug:activate Error code: NONE
> :debug:activate Backtrace: could not set group for file
> "/Users/dallured/port/264/var/run/dbus": group "PSD<cr>ain" does not
> exist
> :debug:activate while executing
> :debug:activate "$post $targetname"
> }}}
> See the complete main.log, attached. This might be called a corner case.
> I work on a multi-user system that uses MS Active Directory. That uses
> fancy group names with an embedded backslash, which you do not see very
> often. My actual group name is PSD\rain. Above you can see how destroot
> mangled that name.
>
> I tried double-quoting the group name references in the portfile. That
> did not help. I am not sure whether this is a portfile problem, or
> something inside macports base. If portfile, please suggest the correct
> quoting method, and I will be glad to make a pull request.
New description:
dbus @1.12.20 (devel) builds and installs, then fails in
destroot/activate:
{{{
:debug:activate Executing proc-post-org.macports.activate-activate-0
:error:activate Failed to activate dbus: could not set group for file
"/Users/dallured/port/264/var/run/dbus": group "PSD<cr>ain" does not exist
:debug:activate Error code: NONE
:debug:activate Backtrace: could not set group for file
"/Users/dallured/port/264/var/run/dbus": group "PSD<cr>ain" does not exist
:debug:activate while executing
:debug:activate "$post $targetname"
}}}
See the complete main.log, attached. This might be called a corner case.
I work on a multi-user system that uses MS Active Directory. That uses
fancy group names with an embedded backslash, which you do not see very
often. My actual group name is PSD\rain. Above you can see how destroot
mangled that name.
I tried double-quoting the group name references in the portfile. That
did not help. I am not sure whether this is a portfile problem, or
something inside macports base. If portfile, please suggest the correct
quoting method, and I will be glad to make a pull request.
--
--
Ticket URL: <https://trac.macports.org/ticket/62229#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list