Opened 13 years ago

Closed 10 years ago

#34349 closed defect (fixed)

dbus 1.4.20_0 +startupitem activation error

Reported by: blair (Blair Zajac) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), pixilla (Bradley Giesbrecht), Angelo.Graziosi@…
Port: dbus

Description

I use the +startupitem variant and got this error with the latest version:

x ./opt/local/bin/dbus-cleanup-sockets
x ./opt/local/bin/dbus-daemon
x ./opt/local/bin/dbus-launch
x ./opt/local/bin/dbus-monitor
x ./opt/local/bin/dbus-send
x ./opt/local/bin/dbus-uuidgen
Error: Target org.macports.activate returned: could not set owner for file "/Library/LaunchAgents/org.freedesktop.dbus-session.plist": no such file or directory
Warning: the following items did not execute (for dbus): org.macports.activate
Log for dbus is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/main.log
Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Resolution: duplicate
Status: newclosed

Duplicate #34343

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… pixilla@… Angelo.Graziosi@… added
Resolution: duplicate
Status: closedreopened

This is not a duplicate; this is a new problem.

Angelo Graziosi sent the following transcript by private email:

$ sudo port selfupdate
$ sudo port outdated
The following installed ports are outdated:
dbus                           1.4.18_0 < 1.4.20_0

$ sudo port upgrade dbus
--->  Computing dependencies for dbus
--->  Fetching archive for dbus
--->  Attempting to fetch dbus-1.4.20_0+startupitem.darwin_11.x86_64.tbz2 from http://packages.macports.org/dbus
--->  Attempting to fetch dbus-1.4.20_0+startupitem.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/dbus
--->  Installing dbus @1.4.20_0+startupitem
--->  Cleaning dbus
--->  Computing dependencies for dbus
--->  Deactivating dbus @1.4.18_0
--->  Cleaning dbus
--->  Activating dbus @1.4.20_0+startupitem

############################################################################
# Startup items have been generated that will aid in
# starting dbus with launchd. They are disabled
# by default. Execute the following command to start them,
# and to cause them to launch at startup:
#
# sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
# launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
############################################################################

Error: Target org.macports.activate returned: could not set owner for file "/Library/LaunchAgents/org.freedesktop.dbus-session.plist": no such file or directory

This suggests that the problem exists only when users get a pre-compiled binary, not when building from source (which I verified works fine).

comment:3 in reply to:  2 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Replying to ryandesign@…:

This suggests that the problem exists only when users get a pre-compiled binary, not when building from source (which I verified works fine).

I have a commit with a revbump in the works. I am in the middle of building and testing variant combinations.

comment:4 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Apologies for not acknowledging this earlier.
Is it still an issue?

comment:5 Changed 10 years ago by blair (Blair Zajac)

Resolution: fixed
Status: reopenedclosed

No, and the +startupitem variant looks like its part of the default now which means it's always installed, so I'll close the ticket.

Note: See TracTickets for help on using tickets.