Bug 293496

Summary: misc/llama-cpp conflicts with misc/ggml
Product: Ports & Packages Reporter: mord0d
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Many People CC: mord0d
Priority: --- Flags: bugzilla: maintainer-feedback? (yuri)
Version: Latest   
Hardware: Any   
OS: Any   

Description mord0d 2026-02-28 09:56:24 UTC
Is it possible to use misc/ggml instead of the bundled one?

Conflicting library paths makes it impossible to install audio/whisper.cpp (which depends on misc/ggml) and misc/llama-cpp on the same system.
Comment 1 mord0d 2026-02-28 10:04:01 UTC
Using misc/ggml will prevent #283205 to happen again (8132 has no %%VULKAN%% in the pkg-plist).
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2026-02-28 16:57:29 UTC
It used the bundled ggml because llama-cpp wasn't compatible with misc/ggml.

But now this problem is gone, and I fixed it in the port.

Thanks for reporting this problem!
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-02-28 16:58:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=15a257d5f8b3fd93cf23cf61361253024a651413

commit 15a257d5f8b3fd93cf23cf61361253024a651413
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-02-28 16:54:53 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-02-28 16:57:34 +0000

    misc/llama-cpp: update 8132 → 8182

    It now uses the the ggml package as dependency instead of the bundled one.

    PR:             293496 (for ggml part)
    Reported by:    mord0d@firemail.cc

 misc/llama-cpp/Makefile  |  8 +++++---
 misc/llama-cpp/distinfo  |  6 +++---
 misc/llama-cpp/pkg-plist | 35 ++---------------------------------
 3 files changed, 10 insertions(+), 39 deletions(-)