FS#46675 - [firefox] missing dep on ttf-font

Attached to Project: Arch Linux
Opened by Amos Onn (amos) - Monday, 12 October 2015, 13:38 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 22 October 2015, 03:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
If no package providing ttf-font is installed, firefox segfaults at startup.

Additional info:
* firefox-41.0.1-1

Steps to reproduce:
Set up a minimal arch system. Install firefox.
Run firefox - segfault.
Install some ttf-font (I tried ttf-freefont and ttf-dejavu), run firefox - works.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Thursday, 22 October 2015, 03:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  firefox 41.0.2-1; keeping the ttf-font dependency for now.
Comment by Evangelos Foutras (foutrelis) - Thursday, 15 October 2015, 22:00 GMT
I've included the dependency in firefox 41.0.2-1; however, I'm unable to reproduce the crash in a virtual machine.

During my testing, Firefox happily used fonts from the xorg-fonts-misc package (which is a dependency of xorg-server-common). Chromium appears to work fine with fonts from xorg-fonts-misc as well; though I do remember that it used to segfault in the past. That's part of the reason why ttf-font was introduced. [1]

Any idea why you're getting a crash and I'm not? (My virtual machine had the base group installed, along with xorg-server, xorg-xinit, virtualbox-guest-utils, openbox and firefox.)

[1] https://lists.archlinux.org/pipermail/arch-dev-public/2013-January/024252.html
Comment by Amos Onn (amos) - Saturday, 17 October 2015, 20:36 GMT
I'm running this firefox inside a 32-bit chroot; as such, it does not have X installed at all, only the libs required (libx11, etc.). However, AFAIU, this is rightfully not a dependency for firefox, since you can run your applications using a remote X server, which is sort of what I am doing.

I have set up a VM without installing X, installed firefox and sshd, ssh -X'ed to it (from my home machine), ran firefox successfully, removed the new ttf-font dependancy, and firefox broke.

I confirm that xorg-fonts-misc is indeed enough to get firefox running (even without xorg-server-common). Perhaps there should be an even broader provides= of "fonts"?

Amos.

Loading...