Re: RTEMS tools invalid version file

2018-10-31 Thread Heinz Junkes
linking /usr/bin/python to python3 it works. Heinz > On 31. Oct 2018, at 02:20, Chris Johns wrote: > > On 31/10/2018 02:39, Heinz P. Junkes wrote: >> How can I fix this in after download (tried to run builder with >> --no-downloads >> after download all sources) >> >> After the software down

Re: RTEMS tools invalid version file

2018-10-30 Thread Chris Johns
On 31/10/2018 02:39, Heinz P. Junkes wrote: > How can I fix this in after download (tried to run builder with --no-downloads > after download all sources) > > After the software download I fixed it in > > rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1-root-h1 > > and run the source-build

Re: RTEMS tools invalid version file

2018-10-30 Thread Heinz P. Junkes
How can I fix this in after download (tried to run builder with --no-downloads after download all sources) After the software download I fixed it in rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1-root-h1 and run the source-builder witth --no-clean but without any success ... cd rtems

Re: RTEMS tools invalid version file

2018-10-30 Thread Heinz Junkes
The patch from Amar works for me. This is quick since it's late but the issue I ran into is in rtemstoolkit/version.py In line 174: -- if that's the latest _revision = int(''.join(itertools.takewhile(str.isdigit, rev))) Depending on the version of Python you are running 'rev' can be unicode

Re: RTEMS tools invalid version file

2018-10-30 Thread Heinz P. Junkes
It's on a freshly updated ubuntu 18.04.1 (This was a fault, i know ;-) ) Its python 2.7: [h1@earth rtems-tools (master *)]$ python -v # installing zipimport hook import zipimport # builtin # installed zipimport hook # /usr/lib/python2.7/site.pyc matches /usr/lib/python2.7/site.py import site # p

Re: RTEMS tools invalid version file

2018-10-29 Thread Chris Johns
On 30/10/2018 13:06, Amar Takhar wrote: > On 2018-10-30 11:20 +1100, Chris Johns wrote: > >> Amar mentioned something about this in a chat the other day and I have not >> chased it up. > > > This is quick since it's late but the issue I ran into is in > > rtemstoolkit/version.py > > In line

Re: RTEMS tools invalid version file

2018-10-29 Thread Amar Takhar
On 2018-10-30 11:20 +1100, Chris Johns wrote: > Amar mentioned something about this in a chat the other day and I have not > chased it up. This is quick since it's late but the issue I ran into is in rtemstoolkit/version.py In line 174: -- if that's the latest _revision = int(''.join(ite

Re: RTEMS tools invalid version file

2018-10-29 Thread Chris Johns
On 29/10/2018 23:03, Heinz P. Junkes wrote: > Try to run waf in rtems tools: > > [h1@earth rtems-tools (master)]$ ./waf configure > --prefix=/home/h1/RTEMS/rtems/5.0 build install > Setting top to   : /home/h1/RTEMS_DEV/rtems-tools > Setting out to