Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Chris Johns
On 25/10/2018 10:26, Malte Münch wrote: > python is symlinked to python3 and ./waf crashes and the fresh > waf-2.0.12 executes fine. Fantastic. Would you please create a ticket and assign it to me? This will give us a record in the release notes of the change and why. Thanks Chris ___

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Malte Münch
Yes i think this resolves the issue: [mamu@verstappen rtems-tools]$ ./waf Traceback (most recent call last): File "/home/mamu/vcs/git/rtems-tools/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Node.py", line 295, in ant_iter raise StopIteration StopIteration The above exception was the

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Chris Johns
On 25/10/2018 09:09, Malte Münch wrote: > It seems to be an issue with the waf building system. If i change the > symlink /usr/bin/python to python2 everything works fine and the build > is able to run through. I suspected this may be an issue. joel and I are planning to update all the waf instanc

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Malte Münch
It seems to be an issue with the waf building system. If i change the symlink /usr/bin/python to python2 everything works fine and the build is able to run through. Best Malte On 24.10.18 13:23, Malte Münch wrote: > Hi Chris, > > the GDB build went fine but lateron the rtems-tools build crashed

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Malte Münch
Now i deleted the whole rsb folder and started from scratch with your new 2 patches. Everything works fine until that rtems-tools section and the build crashes after around 55 Minutes of compiling :-/ I've attached the whole trace of the crash: + /bin/mkdir -p /home/mamu/rd/rsb/rtems/build/tmp/r

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Malte Münch
Hi Chris, the GDB build went fine but lateron the rtems-tools build crashed with the following error: ret=[x for x in self.ant_iter(accept=accept,pats=[to_pat(incl),to_pat(excl)],maxdepth=kw.get('maxdepth',25),dir=dir,src=src,remove=kw.get('remove',True))] RuntimeError: generator raised StopIter

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Chris Johns
On 24/10/18 9:20 pm, Malte Münch wrote: > > the output with LC_ALL= is still in german but LC_ALL=C returns the > following: Excellent. > > [mamu@verstappen rtems]$ echo “” | LC_ALL=C gcc -xc -E -v - > > Using built-in specs. > > COLLECT_GCC=gcc > > Target: x86_64-pc-linux-gnu > > Configure

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Malte Münch
Hi Chris, the output with LC_ALL= is still in german but LC_ALL=C returns the following: [mamu@verstappen rtems]$ echo “” | LC_ALL=C gcc -xc -E -v - Using built-in specs. COLLECT_GCC=gcc Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Chris Johns
On 24/10/18 9:03 pm, Malte Münch wrote: > This is the output: Thanks. > [mamu@verstappen rtems]$ echo “” | gcc -xc -E -v - > Es werden eingebaute Spezifikationen verwendet. > COLLECT_GCC=gcc > Ziel: x86_64-pc-linux-gnu > Konfiguriert mit: /build/gcc/src/gcc/configure --prefix=/usr > --libdir=/u

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Malte Münch
This is the output: [mamu@verstappen rtems]$ echo “” | gcc -xc -E -v - Es werden eingebaute Spezifikationen verwendet. COLLECT_GCC=gcc Ziel: x86_64-pc-linux-gnu Konfiguriert mit: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Chris Johns
> On 24 Oct 2018, at 7:43 pm, Malte Münch wrote: > > Hi, > > i think you meant that command here: > > /home/mamu/dr/rsb/source-builder/sb/rtems-build-dep -c gcc -H > python2.7/Python.h > > with an additional -d flag it returns: > > > + '[' -z header ']' > + '[' -z gcc ']' > + '[' -z python2

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Malte Münch
Hi, i think you meant that command here: /home/mamu/dr/rsb/source-builder/sb/rtems-build-dep -c gcc -H python2.7/Python.h with an additional -d flag it returns: + '[' -z header ']' + '[' -z gcc ']' + '[' -z python2.7/Python.h ']' + '[' header = header ']' ++ echo ++ gcc -xc -E -v - ++ awk 'BE

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Chris Johns
> On 24 Oct 2018, at 6:29 pm, Malte Münch wrote: > > Hi Chris, > > thanks for your answer. I said yesterday: "it worked fine before commit > 13f4c379997b53b204d8534d198da2fa35dd5630" that was actually not true. > The first part worked fine but lateron the GDB build failed. I solved > that issue

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-24 Thread Malte Münch
Hi Chris, thanks for your answer. I said yesterday: "it worked fine before commit 13f4c379997b53b204d8534d198da2fa35dd5630" that was actually not true. The first part worked fine but lateron the GDB build failed. I solved that issue by reverting even further back. Your patch works well for the fi

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-23 Thread Chris Johns
On 23/10/2018 23:47, Malte Münch wrote: > Hi, > > i have difficulties running the source builder on Archlinux. It worked > fine before commit 13f4c379997b53b204d8534d198da2fa35dd5630 (sb: Add > support to search for a suitable version of python.) Know it stops with > the following error: Many tha

Re: [PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-23 Thread Malte Münch
Hi, i have difficulties running the source builder on Archlinux. It worked fine before commit 13f4c379997b53b204d8534d198da2fa35dd5630 (sb: Add support to search for a suitable version of python.) Know it stops with the following error: [mamu@verstappen rtems]$ ../source-builder/sb-set-builder -

[PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-18 Thread chrisj
From: Chris Johns The command python has been removed from upstream python and python2 and python3 is now used. This patch wraps the commands in a shell script that locates a suitable python to run. Updates #3537 --- source-builder/config/gdb-common-1.cfg | 105 +- source-builder/de