Bug 84064

Summary: Building with python3 causes assertion in gpp.py
Product: libva Reporter: Emil Velikov <emil.l.velikov>
Component: intelAssignee: haihao <haihao.xiang>
Status: RESOLVED FIXED QA Contact: Sean V Kelley <seanvk>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.