Subject: [bug#50081] [PATCH] gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le

From: Thiago Jung Bauermann <[email-masked]>
Date: Tue, 17 Aug 2021 23:53:06 -0300

Hello Maxime,

Thanks for your review!

Em terça-feira, 17 de agosto de 2021, às 19:51:15 -03, Maxime Devos 
escreveu:
> Thiago Jung Bauermann via Guix-patches via schreef op ma 16-08-2021 om 
16:46 [-0300]:
> > 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.
> 
> Does that mean LuaJIT _is_ ported to powerpc64be (big endian)?

No, LuaJIT is ported only to 32-bit PowerPC.

> > +                (if (string-prefix? "powerpc64le"
> > +                                    ,(or (%current-target-system)
> > +                                        (%current-system)))
> 
> If not, then this should be (string-prefix? "powerpc64" ...).

Ok, I will send a v2 with this change.

> Admittedly, Guix doesn't support powerpc64be ...

AFAIK powerpc64be is considered legacy nowadays.

-- 
Thanks,
Thiago