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 bugzilla.redhat.com.

Bug 1240080

Summary: tuxmath: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: tuxmathAssignee: Ralf Corsepius <rc040203>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: gwync, rc040203
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-24 07:48:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1239338    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

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

http://koji.fedoraproject.org/koji/taskinfo?taskID=10159415

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

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

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

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

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:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

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

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.