Re: [Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-10-02 Thread Dylan Baker
I haven't had a chance to do that yet. I'll see if I can find some time this week. Quoting Emil Velikov (2018-10-02 08:02:12) > Hi Dylan, > > On Mon, 3 Sep 2018 at 14:57, Emil Velikov wrote: > > > > On 24 August 2018 at 19:51, Dylan Baker wrote: > > > Can we just change the script to write a fi

Re: [Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-10-02 Thread Emil Velikov
Hi Dylan, On Mon, 3 Sep 2018 at 14:57, Emil Velikov wrote: > > On 24 August 2018 at 19:51, Dylan Baker wrote: > > Can we just change the script to write a file instead of sending it's output > > through the shell? That should fix any encoding problems since the shell > > wont > > touch it and t

Re: [Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-09-03 Thread Emil Velikov
On 24 August 2018 at 19:51, Dylan Baker wrote: > Can we just change the script to write a file instead of sending it's output > through the shell? That should fix any encoding problems since the shell wont > touch it and the LANG settings (no matter what they are) shouldn't matter. > Seems like I

Re: [Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-08-24 Thread Dylan Baker
Can we just change the script to write a file instead of sending it's output through the shell? That should fix any encoding problems since the shell wont touch it and the LANG settings (no matter what they are) shouldn't matter. Dylan Quoting Mathieu Bridon (2018-08-24 07:58:21) > Hi, > > On Th

Re: [Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-08-24 Thread Mathieu Bridon
Hi, On Thu, 2018-08-23 at 23:23 -0400, Ilia Mirkin wrote: > This breaks the build for me. It selects python3 instead of python2, > and gen_xmlpool.py bails out when trying to print \xf3 to stdout with > a LANG=C locale. In general though, Python 3 works very badly with LANG=C. Upstream Python rec

Re: [Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-08-24 Thread Dylan Baker
Quoting Emil Velikov (2018-08-24 02:34:04) > On Fri, 24 Aug 2018 at 04:23, Ilia Mirkin wrote: > > > > This breaks the build for me. It selects python3 instead of python2, > > and gen_xmlpool.py bails out when trying to print \xf3 to stdout with > > a LANG=C locale. Revert until scripts are fixed a

Re: [Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-08-24 Thread Dylan Baker
Quoting Emil Velikov (2018-08-24 02:34:04) > On Fri, 24 Aug 2018 at 04:23, Ilia Mirkin wrote: > > > > This breaks the build for me. It selects python3 instead of python2, > > and gen_xmlpool.py bails out when trying to print \xf3 to stdout with > > a LANG=C locale. Revert until scripts are fixed a

Re: [Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-08-24 Thread Emil Velikov
On Fri, 24 Aug 2018 at 04:23, Ilia Mirkin wrote: > > This breaks the build for me. It selects python3 instead of python2, > and gen_xmlpool.py bails out when trying to print \xf3 to stdout with > a LANG=C locale. Revert until scripts are fixed and try again? > Sure will revert in a moment. The con

Re: [Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-08-23 Thread Ilia Mirkin
This breaks the build for me. It selects python3 instead of python2, and gen_xmlpool.py bails out when trying to print \xf3 to stdout with a LANG=C locale. Revert until scripts are fixed and try again? On Thu, Aug 23, 2018 at 10:34 AM, Emil Velikov wrote: > From: Emil Velikov > > Pretty much all

Re: [Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-08-23 Thread Emil Velikov
On Thu, 23 Aug 2018 at 15:59, Eric Engestrom wrote: > > On Thursday, 2018-08-23 15:34:29 +0100, Emil Velikov wrote: > > From: Emil Velikov > > > > Pretty much all of the scripts are python2+3 compatible. > > Check and allow using python3, while adjusting the PYTHON2 refs. > > > > Note: > > - pyt

Re: [Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-08-23 Thread Eric Engestrom
On Thursday, 2018-08-23 15:34:29 +0100, Emil Velikov wrote: > From: Emil Velikov > > Pretty much all of the scripts are python2+3 compatible. > Check and allow using python3, while adjusting the PYTHON2 refs. > > Note: > - python3.4 is used as it's the earliest supported version > - python3 is

[Mesa-dev] [PATCH 2/3] configure: allow building with python3

2018-08-23 Thread Emil Velikov
From: Emil Velikov Pretty much all of the scripts are python2+3 compatible. Check and allow using python3, while adjusting the PYTHON2 refs. Note: - python3.4 is used as it's the earliest supported version - python3 is chosen prior to python2 Signed-off-by: Emil Velikov --- configure.ac