From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wA7qMsxr1WBTWAEAgWs5BA (envelope-from ) for ; Fri, 25 Jun 2021 07:38:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0MirLsxr1WCsfwAA1q6Kng (envelope-from ) for ; Fri, 25 Jun 2021 05:38:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ECB84209D3 for ; Fri, 25 Jun 2021 07:38:19 +0200 (CEST) Received: from localhost ([::1]:37034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lweXh-0002gW-PB for larch@yhetil.org; Fri, 25 Jun 2021 01:38:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lweWU-00014L-6T for bug-guix@gnu.org; Fri, 25 Jun 2021 01:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33057) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lweWT-0000BF-UP for bug-guix@gnu.org; Fri, 25 Jun 2021 01:37:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lweWT-0004Eg-Nw for bug-guix@gnu.org; Fri, 25 Jun 2021 01:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49218: texlive-latex-base fails to build: "missing engine: luajithbtex" Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 25 Jun 2021 05:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49218 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49218@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162459940016246 (code B ref -1); Fri, 25 Jun 2021 05:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jun 2021 05:36:40 +0000 Received: from localhost ([127.0.0.1]:44602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lweW7-0004Dx-UL for submit@debbugs.gnu.org; Fri, 25 Jun 2021 01:36:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:49880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lweW5-0004Dp-Io for submit@debbugs.gnu.org; Fri, 25 Jun 2021 01:36:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lweW5-0000iy-8V for bug-guix@gnu.org; Fri, 25 Jun 2021 01:36:37 -0400 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:33298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lweW1-0008Ft-Ls for bug-guix@gnu.org; Fri, 25 Jun 2021 01:36:37 -0400 Received: by mail-pg1-x52a.google.com with SMTP id e20so6696383pgg.0 for ; Thu, 24 Jun 2021 22:36:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:message-id:date:user-agent:mime-version; bh=4mxzey7BZTnvkrl/gOFSAaZqdRWaA5WkiujDlaDhGTY=; b=IdG3lnH54ovUBZZ/ze8ny7U1IV9558EkSqa32s6kzb4IOZwaEBLnhruaxPJ386/MXU /DnVUthyxT9S4WKyyinAQ7jwG2AbNbtoGC9jnCNPi6ZcbcfvE4R3iHMPzJZlA8adqwgV KN9VNzdZ6aVw955wcpkcllIrK+2Kgt8jW55VF4oyy4brZyNwV5y1YFTuwPABhTddCwQe 2LI1KtMFal2dFL/CyUFGi04G2m1BAgIpCiwG/tyo7z9fBKAatVWVb182IwSLrcJdAvLG dmEao/5sscA1YkVdSmPqw6YDCKnX9CZaODBeYWVVyzqyL1eR411vfXE3HiTMQQJLwYKA 4LtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version; bh=4mxzey7BZTnvkrl/gOFSAaZqdRWaA5WkiujDlaDhGTY=; b=FLTQsKGm0zUTn34YBHsSezkPRKC6ukGbdZQJAsO9VRPkWoXgcCdj8JM5zvvLXUsr4s kins+yAvs8uzivohTIgSk5uraw8dOqDoQqqdpsTujkPHSODqpcmeo4h1C1eozMCJwUMg jAiCRLWW+9YM5bAPWKf87HduwKGQUvF+/A+AgZx3OFMCi1/4Jh3lm97emqokNhvML3SK VbFEZBzGJeL6LVIsC2ELXoGXS/7NWQlkTtOk7b6RQmkp3Mw7gMHYa4empHvp/tW2Ujq/ 3ivnIW2CBJC2lvpC1t3S/CwJ0t5TtAdlc7LrBgJH9qJvajfXhkr4W1ieUC1Pdfq1LU94 1Avg== X-Gm-Message-State: AOAM5318ujoLJXc+7q14mcYLcpCkcCMteJsYwMoidle4vQbgPRQnZpyp J8i9CUh7FoRxrvE5SNOyyg0gWgcEvD8QLw== X-Google-Smtp-Source: ABdhPJzVnZCm/M+NVVphEhHtqrXorLErKmRDlVXabJ6U5RrXzhBmQby4Z2lVq5sVHdNgvozBCg3nUQ== X-Received: by 2002:a63:af07:: with SMTP id w7mr8143593pge.287.1624599391434; Thu, 24 Jun 2021 22:36:31 -0700 (PDT) Received: from garuda-lan ([2601:601:9d01:3f90::24aa]) by smtp.gmail.com with ESMTPSA id j15sm4504784pfh.194.2021.06.24.22.36.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 22:36:30 -0700 (PDT) From: Chris Marusich Message-ID: <87bl7u5yu1.fsf@gmail.com> Date: Thu, 24 Jun 2021 22:36:26 -0700 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::52a; envelope-from=cmmarusich@gmail.com; helo=mail-pg1-x52a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624599500; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=4mxzey7BZTnvkrl/gOFSAaZqdRWaA5WkiujDlaDhGTY=; b=cO4IIoJahGz1g7mz0SpX/KPEZCUbd1nF5/qtucKekKKB/qDUzcCXgaV7iLPe7NaYntqzpO 2SFScAyuEF6KJ9N5cF0DWkCb2N4uC807smIYhuoHVVZ1fWd9hNf7X8MTw4QpKXW2S9w/BH IWA9IdOt6r0MaeAARNdYc+xzk+FrOrrgfdT5RqMXdaa5ljn/yD21t8fDykp9MAmQjnaWyT BBj5hLcpuA5JX7RPyPtummlbCWEKHg/w5TCnMfphWrUXiIepYfaMVrJq+sAI1TzktdIQTV UhXyIlcB/ogkvdUABbAUnfc19sCAjVLzWLXkYSriaIH7VXNh5waiJBRPrsxcug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624599500; a=rsa-sha256; cv=none; b=fXoqFZ7RygYvGzyqeeJUXeGYNTTPhTBQsKZrOPMhbSb/WIp0Ko9E0iXP9fnn1BPXDVLW6m Etynid6+te+8z52T6aYBjC3zcPtsdKCsmrzkYVoM+9UoIHkgvjrs5JzMTO6jiD5648yOXX Rv/LhulQf5N1KPAXLQNUKz+qPljV+h1VCXPtFmCtkmxfN/Y/h6ADKiJ9X00GDthOI9lEKM o00C2aPUS/45Vm9SWvlAqLmnl8IBhk7pRKJnNf9zXTHh5fWPrYT93tpuhSzLPnFvxLfV8Y BLavVQkSonSPO+wDbHf9Dy0NSF9TpwZc+N3x/4zwGNSMr7Scxh/jLiYVPTyV6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=IdG3lnH5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=IdG3lnH5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: ECB84209D3 X-Spam-Score: -0.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: PDxra+RkcU1a --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, On powerpc64le-linux, using Guix commit 45dd2b4505095d24e253bd62d74474cad135cf3b (the current tip of core-updates), texlive-latex-base fails to build because the engine "luajithbtex" is missing: =2D-8<---------------cut here---------------start------------->8--- Transcript written on pdflatex-dev.log. fmtutil [INFO]: log file copied to: /tmp/guix-build-texlive-latex-base-5463= 2.drv-0/source/web2c/pdftex/pdflatex-dev.log fmtutil [INFO]: /tmp/guix-build-texlive-latex-base-54632.drv-0/source/web2c= /pdftex/pdflatex-dev.fmt installed. fmtutil [ERROR]: not building luajithbtex due to missing engine: luajithbtex fmtutil [INFO]: disabled formats: 40 fmtutil [INFO]: successfully rebuilt formats: 19 fmtutil [INFO]: failed to build: 1 (luajithbtex/luajithbtex) fmtutil [INFO]: total formats: 60 fmtutil [INFO]: exiting with status 1 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "fmtutil-sys" arguments: ("--all" "--fm= tdir=3Dweb2c" "--cnffile=3Dweb2c/fmtutil.cnf") exit-status: 1 term-signal: = #f stop-signal: #f> phase `build' failed after 55.3 seconds command "fmtutil-sys" "--all" "--fmtdir=3Dweb2c" "--cnffile=3Dweb2c/fmtutil= .cnf" failed with status 1 builder for `/gnu/store/n3j2vrlm1vb7hy8wf0afy7qv8yd4dcqb-texlive-latex-base= -54632.drv' failed with exit code 1 build of /gnu/store/n3j2vrlm1vb7hy8wf0afy7qv8yd4dcqb-texlive-latex-base-546= 32.drv failed =2D-8<---------------cut here---------------end--------------->8--- Previously, we have disabled luajittex because "LuaJIT is not ported to powerpc64le* yet": =2D-8<---------------cut here---------------start------------->8--- commit 1a0f4013d33535ed9b8518cfb3ac502f48132fd8 Author: Leo Le Bouter Date: Mon Feb 8 04:47:03 2021 +0100 gnu: texlive-latex-base: Fix compilation on powerpc64le*. =20=20=20=20 * gnu/packages/tex.scm (texlive-latex-base)[arguments]: LuaJIT is not p= orted to powerpc64le* yet. Update replacement 'build phase to add "luajittex" wi= thin the "disabled-formats" list on powerpc64le*. =20=20=20=20 Signed-off-by: Chris Marusich commit e9938dc8f0e081e4407a96502a04ea63f07e5a8c Author: Leo Le Bouter Date: Mon Feb 8 03:13:53 2021 +0100 gnu: texlive-bin: Fix compilation on powerpc64le*. =20=20=20=20 * gnu/packages/tex.scm (texlive-bin)[arguments]: Append "--disable-luaj= ittex" and "--disable-mfluajit" to keyword argument "#:configure-flags" on powerpc64le* because LuaJIT is not ported to powerpc64le* yet. Also set "#:tests?" to "#f" on powerpc64le*. =20=20=20=20 Signed-off-by: Chris Marusich =2D-8<---------------cut here---------------end--------------->8--- The attached patch fixes the issue. However, I'm curious about a few things, so I would welcome any input others might have: =2D Is it a problem to disable LuaJIT-related things? Based on what I've found on the Internet, I think it's fine to disable LuaJIT. It looks like luatex and luatexhb are preferred in most cases. It seems that luajittex and luajithbtex alternatives do essentially the same thing as their luatex and luahbtex counterparts, but they run Lua using LuaJIT (just-in-time compilation capability) instead of the regular Lua. In their "Short report on the state of LuaTEX, 2020", Luigi Scarso wrote that luajittex and luajithbtex "should also be considered a research tool in digital typesetting" [1]. So I don't think we lose much by disabling it, especially if it isn't supported on powerpc64le. =2D Will LuaJIT ever support the powerpc64le architecture? Until it does, I guess we can't use LuaJIT on powerpc64le at all, not just for TeX-related stuff. =2D Is it correct to add "mfluajit" to the disabled-formats list, like I do in my patch? It sounds like "mfluajit" is a related to "metafont", but I don't yet really understand what that means. Is it an engine like luajit? Is it correct to include mfluajit in the list of formats to disable in fmtutil.cnf when running fmtutil-sys? I am totally unfamiliar with these tools, so I have no idea. Perhaps it makes no sense to include mfluajit here, even if maybe it is benign to do so. If any TeX wizards out there can clarify this for me, I'd be happy to adjust the patch as needed. Footnotes: [1] https://www.tug.org/TUGboat/tb41-3/tb129scarso-luatex.pdf =2D-=20 Chris --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Disable-more-LuaJIT-components-on-powerpc64le-sy.patch Content-Transfer-Encoding: quoted-printable From=20afdcba86e90a784e3857a27dccb1110165bd2ecd Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Thu, 24 Jun 2021 21:39:39 -0700 Subject: [PATCH] gnu: Disable more LuaJIT components on powerpc64le systems. * gnu/packages/tex.scm (texlive-bin)[#:configure-flags]: Add "--disable-luajithbtex" on powerpc64le systems. (texlive-latex-base)[#:phases][build]: Add "mfluajit" to the disabled-forma= ts list on powerpc64le systems. =2D-- gnu/packages/tex.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 7a78563a75..0362067874 100644 =2D-- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -338,6 +338,7 @@ files from LOCATIONS with expected checksum HASH. CODE= is not currently in use. ,@(if (string-prefix? "powerpc64le" (or (%current-target-system) (%current-system))) '("--disable-luajittex" + "--disable-luajithbtex" "--disable-mfluajit") '())) =20 @@ -2688,10 +2689,11 @@ formats.") "platex-dev eptex" "uplatex-dev euptex" "csplain pdftex" "mf mf-nowin" "mex pdftex" "pdf= mex pdftex" "luacsplain luatex" "optex luatex" + ;; LuaJIT is not ported to powerpc64le* yet. ,@(if (string-prefix? "powerpc64le" (or (%current-target-syste= m) (%current-system))) =2D '("luajittex") '()) + '("luajittex" "luajithbtex" "mfluajit") '()) "cont-en xetex" "cont-en pdftex" "pdfcsplain xet= ex" "pdfcsplain pdftex" "pdfcsplain luatex" "cslatex= pdftex" "mptopdf pdftex" "uplatex euptex" "jadetex pdfte= x" =2D-=20 2.30.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmDVa1sVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadXWEP/i8Cmuj3YvWdmQZ/MtBn8td0WmlR jlPcqsAzoJC1++eSMM5LtrrVQoDn6pO8AA2uW6T2Yjd2cM+dZhrPREr6p582Ywdn TJPATocrVdUxu11guu1GLb+mw2slEhELHFUslRw1QhHA+IRQXy0RIfYjsU2HI96N DtYPqGxgRK3n6BJgwEQ6XmWHKDBZIFgU67wvJQzK/gFDo7IPJVIXXj36ZkPZUKRr bXqacArW1Nc/sTdG9aLlCz/JyOReAy4A+9ZSWiJbKgOSjrr6zThMC9QH+fyj+Rqg IyeMeneDyHVtmXvCEspcZO+CJ/wQVazi0kXnL825Sifv6S2xFLGdPWy2tjNqIQKs zpWCDirNggY4zeuYwMvHhzXKFV1fUfFalb1t47wgozOzGCDK1Bl+Efg86dSMGjxP MxvYz/pXAZ8KLxKOMX8aKtU30u747UrD6NvagXNlwhWxbHRu9jRQcpRxxKou6cbO zJlLCnWVvg6l20pO4R448LZcFztqEcRs5l2wTBhFA9vwte4OoL3FPbuCivvPJnI5 PdstNO4BG024WJ7uHPCSg+ZnapVZXeXX+9P70l6dx8eFfuGN0J6ZB5Kd+yjxeX/9 LGOGcC5fWhKPZ+mbP+Tm73wdiEJTJl93hczU8n4AgaM185mO2VjJ4Ar9G4qq8Wmt hKF7qDu6LTQMGjz/ =rHfE -----END PGP SIGNATURE----- --==-=-=--