emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50081: closed ([PATCH] gnu: texlive-texmf: Disable LuaJIT engines on


From: GNU bug Tracking System
Subject: bug#50081: closed ([PATCH] gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le)
Date: Sun, 22 Aug 2021 11:23:02 +0000

Your message dated Sun, 22 Aug 2021 14:19:48 +0300
with message-id <YSIy1M9fde4hMdoq@3900XT>
and subject line Re: [PATCH core-updates-frozen v3] gnu: texlive-texmf: Disable 
LuaJIT engines on powerpc64le
has caused the debbugs.gnu.org bug report #50081,
regarding [PATCH] gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
50081: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50081
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le Date: Mon, 16 Aug 2021 16:46:33 -0300
LuaJIT isn’t ported to powerpc64le. ‘texlive-latex-base’ already disables
them, so just do the same in texlive-texmf.

Fix suggested by Mathieu Othacehe <othacehe@gnu.org>.

* gnu/packages/tex.scm (texlive-texmf)[arguments]<#:phases>{texmf-config}:
Disable LuaJIT engines when building for powerpc64le.
---

Hello,

This fixes the build of ‘texlive-texmf’ on powerpc64le. It was failing
with these errors:

  fmtutil [ERROR]: not building luajittex due to missing engine: luajittex
  fmtutil [ERROR]: not building luajithbtex due to missing engine: luajithbtex

Thank you very much to Mathieu for his help in making  this work.

 gnu/packages/tex.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 70166941d554..3c0b87352a10 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6821,9 +6821,17 @@ directly generate PDF documents instead of DVI.")
                      (share (string-append out "/share"))
                      (texmfroot (string-append share "/texmf-dist/web2c"))
                      (texmfcnf (string-append texmfroot "/texmf.cnf"))
+                     (fmtutilcnf (string-append texmfroot "/fmtutil.cnf"))
                      (texlive-bin (assoc-ref inputs "texlive-bin"))
                      (texbin (string-append texlive-bin "/bin"))
                      (tlpkg (string-append texlive-bin "/share/tlpkg")))
+                ;; LuaJIT is not ported to powerpc64le* yet.
+                (if (string-prefix? "powerpc64le"
+                                    ,(or (%current-target-system)
+                                        (%current-system)))
+                    (substitute* fmtutilcnf
+                      (("^(luajittex|luajithbtex|mfluajit)" m)
+                       (string-append "#! " m))))
                 ;; Register SHARE as TEXMFROOT in texmf.cnf.
                 (substitute* texmfcnf
                   (("TEXMFROOT = \\$SELFAUTOPARENT")



--- End Message ---
--- Begin Message --- Subject: Re: [PATCH core-updates-frozen v3] gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le Date: Sun, 22 Aug 2021 14:19:48 +0300
I took out the unrelated patch to texlive-bin and pushed the part for
texlive-texmf.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]