Opened 2 years ago
Closed 2 years ago
#68605 closed defect (fixed)
opencc @1.1.7 conflicts with marisa-trie @0.2.4
| Reported by: | cooljeanius (Eric Gallager) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.8.1 |
| Keywords: | Cc: | ||
| Port: | opencc marisa-trie |
Description (last modified by cooljeanius (Eric Gallager))
They both try to install a libmarisa.a static library:
Error: Failed to activate opencc: Image error: /opt/local/lib/libmarisa.a is being used by the active marisa-trie port. Please deactivate this port first, or use 'port -f activate opencc' to force the activation.
while executing
"throw registry::image-error $msg"
("foreach" body line 47)
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..."
DEBUG: Error code: registry::image-error
DEBUG: Backtrace: Image error: /opt/local/lib/libmarisa.a is being used by the active marisa-trie port. Please deactivate this port first, or use 'port -f activate opencc' to force the activation.
while executing
"throw registry::image-error $msg"
("foreach" body line 47)
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..."
while executing
"throw [dict get $eOptions -errorcode] [dict get $eOptions -errorinfo]"
(procedure "_activate_contents" line 200)
invoked from within
"_activate_contents $requested $rename_list"
(procedure "portimage::activate" line 70)
invoked from within
"registry_activate $subport $_inregistry_version $_inregistry_revision $_inregistry_variants $optionlist"
(procedure "portactivate::activate_main" line 20)
invoked from within
"$procedure $targetname"
This conflict should either be marked, or fixed.
(I'm on x86_64 Big Sur with Xcode 13)
(also I ran into this while trying to upgrade squirrel-ime, which depends on opencc via its dependency on librime-devel)
Attachments (1)
Change History (6)
Changed 2 years ago by cooljeanius (Eric Gallager)
| Attachment: | opencc-main.log added |
|---|
comment:1 Changed 2 years ago by cooljeanius (Eric Gallager)
| Description: | modified (diff) |
|---|
comment:2 Changed 2 years ago by cooljeanius (Eric Gallager)
| Description: | modified (diff) |
|---|
comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | ryandesign removed |
|---|---|
| Owner: | set to ryandesign |
| Status: | new → accepted |
Thanks. I didn't realize opencc was using bundled versions of marisa-trie and other dependencies. I'll try to sort it out. I am working on updating the marisa-trie port first.
comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
comment:5 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.

main.log for opencc