Bug 1136314

Summary: texlive 2019 several fonts are not found even if they were installed [ kpsewhich does not see them ]
Product: [openSUSE] openSUSE Distribution Reporter: Nick Dordea <ndordea>
Component: X11 ApplicationsAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ndordea
Version: Leap 15.0Flags: werner: needinfo? (ndordea)
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: texlive 2019 info from my machine
texlive 2019 test files
copy of sample-book from texlive-*tufte* pkgs
sample-book_Bembo_Gill-Sans.log
sample-book_Bembo_Gill-Sans.log really with pdflatex from TeXLive 2019
printenv output

Description Nick Dordea 2019-05-26 18:56:53 UTC
Created attachment 806002 [details]
texlive 2019 info from my machine

Hello, 
Recently I upgraded to opensuse packaged texlive 2019  from a CTAN texlive 2018 .
Latex and/or pdflatex fail due to "font not found" 
e.g. Font T1/pplj/m/n/10=pplr9d at 10.0pt not loadable . Metric (TFM) file not found . It seems that the Palatino , mathpazo fonts are not seen   by kpsewhich,
Here are the fonts I had problems with : 
pplr9d, pplri9d, pplr7t, pplrc7t, pcrrc7t, pplb7t, zplmr7t

I tried to find out the font maps where these fonts were defined . 
I created a bash shell and I checked all xxxxx.map files from /usr/shared/texmf,   
/usr/local/shared/texmf, /var/lib/texmf  that contain the above fonts ,

I found only one map that contained  phvr8t 
1. /usr/share/texmf/fonts/map/pdftex/context/ec-base.map
phvr8t  NimbusSanL-Regu          <ec.enc <uhvr8a.pfb
That map was not found among the maps reported by udpmap0sys --listmaps .
It was enabled [ sudo udpmap-sys --enable Map=ec-base.map ]

So I continued and I found out that there are lots of maps in the above directories that are not in system maps .

THe final run shows :
/u02/Common_Bin_Dev/texlive_2019_fonts_not_found.sh

Searching string :
'(pplr9d|pplri9d|pplr7t|pplrc7t|pcrrc7t|pplb7t|zplmr7t)'


 ====> usr_maps_cnt=888
Maps containing any of the font problems : /usr/share/texmf : 0

 ====> local_maps_cnt=30
Maps containing any of the font problems : /usr/local/share/texmf : 0

 ====> var_maps_cnt=8
Maps containing any of the font problems : /var/lib/texmf   : 0

Total maps processed : 926 [ usr + local + var ]
Total unique maps processed : 908 [ usr + local + var ]

Total updmap_maps defined   : 366 [ updmap-sys --listmaps ]
Total available updmap defined : 366  [ udpmap-sys --listavailablemaps]
Total unique available updmaps : 366


Total maps to be enabled via udpmap-sys --enable Map=xxxxxxx.map : 542

texlive_2019_usr_share_texmf_maps.txt
texlive_2019_usr_local_share_texmf_maps.txt
texlive_2019_var_lib_texmf_maps.txt
texlive_2019_usr_local_var_unique_map_names.txt
texlive_2019_updmap-sys_listmaps.txt
texlive_2019_updmap_unique_avail_mapnames.txt
texlive_2019_diff_usr-local-var_udpmap_mapnames.txt <--- maps that are not enabled ?

All these files are part of the archive file texlive_2019_fonts_not_found_by_[pdf]latex.zip that is provided via an attachment . 

Also I noticed that the package texlive-palatino-fonts has a curios description [Severed fonts for texlive-palatino fonts] .  What's its role ?

In palatino case there is one map upl.map that and no other map is seen via yast.

Thank you, 
Nick
Comment 1 Martin Vidner 2019-05-27 12:23:09 UTC
*** Bug 1136315 has been marked as a duplicate of this bug. ***
Comment 2 Martin Vidner 2019-05-27 12:31:07 UTC
I assume you mean the package from  Publishing:TeXLive, as Factory/Tumbleweed/Leap still have TeXLive 2018.

https://build.opensuse.org/package/show/Publishing%3ATeXLive/texlive

Assigning to Werner who knows TeX much better than us in the YaST team.
Comment 3 Martin Vidner 2019-05-27 12:31:59 UTC
> Assigning to Werner who knows TeX much better than us in the YaST team.

this time for real
Comment 4 Dr. Werner Fink 2019-05-27 13:20:19 UTC
Hmmm

> Recently I upgraded to opensuse packaged texlive 2019 from a CTAN texlive 2018.

IMHO you should *NEVER* mix CTAN and openSUSE packages as this will not work and had never worked.  The TeXLive dependencies of the original and the openSUSE rpm package are not compatible. Upstream does not use the rpm data base and the openSUSE tree had used the usptream dependcies only at generation of the rpm spec files.

> Also I noticed that the package texlive-palatino-fonts has a curios description [Severed fonts for texlive-palatino fonts] .  What's its role ?

The fonts are installed with texlive-palatino-fonts below /usr/share/fonts and the rest is done with texlive-palatino as well as with the post install scriptlets:

 %post -n texlive-palatino
 mkdir -p /var/run/texlive
 > /var/run/texlive/run-mktexlsr
 > /var/run/texlive/run-update
 echo 'addMap upl.map' >> /var/run/texlive/run-updmap

and the transpost install call

 %posttrans -n texlive-palatino
 test -d /var/run/texlive || exit 0
 VERBOSE=false %{_texmfdistdir}/texconfig/update || :

... where /usr/share/texmf/texconfig/update then does the work specified by the
post install scriptlets in one step at the end of the installation.

You might enforce this as root with

  /usr/share/texmf/texconfig/update force

does this work?
Comment 5 Nick Dordea 2019-05-28 11:22:23 UTC
Hello Dr. Fink ,

Mea culpa, for not being very clear with the upgrade to opensuse   texlive 2019 from CTAN .
I have used CTAN texlive  for a long time [ 2012 - 2018 ] from the time when opensuse did not support texlive  and texlive/publishing was not selected .  It worked very well and was ahead of opensuse texlive with 1 year .
A couple of months ago my old machine crashed and I moved[rebuilt] to a new  PC  The machine comes with a network card that was not supported by leap150 and I have to run opensuse leap 15.0 with leap 15.1 kernel .  
Having done with the essentials, the time has come for texlive . 
I noticed that leap 15.0 supports the same version as CTAN so I gave it  a try .
For me going from texlive CTAN packaged  to opensuse packaged solution seems to be a big upgrade because this is the first time trying to use  texlive rpm packaged .
 
Bottom line, I did not have both CTAN and opensuse installed at the same time .

To answer to your request I tried to compare CTAN texlive vs. opensuse texlive  

1. fully uninstall opensuse texlive from my machine [ approx 7300 pkgs ]
2. as in old times install CTAN texlive 2019 in a non-system filesystem 
3. for test I use sample-book.tex  from Tufte-latex package .
   By default it use Palatino ..
   It worked in minutes [ pdflatex bibtex pdflatex pdflatex ] and I got the 
   pdf [ I changed the name to sample-book-.... to avoid to affect the distribution files ]
4. Remove the CTAN texlive 2019 system ,
5. install opensuse texlive  [ scheme full + all collections ]or 
   the icon for %posttrans script for texlive-Asana-Math-fonts
   was on for almost 1.5 hours .  
6. try to build sample-book .... fails as reported 
7. as root run /usr/share/texmf/texconfig/update force 
   It took a long time, so I left the PC on over night ....
   /usr/share/texmf/texconfig/update force
[ ]Updating TeX hash data base.
[/]Handle language.dat setups.
[-]Handle language.def setups.
[|]Handle language.dat.lua setups.
[/]Refresh TeX formats.
[\]Missing TeX formats.
[|]Updating TeX font mappings.
[\]Generate file database

8. try to build sample-book .... fails as reported

I collected as much outputs/logs/etc. as possible and they are provided as attachmnet [ bug_1136314_texlive_2019_test_files.zip ] 
Its contents/files :
pdflatex_sample-book_Bembo_Gill-Sans_opensuse.pdf                                          
pdflatex_sample-book_Bembo_Gill-Sans_tex_openSUSE_after_texconfig..pdf                     
pdflatex_sample-book_Bembo_Gill-Sans_tex_log_openSUSE_after_texconfig..log                 
pdflatex_sample-book_Bembo_Gill-Sans_tex_sysout_openSUSE_after_texconfig.txt               
texlive_2019_reinstall_all_var_log_zypp_history.txt                                        texlive_2019_reinstall_all_yast2_log_.txt                                                  
texlive_2019_reinstall_all_var_log_.txt                                                    
pdflatex_sample-book_Bembo_Gill-Sans_CTAN.log                                              
pdflatex_sample-book_Bembo_Gill-Sans_CTAN.pdf                                              
pdflatex_sample-book_Bembo_Gill-Sans_openSUSE.log                                          
pdflatex_sample-book_Bembo_Gill-Sans_tex_sysout_CTAN.txt                                   
pdflatex_sample-book_Bembo_Gill-Sans_tex_sysout_openSUSE.txt                               
texlive-2019-remove_all.txt   

Please have a look at the var_log_zypp file [ bottom ] messages related to %posttrans ....
# 2019-05-27 19:31:26 Output of texlive-Asana-Math-fonts-2019.161.0.000.955svn37556-lp150.157.1.noarch.rpm %posttrans script:
#     Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
#     Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
#     Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
#     Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
#     Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
#     Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'

There a lot of them .  Are they the culprit ?

Final questions :
i)  in the case that I select continuing to use CTAN is it possible to connect its fonts to the opensuse system fonts ?

ii) is it possible to have IBMPLex fonts [ texlive-plex* packages ] independent of texlive ?

Thank you very much .

Best regards,
Nick
Comment 6 Nick Dordea 2019-05-28 11:28:01 UTC
Created attachment 806189 [details]
texlive 2019 test files
Comment 7 Dr. Werner Fink 2019-05-28 11:32:15 UTC
I'm missing

   sample-book_Bembo_Gill-Sans.tex
Comment 8 Dr. Werner Fink 2019-05-28 11:45:42 UTC
This shouldnot happen

 kpathsea: Running mktextfm ecrm1000
 kpathsea: Running mktextfm cmr10
 kpathsea: Running mktextfm cmr10
 kpathsea: Running mktextfm cmr10
 kpathsea: Running mktextfm cmr10
 kpathsea: Running mktextfm cmr10
 kpathsea: Running mktextfm cmr10
 kpathsea: Running mktextfm cmr10
 kpathsea: Running mktextfm cmr10
 kpathsea: Running mktextfm cmr10
 kpathsea: Running mktextfm cmr10
 kpathsea: Running mktextfm pplr9d
 kpathsea: Running mktextfm phvr8t
 kpathsea: Running mktextfm phvr8t
 kpathsea: Running mktextfm nullfont

that is that package are missed or not found,  pleas show output of
the command

 printenv | grep -E 'TEX|MF'

and also make sure that packages

 texlive-updmap-map
 texlive-lm
 texlive-lm-fonts
 texlive-lm-math
 texlive-lm-math-fonts
 texlive-amsfonts
 texlive-amsfonts-fonts
 texlive-cm-super
 texlive-cm-super-fonts
 texlive-cmap
 texlive-cmcyr
 texlive-cmcyr-fonts
 texlive-cmexb
 texlive-cmexb-fonts
Comment 9 Dr. Werner Fink 2019-05-28 11:50:34 UTC
Hmmm ... at least texlive-collection-basic should require texlive-updmap-map as well as texlive-collection-fontsrecommended should require a lot of font pacakges as well
Comment 10 Nick Dordea 2019-05-28 12:12:43 UTC
1)
rpm -qa | egrep '(texlive-updmap-map|texlive-lm|texlive-lm-fonts|texlive-lm-math|texlive-lm-math-fonts|texlive-amsfonts|texlive-amsfonts-fonts|texlive-cm-super|texlive-cm-super-fonts|texlive-cmap|texlive-cmcyr|texlive-cmcyr-fonts|texlive-cmexb|texlive-cmexb-fonts)'

texlive-cmcyr-fonts-2019.161.svn39273-lp150.157.1.noarch
texlive-lmake-2019.161.1.0svn25552-lp150.157.1.noarch
texlive-lm-math-2019.161.1.959svn36915-lp150.157.1.noarch
texlive-cm-super-2019.161.svn15878-lp150.157.1.noarch
texlive-updmap-map-2019.161.svn49917-lp150.157.2.noarch
texlive-lmake-doc-2019.161.1.0svn25552-lp150.157.1.noarch
texlive-cmexb-doc-2019.161.svn45677-lp150.157.1.noarch
texlive-lm-doc-2019.161.2.004svn48145-lp150.157.1.noarch
texlive-amsfonts-2019.161.3.04svn29208-lp150.157.1.noarch
texlive-lm-math-doc-2019.161.1.959svn36915-lp150.157.1.noarch
texlive-cm-super-doc-2019.161.svn15878-lp150.157.1.noarch
texlive-cmexb-fonts-2019.161.svn45677-lp150.157.1.noarch
texlive-lm-fonts-2019.161.2.004svn48145-lp150.157.1.noarch
texlive-cmexb-2019.161.svn45677-lp150.157.1.noarch
texlive-cmcyr-doc-2019.161.svn39273-lp150.157.1.noarch
texlive-cmap-2019.161.1.0hsvn42428-lp150.157.1.noarch
texlive-amsfonts-doc-2019.161.3.04svn29208-lp150.157.1.noarch
texlive-amsfonts-fonts-2019.161.3.04svn29208-lp150.157.1.noarch
texlive-lm-math-fonts-2019.161.1.959svn36915-lp150.157.1.noarch
texlive-cm-super-fonts-2019.161.svn15878-lp150.157.1.noarch
texlive-cmap-doc-2019.161.1.0hsvn42428-lp150.157.1.noarch
texlive-cmcyr-2019.161.svn39273-lp150.157.1.noarch
texlive-lm-2019.161.2.004svn48145-lp150.157.1.noarch

2)  printenv | grep TEX
    nothing returned

3)  sample-book.tex  is provided by 
zypper se -i texlive-tufte
Loading repository data...
Reading installed packages...
S | Name                    | Summary                                               | Type   
--+-------------------------+-------------------------------------------------------+--------
i | texlive-tufte-latex     | Document classes inspired by the work of Edward Tufte | package
i | texlive-tufte-latex-doc | Documentation for texlive-tufte-latex                 | package

rpm -qa | grep "texlive-tufte"
texlive-tufte-latex-2019.161.3.5.2svn37649-lp150.157.2.noarch
texlive-tufte-latex-doc-2019.161.3.5.2svn37649-lp150.157.2.noarch

The sample-book_Bembo_Gill-Sans.tex is a copy of sample-book.tex 
is attached as an attachment
Thanks
Nick
Comment 11 Nick Dordea 2019-05-28 12:16:39 UTC
Created attachment 806201 [details]
copy of sample-book from texlive-*tufte* pkgs
Comment 12 Dr. Werner Fink 2019-05-28 13:00:48 UTC
(In reply to Nick Dordea from comment #11)
> Created attachment 806201 [details]
> copy of sample-book from texlive-*tufte* pkgs

I see ...

2019/tests> pdflatex sample-book.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/TeX Live for SUSE Linux) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./sample-book.tex
LaTeX2e <2018-04-01> patch level 3
[...]
Package natbib Warning: There were undefined citations.

(./sample-book.aux) )
(see the transcript file for additional information){/usr/share/texmf/fonts/enc
/dvips/base/8r.enc}</usr/share/texmf/fonts/type1/public/amsfonts/cm/cmr10.pfb><
/usr/share/texmf/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf/fo
nts/type1/public/mathpazo/fplmri.pfb></usr/share/texmf/fonts/type1/public/fpl/f
plrc8a.pfb></usr/share/texmf/fonts/type1/public/fpl/fplrij8a.pfb></usr/share/te
xmf/fonts/type1/public/bera/fvmr8a.pfb></usr/share/texmf/fonts/type1/public/ber
a/fvmro8a.pfb></usr/share/texmf/fonts/type1/urw/helvetic/uhvr8a.pfb></usr/share
/texmf/fonts/type1/urw/palatino/uplr8a.pfb></usr/share/texmf/fonts/type1/urw/pa
latino/uplri8a.pfb>
Output written on sample-book.pdf (38 pages, 290191 bytes).
Transcript written on sample-book.log.

... copy sample-handout.bib, run bibtex sample-book and makeindex sample-book.idx

... OK ready ... looks good
Comment 13 Dr. Werner Fink 2019-05-28 13:07:07 UTC
Same with your example

[39] [40] [41]) [42] (./sample-book_Bembo_Gill-Sans.aux) )
(see the transcript file for additional information){/usr/share/texmf/fonts/enc
/dvips/base/8r.enc}</usr/share/texmf/fonts/type1/public/amsfonts/cm/cmr10.pfb><
/usr/share/texmf/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf/fo
nts/type1/public/mathpazo/fplmri.pfb></usr/share/texmf/fonts/type1/public/fpl/f
plrc8a.pfb></usr/share/texmf/fonts/type1/public/fpl/fplrij8a.pfb></usr/share/te
xmf/fonts/type1/public/bera/fvmr8a.pfb></usr/share/texmf/fonts/type1/public/ber
a/fvmro8a.pfb></usr/share/texmf/fonts/type1/urw/helvetic/uhvr8a.pfb></usr/share
/texmf/fonts/type1/urw/palatino/uplr8a.pfb></usr/share/texmf/fonts/type1/urw/pa
latino/uplri8a.pfb>
Output written on sample-book_Bembo_Gill-Sans.pdf (42 pages, 301781 bytes).
Transcript written on sample-book_Bembo_Gill-Sans.log.
Comment 14 Dr. Werner Fink 2019-05-28 13:17:52 UTC
Created attachment 806214 [details]
sample-book_Bembo_Gill-Sans.log

Full log
Comment 15 Dr. Werner Fink 2019-05-28 13:19:53 UTC
Be sure that texlive-psnfss is installed
Comment 16 Dr. Werner Fink 2019-05-28 13:47:54 UTC
Created attachment 806221 [details]
sample-book_Bembo_Gill-Sans.log really with pdflatex from TeXLive 2019

Had to redo the thing as I mentioned that there was nbo update of some of my TeXLive packages ... now all are uptodate and the result is
Comment 17 Dr. Werner Fink 2019-05-28 13:59:03 UTC
Hmmm ... just run diff -uwp over the two logs and found:

@@ -1,15 +1,16 @@
-This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/TeX Live for opensuse.org) (preloaded format=pdflatex 2019.5.27)  27 MAY 2019 21:22
+This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/TeX Live for opensuse.org) (preloaded format=pdflatex 2019.5.28)  28 MAY 2019 15:42
 entering extended mode
  restricted \write18 enabled.
  %&-line parsing enabled.
 **sample-book_Bembo_Gill-Sans.tex
 (./sample-book_Bembo_Gill-Sans.tex
 LaTeX2e <2018-12-01>
-(./tufte-book.cls
-Document Class: tufte-book 2015/06/30 v3.5.3 Tufte-book class
-(./tufte-common.def
+(/usr/share/texmf/tex/latex/tufte-latex/tufte-book.cls
+Document Class: tufte-book 2015/06/21 v3.5.2 Tufte-book class
+(/usr/share/texmf/tex/latex/tufte-latex/tufte-common.def
 File: tufte-common.def 2015/06/21 v3.5.2 Common code for the Tufte-LaTeX styles

[...]

... the /usr/share/texmf/tex/latex/tufte-latex/tufte-book.cls from TeXLive 2019 is v3.5.2 whereas your version is v3.5.3 ... just rechecked if I had an old version:

 2019/tests> rpm -qf /usr/share/texmf/tex/latex/tufte-latex/tufte-book.cls
 texlive-tufte-latex-2019.161.3.5.2svn37649-157.3.noarch

but this is OK.
Comment 18 Nick Dordea 2019-05-28 14:01:51 UTC
1)
The log created by 2018 looks fine . 
The pdf file created by CTAN-2019 has 39 pages .

2) 
texlive-psnfss was installed during the reinstall ...
rpm -qa texlive-psnfss
texlive-psnfss-2019.161.9.2asvn33946-lp150.157.1.noarch

3)
The distribution of leap 15.0 has texlive at 2017 level  
What texlive version will be released with leap 15.1 distribution ?  
2018 ?
If so, I will be hapyy getting rid off texlive 2019 and trying 2018 . 
Hopefully 2018 install/maint will be faster .

What's your opinion ?

Thanks 
Nick
Comment 19 Dr. Werner Fink 2019-05-28 14:07:03 UTC
Installed below my tests directory the class and common defs from https://github.com/Tufte-LaTeX/tufte-latex ... the result still holds
Comment 20 Dr. Werner Fink 2019-05-28 14:12:25 UTC
(In reply to Nick Dordea from comment #18)
> 1)
> The log created by 2018 looks fine . 
> The pdf file created by CTAN-2019 has 39 pages .
> 
> 2) 
> texlive-psnfss was installed during the reinstall ...
> rpm -qa texlive-psnfss
> texlive-psnfss-2019.161.9.2asvn33946-lp150.157.1.noarch
> 
> 3)
> The distribution of leap 15.0 has texlive at 2017 level  
> What texlive version will be released with leap 15.1 distribution ?  
> 2018 ?
> If so, I will be hapyy getting rid off texlive 2019 and trying 2018 . 
> Hopefully 2018 install/maint will be faster .
> 
> What's your opinion ?

I'm a developder threfore I'd like to understand what going wrong on your system simply to avoid it. Please show me you environment, that is the outoput of

   printenv

but *please* remove any variables which arein internal and/or secret like passwords, passphrases, ... I'm interested on variables with includes TEX, MF, FONT, DVI, T4, ...
Comment 21 Dr. Werner Fink 2019-05-28 14:23:01 UTC
Could be that the new /etc/texmf/web2c/texmf.cnf seems to trigger tfm generation ... I've to investigate
Comment 22 Nick Dordea 2019-05-28 14:26:23 UTC
1)
kpsewhich -var-value TEXDIR is null

2)
I changed profile.local and added :
export TEXMFDIST=`kpsewhich -var-value TEXMFDIST`
export TEXDIR="$TEXMFDIST"
export TEXMFSYSVAR=`kpsewhich -var-value TEXMFSYSVAR`
export TEXMFSYSCONFIG=`kpsewhich -var-value TEXMFSYSCONFIG`
export TEXMFLOCAL=`kpsewhich -var-value TEXMFLOCAL`
export TEXMFHOME=`kpsewhich -var-value TEXMFHOME`
export TEXMFVAR=`kpsewhich -var-value TEXMFVAR`
export TEXMFCONFIG=`kpsewhich -var-value TEXMFCONFIG`
export TEXMFCACHE=`kpsewhich -var-value TEXMFCACHE`                           

3)
Now printenv | grep TEX is as follows :
TEXDIR=/usr/share/texmf
TEXMFCACHE=/var/lib/texmf:/var/lib/texmf:/home/rocco/.cache/texmf/fonts
TEXMFCONFIG=/var/lib/texmf
TEXMFDIST=/usr/share/texmf
TEXMFHOME=/home/rocco/texmf
TEXMFLOCAL=/usr/local/share/texmf
TEXMFSYSCONFIG=/etc/texmf
TEXMFSYSVAR=/var/lib/texmf
TEXMFVAR=/var/lib/texmf

Are they correct ?

4)
After a reboot .... [ TEX variables active]
The pdflatex sample-book....tex failed 


Thanks,
Nick
Comment 23 Dr. Werner Fink 2019-05-28 14:44:22 UTC
TEXDIR is a noop ... and you may not set any variables. I've only asked if you had some in use. If no variable is set hen it is OK.

Currently I see a problem with 2019 with path expansion ... with TeXLive 2018
I see e.g.

  kpsepath -w tfm cmr10.tfm
  /usr/share/texmf/fonts/tfm/public/cm/cmr10.tfm

but with TeXLive 2019 I see

  kpsepath -w tfm cmr10.tfm
 
nothing ...
Comment 24 Nick Dordea 2019-05-28 14:56:35 UTC
attached  printenv.txt  sorted output of printenv
Comment 25 Nick Dordea 2019-05-28 14:58:07 UTC
Created attachment 806230 [details]
printenv output
Comment 26 Nick Dordea 2019-05-28 15:07:20 UTC
kpsewhich  pplr9d.tfm
           returns nothing
but 
kpsewhich  pplr9d.vf
/usr/share/texmf/fonts/vf/adobe/palatino/pplr9d.vf

It's curious 
/usr/share/texmf/fonts/vf/adobe/palatino/   contains both pplr9d.[tfm|vf]

cat /usr/share/texmf/ls-R  | grep  pplr9d
pplr9d.tfm
pplr9d.vf
pplr9d.htf
Comment 27 Nick Dordea 2019-05-28 15:24:16 UTC
I had a look at /etc/texmf/web2c/texmf.cnf 
specifically these 2 lines 

% Device-independent font metric files.
VFFONTS = $TEXMFDOTDIR;$TEXMF/fonts/vf//
TFMFONTS = $TEXMFDOTDIR;{$TEXMF/fonts,$HOMECACHE,$VARTEXFONTS}}/tfm//

It seems that the TFMFONTS contains unbalanced { } and might affect the tfm fonts
Is the below line correct ? 
TFMFONTS = $TEXMFDOTDIR;{$TEXMF/fonts,$HOMECACHE,$VARTEXFONTS}/tfm//
Comment 28 Nick Dordea 2019-05-28 15:51:18 UTC
Dr. Fink,
I took the chance of running pdflatex sample-book,,,tex with a modified /etc/texmf/web2c/texmf.cnf modifies as per my previous comment .
It Works !
 
You justly pointed to the culprit .  Your help, knowledge, and patience saved me from spending many hours in fixing this issue .
 
kpsewhich works 
kpsewhich  pplr9d.tfm
/usr/share/texmf/fonts/tfm/adobe/palatino/pplr9d.tfm

kpsewhich  pplr9d.vf
/usr/share/texmf/fonts/vf/adobe/palatino/pplr9d.vf

I believe that a maintenance rpm will be created and distributed .

Thanks again.

Best Regards,
Nick



==========================
The output of that test
pdflatex sample-book_Bembo_Gill-Sans.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
(./sample-book_Bembo_Gill-Sans.tex
LaTeX2e <2018-12-01>
(./tufte-book.cls
Document Class: tufte-book 2015/06/30 v3.5.3 Tufte-book class
(./tufte-common.def (/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/generic/xkeyval/keyval.tex))))
(/usr/share/texmf/tex/latex/xifthen/xifthen.sty
(/usr/share/texmf/tex/latex/tools/calc.sty)
(/usr/share/texmf/tex/latex/base/ifthen.sty)
(/usr/share/texmf/tex/latex/ifmtarg/ifmtarg.sty))
(/usr/share/texmf/tex/latex/hardwrap/hardwrap.sty
(/usr/share/texmf/tex/latex/ifplatform/ifplatform.sty
(/usr/share/texmf/tex/latex/tools/shellesc.sty)
(/usr/share/texmf/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texmf/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf/tex/generic/oberdiek/ltxcmds.sty)
(/usr/share/texmf/tex/generic/oberdiek/ifpdf.sty))
(/usr/share/texmf/tex/generic/oberdiek/catchfile.sty
(/usr/share/texmf/tex/generic/oberdiek/etexcmds.sty))

Package ifplatform Warning: 
    shell escape is disabled, so I can only detect \ifwindows.

) (/usr/share/texmf/tex/generic/ifxetex/ifxetex.sty)
(|kpsewhich -var-value=max_print_line))
(/usr/share/texmf/tex/latex/base/book.cls
Document Class: book 2018/09/03 v1.4i Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/bk10.clo))
(/usr/share/texmf/tex/latex/titlesec/titlesec.sty)
(/usr/share/texmf/tex/latex/titlesec/titletoc.sty)
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/share/texmf/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/share/texmf/tex/latex/oberdiek/auxhook.sty)
(/usr/share/texmf/tex/latex/oberdiek/kvoptions.sty)
(/usr/share/texmf/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texmf/tex/latex/hyperref/puenc.def)
(/usr/share/texmf/tex/latex/url/url.sty))
(/usr/share/texmf/tex/latex/hyperref/hpdftex.def
(/usr/share/texmf/tex/latex/oberdiek/rerunfilecheck.sty))
(/usr/share/texmf/tex/latex/ms/ragged2e.sty
(/usr/share/texmf/tex/latex/ms/everysel.sty))
(/usr/share/texmf/tex/latex/geometry/geometry.sty)
(/usr/share/texmf/tex/latex/changepage/changepage.sty)
(/usr/share/texmf/tex/latex/paralist/paralist.sty)
(/usr/share/texmf/tex/latex/textcase/textcase.sty)
(/usr/share/texmf/tex/latex/microtype/letterspace.sty)
(/usr/share/texmf/tex/latex/setspace/setspace.sty)
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
(/usr/share/texmf/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texmf/tex/latex/graphics-def/pdftex.def)
(/usr/share/texmf/tex/latex/graphics/dvipsnam.def)
(/usr/share/texmf/tex/latex/xcolor/svgnam.def))
(/usr/share/texmf/tex/latex/natbib/natbib.sty)
(/usr/share/texmf/tex/latex/natbib/bibentry.sty)
No file sample-book_Bembo_Gill-Sans.bbl.
(/usr/share/texmf/tex/latex/sauerj/optparams.sty)
(/usr/share/texmf/tex/latex/placeins/placeins.sty)
(/usr/share/texmf/tex/latex/psnfss/mathpazo.sty)
(/usr/share/texmf/tex/latex/psnfss/helvet.sty)
(/usr/share/texmf/tex/latex/bera/beramono.sty)
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def))
(/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/fancyhdr/fancyhdr.sty)
(/usr/share/texmf/tex/latex/tools/multicol.sty)))
(/usr/share/texmf/tex/latex/lipsum/lipsum.sty
(/usr/share/texmf/tex/latex/l3kernel/expl3.sty
(/usr/share/texmf/tex/latex/l3kernel/expl3-code.tex)
(/usr/share/texmf/tex/latex/l3kernel/l3pdfmode.def))
(/usr/share/texmf/tex/latex/l3packages/xparse/xparse.sty)
(/usr/share/texmf/tex/latex/lipsum/lipsum.ltd.tex))
(/usr/share/texmf/tex/latex/booktabs/booktabs.sty)
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/graphics-cfg/graphics.cfg)))
(/usr/share/texmf/tex/latex/fancyvrb/fancyvrb.sty
Style option: `fancyvrb' v3.2a <2019/01/15> (tvz))
(/usr/share/texmf/tex/latex/tools/xspace.sty)
(/usr/share/texmf/tex/latex/units/units.sty
(/usr/share/texmf/tex/latex/units/nicefrac.sty))
(/usr/share/texmf/tex/latex/base/makeidx.sty)
Writing index file sample-book_Bembo_Gill-Sans.idx
No file sample-book_Bembo_Gill-Sans.aux.
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/psnfss/t1pplj.fd)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty
(/usr/share/texmf/tex/generic/oberdiek/gettitlestring.sty))
ABD: EverySelectfont initializing macros
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(/usr/share/texmf/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texmf/tex/latex/oberdiek/epstopdf-base.sty
(/usr/share/texmf/tex/latex/oberdiek/grfext.sty)
(/usr/share/texmf/tex/latex/latexconfig/epstopdf-sys.cfg)) [1]
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd)
Overfull \hbox (7.34093pt too wide) in paragraph at lines 171--171
[]\T1/phv/m/n/10.95/200ls A DE-SIGNER KNOWS THAT HE HAS ACHIEVED PER-FEC-TION N
OT WHEN THERE 
[2{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [3]
(/usr/share/texmf/tex/latex/psnfss/ts1pplj.fd)
(/usr/share/texmf/tex/latex/bera/t1fvm.fd)
(/usr/share/texmf/tex/latex/psnfss/ot1pplx.fd)
(/usr/share/texmf/tex/latex/psnfss/omlzplm.fd)
(/usr/share/texmf/tex/latex/psnfss/omszplm.fd)
(/usr/share/texmf/tex/latex/psnfss/omxzplm.fd)
(/usr/share/texmf/tex/latex/psnfss/ot1zplm.fd) [4]

Package hyperref Warning: old toc file detected, not used; run LaTeX again.

[5] [6] [7] [8] [9] [10]
Overfull \hbox (94.52998pt too wide) in paragraph at lines 223--228
\T1/pplj/m/it/18 and the work of [] and [].  
[11] [12]

Package natbib Warning: Citation `Tufte2001' undefined on input line 238.


Package natbib Warning: Citation `Tufte1990' undefined on input line 238.


Package natbib Warning: Citation `Tufte1997' undefined on input line 238.


Package natbib Warning: Citation `Tufte2006' undefined on input line 238.


LaTeX Warning: Marginpar on page 13 moved.

[13] [14]
Overfull \hbox (12.0pt too wide) in paragraph at lines 264--291
[]$[]$ 
[15] [16] [17 <./graphics/vdqi-title.pdf> <./graphics/ei-title.pdf> <./graphics
/ve-title.pdf> <./graphics/be-title.pdf>] [18 <./graphics/vdqi-contents.pdf> <.
/graphics/ei-contents.pdf> <./graphics/ve-contents.pdf> <./graphics/be-contents
.pdf>]

LaTeX Warning: Marginpar on page 19 moved.


Overfull \hbox (8.62123pt too wide) in paragraph at lines 457--467
 [] 

LaTeX Warning: `h' float specifier changed to `ht'.

[19] [20]
Overfull \hbox (7.68355pt too wide) in paragraph at lines 485--487
\T1/pplj/m/n/10 This style pro-vides \T1/pplj/m/sc/10/50ls a\T1/pplj/m/n/10 - a
nd \T1/pplj/m/sc/10/50ls b\T1/pplj/m/n/10 -heads (that is, [] and []), 

Package natbib Warning: Citation `Bringhurst2005' undefined on input line 491.


LaTeX Warning: Marginpar on page 21 moved.


Package natbib Warning: Citation `Tufte2006' undefined on input line 498.

pdfTeX warning (ext4): destination with the same identifier (name{cite.Tufte200
6}) has been already used, duplicate ignored
<to be read again> 
                   \relax 
l.498 ...ught{In his later books},\cite{Tufte2006}
                                                   Tufte

LaTeX Warning: Marginpar on page 21 moved.


LaTeX Warning: Marginpar on page 21 moved.

[21]

LaTeX Warning: Marginpar on page 22 moved.


LaTeX Warning: Marginpar on page 22 moved.


Package natbib Warning: Citation `Tufte2006' undefined on input line 568.

pdfTeX warning (ext4): destination with the same identifier (name{cite.Tufte200
6}) has been already used, duplicate ignored
<to be read again> 
                   \relax 
l.568 ...ite[-3\baselineskip]{Tufte2006,Tufte1990}
                                                   you can

Package natbib Warning: Citation `Tufte1990' undefined on input line 568.

pdfTeX warning (ext4): destination with the same identifier (name{cite.Tufte199
0}) has been already used, duplicate ignored
<to be read again> 
                   \relax 
l.568 ...ite[-3\baselineskip]{Tufte2006,Tufte1990}
                                                   you can [22]

LaTeX Warning: Reference `fig:marginfig' on page 23 undefined on input line 584
.


LaTeX Warning: Reference `sec:sidenotes' on page 23 undefined on input line 602
.


LaTeX Warning: Reference `fig:fullfig' on page 23 undefined on input line 613.


LaTeX Warning: Reference `fig:textfig' on page 23 undefined on input line 614.


Underfull \hbox (badness 10000) in paragraph at lines 625--630

[23 <./graphics/helix.pdf> <./graphics/sine.pdf> <./graphics/hilbertcurves.pdf>
]

LaTeX Warning: Reference `fig:textfig' on page 24 undefined on input line 650.


LaTeX Warning: Reference `tab:normaltab' on page 24 undefined on input line 655
.

(/usr/share/texmf/tex/latex/psnfss/t1ppl.fd)
Overfull \hbox (6.44302pt too wide) in paragraph at lines 688--691
\T1/pplj/m/n/10 this lim-i-ta-tion, the Tufte-L[]T[]X doc-u-ment classes pro-vi
de a []\T1/fvm/m/n/10 \morefloats[][][] 
[24]
Overfull \hbox (56.13647pt too wide) in paragraph at lines 725--728
[] []\T1/pplj/m/it/10 Ver-ti-cal align-ment[] \T1/pplj/m/n/10 To over-ride the 
ver-ti-cal align-ment, use the \T1/fvm/m/n/10 \setfloatalignment[] 
[25]

Package natbib Warning: Citation `Bringhurst2005' undefined on input line 801.

pdfTeX warning (ext4): destination with the same identifier (name{cite.Bringhur
st2005}) has been already used, duplicate ignored
<to be read again> 
                   \relax 
l.801 increased slightly.\cite{Bringhurst2005}
                                                The \doccmddef{allcaps} comm...

LaTeX Warning: Marginpar on page 26 moved.

[26]
Underfull \vbox (badness 10000) has occurred while \output is active [27]
[28] [29]

Package natbib Warning: Citation `pkg-geometry' undefined on input line 966.


LaTeX Warning: Marginpar on page 30 moved.

[30]
Overfull \hbox (29.76787pt too wide) in paragraph at lines 1005--1007
[]\T1/fvm/m/n/9 \documentclass[symmetric,justified,marginals=raggedouter]{tufte
-book}  
[31] [32] [33] [34] [35]

LaTeX Warning: Reference `sec:headings' on page 36 undefined on input line 1097
.


LaTeX Warning: Reference `sec:headings' on page 36 undefined on input line 1104
.


LaTeX Warning: Reference `err:too-many-floats' on page 36 undefined on input li
ne 1113.


LaTeX Warning: Reference `clsopt:symmetric' on page 36 undefined on input line 
1123.

[36] [37] [38]
No file sample-book_Bembo_Gill-Sans.bbl.
No file sample-book_Bembo_Gill-Sans.ind.

Package natbib Warning: There were undefined citations.

(./sample-book_Bembo_Gill-Sans.aux)

Package rerunfilecheck Warning: File `sample-book_Bembo_Gill-Sans.out' has chan
ged.
(rerunfilecheck)                Rerun to get outlines right
(rerunfilecheck)                or use package `bookmark'.


LaTeX Warning: There were undefined references.


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

 )
(see the transcript file for additional information){/usr/share/texmf/fonts/enc
/dvips/base/8r.enc}</usr/share/texmf/fonts/type1/public/amsfonts/cm/cmr10.pfb><
/usr/share/texmf/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf/fo
nts/type1/public/mathpazo/fplmri.pfb></usr/share/texmf/fonts/type1/public/fpl/f
plrc8a.pfb></usr/share/texmf/fonts/type1/public/fpl/fplrij8a.pfb></usr/share/te
xmf/fonts/type1/public/bera/fvmr8a.pfb></usr/share/texmf/fonts/type1/public/ber
a/fvmro8a.pfb></usr/share/texmf/fonts/type1/urw/helvetic/uhvr8a.pfb></usr/share
/texmf/fonts/type1/urw/palatino/uplb8a.pfb></usr/share/texmf/fonts/type1/urw/pa
latino/uplr8a.pfb></usr/share/texmf/fonts/type1/urw/palatino/uplri8a.pfb>
Output written on sample-book_Bembo_Gill-Sans.pdf (38 pages, 295523 bytes).
Transcript written on sample-book_Bembo_Gill-Sans.log.
Comment 29 Dr. Werner Fink 2019-05-29 06:21:21 UTC
(In reply to Nick Dordea from comment #27)
> I had a look at /etc/texmf/web2c/texmf.cnf 
> specifically these 2 lines 
> 
> % Device-independent font metric files.
> VFFONTS = $TEXMFDOTDIR;$TEXMF/fonts/vf//
> TFMFONTS = $TEXMFDOTDIR;{$TEXMF/fonts,$HOMECACHE,$VARTEXFONTS}}/tfm//
> 
> It seems that the TFMFONTS contains unbalanced { } and might affect the tfm
> fonts
> Is the below line correct ? 
> TFMFONTS = $TEXMFDOTDIR;{$TEXMF/fonts,$HOMECACHE,$VARTEXFONTS}/tfm//

Good catch, thanks for debugging ... I've found just an other one that is that TEXMFCONFIG shouldbe set to ${TEXMFSYSCONFIG} and never to ${TEXMFSYSVAR}
Comment 30 Dr. Werner Fink 2019-05-29 08:36:36 UTC
OK .. submitted a fixed version for texlive-kpathsea including the fixed texmf.cnf as well as fixed version of libkpathsea6 build with a corrected texmf.cnf

Be aware that with installing texlive-kpathsea there will be a

  /etc/texmf/web2c/texmf.cnf.rpmnew

as a changed configuration file will not be overwritten
Comment 31 Nick Dordea 2019-05-29 16:16:45 UTC
DR. Fink, 
Thank you for the final catch and comments ...
I will keep an eye on texlive-kpathsea package and when it is updated I will replace/override the existing /etc/texmf/web2c/texmf.cnf  with /etc/texmf/web2c/texmf.cnf.rpmnew . 

Best regards,
Nick
Comment 32 Swamp Workflow Management 2019-06-06 10:20:16 UTC
This is an autogenerated message for OBS integration:
This bug (1136314) was mentioned in
https://build.opensuse.org/request/show/708090 Factory / texlive-specs-b
Comment 33 Swamp Workflow Management 2019-06-13 06:10:22 UTC
This is an autogenerated message for OBS integration:
This bug (1136314) was mentioned in
https://build.opensuse.org/request/show/709599 Factory / texlive-specs-k
https://build.opensuse.org/request/show/709600 Factory / texlive-specs-l
Comment 34 Swamp Workflow Management 2019-07-04 09:10:13 UTC
This is an autogenerated message for OBS integration:
This bug (1136314) was mentioned in
https://build.opensuse.org/request/show/713338 Factory / texlive