Bug 293496 - misc/llama-cpp conflicts with misc/ggml
Summary: misc/llama-cpp conflicts with misc/ggml
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-28 09:56 UTC by mord0d
Modified: 2026-02-28 16:58 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)