Bug 84064 - Building with python3 causes assertion in gpp.py
Summary: Building with python3 causes assertion in gpp.py
Status: RESOLVED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: haihao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-18 19:15 UTC by Emil Velikov
Modified: 2014-11-12 21:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Emil Velikov 2014-09-18 19:15:16 UTC
If one is to have a python symlink that points to python3 (everyone running Archlinux), the build in src/shaders/post_processing/gen5-6/ will trigger an python assertion.

The patch [1] resolves the problem, by checking if the system has python2 and uses it. Whenever it is not found it falls back to the original behaviour and uses python.

How to reproduce:
 - ls -s `which python3` python - create the symlink in current dir
 - ./autogen.sh && make - proceed with the normal build

[1] http://lists.freedesktop.org/archives/libva/2014-September/002703.html
Comment 1 Emil Velikov 2014-11-12 21:46:09 UTC
The referenced patch has been merged.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.