Bug 1357067 - crawl-tiles: Missing dependency on bitstream-vera-sans-mono-fonts
Summary: crawl-tiles: Missing dependency on bitstream-vera-sans-mono-fonts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: crawl
Version: 24
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio T. (sagitter)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-15 15:50 UTC by Zach Ploskey
Modified: 2016-07-27 20:53 UTC (History)
1 user (show)

Fixed In Version: crawl-0.18.1-7.fc24 crawl-0.18.1-7.fc23
Clone Of:
Environment:
Last Closed: 2016-07-27 18:55:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zach Ploskey 2016-07-15 15:50:02 UTC
Description of problem:

The tiles version of crawl fails to launch if Bitstream Vera Sans Mono is not installed. I imagine that "bitstream-vera-sans-mono-fonts" should be added as Requires in the spec.

This is the console output:

$ crawl-tiles
ERROR: Could not find font '/usr/share/fonts/bitstream-vera/VeraMono.ttf'


ERROR: Could not find font '/usr/share/fonts/bitstream-vera/VeraMono.ttf'


We crashed! This is likely due to a bug in Crawl. Please submit a bug report at https://crawl.develz.org/mantis/ and include the crash report (/home/zach/.crawl/morgue/crash--20160715-082758.txt), your save file (/home/zach/.crawl/saves/.cs), and a description of what you were doing when this crash occurred.

Aborted (core dumped)

Version-Release number of selected component (if applicable):

Name        : crawl-tiles
Arch        : x86_64
Epoch       : 0
Version     : 0.18.1
Release     : 5.fc24

How reproducible:

Every time

Steps to Reproduce:

1. Install crawl-tiles with dnf.
2. Don't install or remove bitstream-vera-sans-mono-fonts.noarch.
3. Run crawl-tiles.

Actual results:

Crawl Tiles fails to launch, complaining about missing font.

Expected results:

Crawl Tiles launching successfully.

Additional info:

Comment 1 Antonio T. (sagitter) 2016-07-15 16:44:34 UTC
Ops! I let it escape a dependency ..
Thank you for reporting.

Comment 2 Zach Ploskey 2016-07-15 17:20:20 UTC
I also noticed that crawl seems to ship these fonts in the package. I found them installed here:

/usr/share/crawl/dat/tiles/VeraMono.ttf
/usr/share/crawl/dat/tiles/Vera.ttf

But they were not being found at startup. Most likely we'd prefer to just depend on the font package, right?

Comment 3 Antonio T. (sagitter) 2016-07-15 17:26:04 UTC
(In reply to Zach Ploskey from comment #2)
> I also noticed that crawl seems to ship these fonts in the package. I found
> them installed here:
> 
> /usr/share/crawl/dat/tiles/VeraMono.ttf
> /usr/share/crawl/dat/tiles/Vera.ttf
> 
> But they were not being found at startup. Most likely we'd prefer to just
> depend on the font package, right?

They are symbolic links:

# ll /usr/share/crawl/dat/tiles/VeraMono.ttf
lrwxrwxrwx. 1 root root 44 Jun 14 22:46 /usr/share/crawl/dat/tiles/VeraMono.ttf -> /usr/share/fonts/bitstream-vera/VeraMono.ttf

# ll /usr/share/crawl/dat/tiles/Vera.ttf
lrwxrwxrwx. 1 root root 40 Jun 14 22:46 /usr/share/crawl/dat/tiles/Vera.ttf -> /usr/share/fonts/bitstream-vera/Vera.ttf

Comment 4 Zach Ploskey 2016-07-15 17:36:45 UTC
So they are. Thanks for being on top of this.

Comment 5 Fedora Update System 2016-07-15 20:03:36 UTC
crawl-0.18.1-7.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ac5348428c

Comment 6 Fedora Update System 2016-07-15 20:03:44 UTC
crawl-0.18.1-7.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-57097ad39f

Comment 7 Fedora Update System 2016-07-16 22:57:18 UTC
crawl-0.18.1-7.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-57097ad39f

Comment 8 Fedora Update System 2016-07-17 16:23:22 UTC
crawl-0.18.1-7.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ac5348428c

Comment 9 Fedora Update System 2016-07-27 18:55:34 UTC
crawl-0.18.1-7.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-07-27 20:53:34 UTC
crawl-0.18.1-7.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.