NetBSD Problem Report #51338
From www@NetBSD.org Wed Jul 13 14:06:23 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 8B1817A471
for <gnats-bugs@gnats.NetBSD.org>; Wed, 13 Jul 2016 14:06:23 +0000 (UTC)
Message-Id: <20160713140622.9F0777AAB8@mollari.NetBSD.org>
Date: Wed, 13 Jul 2016 14:06:22 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: TeX not usable on platforms not supported by JIT-LuaTeX
X-Send-Pr-Version: www-1.0
>Number: 51338
>Category: pkg
>Synopsis: TeX not usable on platforms not supported by JIT-LuaTeX
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 13 14:10:00 +0000 2016
>Closed-Date: Sun Jul 18 23:06:56 +0000 2021
>Last-Modified: Sun Jul 18 23:06:56 +0000 2021
>Originator: Joern Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
As far as I understood the discussions and patches during the recent weeks, all JIT features of LuaTeX have been disabled. Unfortunately, the configure script of print/luatex still fails fatally on Sparc (and probably other exotic platforms) with
configure: error: Sorry, can not preprocess <lj_arch.h>
which means that all depending TeX packages can't be build.
>How-To-Repeat:
>Fix:
Make the dependency on print/tex-luatex optional in (at least)
print/tex-latex/Makefile
print/texlive/package.mk
The correct fix upstream is probably to skip the JIT check if all JIT features have been disabled.
>Release-Note:
>Audit-Trail:
From: Mark Davies <mark@ecs.vuw.ac.nz>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/51338: TeX not usable on platforms not supported by
JIT-LuaTeX
Date: Thu, 14 Jul 2016 09:20:40 +1200
This is a multi-part message in MIME format.
--------------8E4F662E94B8668B0275BA0F
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
On 14/07/16 02:10, joern.clausen@uni-bielefeld.de wrote:
> As far as I understood the discussions and patches during the recent weeks, all JIT features of LuaTeX have been disabled. Unfortunately, the configure script of print/luatex still fails fatally on Sparc (and probably other exotic platforms) with
>
> configure: error: Sorry, can not preprocess <lj_arch.h>
>
> which means that all depending TeX packages can't be build.
Try this patch. Seems that --disable-mf isn't enough to stop building
mfluajit, which is what was pulling in the luajit build.
cheers
mark
--------------8E4F662E94B8668B0275BA0F
Content-Type: text/plain; charset=UTF-8;
name="diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="diff"
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/luatex/Makefile,v
retrieving revision 1.51
diff -u -r1.51 Makefile
--- Makefile 9 Jul 2016 06:38:51 -0000 1.51
+++ Makefile 13 Jul 2016 21:17:55 -0000
@@ -24,7 +24,7 @@
CONFIGURE_ARGS+= --disable-aleph --disable-etex --disable-pdftex \
--enable-luatex --disable-mf --disable-mf-nowin \
--with-x=no \
- --disable-luajittex \
+ --disable-luajittex --disable-mfluajit \
--disable-mp --disable-pmp --disable-upmp \
--disable-ptex --disable-eptex --disable-uptex --disable-euptex \
--disable-web-progs \
@@ -51,7 +51,7 @@
--with-gmp-libdir=${BUILDLINK_PREFIX.gmp}/lib
CONFIGURE_DIRS= libs/lua52
-CONFIGURE_DIRS+= libs/luajit
+#CONFIGURE_DIRS+= libs/luajit
CONFIGURE_DIRS+= texk/web2c
INSTALLATION_DIRS+= bin lib
--------------8E4F662E94B8668B0275BA0F--
From: =?ISO-8859-15?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: Mark Davies <mark@ecs.vuw.ac.nz>, pkg-manager@NetBSD.org,
gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/51338: TeX not usable on platforms not supported by JIT-LuaTeX
Date: Thu, 14 Jul 2016 08:57:11 +0200
Hi!
Did this one
> --with-x=no \
> - --disable-luajittex \
> + --disable-luajittex --disable-mfluajit \
> --disable-mp --disable-pmp --disable-upmp \
missed that one
> CONFIGURE_DIRS= libs/lua52
> -CONFIGURE_DIRS+= libs/luajit
> +#CONFIGURE_DIRS+= libs/luajit
> CONFIGURE_DIRS+= texk/web2c
With these two changes, the package finally builds without touching any
JIT stuff.
--
Jörn Clausen
Plattformen & Serverdienste
Hochschulrechenzentrum
Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen@uni-bielefeld.de
http://www.uni-bielefeld.de/hrz
From: "Mark Davies" <markd@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51338 CVS commit: pkgsrc/print/luatex
Date: Thu, 14 Jul 2016 08:41:36 +0000
Module Name: pkgsrc
Committed By: markd
Date: Thu Jul 14 08:41:35 UTC 2016
Modified Files:
pkgsrc/print/luatex: Makefile
Log Message:
Don't build luajit just for something we aren't installing anyway.
Fixes PR pkg/51338
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/print/luatex/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 01 Aug 2016 05:00:37 +0000
State-Changed-Why:
fixed, thanks
(right?)
From: =?UTF-8?Q?Clausen=2c_J=c3=b6rn?= <joern.clausen@uni-bielefeld.de>
To: <gnats-bugs@netbsd.org>
Cc:
Subject: Re: pkg/51338
Date: Fri, 28 Aug 2020 14:29:44 +0200
I just realized, that I never answered this in 2016. Sorry!
Either the proposed patch was never fully implemented, or someone
reverted it later. Makefile contains
CONFIGURE_ARGS+= --disable-luajittex
CONFIGURE_ARGS+= --disable-luajithbtex
but also
CONFIGURE_DIRS+= libs/luajit
Either the last line should be commented out (the package then builds
and installs fine), or someone should make an option for "jit on"/"jit off".
--
Jörn Clausen
https://www.uni-bielefeld.de/bits
State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 18 Jul 2021 23:06:37 +0000
State-Changed-Why:
submitter wrote in last year to ask this be reopened, because it broke
(and apparently nobody saw then)
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 18 Jul 2021 23:06:56 +0000
State-Changed-Why:
however, it's fixed by -r1.107
of print/luatex/Makefile
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.