[Mesa-dev] mesa from git fails to compile

Eric Engestrom eric.engestrom at imgtec.com
Thu Jul 14 14:41:51 UTC 2016


On Thu, Jul 14, 2016 at 12:24:32PM +0200, Pali Rohár wrote:
> Any news? Or possible fix?

Have you tried Emil's suggestion, ie. upgrading to at least 0.8.0?

Build system wizards:
Any way to check the version and abort the compilation before running
into this issue?  If it helps, this prints the version:
	python <<< 'import mako; print(mako.__version__)'

> 
> On Sunday 10 July 2016 18:26:28 Jason Ekstrand wrote:
> > This smells like strange Python problems.  Ccing the resident Python expert.
> > Hello, compiling mesa from git is failing on this error:
> > 
> > Making all in isl
> > make[5]: Entering directory `/«PKGBUILDDIR»/build/dri/src/intel/isl'
> > python2.7  ../../../../../src/intel/isl/gen_format_layout.py \
> >             --csv ../../../../../src/intel/isl/isl_format_layout.csv --out
> > isl_format_layout.c
> > Traceback (most recent call last):
> >   File "../../../../../src/intel/isl/gen_format_layout.py", line 92, in
> > <module>
> >     output_encoding='utf-8')
> > TypeError: __init__() got an unexpected keyword argument 'future_imports'
> > make[5]: *** [isl_format_layout.c] Error 1
> > make[5]: Leaving directory `/«PKGBUILDDIR»/build/dri/src/intel/isl'
> > make[4]: *** [all-recursive] Error 1
> > make[4]: Leaving directory `/«PKGBUILDDIR»/build/dri/src/intel'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/«PKGBUILDDIR»/build/dri/src'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/«PKGBUILDDIR»/build/dri/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/«PKGBUILDDIR»/build/dri'
> > make: *** [debian/stamp/x86_64-linux-gnu-build-dri] Error 2
> > 
> > Any idea where is problem and how to fix it?
> > 
> > Full build log is available at:
> > 
> > https://launchpad.net/~pali/+archive/ubuntu/graphics-drivers/+build/10446196/+files/buildlog_ubuntu-precise-amd64.mesa-lts-trusty_11.3.0-git201607100358.5c17fb2~ubuntu12.04.1_BUILDING.txt.gz
> > 
> > --
> > Pali Rohár
> > pali.rohar at gmail.com
> > 
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 
> -- 
> Pali Rohár
> pali.rohar at gmail.com


More information about the mesa-dev mailing list