Opened 12 years ago
Closed 12 years ago
#36992 closed defect (fixed)
kde4-runtime depends on nepomuk-core but conflicts with it
Reported by: | amadeus24 | Owned by: | NicosPavlov |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | sharky@… | |
Port: | nepomuk-core, kde4-runtime |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Just updated the outdated packages and get en error building the dependency nepomuk-core for kde4-runtime. Last lines of main.log:
"registry_activate $subport $version $revision $portvariants [array get user_options]" (procedure "portactivate::activate_main" line 4) invoked from within "$procedure $targetname" :error:activate Failed to install nepomuk-core :debug:activate Image error: /Applications/MacPorts/KDE4/nepomukbackup.app/Contents/Info.plist is being used by the active kde4-runtime port. Please deactivate this port first, or use 'port -f activate nepomuk-core' to force the activation. invoked from within "throw registry::image-error "Image error: $file is being used by the active [$owner name] port. Please deactivate this port first, or use 'port -f ac..." ("foreach" body line 45) invoked from within "foreach file $imagefiles { set srcfile "${extracted_dir}${file}" # To be able to install links, we test if we can lst..." invoked from within "registry::write { foreach file $imagefiles { set srcfile "${extracted_dir}${file}" # To be able to instal..." invoked from within "try { registry::write { foreach file $imagefiles { set srcfile "${extracted_dir}${file}" # To be ..." (procedure "_activate_contents" line 21) invoked from within "_activate_contents $requested" (procedure "portimage::activate" line 57) :notice:activate Please see the log file for port nepomuk-core for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_nepomuk-core/nepomuk-core/main.log
Change History (5)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | sharky@… added |
---|---|
Description: | modified (diff) |
Keywords: | kde4-runtime dependency nepomuk-core removed |
Owner: | changed from macports-tickets@… to nicos@… |
Port: | kde4-runtime added |
Summary: | kde4-runtime dependency nepomuk-core → kde4-runtime depends on nepomuk-core but conflicts with it |
comment:3 Changed 12 years ago by NicosPavlov
Added a "deactivate hack" in r99723 which should solve the issue during upgrade.
comment:4 Changed 12 years ago by jmroot (Joshua Root)
That changeset is incorrect; you're passing [list ports_nodepcheck 1]
as the third argument to registry_deactivate, but that is meant to be the revision. source:tags/release_2_1_2/base/src/registry2.0/portimage.tcl#L137
It looks like you want registry_deactivate_composite instead (the second argument is a composite version spec so the third is then the options).
comment:5 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Is it the case that the nepomukbackup.app program used to be provided by the kde4-runtime port but is now provided by the nepomuk-core port? If so, then the nepomuk-core port needs to employ the "deactivate hack" to deactivate the old version of kde4-runtime before activation.