[Bug 1155381] New: texlive: fir_7gpamp.enc not found
http://bugzilla.opensuse.org/show_bug.cgi?id=1155381 Bug ID: 1155381 Summary: texlive: fir_7gpamp.enc not found Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: nico.kruber@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0 Build Identifier: I'm using the fira font in a beamer-presentation and nowadays got this warning: !pdfTeX error: pdflatex (file fir_7gpamp.enc): cannot open encoding file for reading This is how I use the fonts: \usepackage[sfdefault]{FiraSans} \usepackage{FiraMono} It seems that the font map files shipped with texlive-updmap-map are not up to date with the version of the fira fonts package (their svn tags differ) and this results in the error above. After doing the following steps, the newly created map files fix the problem: updmap-sys --syncwithtrees updmap-sys However, this should not even be required with the package texlive-updmap-map and may even get outdated if I do not keep updating the font maps manually now. It seems that a simple update of that package should help. Reproducible: Always -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155381 http://bugzilla.opensuse.org/show_bug.cgi?id=1155381#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nico.kruber@gmail.com Flags| |needinfo?(nico.kruber@gmail | |.com) --- Comment #1 from Dr. Werner Fink <werner@suse.com> --- The encoding is provided ... a moment zypper wp 'tex(fir_7gpamp.enc)' Command 'what-provides' is replaced by 'search --provides --match-exact'. See 'help search' for all available options. Loading repository data... Warning: Repository 'openSUSE Tools' appears to be outdated. Consider using a different mirror or server. Reading installed packages... S | Name | Summary | Type --+--------------+-------------------------------+-------- | texlive-fira | Fira fonts with LaTeX support | package maybe it would be an idea to install or update this package as well sudo zypper up 'tex(fir_7gpamp.enc)' to ensure that the correct version gets installed sudo zypper up 'tex(fir_7gpamp.enc)' Loading repository data... Warning: Repository 'openSUSE Tools' appears to be outdated. Consider using a different mirror or server. Reading installed packages... 'tex(fir_7gpamp.enc)' not found in package names. Trying capabilities. Resolving package dependencies... The following 3 NEW packages are going to be installed: texlive-fira texlive-fira-doc texlive-fira-fonts The following recommended package was automatically selected: texlive-fira-doc 3 new packages to install. Overall download size: 15.4 MiB. Already cached: 0 B. After the operation, additional 42.8 MiB will be used. Continue? [y/n/v/...? shows all options] (y): Retrieving package texlive-fira-doc-2019.167.4.3svn50781-163.1.noarch ........... Here this works pdflatex testt.tex This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/TeX Live for opensuse.org) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./testt.tex LaTeX2e <2018-12-01> (/usr/share/texmf/tex/latex/koma-script/scrreprt.cls Document Class: scrreprt 2019/02/01 v3.26b KOMA-Script document class (report) (/usr/share/texmf/tex/latex/koma-script/scrkbase.sty (/usr/share/texmf/tex/latex/koma-script/scrbase.sty (/usr/share/texmf/tex/latex/graphics/keyval.sty) (/usr/share/texmf/tex/latex/koma-script/scrlfile.sty))) (/usr/share/texmf/tex/latex/koma-script/tocbasic.sty) (/usr/share/texmf/tex/latex/koma-script/scrsize10pt.clo) (/usr/share/texmf/tex/latex/koma-script/typearea.sty)) (/usr/share/texmf/tex/latex/fira/FiraSans.sty (/usr/share/texmf/tex/generic/ifxetex/ifxetex.sty) (/usr/share/texmf/tex/generic/oberdiek/ifluatex.sty) (/usr/share/texmf/tex/latex/xkeyval/xkeyval.sty (/usr/share/texmf/tex/generic/xkeyval/xkeyval.tex (/usr/share/texmf/tex/generic/xkeyval/xkvutils.tex))) (/usr/share/texmf/tex/latex/base/textcomp.sty (/usr/share/texmf/tex/latex/base/ts1enc.def (/usr/share/texmf/tex/latex/base/ts1enc.dfu))) (/usr/share/texmf/tex/latex/base/fontenc.sty) (/usr/share/texmf/tex/latex/mweights/mweights.sty) (/usr/share/texmf/tex/latex/fontaxes/fontaxes.sty)) (/usr/share/texmf/tex/latex/fira/FiraMono.sty (/usr/share/texmf/tex/latex/base/fontenc.sty)) (./testt.aux) (/usr/share/texmf/tex/latex/base/ts1cmr.fd) (/usr/share/texmf/tex/latex/fira/OT1FiraSans-OsF.fd) (/usr/share/texmf/tex/latex/fira/OT1FiraMono-TOsF.fd) [1{/var/lib/texmf/fonts/m ap/pdftex/updmap/pdftex.map}] (./testt.aux) ){/usr/share/texmf/fonts/enc/dvips/ fira/fir_5bzluk.enc}{/usr/share/texmf/fonts/enc/dvips/fira/fir_u77sc6.enc}</usr /share/texmf/fonts/type1/public/fira/FiraMono-Regular.pfb></usr/share/texmf/fon ts/type1/public/fira/FiraSans-Regular.pfb> Output written on testt.pdf (1 page, 37156 bytes). Transcript written on testt.log. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155381 http://bugzilla.opensuse.org/show_bug.cgi?id=1155381#c2 --- Comment #2 from Nico Kruber <nico.kruber@gmail.com> --- I'm on openSUSE Tumbleweed with apparently not the right repo setup that provides this:
zypper wp 'tex(fir_7gpamp.enc)' Command 'what-provides' is replaced by 'search --provides --match-exact'. See 'help search' for all available options. Loading repository data... Reading installed packages... No matching items found.
I did install everything from the various texlive-fira* packages.
zypper search -s texlive-fira Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository ---+--------------------------+---------+-------------------------------+--------+-------------------- i+ | texlive-fira | package | 2019.167.4.3svn50781-40.1 | noarch | openSUSE-20181128-0 i | texlive-fira-doc | package | 2019.167.4.3svn50781-40.1 | noarch | openSUSE-20181128-0 i | texlive-fira-fonts | package | 2019.167.4.3svn50781-40.1 | noarch | openSUSE-20181128-0 i+ | texlive-firamath | package | 2019.167.0.0.3.1svn48995-40.1 | noarch | openSUSE-20181128-0 i | texlive-firamath-doc | package | 2019.167.0.0.3.1svn48995-40.1 | noarch | openSUSE-20181128-0 i | texlive-firamath-fonts | package | 2019.167.0.0.3.1svn48995-40.1 | noarch | openSUSE-20181128-0 i+ | texlive-firamath-otf | package | 2019.167.0.0.02asvn50732-40.1 | noarch | openSUSE-20181128-0 i | texlive-firamath-otf-doc | package | 2019.167.0.0.02asvn50732-40.1 | noarch | openSUSE-20181128-0
zypper search -s texlive-updmap-map Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository --+--------------------+---------+------------------------+--------+-------------------- i | texlive-updmap-map | package | 2019.167.svn49917-41.1 | noarch | openSUSE-20181128-0 Looks like maybe the Tumbleweed packages need an update there? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155381 http://bugzilla.opensuse.org/show_bug.cgi?id=1155381#c3 --- Comment #3 from Dr. Werner Fink <werner@suse.com> --- My guess is that you had an old texlive-fira from TL 2018 but a new texlive-fira-fonts from TL 2019. Make sure that all is uptodate, meanwhile I've added a Require for texlive-fira (and all other font packages as well): noether werner/Tests> rpm -q -R texlive-fira | grep texlive-fira texlive-fira-fonts >= 2019 to make sure that the correct font version is required, after installing texlive-fira from TL 2018 the %postttrans scriplet(s) should automatically enable all setups to make pdflatex work. If not run as root /usr/share/texmf/texconfig/update force -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155381 http://bugzilla.opensuse.org/show_bug.cgi?id=1155381#c4 --- Comment #4 from Dr. Werner Fink <werner@suse.com> --- Hmmm ... I've wiped out the noarch packages build for s390x which in fact arre from TL 2018 ... if anynore has Publishing:TeXLive added as repositroy this should avoid mixed installations of TL 2018 and TL 2019 packages -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155381 http://bugzilla.opensuse.org/show_bug.cgi?id=1155381#c5 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #5 from Dr. Werner Fink <werner@suse.com> --- Indeed after a refresh the provides of `tex(fir_7gpamp.enc)' is gone but new had been added: noether texlive/2019> zypper info --provides texlive-fira | grep 'tex(.*\.enc)' | wc -l 63 and after installing that even pdflatex testt.tex works This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/TeX Live for opensuse.org) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./testt.tex LaTeX2e <2018-12-01> (/usr/share/texmf/tex/latex/koma-script/scrreprt.cls Document Class: scrreprt 2019/02/01 v3.26b KOMA-Script document class (report) (/usr/share/texmf/tex/latex/koma-script/scrkbase.sty (/usr/share/texmf/tex/latex/koma-script/scrbase.sty (/usr/share/texmf/tex/latex/graphics/keyval.sty) (/usr/share/texmf/tex/latex/koma-script/scrlfile.sty))) (/usr/share/texmf/tex/latex/koma-script/tocbasic.sty) (/usr/share/texmf/tex/latex/koma-script/scrsize10pt.clo) (/usr/share/texmf/tex/latex/koma-script/typearea.sty)) (/usr/share/texmf/tex/latex/fira/FiraSans.sty (/usr/share/texmf/tex/generic/ifxetex/ifxetex.sty) (/usr/share/texmf/tex/generic/oberdiek/ifluatex.sty) (/usr/share/texmf/tex/latex/xkeyval/xkeyval.sty (/usr/share/texmf/tex/generic/xkeyval/xkeyval.tex (/usr/share/texmf/tex/generic/xkeyval/xkvutils.tex))) (/usr/share/texmf/tex/latex/base/textcomp.sty (/usr/share/texmf/tex/latex/base/ts1enc.def (/usr/share/texmf/tex/latex/base/ts1enc.dfu))) (/usr/share/texmf/tex/latex/mweights/mweights.sty) (/usr/share/texmf/tex/latex/fontaxes/fontaxes.sty)) (/usr/share/texmf/tex/latex/fira/FiraMono.sty (/usr/share/texmf/tex/latex/base/fontenc.sty)) (./testt.aux) (/usr/share/texmf/tex/latex/base/ts1cmr.fd) (/usr/share/texmf/tex/latex/fira/OT1FiraSans-OsF.fd) (/usr/share/texmf/tex/latex/fira/OT1FiraMono-TOsF.fd) [1{/var/lib/texmf/fonts/m ap/pdftex/updmap/pdftex.map}] (./testt.aux) ){/usr/share/texmf/fonts/enc/dvips/ fira/fir_t4j4xa.enc}{/usr/share/texmf/fonts/enc/dvips/fira/fir_lortfe.enc}</usr /share/texmf/fonts/type1/public/fira/FiraMono-Regular.pfb></usr/share/texmf/fon ts/type1/public/fira/FiraSans-Regular.pfb> Output written on testt.pdf (1 page, 37159 bytes). Transcript written on testt.log. with new encoding files -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155381 http://bugzilla.opensuse.org/show_bug.cgi?id=1155381#c6 Nico Kruber <nico.kruber@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(nico.kruber@gmail | |.com) | --- Comment #6 from Nico Kruber <nico.kruber@gmail.com> --- Thanks for looking into this. I definitely _had_ an old texlive-fira but I'm keeping my Tumbleweed up-to-date as you see from the package versions. It is possible that these Tumbleweed updates came in an order as you described where there was a time of mixed versions and the postinstall script ran with the wrong things in place and did not run again since. Currently, I do not have anything from TL2018 installed:
zypper search -is texlive|grep "2018\."
/usr/share/texmf/texconfig/update force Does indeed also solve this issue similar to my calls to updmap-sys. However, from the package descriptions and contents, I assumed that texlive-updmap-map should actually contain the correct mappings and remove the need to run these updates locally (even if that was done automatically)...
So, isn't the issue that texlive-updmap-map should be updated? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155381 http://bugzilla.opensuse.org/show_bug.cgi?id=1155381#c7 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo? --- Comment #7 from Dr. Werner Fink <werner@suse.com> --- (In reply to Nico Kruber from comment #6)
/usr/share/texmf/texconfig/update force Does indeed also solve this issue similar to my calls to updmap-sys. However, from the package descriptions and contents, I assumed that texlive-updmap-map should actually contain the correct mappings and remove the need to run these updates locally (even if that was done automatically)...
So, isn't the issue that texlive-updmap-map should be updated?
/var/run/texlive/run-mktexlsr /var/run/texlive/run-update echo 'addMap fira.map' >> /var/run/texlive/run-updmap
/var/run/texlive/run-mktexlsr /var/run/texlive/run-update if test $1 = 0; then echo 'deleteMap fira.map' >> /var/run/texlive/run-updmap exit 0 fi
Indeed this is done by the %posttrans scriptlets, only the `force' is missed as this rebuild everything and not only the things belonging to the packages installed : noether werner/Tests> rpm -q --scripts texlive-fira postinstall scriptlet (using /bin/sh): mkdir -p /var/run/texlive postuninstall scriptlet (using /bin/sh): mkdir -p /var/run/texlive posttrans scriptlet (using /bin/sh): test -d /var/run/texlive || exit 0 VERBOSE=false /usr/share/texmf/texconfig/update || : -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155381 http://bugzilla.opensuse.org/show_bug.cgi?id=1155381#c8 Nico Kruber <nico.kruber@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME |--- --- Comment #8 from Nico Kruber <nico.kruber@gmail.com> --- actually, I just tried on my second computer and neither re-installing texlive-fira* nor running this helped:
/usr/share/texmf/texconfig/update force
It was only working after calling my initial workaround as root:
updmap-sys --syncwithtrees updmap-sys
If I find time, I'll try with a fresh Tumbleweed install in a VM or so -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155381 http://bugzilla.opensuse.org/show_bug.cgi?id=1155381#c9 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(nico.kruber@gmail | |.com) --- Comment #9 from Dr. Werner Fink <werner@suse.com> --- Created attachment 823617 --> http://bugzilla.opensuse.org/attachment.cgi?id=823617&action=edit /usr/share/texmf/texconfig/update This is a version of /usr/share/texmf/texconfig/update which should write out the map files and also does a syncwithtrees . Does this solve the problem for you? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155381 http://bugzilla.opensuse.org/show_bug.cgi?id=1155381#c16 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #16 from Dr. Werner Fink <werner@suse.com> --- fixes done -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com