Bug 13741 - Spring game crashes b/c of missing FreeSansBold.otf font
Summary: Spring game crashes b/c of missing FreeSansBold.otf font
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Thomas Spuhler
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-15 00:03 CEST by Arnaud Vacquier
Modified: 2015-03-23 01:24 CET (History)
4 users (show)

See Also:
Source RPM: spring-94.1-5.mga4
CVE:
Status comment:


Attachments
error (30.01 KB, image/png)
2014-07-15 00:03 CEST, Arnaud Vacquier
Details

Description Arnaud Vacquier 2014-07-15 00:03:35 CEST
Created attachment 5290 [details]
error

hi,

it is not possible to launch Spring game, error font in console :

[f=0000000] [Font] Error: Failed creating font: Couldn't find font '/usr/share/fonts/TTF/FreeSansBold.otf'.
[f=0000000] [Font] Error: Failed creating font: Couldn't find font '/usr/share/fonts/TTF/FreeSansBold.otf'.
Error: Spring: Incorrect/Missing content:  Failed to load font: /usr/share/fonts/TTF/FreeSansBold.otf


more information about rpm :
$ rpm -qi spring
Name        : spring
Version     : 94.1
Release     : 5.mga4
Architecture: x86_64
Install Date: lun. 14 juil. 2014 23:48:17 CEST
Group       : Games/Strategy
Size        : 56890009
License     : GPLv2+
Signature   : RSA/SHA1, mer. 07 août 2013 10:09:59 CEST, Key ID b742fa8b80420f66
Source RPM  : spring-94.1-5.mga4.src.rpm
Build Date  : mer. 07 août 2013 10:07:23 CEST
Build Host  : ecosse.mageia.org
Relocations : (not relocatable)
Packager    : sander85 <sander85>
Vendor      : Mageia.Org
URL         : http://springrts.com
Summary     : Realtime strategy game (inspired by Total Annihilation)
Description :
Spring is a 3D realtime strategy game. It was inspired by Total
Annihilation and has the same features Total Annihilation had, and
more.
Arnaud Vacquier 2014-07-15 00:04:26 CEST

Source RPM: (none) => spring-94.1-5.mga4
Severity: normal => critical

Comment 1 Thierry Vignaud 2014-07-15 14:43:45 CEST
FC packages it with it.
Else a copy is in texlive (texlive-fontsextra in mga, texlive-gnu-freefont in FC) but the game would never looked for /usr/share/texmf-dist/fonts/opentype/public/gnu-freefont/FreeSansBold.otf anyway

CC: (none) => fundawang, remi, thierry.vignaud, thomas
Summary: Spring game crash FreeSansBold.otf font missing => Spring game crashes b/c of missing FreeSansBold.otf font

Rémi Verschelde 2014-09-17 14:40:45 CEST

Assignee: bugsquad => thomas

Thomas Spuhler 2014-09-21 17:33:10 CEST

Status: NEW => ASSIGNED

Comment 2 Thomas Spuhler 2014-09-21 22:05:43 CEST
I added FreeSansBold.otf back. I don't know why it was removed. 
But package doesn't build right now because of maven
Comment 3 Thomas Spuhler 2014-09-21 22:06:42 CEST
(In reply to Thomas Spuhler from comment #2)
> I added FreeSansBold.otf back. I don't know why it was removed. 
> But package doesn't build right now because of maven
Well, this is for cauldron.
Comment 4 Thomas Spuhler 2014-09-23 18:19:00 CEST
spring doesn't build anymore on BS (not even mga4) because of maven problems.
Comment 5 Thomas Spuhler 2014-10-31 23:54:03 CET
Can you please test this again. Spring has been rebuilt as recent as yesterday.
Comment 6 Rémi Verschelde 2014-11-01 11:23:45 CET
Crashes with this error message:

Failed to load FontFile: /usr/share/fonts/TTF/FreeSansBold.otf, installation of spring broken? did you run make install?
Comment 7 Rémi Verschelde 2014-11-01 11:24:01 CET
(With spring-97.0-6.mga5)
Comment 8 Rémi Verschelde 2014-11-01 11:27:27 CET
You should drop patch1:

-CONFIG(std::string, FontFile).defaultValue("fonts/FreeSansBold.otf").description("Sets the font of Spring engine text.");
-CONFIG(std::string, SmallFontFile).defaultValue("fonts/FreeSansBold.otf").description("Sets the font of Spring engine small text.");
+CONFIG(std::string, FontFile).defaultValue("/usr/share/fonts/TTF/FreeSansBold.otf").description("Sets the font of Spring engine text.");
+CONFIG(std::string, SmallFontFile).defaultValue("/usr/share/fonts/TTF/FreeSansBold.otf").description("Sets the font of Spring engine small text.");
Comment 9 Rémi Verschelde 2014-11-01 12:30:47 CET
(In reply to Rémi Verschelde from comment #8)
> You should drop patch1

Done, should be fixed (for Cauldron) in spring-97.0-7.mga5 building currently.
The issue remains in mga4, but IIRC spring does not build there?
Comment 10 Thomas Spuhler 2014-11-03 04:53:33 CET
You are right, it doesn't build anymore in mga4 (it did just before the release of mga4) Looks like same old mvn issue.
I will try to build the 97.0 in mga4. need to find the missing dep.
Comment 11 Thomas Spuhler 2015-03-23 01:24:23 CET
I cannot fix it because it doesn't build. If anyone want to step in he/she is welcome

Status: ASSIGNED => RESOLVED
Resolution: (none) => WONTFIX


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