Skip to content

Fix realpath in yt-wsp.sh - #4072

Merged
danbev merged 1 commit into
ggml-org:masterfrom
Aurora-NICExq:fix/yt-wsp-macos-realpath
Sep 18, 2026
Merged

danbev merged 1 commit into
ggml-org:masterfrom
Aurora-NICExq:fix/yt-wsp-macos-realpath

Conversation

@Aurora-NICExq

Copy link
Copy Markdown
Contributor

examples/yt-wsp.sh died on macOS while resolving its own path: GNU realpath -e is not valid for BSD realpath, and older macOS has no realpath at all. The script now uses plain realpath when present, otherwise cd and pwd -P, same approach as the model download scripts.

Fixes #530

macOS ships BSD realpath, which rejects -e and is missing on older
releases. Use plain realpath when present, otherwise cd and pwd -P.

Fixes ggml-org#530
@Aurora-NICExq Aurora-NICExq changed the title fix(yt-wsp): Resolve script path without GNU realpath yt-wsp.sh : fix realpath on macOS Sep 18, 2026
@Aurora-NICExq Aurora-NICExq changed the title yt-wsp.sh : fix realpath on macOS Fix realpath in yt-wsp.sh Sep 18, 2026
@Aurora-NICExq
Aurora-NICExq marked this pull request as ready for review September 18, 2026 05:38
@danbev
danbev merged commit 5670d5c into ggml-org:master Sep 18, 2026
bygreencn added a commit to bygreencn/whisper.cpp that referenced this pull request Sep 23, 2026
* ggerganov/master: (81 commits)
  fix(yt-wsp): Resolve script path without GNU realpath (ggml-org#4072)
  cli : load backends after validating input files (ggml-org#4069)
  ci : update android-actions to v4.0.4 (ggml-org#4074)
  docs : clarify VAD mode timestamps and CWD model path errors (ggml-org#4019)
  readme : document the ANEForge encoder backend (ggml-org#4073)
  whisper : optional ANEForge encoder backend (Apple Neural Engine) (ggml-org#3905)
  whisper : fix int overflow in whisper_full_parallel chunk offsets (ggml-org#4044)
  sync : ggml
  ggml : bump version to 0.24.0 (ggml/1627)
  tests(s390x): add non-vxe build to tests (llama/28776)
  sycl: rfc: Use radix select for top_k (llama/28670)
  ggml-cpu : disable PCH and fix CACHE_LINE_SIZE ambiguity to fix heap corruption (llama/28882)
  sycl : fix oneDNN scratchpad breaking the pool free order (llama/28704)
  ggml-cuda: fallback to F32 on device without BF16 hardware acceleration (llama/28846)
  ggml-cpu(s390x): guard VXE-only repack helpers (llama/28775)
  sycl : Fix get mem error (llama/28227)
  vulkan: workaround NV queuesubmit driver bug (llama/28830)
  opencl: apply the noshuffle row-alignment rule to q4_K, q5_K and q8_0, not just q6_K (llama/28575)
  ggml-cuda: hip add specific config table for AMD GCN (llama/27841)
  syscl : Handle (fail gracefully) unsupported tq1_0 quants (llama/28681)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bash error with the ./examples/yt-wsp.sh file on macOS

2 participants