Bug 1179743

Summary: FTBFS on RHEL 6
Product: [Fedora] Fedora EPEL Reporter: Matěj Cepl <mcepl>
Component: piglitAssignee: Matěj Cepl <mcepl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: airlied, mcepl, mcepl, tpelka
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: 2018-03-15 11:47:33 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: 1186389, 1187224    
Bug Blocks:    
Attachments:
Description Flags
build.log
none
suggested patch for python 2.6 / 2.7 issue none

Description Matěj Cepl 2015-01-07 13:01:24 UTC
Created attachment 977275 [details]
build.log

piglit fails to build on EL-6 (see attached build.log even with patch fixing the python 2.7 v. 2.6 problem).

Comment 1 Matěj Cepl 2015-01-07 13:03:45 UTC
Created attachment 977276 [details]
suggested patch for python 2.6 / 2.7 issue

Just trying this to get further in the analysis. Not sure whether it actually matters.

Comment 3 Matěj Cepl 2015-01-07 20:32:32 UTC
See http://thread.gmane.org/gmane.comp.video.piglit/12362/focus=12365 saying also:

> Which one it is? How difficult it would be to switch piglit to
> python 2.6? I hope not that difficult (as there were not that
> many changes between 2.6 and 2.7). Does anybody know?

We rely on a couple of 2.7 features, one of them is oredered
dictionaries, the other is dict comprehensions. We also use a lot of
unnamed format strings ( '{}{}'.format(a, b) ).

> 
> And of course, when I apply just the attached patch I get to yet
> another problem: freeglut (RHEL-6 has freeglut-2.6.0). But let's
> walk this minefield one mine at the time.

You need waffle, glut is not recommended for linux.
(https://github.com/waffle-gl/waffle, http://www.waffle-gl.org)

---

ordered dictionaries are not problem https://pypi.python.org/pypi/collections2/0.3.0

Comment 4 Matěj Cepl 2015-01-23 23:59:22 UTC
We have temporary builds at http://copr.fedoraproject.org/coprs/mcepl/piglit-el6 but it is not correct (using packages from Rawhide, and I am quite sure that a lot of the code is broken).

Comment 5 Matěj Cepl 2018-03-15 11:47:33 UTC
I am not sure anybody cares about this bug at this point.