[MacPorts] #31732: mecab-base: mecab is being used by the active mecab port
MacPorts
noreply at macports.org
Sun Oct 23 04:30:38 PDT 2011
#31732: mecab-base: mecab is being used by the active mecab port
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: hum@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: mecab, mecab-base
-------------------------------------+--------------------------------------
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
"[comment:ticket:28865:3 deactivate hack]" to deactivate the installed
mecab port before activating.
--
Ticket URL: <https://trac.macports.org/ticket/31732>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list