Opened 11 years ago

Closed 8 years ago

#40904 closed defect (fixed)

tesseract @3.02.02: some language subports conflict

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: markemer (Mark Anderson)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: tesseract

Description

Some of the language subports appear to conflict with one another. For example, tesseract-eng conflicts with tesseract-ara:

Error: org.macports.activate for port tesseract-eng returned: Image error: /opt/local/share/tessdata/eng.cube.params is being used by the active tesseract-ara port.  Please deactivate this port first, or use 'port -f activate tesseract-eng' to force the activation.

tesseract-fra conflicts with tesseract-dan, tesseract-deu and tesseract-slk

We need to either mark the ports as conflicting with one another, or make them not conflict.

Change History (5)

comment:1 Changed 11 years ago by markemer (Mark Anderson)

Good catch. I'm not sure why in the hell they are conflicting. I'll take a look.

comment:2 Changed 10 years ago by markemer (Mark Anderson)

Ok, so it turns out some of the 3.02 language files have files that don't seem like they should be in there.

For example ara:

ara.cube.bigrams
ara.cube.fold
ara.cube.lm
ara.cube.nn
ara.cube.params
ara.cube.size
ara.cube.word-freq
ara.traineddata
eng.cube.params
fra.cube.params
hin.cube.params
ita.cube.params
rus.cube.params
spa.cube.params

When I do a diff on say eng.cube.params in ara and the one in eng, they are the same.

So the question I have is, how do I just have them install the files with the right prefix?

comment:3 Changed 8 years ago by markemer (Mark Anderson)

This should be solved by #51128 when we merge.

comment:4 Changed 8 years ago by markemer (Mark Anderson)

This was fixed by #51128. The 3.04 languages no longer conflict like the 3.02 ones do.

comment:5 Changed 8 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.