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

Bug#366858: mktextfm should not fail if /var/cache/fonts i unwritable



Package: tetex-bin
Version: 3.0-16
Severity: important

If /var/cache/fonts/ is unwritable (for example if the user isn't in
the correct group), mktextfm fails:

| (/usr/share/texmf-tetex/tex/latex/base/t1enc.def)kpathsea: Running
| mktextfm ecrmmkdir: cannot create directory
| `././var/cache/fonts/tfm/jknappen': Permission demktextfm: mktexdir
| /var/cache/fonts/tfm/jknappen/ec failed.
| kpathsea: Appending font creation commands to missfont.log.

causing the entire (La)TeX process to fail.  This seems undesirable
and unneeded; mktextfm should perhaps try to put the generated fonts
in /tmp/ or so.  (or maybe the directory should be world-writable, or
mktextfm and friends should be g+s for a group that can write there).

The particular case that bit me was building a documentation package
in pbuilder.  The default pbuilder user in the chroot is not in the
users group, and so any (La)TeX processing during the build process
fails.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc6
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages tetex-bin depends on:
ii  debconf [debconf-2.0 1.5.0               Debian configuration management sy
ii  debianutils          2.15.3              Miscellaneous utilities specific t
ii  dialog               1.0-20060221-1      Displays user-friendly dialog boxe
ii  dpkg                 1.13.19             package maintenance system for Deb
ii  ed                   0.2-20              The classic unix line editor
ii  libc6                2.3.6-7             GNU C Library: Shared libraries
ii  libfontconfig1       2.3.2-5.1           generic font configuration library
ii  libfreetype6         2.1.10-3            FreeType 2 font engine, shared lib
ii  libgcc1              1:4.1.0-3           GCC support library
ii  libice6              6.9.0.dfsg.1-4      Inter-Client Exchange library
ii  libjpeg62            6b-13               The Independent JPEG Group's JPEG 
ii  libkpathsea4         3.0-16              path search library for teTeX (run
ii  libpaper1            1.1.14-7            Library for handling paper charact
ii  libpng12-0           1.2.8rel-5.1        PNG library - runtime
ii  libpoppler0c2        0.4.5+cvs20060215-2 PDF rendering library
ii  libsm6               6.9.0.dfsg.1-4      X Window System Session Management
ii  libstdc++6           4.1.0-3             The GNU Standard C++ Library v3
ii  libt1-5              5.1.0-2             Type 1 font rasterizer library - r
ii  libx11-6             6.9.0.dfsg.1-4      X Window System protocol client li
ii  libxaw7              6.9.0.dfsg.1-4      X Athena widget set library
ii  libxext6             6.9.0.dfsg.1-4      X Window System miscellaneous exte
ii  libxmu6              6.9.0.dfsg.1-4      X Window System miscellaneous util
ii  libxp6               6.9.0.dfsg.1-4      X Window System printing extension
ii  libxpm4              6.9.0.dfsg.1-4      X pixmap library
ii  libxt6               6.9.0.dfsg.1-4      X Toolkit Intrinsics
ii  mime-support         3.36-1              MIME files 'mime.types' & 'mailcap
ii  perl                 5.8.8-4             Larry Wall's Practical Extraction 
ii  sed                  4.1.5-1             The GNU sed stream editor
ii  tetex-base           3.0-17              Basic library files of teTeX
ii  ucf                  2.0010              Update Configuration File: preserv
ii  whiptail             0.51.6-31           Displays user-friendly dialog boxe
ii  zlib1g               1:1.2.3-11          compression library - runtime

Versions of packages tetex-bin recommends:
ii  libxml-parser-perl           2.34-4      Perl module for parsing XML files
ii  perl-tk                      1:804.027-4 Perl module providing the Tk graph
ii  psutils                      1.17-21     A collection of PostScript documen

Versions of packages tetex-base depends on:
ii  dpkg                          1.13.19    package maintenance system for Deb
ii  tex-common                    0.22       Common infrastructure for using an
ii  ucf                           2.0010     Update Configuration File: preserv

Versions of packages tetex-extra depends on:
ii  dpkg                          1.13.19    package maintenance system for Deb
ii  tetex-base                    3.0-17     Basic library files of teTeX
ii  ucf                           2.0010     Update Configuration File: preserv

-- debconf information:
  tetex-base/olddat: true
  tetex-base/fmtutil-failed:
  tetex-bin/cnf_name:
  tetex-base/oldupdm:
  tetex-base/updmap-failed:



Reply to: