Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1240080 - tuxmath: FTBFS in rawhide
Summary: tuxmath: FTBFS in rawhide
Alias: None
Product: Fedora
Classification: Fedora
Component: tuxmath
Version: 23
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Ralf Corsepius
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F23FTBFS
TreeView+ depends on / blocked
Reported: 2015-07-05 21:28 UTC by Dennis Gilmore
Modified: 2015-07-24 07:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-07-24 07:48:43 UTC
Type: ---

Attachments (Terms of Use)
build.log (deleted)
2015-07-05 21:28 UTC, Dennis Gilmore
no flags Details
root.log (deleted)
2015-07-05 21:28 UTC, Dennis Gilmore
no flags Details
state.log (deleted)
2015-07-05 21:28 UTC, Dennis Gilmore
no flags Details

Description Dennis Gilmore 2015-07-05 21:28:01 UTC
Your package tuxmath failed to build from source in current rawhide.

For details on mass rebuild see

Comment 1 Dennis Gilmore 2015-07-05 21:28:02 UTC
Created attachment 1048555 [details]

Comment 2 Dennis Gilmore 2015-07-05 21:28:03 UTC
Created attachment 1048556 [details]

Comment 3 Dennis Gilmore 2015-07-05 21:28:03 UTC
Created attachment 1048557 [details]

Comment 4 Jan Kurik 2015-07-15 13:22:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:

Comment 5 Ralf Corsepius 2015-07-24 06:47:39 UTC

The cause for this FTBFS seems to be a gcc5 compatibility issue/behavioral change or bug in GCC to me.

x86_64 GCC seems to produce bogus relocs for CU-local symbols.
Making such symbols static seems to help.

In this case, this patch seems to help:

--- tuxmath_w_fonts-2.0.1/src/titlescreen.c~    2011-04-11 05:05:58.000000000 +0200
+++ tuxmath_w_fonts-2.0.1/src/titlescreen.c     2015-07-24 05:48:03.385868605 +0200
@@ -50,7 +50,7 @@
 SDL_Color bright_green;

 // Type needed for trans_wipe():
-struct blit {
+static struct blit {
     SDL_Surface *src;
     SDL_Rect *srcrect;
     SDL_Rect *dstrect;

I am going to apply this patch.

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