Opened 12 years ago

Closed 12 years ago

#33594 closed defect (fixed)

kdelibs4: conflicts with kde4-runtime on nepomuk/resourcewatcher.h

Reported by: drkp (Dan Ports) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: sharky@…, michaeld@…, mkae (Marko Käning)
Port: kdelibs4 kde4-runtime

Description

port upgrade outdated failed for me when trying to activate kdelibs4:

Error: Target org.macports.activate returned: Image error: /opt/local/include/nepomuk/resourcewatcher.h is being used by the active kde4-runtime port.  Please deactivate this port first, or use 'port -f activate kdelibs4' to force the activation.
Error: Failed to install kdelibs4

Maybe another registry_deactivate hack is needed?

Change History (5)

comment:1 Changed 12 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

Ugh, thanks for catching that. Was this the only file that conflicted? If so, I'll try mimicking your deactivate hook to make sure this problem is avoided.

The file is in two packages in this release of KDE (serious KDE people), so I removed it from one of them already.

comment:2 Changed 12 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

If this isn't enough (r90664) please reopen the ticket :-)

kde4-runtime @4.8.1 deletes the colliding file and let's kdelibs4 keep it with all the other nepomuk headers. This ensures the old version of kde4-runtime, which may have had the file, is deactivated before attempting to build kdelibs4.

comment:3 Changed 12 years ago by drkp (Dan Ports)

Resolution: fixed
Status: closedreopened

That didn't quite work -- looks like you need to remove the

[file exists ${prefix}/share/locale/en_US/entry.desktop]

condition.

comment:4 Changed 12 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:5 Changed 12 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: reopenedclosed

Conditional removed in r90676—works now.

Note: See TracTickets for help on using tickets.