Hi Paul,

On Fri, Aug 11, 2017 at 02:38:06PM +0300, Paul Irofti wrote:
> Forgot to rerun update-patches and so the install target was missing.
> Correct archive attached.

Here are some comments:

---8<---
$ make port-lib-depends-check
k2pdfopt-2.42(converters/k2pdfopt):
Missing: djvulibre.26 from djvulibre-3.5.27p2 (/usr/local/bin/k2pdfopt)
Missing: jasper.2 from jasper-1.900.1p5 (/usr/local/bin/k2pdfopt)
Missing: lept.2 from leptonica-1.74 (/usr/local/bin/k2pdfopt)
Missing: mupdf.6 from mupdf-1.11p0 (/usr/local/bin/k2pdfopt)
Missing: openjpeg.5 from openjpeg-1.5.2 (/usr/local/bin/k2pdfopt)
Missing: tesseract.3 from tesseract-3.05.00p0 (/usr/local/bin/k2pdfopt)
WANTLIB += djvulibre jasper lept mupdf openjpeg tesseract
--->8---

Shame about the need to have the dependency sources available. According
to `port-lib-depends-check` the shared objects are used too.

If you try converting this paper:
https://arxiv.org/pdf/1602.00602

It will crash converting page 32.

---8<---
...
SOURCE PAGE 29 of 38 (6.8 x 10.0 in) ... 2 new pages saved.

SOURCE PAGE 30 of 38 (10.0 x 6.8 in) ... 2 new pages saved.

SOURCE PAGE 31 of 38 (6.8 x 10.0 in) ... 0 new pages saved.

SOURCE PAGE 32 of 38 (10.0 x 6.8 in) ... zsh: segmentation fault (core dumped)  
k2pdfopt warmup.pdf
--->8---

I tried to get a trace, but the usual `DEBUG=-g` trick seems to cause a
linker error.

---8<---
...
/usr/local/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/k2sys.c:120: warning: 
warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libglib-2.0.so.4200.5: warning: warning: stpcpy() is dangerous; 
do not use it
willuslib/libwilluslib.a(font.c.o): In function `fz_lock':
/usr/local/include/mupdf/fitz/context.h:596: undefined reference to 
`fz_lock_debug_lock'
willuslib/libwilluslib.a(font.c.o): In function `fz_unlock':
/usr/local/include/mupdf/fitz/context.h:603: undefined reference to 
`fz_lock_debug_unlock'
willuslib/libwilluslib.a(font.c.o): In function `fz_lock':
/usr/local/include/mupdf/fitz/context.h:596: undefined reference to 
`fz_lock_debug_lock'
willuslib/libwilluslib.a(font.c.o): In function `fz_unlock':
/usr/local/include/mupdf/fitz/context.h:603: undefined reference to 
`fz_lock_debug_unlock'
/usr/local/include/mupdf/fitz/context.h:603: undefined reference to 
`fz_lock_debug_unlock'
...
--->8---

Other than the, the ports looks alright. I tried reading a paper on my
Kindle. It's kinda readable, but I guess you can't expect perfection.

--
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to