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

Malte Münch mamu at stablerock.de
Wed Oct 24 12:57:47 UTC 2018


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/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1-root-mamu
+ echo '==> %build:'
==> %build:
++ pwd
+
build_top=/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1
+ test x86_64-linux-gnu '!=' x86_64-linux-gnu
+ RT_HOST=
+ cd rtems-tools-36fde5169aef5b0af37f951907705caee76626ee
+ ./waf distclean configure --prefix=/home/mamu/rd/5
Traceback (most recent call last):
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Node.py",
line 295, in ant_iter
    raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Scripting.py",
line 120, in waf_entry_point
    run_commands()
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Scripting.py",
line 177, in run_commands
    parse_options()
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Scripting.py",
line 150, in parse_options
    Context.create_context('options').execute()
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Options.py",
line 149, in execute
    super(OptionsContext,self).execute()
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Context.py",
line 88, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Context.py",
line 129, in recurse
    user_function(self)
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/wscript",
line 65, in options
    recurse(ctx)
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/wscript",
line 54, in recurse
    ctx.recurse(sd)
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Context.py",
line 129, in recurse
    user_function(self)
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/rtemstoolkit/wscript",
line 36, in options
    opt.load('compiler_c')
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Context.py",
line 85, in load
    fun(self)
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Tools/compiler_c.py",
line 40, in options
  opt.load_special_tools('c_*.py',ban=['c_dumbpreproc.py'])
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Context.py",
line 319, in load_special_tools

lst=self.root.find_node(waf_dir).find_node('waflib/extras').ant_glob(var)
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Node.py",
line 344, in ant_glob
    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))]
  File
"/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/.waf3-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Node.py",
line 344, in <listcomp>
    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 StopIteration
shell cmd failed: /bin/sh -ex
/home/mamu/rd/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/do-build
error: building rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1


Thanks for your help in advance

Best,

Malte



More information about the devel mailing list