Bug 436949
Summary: | Wrong search path for texmf.cnf | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ottavio G. Rizzo <ogrizzo> | ||||
Component: | texlive | Assignee: | Jindrich Novy <jnovy> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 8 | CC: | pertusus, pknirsch | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-03-12 17:17:24 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ottavio G. Rizzo
2008-03-11 11:04:29 UTC
Actually, the first definition: {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c} *should* not be there, since it implies that /usr/share/texmf/web2c is searched before /etc/texmf/web2c, making it impossible to override default values. It's debatable which should be the places for local modifications (I don't understand Fedora directory structure well enough to comment), but DEFAULT_TEXMFCNF should be set to sensible values like "/etc/texmf/web2c:/var/lib/texmf/web2c:.:/etc/texmf/web2c" (should also /usr/local/share/texmf/web2c be there?) (is . a security risk? it'd be useful for experiments) (should we look also in the user home directory?) I agree with /etc/texmf/web2c (and I am certainly the culprit). For SELFAUTO stuff it is more problematic. If I recall well this is used because it is used in kpathsea because of a post-build run of some utilities, and for this post build run, the SELFAUTO stuff has to be present. I'll have a look at it once more, since Karl Berry said that it was not used, maybe we could avoid using it during the build. It is normal to have /usr/share/texmf/web2c appearing twice since it is $TEXMF/web2c;@web2c@ from upstream. Created attachment 297691 [details]
put web2c after sysconfdir and don't use share/texmf in SELFAUTO
I didn't find anything better than only using texmf-local
instead of texmf (and texmf-local). The texmf.cnf has to
be installed in the texmf-local directory during the build for
the texlinks call, it is also done in the patch.
Applied, thanks! |