Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] TeX not finding `tlmgr` installed packages
@ 2022-09-29  5:05 danjenson
  2022-09-29  7:15 ` `texlive-bin` " classabbyamp
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: danjenson @ 2022-09-29  5:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3488 bytes --]

New issue by danjenson on void-packages repository

https://github.com/void-linux/void-packages/issues/39522

Description:
### Is this a new report?

Yes

### System Info

Void 5.18.19_1 x86_64 GenuineIntel notuptodate rFFFF

### Package(s) Affected

texlive-bin-2022_2

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

Not that I'm aware of.

### Expected behaviour

Installing a package with `/opt/texlive/2022/bin/x86_64-linux/tlmgr` will allow pdflatex, latexmk, etc to use that package in compilation.

### Actual behaviour

It fails to find all `tlmgr` installed packages.

### Steps to reproduce

1. `sudo /opt/texlive/2022/bin/x86_64-linux/tlmgr install physics`, then check by running again to get:
```
tlmgr: package repository https://mirror.las.iastate.edu/tex-archive/systems/texlive/tlnet (verified)
tlmgr install: package already present: physics
```
Another check:
`fd physics /opt/texlive`:
```
/opt/texlive/2022/texmf-dist/doc/latex/physics/
/opt/texlive/2022/texmf-dist/doc/latex/physics/physics.pdf
/opt/texlive/2022/texmf-dist/doc/latex/physics/physics.tex
/opt/texlive/2022/texmf-dist/tex/latex/physics/
/opt/texlive/2022/texmf-dist/tex/latex/physics/physics.sty
/opt/texlive/2022/tlpkg/tlpobj/physics.tlpobj
```
2. Create file below.
```tex
\documentclass[12pt]{article}
\usepackage{physics}
\begin{document}
Test
\end{document}
```

3. `pdflatex t.tex`
```
Rc files read:
  /home/danj/.latexmkrc
Latexmk: This is Latexmk, John Collins, 17 Mar. 2022. Version 4.77, version: 4.77.
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': File changes, etc:
   Changed files, or newly in use since previous run(s):
  /data/repos/stats-270/t.tex
Rule 'pdflatex': The following rules & subrules became out-of-date:
  pdflatex
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex -synctex=1 -interaction=nonstopmode -shell-escape  -recorder -output-directory="build"  "/data/repos/stats-270/t.tex"'
------------
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/VoidLinux) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
(/data/repos/stats-270/t.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18>
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size12.clo))

**! LaTeX Error: File `physics.sty' not found.**

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.3 \begin
          {document}^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on build/t.log.
Latexmk: Getting log file 'build/t.log'
Latexmk: Examining 'build/t.fls'
Latexmk: Examining 'build/t.log'
Latexmk: Missing input file 'physics.sty' (or dependence on it) from following:
  '! LaTeX Error: File `physics.sty' not found.'
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'build/t.log' for details
Latexmk: If appropriate, the -f option can be used to get latexmk
  to try to force complete processing.
```

`kpsewhich -var-value=TEXMFDIST` also returns `/opt/texlive/2022/texmf-dist`, so it's unclear why tex cannot find `physics.sty`.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-09-29 15:31 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-29  5:05 [ISSUE] TeX not finding `tlmgr` installed packages danjenson
2022-09-29  7:15 ` `texlive-bin` " classabbyamp
2022-09-29 14:10 ` danjenson
2022-09-29 14:16 ` classabbyamp
2022-09-29 14:17 ` danjenson
2022-09-29 14:19 ` danjenson
2022-09-29 14:30 ` classabbyamp
2022-09-29 14:33 ` danjenson
2022-09-29 14:35 ` danjenson
2022-09-29 14:36 ` classabbyamp
2022-09-29 14:41 ` danjenson
2022-09-29 14:42 ` classabbyamp
2022-09-29 14:42 ` classabbyamp
2022-09-29 15:07 ` classabbyamp
2022-09-29 15:31 ` [ISSUE] [CLOSED] " danjenson
2022-09-29 15:31 ` danjenson

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 NNTP newsgroup(s).