Opened 3 years ago

Last modified 3 years ago

#62229 closed defect

dbus @1.12.20 (devel): Destroot failed, backslash in group name — at Initial Version

Reported by: Dave-Allured (Dave Allured) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dave.allured@…
Port: dbus

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.

Change History (1)

Changed 3 years ago by Dave-Allured (Dave Allured)

Attachment: main.log added
Note: See TracTickets for help on using tickets.