Opened 3 years ago

Last modified 3 years ago

#63423 assigned defect

dbus @1.12.20_0: dscl eDSRecordAlreadyExists error on install

Reported by: mbluemer (Mark Bluemer) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: dbus

Description

Was trying to install dbus and I ran into the dscl error eDSRecordAlreadyExists:

❯ sudo port install dbus                                                                                                                                                                                                                             16:47:18
Password:
--->  Computing dependencies for dbus
--->  Installing dbus @1.12.20_0
<main> attribute status: eDSRecordAlreadyExists
<dscl_cmd> DS Error: -14135 (eDSRecordAlreadyExists)
Error: dscl(64002) terminated with an exit status of 55
Error: Failed to install dbus: dscl failed to create required user _messagebus.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_dbus/dbus/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port dbus failed

Running dscl . -read /Users/_messagebus returns eDSRecordNotFound so the user record definitely wasn't created. This was also happening to me with the port postgresql10-server and the _postgres user.

I've attached the main.log file for review.

Attachments (1)

main.log (18.3 KB) - added by mbluemer (Mark Bluemer) 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by mbluemer (Mark Bluemer)

Attachment: main.log added

comment:1 Changed 3 years ago by mbluemer (Mark Bluemer)

Version: 2.7.1

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

Owner: set to MarcusCalhoun-Lopez
Port: dbus added
Status: newassigned

That is quite strange. What is printed if you run this?

echo "package require Pextlib; puts [existsuser _messagebus]" | port-tclsh

comment:3 Changed 3 years ago by mbluemer (Mark Bluemer)

Running the command gives me:

❯ echo "package require Pextlib; puts [existsuser _messagebus]" | port-tclsh                                          20:10:28
-1
Last edited 3 years ago by mbluemer (Mark Bluemer) (previous) (diff)
Note: See TracTickets for help on using tickets.