Bug 1179743 - FTBFS on RHEL 6
Summary: FTBFS on RHEL 6
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: piglit
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matěj Cepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1186389 1187224
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-07 13:01 UTC by Matěj Cepl
Modified: 2018-04-11 07:33 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-03-15 11:47:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log (7.96 KB, text/plain)
2015-01-07 13:01 UTC, Matěj Cepl
no flags Details
suggested patch for python 2.6 / 2.7 issue (1.52 KB, patch)
2015-01-07 13:03 UTC, Matěj Cepl
no flags Details | Diff

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.


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