Frank Kuehndel commented on a discussion: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/161#note_145815 I did a short test on an Ubuntu container. Without patching `source-builder/defaults.mc` I get ``` ferris@47674805ed4d:~/rsb/rtems$ ../source-builder/sb-check RTEMS Source Builder - Check, 7 (751299446e8f) Environment is ok ``` With the following patch: ``` diff --git a/source-builder/defaults.mc b/source-builder/defaults.mc index b7f79c9..0f226c4 100644 --- a/source-builder/defaults.mc +++ b/source-builder/defaults.mc @@ -184,7 +184,7 @@ __gzip: exe, required, '/usr/bin/gzip' __id: exe, required, '/usr/bin/id' __id_u: exe, none, '%{__id} -u' __install: exe, required, '/usr/bin/install' -__install_info: exe, optional, '/usr/bin/install-info' +__install_info: exe, required, '/usr/bin/install-info' __ld: exe, required, '/usr/bin/ld' __ldconfig: exe, required, '/sbin/ldconfig' __ln_s: exe, none, 'ln -s' ``` I get ``` ferris@47674805ed4d:~/rsb/rtems$ ../source-builder/sb-check RTEMS Source Builder - Check, 7 (751299446e8f modified) error: exe: not found: (__install_info) /usr/bin/install-info Environment is not correctly set up ferris@47674805ed4d:~/rsb/rtems$ ../source-builder/sb-set-builder --prefix /opt/rtems/7 \ 7/rtems-sparc \ 7/rtems-riscv RTEMS Source Builder - Set Builder, 7 (751299446e8f modified) error: exe: not found: (__install_info) /usr/bin/install-info error: host build environment is not set up correctly Build FAILED ``` Installing the `install-info` package, will then make these tests pass. What I cannot check is FreeBSD. I just guess `source-builder/sb/freebsd.py` around line 128 needs changing: ``` # # On 11.0+ makeinfo and install-info have moved to /usr/local/... # if fb_version >= 11: defines['__install_info'] = ('exe', 'optional', '/usr/local/bin/install-info') defines['__makeinfo'] = ('exe', 'required', '/usr/local/bin/makeinfo') ``` Just to mention it: Requiring an additional package on the host would lead to change and test the instructions on setting up a Host Computer in the [RTEMS User Manual](https://docs.rtems.org/docs/main/user/hosts/posix.html#posix-hosts). -- View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/161#note_145815 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
