Bug 18680

Summary: print.jadetex port doesn't compile
Product: Ports & Packages Reporter: Andrew Stevenson <andrew>
Component: Individual Port(s)Assignee: alex <alex>
Status: Closed FIXED    
Severity: Affects Only Me CC: kelly
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Andrew Stevenson 2000-05-19 19:50:00 UTC
The print/jadetex port fails to build. This is what I get:

<snip>

LaTeX Warning: You have requested, on input line 47, version
               `2000/03/01' of package hyperref,
			   but only version
			   `2000/01/22 v6.69c Hypertext links for LaTeX'
			   is available.

(/usr/local/share/texmf/tex/latex/base/inputenc.sty (dsssl.def)) (mlnames.sty)
(unicode.sty
WARNING: tipa package not loaded. some symbols will fail

<snip>

(/usr/local/share/texmf/tex/latex/wasysym/wasysym.sty)
(/usr/local/share/texmf/tex/latex/misc/stmaryrd.sty)
WARNING: Elsevier font setup not found
(dummyels.sty)
WARNING: mmasym package not loaded. some symbols will fail
) (ucharacters.sty) (uentities.sty
! TeX capacity exceeded, sorry [hash size=10000].
l.712 ...ndafter\def\csname EntHumpEqual\endcsname
                                                  {\ensuremath{\bumpeq }}% U...

No pages of output.
Transcript written on jadetex.log.
*** Error code 1

Stop in /usr/ports/print/jadetex/work.
*** Error code 1

Stop in /usr/ports/print/jadetex.
*** Error code 1

Stop in /usr/ports/print/jadetex.
*** Error code 1

Stop in /usr/ports/print/jadetex.

How-To-Repeat: 
cd /usr/ports/print/jadetex && make
Comment 1 Andrew Stevenson 2000-05-20 12:14:08 UTC
Well I got it to compile...I had to add:

hash_extra.jadetex=3D15000
po=
ol_size.jadetex=3D500000

pool_size.pdfjadetex=3D500000
hash_extra.pdfj=
adetex=3D50000

to /usr/local/share/texmf/web2c/texmf.cnf. I  got these=
 values from print/jadetex/work/doc/install.pdf. After the port compile=
d it tells me to add similar strings. I haven't tried but perhaps all t=
hat is needed is to print this message at the start or the port...

Tha=
nks,

Andrew
Comment 2 Mike Bristow 2000-05-25 11:39:27 UTC
Hi,

I think the following patch fixes the problem with jadetex compiling
`neatly': basically create a file with the necessary texmf.cnf
directives and set TEXMFCNF in MAKE_ENV so that tex and friends
find it before the installed one.

jadetex builds on: 3.4-STABLE-20000523, 4.0-STABLE-20000516, and
5.0-CURRENT-20000525 (all with ports resuped in the last 12 hours)
with this patch applied; it failed on those systems without it.

If the patch is munged by random mail systems, it can also be
obtained at http://www.urgle.com/~mike/jadetex.build.patch.

diff -u -r -N ports/print/jadetex.orig/Makefile ports/print/jadetex/Makefile
--- ports/print/jadetex.orig/Makefile	Thu May 25 10:10:15 2000
+++ ports/print/jadetex/Makefile	Thu May 25 10:21:31 2000
@@ -14,6 +14,7 @@
 
 BUILD_DEPENDS=		tex:${PORTSDIR}/print/teTeX
 RUN_DEPENDS=		tex:${PORTSDIR}/print/teTeX
+MAKE_ENV=		TEXMFCNF=${FILESDIR}:${PREFIX}/share/texmf/web2c
 
 USE_ZIP=		yes
 
diff -u -r -N ports/print/jadetex.orig/files/texmf.cnf ports/print/jadetex/files/texmf.cnf
--- ports/print/jadetex.orig/files/texmf.cnf	Thu Jan  1 01:00:00 1970
+++ ports/print/jadetex/files/texmf.cnf	Thu May 25 10:11:57 2000
@@ -0,0 +1,5 @@
+          hash_extra = 60000
+          pool_size = 1000000
+          max_strings = 70000
+          save_size = 10000
+

-- 
Mike Bristow, seebitwopie
Comment 3 alex freebsd_committer freebsd_triage 2000-06-08 22:56:33 UTC
Responsible Changed
From-To: freebsd-ports->alex

I'll take a look at this.
Comment 4 alex freebsd_committer freebsd_triage 2000-06-09 08:26:07 UTC
State Changed
From-To: open->closed

Committed, Thanks!