Bug 2020188 - Duplicate entries in pdftex.map
Summary: Duplicate entries in pdftex.map
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-04 10:10 UTC by qoheniac
Modified: 2022-12-13 15:46 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-12-13 15:46:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description qoheniac 2021-11-04 10:10:53 UTC
Description of problem:
Compiling LaTeX documents produces hundreds of warnings about ignored duplicates in pdftex.map.


Version-Release number of selected component (if applicable): 
2021


How reproducible:


Steps to Reproduce:
1. echo "\documentclass{minimal}\begin{document}MWE\end{document}" > mwe.tex
2. pdflatex mwe.tex | grep -c warning

Actual results:
249

Expected results:
0

Additional info:
The warnings look like this:
pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map): fontmap entry for `foo' already exists, duplicates ignored

Comment 1 Elliott Sales de Andrade 2021-12-14 09:17:59 UTC
@qoheniac what's the full version of the texlive package?

@spot maybe this is related to the issues in bug 1965547?

Comment 2 Elliott Sales de Andrade 2021-12-14 09:24:39 UTC
Also maybe related to bug 2025720

Comment 3 qoheniac 2021-12-14 12:10:58 UTC
(In reply to Elliott Sales de Andrade from comment #1)
> @qoheniac what's the full version of the texlive package?

I'm currently using release 45 if that was your question. Also my example above now only produces 17 warnings instead of 249 but still of the same type.

This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./mwe.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-05-07>
(/usr/share/texlive/texmf-dist/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
(./mwe.aux) [1{/usr/share/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map

pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): invalid entry for `pcrr8rn': SlantFont/ExtendFont can be used
 only with embedded Type1 fonts


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rpxpplb' already exists, duplicates ignore
d


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rpxpplbi' already exists, duplicates ignor
ed


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rpxpplbo' already exists, duplicates ignor
ed


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rpxpplr' already exists, duplicates ignore
d


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rpxpplri' already exists, duplicates ignor
ed


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rpxpplro' already exists, duplicates ignor
ed


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxphvb' already exists, duplicates ignore
d


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxphvbo' already exists, duplicates ignor
ed


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxphvr' already exists, duplicates ignore
d


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxphvro' already exists, duplicates ignor
ed


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxptmb' already exists, duplicates ignore
d


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxptmbi' already exists, duplicates ignor
ed


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxptmbo' already exists, duplicates ignor
ed


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxptmr' already exists, duplicates ignore
d


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxptmri' already exists, duplicates ignor
ed


pdfTeX warning: pdflatex (file /usr/share/texlive/texmf-var/fonts/map/pdftex/up
dmap/pdftex.map): fontmap entry for `rtxptmro' already exists, duplicates ignor
ed
}] (./mwe.aux) ){/usr/share/texlive/texmf-dist/fonts/enc/dvips/lm/lm-rep-cmrm.e
nc}</usr/share/texlive/texmf-dist/fonts/type1/public/lm/lmr10.pfb>
Output written on mwe.pdf (1 page, 21110 bytes).
Transcript written on mwe.log.

Comment 4 Thomas Moschny 2022-03-04 19:21:20 UTC
Same issue here.

< /usr/share/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map  cut -d ' ' -f1  | sort | uniq -c | awk 'int($1)>1'

shows about 60 duplicate entries.

Comment 5 Kevin Kofler 2022-07-21 02:03:23 UTC
I have run into this on a machine upgraded this week from F33 through F34 to F35.

A probable cause is that there is a leftover texlive-updmap-map package from F34 that is not obsoleted by anything.

Another issue is that /etc/texlive/web2c/updmap.cfg is %config(noreplace), so needed changes to the config end up in updmap.cfg.rpmnew.

I have:
1. uninstalled texlive-updmap-map and other obsolete texlive-* packages with pre-fc35 disttags using Dnfdragora,
2. renamed /etc/texlive/web2c/updmap.cfg to /etc/texlive/web2c/updmap.cfg.bak,
3. copied /etc/texlive/web2c/updmap.cfg.rpmnew to /etc/texlive/web2c/updmap.cfg,
4. run dnf reinstall texlive-kpathsea texlive-texlive-scripts,
and finally the error is gone.

Comment 6 qoheniac 2022-07-21 17:09:21 UTC
The number of fontmap warnings magically reduced to 17. But I don't have texlive-updmap-map installed and `dnf list --installed texlive* | grep -v fc36` shows nothing. I also don't have /etc/texlive/web2c/updmap.cfg.rpmnew and after reinstalling texlive-kpathsea and texlive-texlive-scripts I still get 17 warnings.

Comment 7 Robert Greimel 2022-09-27 09:43:25 UTC
I am having the same issue on F36. I also found the leftover texlive-updmap-map package from F34, the old /etc/texlive/web2c/updmap.cfg file and the new one as .rpmnew. Checking which package now provides updmap.cfg I find that the file comes with texlive-texlive-scripts .

Following comment 5 I did:
1. dnf remove texlive-updmap-map
2. rm /etc/texlive/web2c/updmap.cfg*
3. dnf reinstall texlive-texlive-scripts

Now the pdflatex warnings are gone. See comment 5 for probably cause and additional issue.

Comment 8 Ben Cotton 2022-11-29 17:14:05 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
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
'version' of '35'.

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

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 9 Ben Cotton 2022-12-13 15:46:12 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 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 Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

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.