Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#62229 closed defect (duplicate)

dbus @1.12.20 (devel): Destroot failed, backslash in group name

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 (last modified by Dave-Allured (Dave Allured))

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.

Attachments (1)

main.log (259.8 KB) - added by Dave-Allured (Dave Allured) 3 years ago.

Download all attachments as: .zip

Change History (5)

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

Attachment: main.log added

comment:1 Changed 3 years ago by Dave-Allured (Dave Allured)

Description: modified (diff)

comment:2 Changed 3 years ago by Dave-Allured (Dave Allured)

Similar to: #58878

Last edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Duplicate of #49501. Looks like I did not try hard enough to find previous reports.

comment:4 Changed 3 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.