Opened 4 years ago

Closed 3 years ago

#60582 closed defect (fixed)

tesseract-training @4.1.1: make: *** No rule to make target `training-install'. Stop.

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: markemer (Mark Anderson), jamesetaylor
Port: tesseract-training

Description

tesseract-training does not destroot:

make: *** No rule to make target `training-install'.  Stop.

Change History (2)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: markemer jamesetaylor added
Owner: changed from markemer to ryandesign
Status: assignedaccepted

The configure phase has this output:

checking pkg-config is at least version 0.9.0... yes
checking for libcurl... no
checking for lept >= 1.74... yes
checking for libarchive... no
checking for icu-uc >= 52.1... yes
checking for icu-i18n >= 52.1... yes
checking for pango >= 1.22.0... no
configure: WARNING: pango 1.22.0 or higher is required, but was not found.
configure: WARNING: Training tools WILL NOT be built.
configure: WARNING: Try to install libpango1.0-dev package.
checking for cairo... no
configure: WARNING: Training tools WILL NOT be built because of missing cairo library.
configure: WARNING: Try to install libcairo-dev?? package.

The missing dependencies on curl and libarchive should be added to the tesseract and tesseract-training ports because they appear to be linked with by files installed by both ports.

The missing dependencies on cairo, icu, and pango should be added to the tesseract-training subport. The lack of these dependencies leads the build phase to say:

Need to reconfigure project, so there are no errors

And the destroot phase to say:

make: *** No rule to make target `training-install'.  Stop.

Has duplicate #61061.

I'm working on the fix now.

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In df2cd37f9b60133c75f31c6fc147afcbfa7f03f4/macports-ports (master):

tesseract, tesseract-training: add missing deps

tesseract: Add missing dependencies on curl and libarchive which were
used opportunistically.

tesseract-training: Add missing dependencies on cairo, icu, and pango
without which the build fails.

Closes: #60582

Note: See TracTickets for help on using tickets.