Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 249190

Summary: unmerging of media-fonts/font-adobe-100dpi does not work properly
Product: Gentoo Linux Reporter: Martin Väth <martin>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: rhill
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 271243    
Attachments: x-modular.eclass.alias.diff

Description Martin Väth 2008-11-28 19:40:10 UTC
Although unmerging of media-fonts/font-adobe-100dpi says
  * Checking /usr/share/fonts/100dpi for useless files ...
and even if /usr/share/fonts/100dpi contains only "fonts.alias"
(from media-font/fonts-alias), it leaves in that directory the files
  fonts.cache-1
  encodings.dir 
  fonts.dir

The problem with this is that it causes segfaults. I observed it with auctex:
If auctex is installed and emacs is called
  emacs -fn -adobe-courier-medium-r-normal--18-180-75-75-m-110-iso10646-1
then viewing of a Tex-File with a superscript within a \subsection, e.g. in
the minimal example

  \documentclass{article} 
  \begin{document} 
  \subsection{$x^2$} 
  \end{document}
   
causes auctex/emacs to segfault. When the above three files are removed
manually _and_ the X server is restarted, the problem disappears. So I guess
unmerging font-adobe-100dpi should already have removed the above three files.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2009-08-18 08:21:20 UTC
Created attachment 201587 [details, diff]
x-modular.eclass.alias.diff
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-10-04 20:13:27 UTC
ACK from me.

Thanks Ryan :)
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2009-10-31 23:08:41 UTC
d'oh, forgot to CC myself.

applied.