Typo in rtems-libbsd/rtems_waf/rtems.py?

Frank Kühndel frank.kuehndel at embedded-brains.de
Tue Jan 17 19:16:43 UTC 2023


Hello Heinz,

have you installed RTEMS (not only the tools) in `${RTEMS_ROOT}` before 
configuring libbsd? If I am not mistaken, installing RTEMS creates the 
`share/rtems6` directory.

Greetings
Frank

On 1/17/23 18:11, Heinz Junkes wrote:
> Hi,
> 
> It looks like there is a typo in rtems-libbsd/rtems_waf/rtems.py.
> 
> rtems_share_rtems_version = os.path.join(rtems_path, 'share', 'rtems' + rtems_version)
> if not os.path.exists(os.path.join(rtems_share_rtems_version)):
>      ctx.fatal('RTEMS path is not valid, "%s" not found.' % (rtems_share_rtems_version))
> 
> I think that "+ rtems_version" does not belong there?
> 
> git clonehttps://github.com/RTEMS/rtems-libbsd.git
> cd rtems-libbsd/
> git checkout 6-freebsd-12
> git submodule init
> git submodule update rtems_waf
> 
> ./waf configure --prefix=${RTEMS_ROOT} --rtems-bsps=powerpc/beatnik --buildset=buildset/default.ini
> 
> leads to :
> 
> # project  configured on Tue Jan 17 17:46:09 2023 by
> # waf 2.0.19 (abi 20, python 20710f0 on linux2)
> # using ./waf configure --prefix=/home/rtems/MVME6100_6_RUN/rtems/6 --rtems-bsps=powerpc/beatnik --buildset=buildset/default.ini
> #
> ----------------------------------------
> Setting top to
> /home/rtems/MVME6100_6_INST/rtems-libbsd
> ----------------------------------------
> Setting out to
> /home/rtems/MVME6100_6_INST/rtems-libbsd/build
> from /home/rtems/MVME6100_6_INST/rtems-libbsd: RTEMS path is not valid, "/home/rtems/MVME6100_6_RUN/rtems/6/share/rtems6" not found.
> 
> 
> Heinz

-- 
embedded brains GmbH
Herr Frank KÜHNDEL
Dornierstr. 4
82178 Puchheim
Germany
email: frank.kuehndel at embedded-brains.de
phone:  +49-89-18 94 741 - 23
mobile: +49-176-15 22 06 - 11
fax:    +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/



More information about the devel mailing list