Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jul 2015 19:50:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201380] graphics/tesseract-data: specifying TESSERACT_LANGS in make.conf breaks port
Message-ID:  <bug-201380-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201380

            Bug ID: 201380
           Summary: graphics/tesseract-data: specifying TESSERACT_LANGS in
                    make.conf breaks port
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bf@FreeBSD.org
          Reporter: dennis.noordsij@helsinki.fi
          Assignee: bf@FreeBSD.org
             Flags: maintainer-feedback?(bf@FreeBSD.org)

graphics/tesseract-data allows specifying for which languages the trainingdata
should be built/included, via the environment variable TESSERACT_LANGS

Works (bash):
============
# cd /usr/ports/graphics/tesseract-data
# TESSERACT_LANGS="eng osd" make checksum
===>  License APACHE20 accepted by the user
===>   tesseract-data-3.02_2 depends on file: /usr/local/sbin/pkg - found

The choice of language data to be installed may
be overridden by defining TESSERACT_LANGS. 

===> Fetching all distfiles required by tesseract-data-3.02_2 for building
=> SHA256 Checksum OK for tesseract/tesseract-ocr-3.01.osd.tar.gz.
=> SHA256 Checksum OK for tesseract/tesseract-ocr-3.02.eng.tar.gz.



However, if one adds this variable to make.conf instead:
============

# cat /etc/make.conf 
TESSERACT_LANGS="eng osd"

# make checksum
===>  License APACHE20 accepted by the user
===>   tesseract-data-3.02_2 depends on file: /usr/local/sbin/pkg - found

The choice of language data to be installed may
be overridden by defining TESSERACT_LANGS. 

===> Fetching all distfiles required by tesseract-data-3.02_2 for building
=> No SHA256 checksum recorded for tesseract/.
=> No suitable checksum found for tesseract/.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/tesseract-data


The main problem is that you need to set this in the relevant poudriere
make.conf file in order to have the port built with the needed languages only,
and this currently does not work.

My most recent Poudriere-built package of tesseract-data (using the make.conf
configuration) is dated december 5th 2014, so at least back then it worked.
(That is already version 3.02_2, poudriere never needed to update it, until I
needed a different language (eng/osd moved out of graphics/tesseract) and asked
it to rebuild).

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201380-13>