unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Domagoj Stolfa <domagoj.stolfa@gmail.com>
Cc: 47830@debbugs.gnu.org
Subject: bug#47830: texlive-bin: perl utilities runtime failure
Date: Sun, 18 Apr 2021 22:29:32 -0400	[thread overview]
Message-ID: <87tuo3hur7.fsf@gmail.com> (raw)
In-Reply-To: <30b03ebc-3fd2-a99b-9ccd-f7c7b2d97d44@gmail.com> (Domagoj Stolfa's message of "Fri, 16 Apr 2021 21:49:42 +0100")

Hi!

Domagoj Stolfa <domagoj.stolfa@gmail.com> writes:

> Hello:
>
>
> I've been trying to use the texlive distribution from guix, but
> noticed a particular issue with a few of the texlive-bin utilities,
> namely latexindent and latex-git-log. There may be more that suffer
> this issue.
>
>
>
> Following the discussion on IRC -- when texlive-bin gets installed, it
> is split up from texlive-texmf. This results in the perl utilities 
> having the wrong @INC path, namely they end up with (using latexindent
> as an example):
>
>
> /gnu/store/jr9czrjx7slnda355xfmbv6hkkdpl5qi-texlive-bin-20190410/share/texmf-dist/scripts/latexindent 
>
>
> rather than the expected path containing their includes:
>
>
> /gnu/store/cqfhb3hfvyxacn200n0jxkf3wq8328yq-texlive-texmf-20190410/share/texmf-dist/scripts/latexindent 
>
>
> This results in a runtime error which looks a bit like "Can't locate
> LatexIndent/Document.pm in @INC (you may need to install the 
> LatexIndent::Document module)". A simple fix for this would be to
> migrate texlive-scripts from texlive-bin to texlive-texmf (in tex.scm) 
> or to perhaps merge texlive-bin and texlive-texmf. However, since I
> haven't done much with guix outside of just using it, I don't really 
> know what the best approach would be. Perhaps it would make sense to
> discuss what the best approach would be here?

Would you mind trying what you are doing on the core-updates branch?
There have been many texlive things fixed there, such as the tlmgr
utility in commit 9e78ea79f81d9eec0fab9cbe204899e384973649.  Also,
04a0b1e09abce99857e7930336421ca6d15ae630 introduced support for using
multiple TeX Live trees at once, which may or may not fix the issue at
hand.

Let me know if you need help with something.

Thank you!

Maxim




      reply	other threads:[~2021-04-19  2:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-16 20:49 bug#47830: texlive-bin: perl utilities runtime failure Domagoj Stolfa
2021-04-19  2:29 ` Maxim Cournoyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tuo3hur7.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=47830@debbugs.gnu.org \
    --cc=domagoj.stolfa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).