kba/hocr-spec

Couldn't find include file '1.2/include/defs/ocr_page'

Closed this issue · 2 comments

jwilk commented

I have bikeshed installed locally (from today's git, 9c7b3c1bf4af).
I tried building the spec, but that failed:

$ make
Rebuilding spec...
LINE 305: Couldn't find include file '1.2/include/defs/ocr_page'. Error was:
[Errno 2] No such file or directory: '/home/jwilk/hocr-spec/1.2/1.2/include/defs/ocr_page'
LINE 311: Couldn't find include file '1.2/include/defs/ocr_column'. Error was:
[Errno 2] No such file or directory: '/home/jwilk/hocr-spec/1.2/1.2/include/defs/ocr_column'
LINE 321: Couldn't find include file '1.2/include/defs/ocr_carea'. Error was:
[Errno 2] No such file or directory: '/home/jwilk/hocr-spec/1.2/1.2/include/defs/ocr_carea'
LINE 347: Couldn't find include file '1.2/include/defs/ocr_line'. Error was:
[Errno 2] No such file or directory: '/home/jwilk/hocr-spec/1.2/1.2/include/defs/ocr_line'

… and so on.

Note that there are duplicate 1.2 components in the paths.

kba commented

Confirmed, this broke at some point in the last year, it builds fine with the docker bikeshed version:

make BIKESHED=docker
LINK ERROR: No 'propdesc' refs found for 'x_cost'.
<a class="property" data-link-type="propdesc" data-lt="x_cost">x_cost</a>
 ✔  Successfully generated, with 1 linking errors

but with the HEAD of bikeshed from git I get the same error.

kba commented

Something changed about path resolution, I've updated the include paths to work with the current bikeshed version and rebuilt the site.

Thanks for reporting, feel free to reopen if problem persists.