Waf's dependency on Python3

Adam Lindberg adam.lindberg at stritzinger.com
Wed Mar 20 13:00:41 UTC 2019


I’m having less luck using Python 3 on macOS 10.14 (via Hombrew):

    + python3 /opt/grisp/grisp-software/cd73e8f90d/build/..//rtems-install/rtems/5//bin/waf configure --prefix=/opt/grisp/grisp-software/cd73e8f90d/build/..//rtems-install/rtems/5/ --rtems-bsps=arm/atsamv --buildset=/opt/grisp/grisp-software/cd73e8f90d/build/libbsd-buildset.ini
    Setting top to                           : /opt/grisp/grisp-software/cd73e8f90d/rtems-libbsd
    Setting out to                           : /opt/grisp/grisp-software/cd73e8f90d/rtems-libbsd/build
    RTEMS Version                            : 5
    Architectures                            : arm-rtems5
    Board Support Package                    : arm-rtems5-atsamv
    Show commands                            : no
    Long commands                            : no
    Checking for program 'arm-rtems5-gcc'    : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-gcc
    Checking for program 'arm-rtems5-g++'    : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-g++
    Checking for program 'arm-rtems5-gcc'    : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-gcc
    Checking for program 'arm-rtems5-ld'     : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-ld
    Checking for program 'arm-rtems5-ar'     : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-ar
    Checking for program 'arm-rtems5-nm'     : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-nm
    Checking for program 'arm-rtems5-objdump' : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-objdump
    Checking for program 'arm-rtems5-objcopy' : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-objcopy
    Checking for program 'arm-rtems5-readelf' : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-readelf
    Checking for program 'arm-rtems5-strip'   : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-strip
    Checking for program 'rtems-ld'           : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/rtems-ld
    Checking for program 'rtems-tld'          : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/rtems-tld
    Checking for program 'rtems-bin2c'        : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/rtems-bin2c
    Checking for program 'tar'                : /usr/bin/tar
    Checking for program 'gcc, cc'            : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-gcc
    Checking for program 'ar'                 : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-ar
    Checking for program 'g++, c++'           : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-g++
    Checking for program 'ar'                 : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-ar
    Checking for program 'gas, gcc'           : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-gcc
    Checking for program 'ar'                 : /opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/arm-rtems5-ar
    Compiler version (arm-rtems5-gcc)         : 7.3.0 20180125 (RTEMS 5, RSB -modified, Newlib d13c84eb07e35984bf7a974cd786a6cdac29e6b9)
    Checking for RTEMS CPU options header     : started
    -> processing test results                : all ok
    Checking for RTEMS_DEBUG                  : no
    Checking for RTEMS_MULTIPROCESSING        : no
    Checking for RTEMS_NEWLIB                 : yes
    Checking for RTEMS_POSIX_API              : yes
    Checking for RTEMS_SMP                    : no
    Checking for RTEMS_NETWORKING             : no
    Checking for RTEMS header                 : started
    -> processing test results                : all ok
    Checking for header dlfcn.h               : yes
    Checking for header rtems/pci.h           : yes
    Configure variant:                        : arm-rtems5-atsamv-grisp
    Checking for header rtems/rtems-debugger.h : yes
    'configure' finished successfully (1.027s)
    + python3 /opt/grisp/grisp-software/cd73e8f90d/build/..//rtems-install/rtems/5//bin/waf
    Traceback (most recent call last):
      File "/opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/.waf3-2.0.2-b8fa647d13364cbe0c1c8ec06042b54d/waflib/Node.py", line 299, in ant_iter
        raise StopIteration
    StopIteration

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

    Traceback (most recent call last):
      File "/opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/.waf3-2.0.2-b8fa647d13364cbe0c1c8ec06042b54d/waflib/Scripting.py", line 118, in waf_entry_point
        run_commands()
      File "/opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/.waf3-2.0.2-b8fa647d13364cbe0c1c8ec06042b54d/waflib/Scripting.py", line 178, in run_commands
        ctx=run_command(cmd_name)
      File "/opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/.waf3-2.0.2-b8fa647d13364cbe0c1c8ec06042b54d/waflib/Scripting.py", line 169, in run_command
        ctx.execute()
      File "/opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/.waf3-2.0.2-b8fa647d13364cbe0c1c8ec06042b54d/waflib/Scripting.py", line 366, in execute
        return execute_method(self)
      File "/opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/.waf3-2.0.2-b8fa647d13364cbe0c1c8ec06042b54d/waflib/Build.py", line 92, in execute
        self.load_envs()
      File "/opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/.waf3-2.0.2-b8fa647d13364cbe0c1c8ec06042b54d/waflib/Build.py", line 72, in load_envs
        lst=node.ant_glob('**/*%s'%CACHE_SUFFIX,quiet=True)
      File "/opt/grisp/grisp-software/cd73e8f90d/rtems-install/rtems/5/bin/.waf3-2.0.2-b8fa647d13364cbe0c1c8ec06042b54d/waflib/Node.py", line 353, in ant_glob
        return list(it)
    RuntimeError: generator raised StopIteration


Cheers,
Adam

--
Adam Lindberg
Senior Developer
+49 8135 69492 90

Peer Stritzinger GmbH    Geschäftsführer: Peer Stritzinger
Aumüllerstr. 14          Handelsregister München HRB 133238
82216 Maisach            www.stritzinger.com

> On 20. Mar 2019, at 12:37, Adam Lindberg <adam.lindberg at stritzinger.com> wrote:
> 
> Good catch! Suspiciously close to .h and .o :-/
> 
> Looking forwards to a solution. Glad to know I’m not the only one having the problem.
> 
> Cheers,
> Adam
> 
> --
> Adam Lindberg
> Senior Developer
> +49 8135 69492 90
> 
> Peer Stritzinger GmbH    Geschäftsführer: Peer Stritzinger
> Aumüllerstr. 14          Handelsregister München HRB 133238
> 82216 Maisach            www.stritzinger.com
> 
>> On 26. Feb 2019, at 19:28, Jonathan Brandmeyer <jbrandmeyer at planetiq.com> wrote:
>> 
>> On Tue, Feb 26, 2019 at 10:52 AM Christian Mauderer <list at c-mauderer.de> wrote:
>> 
>>> also I don't know a solution, the problem sounds quite similar to the
>>> (unsolved) one here:
>>> 
>>> https://lists.rtems.org/pipermail/users/2019-January/032920.html
>>> 
>>> Differences: In your case it has been an "h" instead of a "o"
>> 
>> I suspect that the letter h/o distinction comes from the first
>> character in the installation path: /opt/... for your case, and
>> /home/... for mine.
>> _______________________________________________
>> users mailing list
>> users at rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
> 




More information about the users mailing list