[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686335: texlive-base: updmap.pl does not recognize option "dvipsDownloadBase35" set in updmap.cfg



Package: texlive-base
Version: 2012.20120611-3
Severity: important
Tags: patch

Hello,
I have found a bug in /usr/bin/updmap (part of package texlive-binaries) which
is a symbolic link to /usr/share/texlive/texmf/scripts/tetex/updmap.pl
(part of texlive-base). A patch is attached.
I hope reportbug cancelled might first wrong bug report.

This program founds its configuration files as expected 
(e.g. /etc/texmf/web2c/updmap.cfg), but the option "dvipsDownloadBase35" is 
not recognized. The option can be set to the string values "true" and "false", 
but the "false" value is not recognized because the perl statement in 
line 1048 (version in binary package) is wrong. 
Instead of 
  if ($dvipsDownloadBase35)
which checks for a non-empty string, it must be
  if ($dvipsDownloadBase35 eq "true")
to reach the else case, if option is set to "false".

Same if-expression is also used for the other options in the perl-script, e.g.
dvipsPreferOutline.

In the source package texlive-base_2012.20120611.orig.tar.xz the filename is
texmf/scripts/tetex/updmap.pl as indicated by the patch. The wrong statement
is at line 1026.

Greetings,
Martin


-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource. 

   *** The Debian TeX Team is *no* LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
	(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are 
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

or 

http://www.minimalbeispiel.de/mini.html (german)

##################################
minimal input file


##################################
other files

######################################
 List of ls-R files

-rw-r--r-- 1 root root 7020 Aug 31 11:01 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Jun 18 03:25 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Jun 26 00:39 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
-rw-rw-r-- 1 root staff 1924 Aug  8 17:46 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 31 Jun 26 00:39 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Jun 26 00:39 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Jun 26 00:39 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
######################################
 Config files
-rw-r--r-- 1 root root 475 Aug  8 10:43 /etc/texmf/web2c/texmf.cnf
-rw-r--r-- 1 root root 4048 Aug 30 22:28 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 54 Aug 31 10:09 /etc/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 3886 Aug 30 22:28 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 16
-rw-r--r-- 1 root root 283 Jun 18 03:25 mktex.cnf
-rw-r--r-- 1 root root 475 Aug  8 10:43 texmf.cnf
-rw-r--r-- 1 root root  54 Aug 31 10:09 updmap.cfg
-rw-r--r-- 1 root root  55 Aug 31 10:09 updmap.cfg~
######################################
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-base depends on:
ii  debconf [debconf-2.0]  1.5.46
ii  dpkg                   1.16.8
ii  install-info           4.13a.dfsg.1-10
ii  libpaper-utils         1.1.24+nmu2
ii  luatex                 0.70.1.20120524-3
ii  tex-common             3.13
ii  texlive-binaries       2012.20120628-2
ii  texlive-common         2012.20120611-3
ii  texlive-doc-base       2012.20120611-1
ii  ucf                    3.0025+nmu3
ii  xdg-utils              1.1.0~rc1+git20111210-6

Versions of packages texlive-base recommends:
ii  lmodern  2.004.2-1

Versions of packages texlive-base suggests:
ii  evince [postscript-viewer]       3.4.0-2+build1
ii  ghostscript [postscript-viewer]  9.05~dfsg-6
ii  gv [postscript-viewer]           1:3.7.3-1
pn  perl-tk                          <none>
ii  xpdf [pdf-viewer]                3.03-10

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]  1.5.46
ii  dpkg                   1.16.8
ii  ucf                    3.0025+nmu3

Versions of packages tex-common suggests:
pn  debhelper  <none>

Versions of packages texlive-base is related to:
ii  tex-common        3.13
ii  texlive-binaries  2012.20120628-2

-- debconf information:
  tex-common/check_texmf_wrong:
  texlive-base/binary_chooser: pdftex, dvips, dvipdfmx, xdvi
  tex-common/check_texmf_missing:
  texlive-base/texconfig_ignorant:
diff -Naur texlive-base-2012.20120611/texmf/scripts/tetex/updmap.pl texlive-base-2012.20120611.new/texmf/scripts/tetex/updmap.pl
--- texlive-base-2012.20120611/texmf/scripts/tetex/updmap.pl	2012-06-11 00:43:00.000000000 +0200
+++ texlive-base-2012.20120611.new/texmf/scripts/tetex/updmap.pl	2012-08-31 11:01:25.000000000 +0200
@@ -1023,7 +1023,7 @@
   my @dftdvips_fonts = ($dvipsDownloadBase35 ? @ps2pk_fonts : @dvips35_fonts);
 
   my @psfonts_t1_map;
-  if ($dvipsDownloadBase35) {
+  if ($dvipsDownloadBase35 eq "true") {
     push @psfonts_t1_map, "% ps2pk35.map",
     @dftdvips_fonts = @ps2pk_fonts;
   } else {
diff -Naur texlive-base-2012.20120611/texmf/scripts/tetex/updmap.pl texlive-base-2012.20120611.new/texmf/scripts/tetex/updmap.pl
--- texlive-base-2012.20120611/texmf/scripts/tetex/updmap.pl	2012-06-11 00:43:00.000000000 +0200
+++ texlive-base-2012.20120611.new/texmf/scripts/tetex/updmap.pl	2012-08-31 11:01:25.000000000 +0200
@@ -1023,7 +1023,7 @@
   my @dftdvips_fonts = ($dvipsDownloadBase35 ? @ps2pk_fonts : @dvips35_fonts);
 
   my @psfonts_t1_map;
-  if ($dvipsDownloadBase35) {
+  if ($dvipsDownloadBase35 eq "true") {
     push @psfonts_t1_map, "% ps2pk35.map",
     @dftdvips_fonts = @ps2pk_fonts;
   } else {

Reply to: