Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1421542 - tex-fonts-hebrew breaks mktexpk (and TeX / LaTeX ...) on Fedora 25
Summary: tex-fonts-hebrew breaks mktexpk (and TeX / LaTeX ...) on Fedora 25
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: tex-fonts-hebrew
Version: 25
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dan Kenigsberg
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-13 03:27 UTC by Edgar Hoch
Modified: 2017-12-12 10:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:22:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Edgar Hoch 2017-02-13 03:27:21 UTC
Description of problem:
texlive has replaced many scriptlets with triggers in the kpathsea subpackage of texlive in October 2016 (see changelog of texlive-2016-30.20160520.src.rpm). All the font subpackages of texlive has no scriptlets now. They also moved config files to /etc/texlive (if I had understood it correctly).

tex-fonts-hebrew is a package build from extra source rpm, not from texlive source rpm (like many other tex font package). 

The problem is that tex-fonts-hebrew creates map files in /var/lib/texmf/fonts/ but other fonts packages don't use this location for map files. But TeX programs search the /var/lib/texmf/ path before the path where other packages create and update the map files. As a result, many fonts are not found because the are not listed in the map files in /var/lib/texmf/ . This breaks LaTeX / TeX / PDFLaTeX / etc. on a (new) Fedora 25 installation. They are working on Fedora 24.

Package tex-fonts-hebrew is contained in package group authoring-and-publishing as a default package (in comps.xml of Fedora 25). It was installed by my kickstart as part of package group authoring-and-publishing. I have compared the modification time of files like /var/lib/texmf/fonts/map/pdftex/updmap/pdftex_dl14.map with the timestamps in /var/log/anaconda/packaging.log and found only this package that has scriptlets which can write something to this directory.

A solution would be that package tex-fonts-hebrew has the scriptlets removed and uses the triggers of texlive-kpathsea-bin for updating map files.


A temporary solution for already installed hosts would be to remove the package or to rename (or remove) the /var/lib/texmf/fonts/ directory.

dnf -y remove tex-fonts-hebrew
mv /var/lib/texmf/fonts /var/lib/texmf/fonts-wrong



Version-Release number of selected component (if applicable):
tex-fonts-hebrew-0.1-24.fc24.noarch
texlive-kpathsea-bin-svn40473-30.20160520.fc25.x86_64
texlive-2016-30.20160520.fc25.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Install package group authoring-and-publishing and other LaTeX packages, for example texlive-collection-latex, texlive-kpathsea-bin, texlive-charter
2. ls -lR /var/lib/texmf/fonts/
3. Try a command like this:
mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 bchr8r


Actual results:

Step 2:
$ ls -lR /var/lib/texmf/fonts/
/var/lib/texmf/fonts/:
insgesamt 4
drwxr-xr-x. 5 root root 4096 26. Jan 02:34 map

/var/lib/texmf/fonts/map:
insgesamt 12
drwxr-xr-x. 3 root root 4096 26. Jan 02:34 dvipdfmx
drwxr-xr-x. 3 root root 4096 26. Jan 02:34 dvips
drwxr-xr-x. 3 root root 4096 26. Jan 02:34 pdftex

/var/lib/texmf/fonts/map/dvipdfmx:
insgesamt 4
drwxr-xr-x. 2 root root 4096 26. Jan 02:34 updmap

/var/lib/texmf/fonts/map/dvipdfmx/updmap:
insgesamt 4
-rw-r--r--. 1 root root 1181 13. Feb 03:33 kanjix.map

/var/lib/texmf/fonts/map/dvips:
insgesamt 4
drwxr-xr-x. 2 root root 4096 13. Feb 03:33 updmap

/var/lib/texmf/fonts/map/dvips/updmap:
insgesamt 5472
-rw-r--r--. 1 root root   15786 13. Feb 03:33 builtin35.map
-rw-r--r--. 1 root root   21259 13. Feb 03:33 download35.map
-rw-r--r--. 1 root root 1938600 13. Feb 03:33 ps2pk.map
lrwxrwxrwx. 1 root root      14 13. Feb 03:33 psfonts.map -> psfonts_t1.map
-rw-r--r--. 1 root root 1679358 13. Feb 03:33 psfonts_pk.map
-rw-r--r--. 1 root root 1938705 13. Feb 03:33 psfonts_t1.map

/var/lib/texmf/fonts/map/pdftex:
insgesamt 4
drwxr-xr-x. 2 root root 4096 13. Feb 03:33 updmap

/var/lib/texmf/fonts/map/pdftex/updmap:
insgesamt 3796
-rw-r--r--. 1 root root 1938607 13. Feb 03:33 pdftex_dl14.map
lrwxrwxrwx. 1 root root      15 13. Feb 03:33 pdftex.map -> pdftex_dl14.map
-rw-r--r--. 1 root root 1943340 13. Feb 03:33 pdftex_ndl14.map


Step 3:
$ mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 bchr8r
mktexpk: don't know how to create bitmap font for bchr8r.
mktexpk: perhaps bchr8r is missing from the map file.




Expected results:

Step 3:
$ mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 bchr8r
mktexpk: Running gsftopk bchr8r 657
gsftopk(k) version 1.19.2/920
[1] [2] [3] [4] [5] [6] [7] [8] [9] [11] [12] [14] [15] [16] [17] [30] [31]
[32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47]
[48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63]
[64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79]
[80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95]
[96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109]
[110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]
[123] [124] [125] [126] [130] [131] [132] [133] [134] [135] [136] [137] [138]
[139] [140] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [159]
[161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173]
[174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186]
[187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198] [199]
[200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212]
[213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223] [224] [225]
[226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238]
[239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251]
[252] [253] [254] [255]
mktexpk: /home/users1/edgar/.cache/texlive/texmf-var/fonts/pk/modeless/bitstrea/charter/bchr8r.657pk: successfully generated.
/home/users1/edgar/.cache/texlive/texmf-var/fonts/pk/modeless/bitstrea/charter/bchr8r.657pk



Additional info:

You can try a test file like this: texlive-character-test.tex
\documentclass[11pt,oneside]{article}
\usepackage{charter}
\begin{document}
Hello. 
\end{document}

Compile it with pdflatex for example.

Comment 1 Fedora End Of Life 2017-11-16 19:09:45 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2017-12-12 10:22:44 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.