When the dev-tex/bera package is installed, the ebuild does the following: pkg_postinst() { latex-package_rehash updmap-sys --enable Map ${MY_P}.map } The problem with this approach is that the next time a latex package is installed/upgraded, updmap-sys is run again, at which point, the bera.map will no longer be enabled. This occurs because updmap uses the updmap.cfg file, which is generated by concatenating the files found in /etc/texmf/updmap.d. Since there's no entry for bera in /etc/texmf/updmap.d, bera will need to be manually enabled by running updmap-sys --enable Map bera.map. To fix this problem, a file called "20bera.cfg" should be added to /etc/texmf/updmap.d which contains the line: Map bera.sty That way, the settings for bera will be preserved the next time updmap-sys is run. Reproducible: Always Steps to Reproduce: 1. emerge bera 2. emerge tetex 3. bera.map will no longer be enabled 4. run updmap-sys --enable Map bera.map to re-enable. Actual Results: You'll see something like the following when running dvips: kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 2+1913/(2*4000) --dpi 17913 fvsb8r mktexpk: don't know how to create bitmap font for fvsb8r. kpathsea: Appending font creation commands to missfont.log. dvips: Font fvsb8r not found, characters will be left blank. kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 1+4442/(2*4000) --dpi 12442 fvsb8r mktexpk: don't know how to create bitmap font for fvsb8r. dvips: Font fvsb8r not found, characters will be left blank. Expected Results: The bera.map should be enabled after any tex package is installed or upgraded.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=128c146e9877f9e85ec9ad1b0726cc4623f145e8 commit 128c146e9877f9e85ec9ad1b0726cc4623f145e8 Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2019-12-08 19:18:43 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2019-12-08 19:19:25 +0000 dev-tex/*: drop last-rited pkgs Signed-off-by: Aaron Bauman <bman@gentoo.org>