Control: user [email protected] Control: usertag -1 cpu Control: tag + patch
Hi Christian, * Daniel Serpell <[email protected]> [2026-01-27 16:59]:
Package: llama.cpp-tools
Version: 7593+dfsg-3
Severity: minor
Dear maintainer,
Current man pages for the tools are garbled, for example:
---------------------------------------------------------------------------
$ man llama-cli
LLAMA-CLI(1) User Commands LLAMA-CLI(1)
NAME
llama-cli - llama-cli
DESCRIPTION
load_backend: loaded CPU backend from
/usr/lib/x86_64-linux-gnu/ggml/backends0/libggml-cpu-zen4.so ----- com‐
mon params -----
-h, --help, --usage print usage and exit --version
show version and build info -cl, --cache-list show
list of models in cache --completion-bash print
source-able bash completion script for llama.cpp --verbose-prompt
print a verbose prompt before generation (default: false) -t,
--threads N number of CPU threads to use during
generation (default: <num_cpus>)
(env: LLAMA_ARG_THREADS)
---------------------------------------------------------------------------
It seems that the parsing of the 'llama-cli --help' command should redirect
standard error to /dev/null, and the parsing of the initial options should
be fixed.
This actually makes the build non reproducible. Can you please apply the attached patch?
Thanks! Jochen
From 363c5040e3ab2b2eaba034e5f2e9a6013d5c0215 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof <[email protected]> Date: Wed, 15 Jul 2026 14:04:15 +0200 Subject: [PATCH] Discard stderr from manpage This contained CPU specific information, garbled the man page and made the build not reproducible. Closes: #1126513 --- debian/rules | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/debian/rules b/debian/rules index 2d37ffc..1976d22 100755 --- a/debian/rules +++ b/debian/rules @@ -43,11 +43,10 @@ execute_after_dh_auto_build-arch: --name=$$progname_base \ --section=1 \ --no-info \ - --no-discard-stderr \ $$progname > man/man1/$$progname_base.1; \ done sed -i 's/obj\\-.*\///' man/man1/*.1 - + execute_after_dh_auto_install-arch: # Bash completion file mkdir -p completions @@ -80,10 +79,9 @@ override_dh_auto_install-indep: --name=$$progname_base \ --section=1 \ --no-info \ - --no-discard-stderr \ $$progname > man/man1/$$progname_base.1; \ done - + # llama-server systemd service configuration install -D -m0644 debian/llama-server.default debian/llama.cpp-tools/etc/default/llama-server -- 2.53.0
signature.asc
Description: PGP signature

