Ticket #31732 (closed defect: fixed)
mecab-base: mecab is being used by the active mecab port
|Reported by:||ryandesign@…||Owned by:||hum@…|
Upgrading from mecab 0.98_0 to 0.98_1 is problematic:
$ port outdated mecab The following installed ports are outdated: mecab 0.98_0 < 0.98_1 $ sudo port -u upgrade mecab Password: ---> Computing dependencies for mecab-base ---> Fetching archive for mecab-base ---> Attempting to fetch mecab-base-0.98_0+universal.darwin_10.i386-x86_64.tbz2 from http://packages.macports.org/mecab-base ---> Fetching mecab-base ---> Verifying checksum(s) for mecab-base ---> Extracting mecab-base ---> Applying patches to mecab-base ---> Configuring mecab-base ---> Building mecab-base ---> Staging mecab-base into destroot ---> Installing mecab-base @0.98_0+universal ---> Activating mecab-base @0.98_0+universal Error: Target org.macports.activate returned: Image error: /opt/local/bin/mecab is being used by the active mecab port. Please deactivate this port first, or use 'port -f activate mecab-base' to force the activation. Log for mecab-base is at: /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_textproc_mecab-base/mecab-base/main.log Error: Problem while installing mecab-base To report a bug, see <http://guide.macports.org/#project.tickets> $
Looks like mecab now depends on mecab, and mecab-base now provides files that used to be provided by mecab. So the mecab-base port should use the "deactivate hack" to deactivate the installed mecab port before activating.