Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2014 19:14:21 GMT
From:      Paul Brooks <paul.at.ngc@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185453: print/tex-luatex compilation fails on sparc64
Message-ID:  <201401031914.s03JELjR053129@oldred.freebsd.org>
Resent-Message-ID: <201401031920.s03JK01s093359@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185453
>Category:       ports
>Synopsis:       print/tex-luatex compilation fails on sparc64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 03 19:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Paul Brooks
>Release:        FreeBSD 9.2-STABLE
>Organization:
>Environment:
FreeBSD elon 9.2-STABLE FreeBSD 9.2-STABLE #0 r256546: Tue Oct 22 16:26:14 PDT 2013     root@elon:/usr/obj/usr/src/sys/ELON  sparc64
>Description:
On FreeBSD sparc64, the port print/tex-luatex fails to compile, with errors originating in luatexdir/lua51/lcoco.c
>How-To-Repeat:
Attempt to compile the current print/tex-luatex on FreeBSD sparc64
>Fix:
A work around that allows the port to compile, albeit with slightly slower execution:

--- /usr/ports/print/tex-luatex/Makefile        2013-09-04 00:55:49.000000000 -0700
+++ Makefile    2013-09-11 21:33:45.347352461 -0700
@@ -97,4 +97,11 @@
        ${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXMF}-texmf${EXTRACT_SUFX} \
                ${EXTRACT_AFTER_ARGS_TEXMF}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+CFLAGS+=       -DCOCO_DISABLE
+.endif
+
+.include <bsd.port.post.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



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