| Summary: | updmap fails to find TeXLive::TLUtils perl module | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Pascal Terjan <pterjan> |
| Component: | RPM Packages | Assignee: | Malo Deniélou <pmdenielou> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | jamagallon, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | texlive-texmf | CVE: | |
| Status comment: | |||
|
Description
Pascal Terjan
2013-12-16 01:09:25 CET
The path is coming from: $ kpsewhich -var-value=TEXMFMAIN //texmf-dist The last update to the spec does:
perl -pi -e 's|-var-value=TEXMFROOT|-var-value=TEXMFMAIN|g;' \
- %{buildroot}%{texmfdir}/scripts/tetex/updmap.pl
+ %{buildroot}%{texmfdistdir}/scripts/texlive/updmap.pl
This seems to make things worse as updmap then appends /tlpkg to the result
[pterjan@chopin texlive-texmf]$ kpsewhich -var-value=TEXMFROOT
/
[pterjan@chopin texlive-texmf]$ kpsewhich -var-value=TEXMFMAIN
//texmf-dist
With TEXMFROOT we will end up with //tlpkg, with TEXMFMAIN it will give //tlpkg/tlpkg which is even worse.
Sorry for the wrong phrasing, the latest update only fixes the path, it was already done previously :)
Thierry Vignaud
2013-12-16 01:25:48 CET
CC:
(none) =>
thierry.vignaud Sorry, forgot to commit a patch from Fedora. Can you test texlive-20130530-2? Status:
NEW =>
ASSIGNED It still fails with latest package. Don't know how the patch looks, but this worked for me: --- texmf.cnf.orig 2013-12-16 10:08:21.056939675 +0100 +++ texmf.cnf 2013-12-16 10:09:08.386941309 +0100 @@ -51,7 +51,7 @@ % Redistributors will probably want $SELFAUTODIR/share, i.e., /usr/share. % Kpathsea sets SELFAUTOLOC (the directory with the binary), % SELFAUTODIR (its parent), and SELFAUTOPARENT (its grandparent). -TEXMFROOT = $SELFAUTOPARENT +TEXMFROOT = $SELFAUTODIR/share % The main tree of distributed packages and programs: TEXMFDIST = $TEXMFROOT/texmf-dist @@ -61,7 +61,7 @@ TEXMFMAIN = $TEXMFDIST % Local additions to the distribution trees. -TEXMFLOCAL = $TEXMFROOT/../texmf-local +TEXMFLOCAL = $TEXMFROOT/texmf-local % TEXMFSYSVAR, where *-sys store cached runtime data. TEXMFSYSVAR = $TEXMFROOT/texmf-var The usage of SELFAUTOPARENT looks bad, it is the _grand_parent dir... And in local the usage of '..' looks bad also. Then mktexlsr updmap-sys and tex looks fine again. CC:
(none) =>
jamagallon There were still a few errors in the regexp in texlive-texmf. Please try the -2. Can you confirm that this pub is fixed? Thanks. This is fixed now. Closing. Status:
ASSIGNED =>
RESOLVED |