RTEMS Source Builder | darwin: Allow install-info and makeinfo to live in PATH (!310)

Aaditya Agarwal (@aaditya8979) gitlab at rtems.org
Thu Nov 5 13:16:12 UTC 2026



Aaditya Agarwal created a merge request: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/310

Project:Branches: aaditya8979/rtems-source-builder:darwin-install-info to rtems/tools/rtems-source-builder:main
Author: Aaditya Agarwal

## Summary

On modern Darwin (macOS), `install-info` and `makeinfo` are no longer provided under `/usr/bin/`. RSB's `defaults.mc` defaults both to `/usr/bin/install-info` and `/usr/bin/makeinfo`, causing warnings during `sb-check` and a build failure when compiling packages that invoke them (such as `sis`):

```
warning: exe: absolute exe found in path: (__install_info) /usr/bin/install-info
warning: exe: absolute exe found in path: (__makeinfo) /usr/bin/makeinfo
```

## Solution

Override `__install_info` and `__makeinfo` in `source-builder/sb/darwin.py` with their executable names `('exe', 'optional', 'install-info')` and `('exe', 'optional', 'makeinfo')`. This allows RSB to locate them from `PATH` (e.g. from Homebrew or MacPorts), consistent with the existing overrides for `xz` and `cvs` on Darwin.

Verified with `python3 source-builder/sb-check` and a complete SPARC toolchain build on macOS Apple Silicon.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/310
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/14/sent_notifications/6-6j0r141g3nhpmalj8hee5l68x-e/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20261105/6b6ccb21/attachment-0001.htm>


More information about the bugs mailing list