Skip to content

Fix: Inconsistent log function names (show_ vs print_) and missing cmake dependency in build.sh #190

@dionezvi

Description

@dionezvi

Describe the bug

While using the build.sh script, I noticed a syntax inconsistency that leads to a "command not found" error (Exit Code 127) when a build failure occurs. The script defines functions with the show_ prefix (e.g., show_info, show_err) but attempts to call them using the print_ prefix (e.g., print_info, print_err).

Additionally, the RTOS and other components require cmake and ninja to be installed on the host system, which are currently missing from the documentation's dependency list.

Proposed Fix

  1. Standardize all log calls to use the print_info and print_error pattern.

I have already tested these changes locally and they fixed the masking of original build errors.

"Below is the corrected build.sh file."

*Reported by Dionezvi

(Human & Agro)*

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions