apache / apache/nuttx

[BUG] `cp -T` is used by kconfig-merge

Open
#14,390 3 comments 0 reactions 0 assignees View on GitHub
Arch: all Area: Kconfig OS: Mac
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

### Description / Steps to reproduce the issue

try building esp32s3-devkit:knsh on macOS.
it uses kconfig-merge, which internally uses `cp -T`, which is not available for non-gnu cp.
https://bitbucket.org/nuttx/tools/src/9484147c12d051014f854852d59c21d75a9616bd/kconfig-frontends/utils/kconfig-merge#lines-135

### On which OS does this issue occur?

[OS: Mac]

### What is the version of your OS?

14.7

### NuttX Version

master

### Issue Architecture

[Arch: all]

### Issue Area

[Area: Kconfig]

### Verification

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

Contributor guide

Open the contributing guide

Research direction

Start with the referenced kconfig-merge file at the Bitbucket commit, especially line 135 where cp -T is used. Reproduce the esp32s3-devkit:knsh build on macOS 14.7 and inspect how the copy operation can work with non-GNU cp. Done means the build completes on macOS without relying on the unsupported option.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.