Re: [Mesa-dev] mesa from git fails to compile

2016-07-15 Thread Dylan Baker
Sorry to not respond earlier, I've apparently been having silent
filesystem corruption for over a week now.

Can you use pip --user to install a newer version of mako locally? mako
0.5 was realeased in late 2011, and not having the output_encoding and
future_imports arguments are going to make hybridizing for python3 very
painful. In the short term I can send a patch that makes it work with
0.5.0, but there may not be a good way in the future to keep
compatibility.

Just FYI, mako 0.8 was released in early 2013, which is what piglit
requires as it's minimum.

On Thu, Jul 14, 2016, at 07:48, Pali Rohár wrote:
> On Thursday 14 July 2016 15:41:51 Eric Engestrom wrote:
> > 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?
> 
> No, as I wrote that ubuntu precise for that build has only python-mako
> in version 0.5.0 :-( As ubuntu precise does not have newer version I
> cannot update system package...
> 
> > 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__)'
> 
> -- 
> Pali Rohár
> pali.ro...@gmail.com
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


-- 
  Dylan Baker
  dy...@pnwbakers.com
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa from git fails to compile

2016-07-14 Thread Pali Rohár
On Thursday 14 July 2016 15:41:51 Eric Engestrom wrote:
> 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?

No, as I wrote that ubuntu precise for that build has only python-mako
in version 0.5.0 :-( As ubuntu precise does not have newer version I
cannot update system package...

> 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__)'

-- 
Pali Rohár
pali.ro...@gmail.com
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa from git fails to compile

2016-07-14 Thread Emil Velikov
On 14 July 2016 at 15:41, Eric Engestrom  wrote:
> 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?
>
Other than this, I'm out of ideas. My python/mako isn't that great.

> 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__)'
>
See m4/ax_check_python_mako_module.m4 and $ git grep -10
AX_CHECK_PYTHON_MAKO_MODULE -- configure.ac.

Cheers,
Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa from git fails to compile

2016-07-14 Thread Eric Engestrom
On Thu, Jul 14, 2016 at 10:51:43AM -0400, Rob Clark wrote:
> On Thu, Jul 14, 2016 at 10:41 AM, Eric Engestrom
>  wrote:
> > 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__)'
> 
> maybe just check in configure.ac?

Oh right, there's already check for the Mako version, but the minimum is
currently set to 0.3.4 (configure.ac:92).

Emil, you were the one to mention 0.8.0; is that the actual minimum, or
just a known working version?

> 
> BR,
> -R
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa from git fails to compile

2016-07-14 Thread Rob Clark
On Thu, Jul 14, 2016 at 10:41 AM, Eric Engestrom
 wrote:
> 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__)'

maybe just check in configure.ac?

BR,
-R

>>
>> 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
>> > 
>> > 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.ro...@gmail.com
>> >
>> > ___
>> > mesa-dev mailing list
>> > mesa-dev@lists.freedesktop.org
>> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>>
>> --
>> Pali Rohár
>> pali.ro...@gmail.com
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa from git fails to compile

2016-07-14 Thread Eric Engestrom
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
> > 
> > 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.ro...@gmail.com
> > 
> > ___
> > mesa-dev mailing list
> > mesa-dev@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 
> -- 
> Pali Rohár
> pali.ro...@gmail.com
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa from git fails to compile

2016-07-14 Thread Pali Rohár
Any news? Or possible fix?

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
> 
> 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.ro...@gmail.com
> 
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

-- 
Pali Rohár
pali.ro...@gmail.com
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa from git fails to compile

2016-07-11 Thread Pali Rohár
On Monday 11 July 2016 10:11:30 Emil Velikov wrote:
> Sounds similar (the same?) as
> https://bugs.freedesktop.org/show_bug.cgi?id=89347.

Output error looks lo be same.

> Which version of mako do you have, can you give things a try with
> 0.8.0 or later ?

If you mean mako python module, then I have version 0.5.0. That build is
for Ubuntu precise which have only that one version in repository, see:
http://packages.ubuntu.com/precise/python-mako So I do not have new
version of make...

-- 
Pali Rohár
pali.ro...@gmail.com
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa from git fails to compile

2016-07-11 Thread Emil Velikov
On 10 July 2016 at 22:11, Pali Rohár  wrote:
> 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 
> 
> 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
>

Sounds similar (the same?) as
https://bugs.freedesktop.org/show_bug.cgi?id=89347.
Which version of mako do you have, can you give things a try with
0.8.0 or later ?

-Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa from git fails to compile

2016-07-10 Thread Jason Ekstrand
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

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.ro...@gmail.com

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev