Date: Fri, 21 Apr 2017 18:53:58 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218798] [patch] Port textproc/fop can't build hyphenation Message-ID: <bug-218798-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218798 Bug ID: 218798 Summary: [patch] Port textproc/fop can't build hyphenation Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: mail_of_sergey@mail.ru CC: geoff@sea-incorporated.com Keywords: patch CC: geoff@sea-incorporated.com Flags: maintainer-feedback?(geoff@sea-incorporated.com) Created attachment 181983 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181983&action= =3Dedit "StackOverflowError" patch for makefile for port textproc/fop When I do 'make install' textproc/fop the 'compile-hyphenation' target is failed: compile-hyphenation: [mkdir] Created dir: /usr/ports/textproc/fop/work/fop-2.1/build/classes/hyph [java] Processing /usr/ports/textproc/fop/work/fop-2.1/hyph/af.xml [java] Exception in thread "main" java.lang.StackOverflowError [java] at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:244) (About 1000 times repeats this line) [java] at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:244) [java] Java Result: 1 [echo] Hyphenation failed Release: FreeBSD compaq 11.0-RELEASE FreeBSD 11.0-RELEASE #0 r306211: Thu S= ep 22 21:43:30 UTC 2016=20=20=20=20 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 Environment:=20 openjdk version "1.8.0_131" OpenJDK Runtime Environment (build 1.8.0_131-b11) OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode) Fix: The reason of "StackOverflowError" explain by plain English at "Installatio= n of FOP XML Hyphenation Patterns" (http://offo.sourceforge.net/source-installation.html): "If you get a StackOverflowError, you must increase the stack size by setti= ng the Ant variable hyph.stacksize to a higher value, e.g. 1024k." I add post-patch target into Makefile for clarity. Seek patch at Makefile faster and clear then a specitial patch file at "files" directory. --=20 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-218798-13>