apache / apache/nuttx

[BUG] macOS: sim/note and sim/nsh fail to build

Open
#15,776 3 comments 0 reactions 0 assignees View on GitHub
Arch: simulator Area: Build system OS: Mac Type: Bug
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

### Description / Steps to reproduce the issue

macOS sim/note and sim/nsh fails to build with this Error:

```
====================================================================================
Configuration/Tool: sim/note
2025-02-06 11:39:20
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
ld: unknown option: --wrap
make[1]: *** [nuttx] Error 1
make: *** [nuttx] Error 2
make: Target `all' not remade because of errors.
/Users/runner/work/nuttx_test_pr/nuttx_test_pr/sources/nuttx/tools/testbuild.sh: line 385: /Users/runner/work/nuttx_test_pr/nuttx_test_pr/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
[1/1] Normalize sim/note
====================================================================================
Configuration/Tool: sim/nsh
2025-02-06 11:41:27
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
ld: library not found for -lgcov
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [nuttx] Error 1
make: *** [nuttx] Error 2
make: Target `all' not remade because of errors.
/Users/runner/work/nuttx_test_pr/nuttx_test_pr/sources/nuttx/tools/testbuild.sh: line 385: /Users/runner/work/nuttx_test_pr/nuttx_test_pr/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
[1/1] Normalize sim/nsh
====================================================================================

```
https://github.com/simbit18/nuttx_test_pr/actions/runs/13176605326/job/36777402793#logs

### On which OS does this issue occur?

[OS: Mac]

### What is the version of your OS?

GitHub Actions

### NuttX Version

master

### Issue Architecture

[Arch: simulator]

### Issue Area

[Area: Build System]

### Host information

_No response_

### Verification

- [x] I have verified before submitting the report.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.