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 1491093

Summary: FTBFS on ppc64le: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’
Product: [Fedora] Fedora Reporter: Link Dupont <link>
Component: freeorionAssignee: Link Dupont <link>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: cheese, dan, hannsj_uhl, link
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: freeorion-0.4.7.1-2.fc28 freeorion-0.4.7.1-2.fc26 freeorion-0.4.7.1-2.fc25 freeorion-0.4.7.1-2.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-23 20:21:27 UTC Type: Bug
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: 1071880    
Attachments:
Description Flags
build.log from ppc64le none

Description Link Dupont 2017-09-13 03:31:45 UTC
Created attachment 1325157 [details]
build.log from ppc64le

Description of problem:
freeorion fails to build from source on ppc64le. Multiple occurrences of the following error occur.

error: cannot convert ‘bool’ to ‘__vector(4) __bool int’

They appear to stem from GG.h -> SDL.h which, on ppc64le architectures, include altivec.h. altivec.h redefines some standard C++ types such as `bool`.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241

Version-Release number of selected component (if applicable):
0.4.7.1
0.4.7
0.4.6
...

How reproducible:
Always

Steps to Reproduce:
1. build on ppc64le

Comment 2 Dan Horák 2017-09-13 10:16:43 UTC
and also built in all branches

Comment 3 Fedora Update System 2017-09-14 02:35:15 UTC
freeorion-0.4.7.1-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-baafe3452a

Comment 4 Fedora Update System 2017-09-14 02:35:28 UTC
freeorion-0.4.7.1-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d28ca575b5

Comment 5 Fedora Update System 2017-09-14 02:35:36 UTC
freeorion-0.4.7.1-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-7817f581ad

Comment 6 Fedora Update System 2017-09-14 18:22:22 UTC
freeorion-0.4.7.1-2.fc27 has been pushed to the Fedora 27 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-2017-7817f581ad

Comment 7 Fedora Update System 2017-09-15 04:50:14 UTC
freeorion-0.4.7.1-2.fc25 has been pushed to the Fedora 25 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-2017-baafe3452a

Comment 8 Fedora Update System 2017-09-15 04:52:06 UTC
freeorion-0.4.7.1-2.fc26 has been pushed to the Fedora 26 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-2017-d28ca575b5

Comment 9 Fedora Update System 2017-09-23 20:21:27 UTC
freeorion-0.4.7.1-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2017-09-24 04:50:17 UTC
freeorion-0.4.7.1-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2017-09-30 06:28:43 UTC
freeorion-0.4.7.1-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.