Opened 14 years ago

Closed 14 years ago

#25840 closed defect (worksforme)

debus build error

Reported by: ling.junyi@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: dbus

Description (last modified by jmroot (Joshua Root))

Hi,

I am getting the following errors whe port installing dbus. This failed on multiple attempts. Any ideas on how to get around this problem?

thanks in advance,

jling

[dhcp-60-229:opt/local/Library] jling% sudo port install librsvg
--->  Computing dependencies for librsvg
--->  Dependencies to be installed: libgsf gconf dbus-glib dbus orbit2 libidl policykit gnome-vfs desktop-file-utils popt gnome-mime-data libbonobo
--->  Activating dbus @1.2.24_1
Error: Target org.macports.activate 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.
Log for dbus is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/main.log
Error: The following dependencies failed to build: libgsf gconf dbus-glib dbus orbit2 libidl policykit gnome-vfs desktop-file-utils popt gnome-mime-data libbonobo
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (5)

comment:1 Changed 14 years ago by ling.junyi@…

Cc: ling.junyi@… added

Cc Me!

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

Cc: ling.junyi@… removed
Description: modified (diff)
Keywords: dbus removed
Owner: changed from macports-tickets@… to mcalhoun@…

Please remember to preview and use WikiFormatting, and to cc the maintainer; and note that you do not need to be in cc when you are the reporter. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members.

The error message is pretty clear that a file that the port wants to install already exists.

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

Priority: HighNormal

comment:4 Changed 14 years ago by ling.junyi@…

But the path does not exist. See pasted terminal output.

thanks, jling

[hugin-and-munin:~/Documents/src/tests] jling% sudo port clean dbus
--->  Cleaning dbus
[hugin-and-munin:~/Documents/src/tests] jling% ls -al /opt/local/Library/LaunchAgents/org.freedesktop.dbus-session.plist
ls: /opt/local/Library/LaunchAgents/org.freedesktop.dbus-session.plist: No such file or directory
[hugin-and-munin:~/Documents/src/tests] jling% sudo port install dbus
--->  Computing dependencies for dbus
--->  Activating dbus @1.2.24_1
Error: Target org.macports.activate returned: could not create new link "/opt/local/Library/LaunchAgents/org.freedesktop.dbus-session.plist": that path already exists
Log for dbus is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
[hugin-and-munin:~/Documents/src/tests] jling% ls -al /opt/local/Library/LaunchAgents/org.freedesktop.dbus-session.plist
ls: /opt/local/Library/LaunchAgents/org.freedesktop.dbus-session.plist: No such file or directory

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

It's complaining about a file in /Library/LaunchAgents, not /opt/local/Library/LaunchAgents.

Note: See TracTickets for help on using tickets.