Bug 1308179

Summary: tecnoballz: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: tecnoballzAssignee: Andrea Musuruane <musuruan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: musuruan
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tecnoballz-0.92-24.fc24 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-31 20:30:12 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: 1305208    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
tecnoballz-0.92-gcc6-narrowing.patch none

Description Fedora Release Engineering 2016-02-13 22:35:01 UTC
Your package tecnoballz failed to build from source in current rawhide.

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

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

Comment 1 Fedora Release Engineering 2016-02-13 22:35:04 UTC
Created attachment 1126596 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-13 22:35:05 UTC
Created attachment 1126597 [details]
root.log

Comment 3 Fedora Release Engineering 2016-02-13 22:35:06 UTC
Created attachment 1126598 [details]
state.log

Comment 4 Jan Kurik 2016-02-24 15:16:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 5 Raphael Groner 2016-03-26 14:04:59 UTC
Hi Andrea,
I could take a look into that soonish.

Comment 6 Raphael Groner 2016-03-26 15:45:31 UTC
Created attachment 1140611 [details]
tecnoballz-0.92-gcc6-narrowing.patch

Known issue with gcc6 enforcing narrowing.
You should poke upstream about the dirty variables types in code and recommend this patch.

Comment 7 Raphael Groner 2016-03-26 15:59:50 UTC
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=13469630


diff --git a/tecnoballz.spec b/tecnoballz.spec
index b93f033..830ae04 100644
--- a/tecnoballz.spec
+++ b/tecnoballz.spec
@@ -1,6 +1,6 @@
 Name: tecnoballz
 Version: 0.92
-Release: 23%{?dist}
+Release: 24%{?dist}
 Summary: A Brick Busting game
 
 Group: Amusements/Games
@@ -29,6 +29,8 @@ Patch5: tecnoballz-0.92-gcc43.patch
 # Hans de Goede
 # Drop setgid privileges when not needed
 Patch6: tecnoballz-0.92-dropsgid.patch
+#
+Patch7: tecnoballz-0.92-gcc6-narrowing.patch
 
 BuildRequires: autoconf
 BuildRequires: SDL_image-devel
@@ -57,6 +59,7 @@ complete this great game. This game was ported from the Commodore Amiga.
 %patch4 -p1
 %patch5 -p2
 %patch6 -p1
+%patch7 -p1
 
 
 %build
@@ -107,6 +110,9 @@ fi
 
 
 %changelog
+* Sat Mar 26 2016 Raphael Groner <projects.rg> - 0.92-24
+- fix gcc6 narrowing
+
 * Fri Feb 05 2016 Fedora Release Engineering <releng> - 0.92-23
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Comment 8 Fedora Update System 2016-03-26 18:44:00 UTC
tecnoballz-0.92-24.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-eb8b8ab611

Comment 9 Fedora Update System 2016-03-27 21:50:22 UTC
tecnoballz-0.92-24.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-eb8b8ab611

Comment 10 Fedora Update System 2016-03-31 20:30:10 UTC
tecnoballz-0.92-24.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.