Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#45541 closed defect (invalid)

dbus @1.8.8_0+universal build failure

Reported by: adamb2903 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc:
Port: dbus

Description

Well, this is my fourth ticket for the day, to add to the ones for openjade and gimp-app, among others. I have removed all of my existing ports, including deleting my /opt directory entirely to be sure, so please don't accuse me of not migrating properly. The log file is attached.

Attachments (1)

main.log (8.0 KB) - added by adamb2903 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by adamb2903

Attachment: main.log added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Port: dbus added
Resolution: invalid
Status: newclosed

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers dbus).

The error and solution is in the log you attached.

Error:

:error:activate org.macports.activate for port dbus returned: Image error: /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and does not belong to a registered port.  Unable to activate port dbus. Use 'port -f activate dbus' to force the activation.
:debug:activate Error code: registry::image-error
:debug:activate Backtrace: Image error: /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and does not belong to a registered port.  Unable to activate port dbus. Use 'port -f activate dbus' to force the activation.

Solution:

port -f activate dbus

comment:2 in reply to:  1 ; Changed 9 years ago by larryv (Lawrence Velázquez)

That is to say, the dbus port is trying to install a file /Library/LaunchAgents/org.freedesktop.dbus-session.plist that already exists. I suspect you didn’t use port uninstall to remove your ports before deleting /opt/local. In any case, you could either remove that file manually and re-run port activate dbus, or you could use port -f activate dbus to let MacPorts overwrite the file itself.

comment:3 in reply to:  2 ; Changed 9 years ago by adamb2903

Replying to larryv@…:

That is to say, the dbus port is trying to install a file /Library/LaunchAgents/org.freedesktop.dbus-session.plist that already exists. I suspect you didn’t use port uninstall to remove your ports before deleting /opt/local. In any case, you could either remove that file manually and re-run port activate dbus, or you could use port -f activate dbus to let MacPorts overwrite the file itself.

Actually, I did use port uninstall. It then proceded to hang, spending over an hour stuck on one port. At *that* point I trashed the lot and started again. Don't assume that people have not tried to do the right thing before they contacted you. Sometimes the port tools are much less than brilliant. This has been one of those occasions.

comment:4 in reply to:  3 Changed 9 years ago by larryv (Lawrence Velázquez)

Replying to adam.bartley@…:

Actually, I did use port uninstall. It then proceded to hang, spending over an hour stuck on one port. At *that* point I trashed the lot and started again.

Can’t say I have any idea what that would happen. It’s not something I’ve seen before.

Don't assume that people have not tried to do the right thing before they contacted you.

Sorry, but nine times out of ten, they haven’t.

Note: See TracTickets for help on using tickets.