Your message dated Tue, 23 Dec 2025 22:20:19 +0000
with message-id <[email protected]>
and subject line Bug#1113813: fixed in llama.cpp 6641+dfsg-2
has caused the Debian Bug report #1113813,
regarding llama.cpp: please make the build reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1113813: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113813
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: llama.cpp
Version: 5882+dfsg-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: cpu
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
llama.cpp could not be built reproducibly.
This is because the llama-bench.1 manual page embeds the number of
CPUs:
│ │ │ ├── ./usr/share/man/man1/llama-bench.1.gz
│ │ │ │ ├── llama-bench.1
│ │ │ │ │ @@ -63,15 +63,15 @@
│ │ │ │ │ \fB\-dt\fR, \fB\-\-defrag\-thold\fR <f>
│ │ │ │ │ (default: \fB\-1\fR)
│ │ │ │ │ .TP
│ │ │ │ │ \fB\-t\fR, \fB\-\-threads\fR <n>
│ │ │ │ │ -(default: 16)
│ │ │ │ │ +(default: 12)
│ │ │ │ │ .TP
A patch is attached that replaces this nondetermistic value with a
placeholder value; the default is still calculated at runtime.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible-builds.patch 1969-12-31 16:00:00.000000000
-0800
--- b/debian/patches/reproducible-builds.patch 2025-09-02 14:32:40.264552665
-0700
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2025-09-02
+
+--- llama.cpp-5882+dfsg.orig/common/arg.cpp
++++ llama.cpp-5882+dfsg/common/arg.cpp
+@@ -1297,7 +1297,7 @@ common_params_context common_params_pars
+ ).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SPECULATIVE,
LLAMA_EXAMPLE_LOOKUP}));
+ add_opt(common_arg(
+ {"-t", "--threads"}, "N",
+- string_format("number of threads to use during generation (default:
%d)", params.cpuparams.n_threads),
++ "number of threads to use during generation (default: <num_cpus>)",
+ [](common_params & params, int value) {
+ params.cpuparams.n_threads = value;
+ if (params.cpuparams.n_threads <= 0) {
--- a/debian/patches/series 2025-09-02 14:22:06.037488030 -0700
--- b/debian/patches/series 2025-09-02 14:32:38.842189218 -0700
@@ -3,3 +3,4 @@
cmake-Install-to-private-directories.patch
gguf-py-depends-on-the-requests-library.patch
Add-soversion-to-libraries.patch
+reproducible-builds.patch
--- End Message ---
--- Begin Message ---
Source: llama.cpp
Source-Version: 6641+dfsg-2
Done: Christian Kastner <[email protected]>
We believe that the bug you reported is fixed in the latest version of
llama.cpp, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christian Kastner <[email protected]> (supplier of updated llama.cpp package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 23 Dec 2025 21:24:32 +0100
Source: llama.cpp
Architecture: source
Version: 6641+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <[email protected]>
Changed-By: Christian Kastner <[email protected]>
Closes: 1113813
Changes:
llama.cpp (6641+dfsg-2) unstable; urgency=medium
.
[ Chris Lamb ]
* Add reproducible-builds.patch (Closes: #1113813)
.
[ Christian Kastner ]
* autopkgtest: Explicitly limit architectures for GPU tests
* autopkgtest: Use Q4_K_M quants, as per mbaudier's suggestion
* Replace libggml0-backend-cpu dependencies with libggml0
* autopkgtest: backend-vulkan-nvidia is also skip-not-installable
Checksums-Sha1:
4d1a14d302ac122ca95019690b509a4554959fd2 2879 llama.cpp_6641+dfsg-2.dsc
684d1158037be786dc6ef70d6d63aaf9a3db5bb2 16028
llama.cpp_6641+dfsg-2.debian.tar.xz
d9105d4914a93ca6a4b5585782c8a33be25df9f0 6937
llama.cpp_6641+dfsg-2_source.buildinfo
Checksums-Sha256:
10928d7077673368574bc52843b99818f2f10f98ea198d50343f7820ef587391 2879
llama.cpp_6641+dfsg-2.dsc
54afe7ad219d44e748c4aed98c693b518fd0e211a8ef76c63ba56fb9b853c3c4 16028
llama.cpp_6641+dfsg-2.debian.tar.xz
7873371388d851e01b0fecba9169e3cd538f8da5456fc60a76f424d396139a1e 6937
llama.cpp_6641+dfsg-2_source.buildinfo
Files:
9720ca07da3ab1732a92df26badd436c 2879 science optional
llama.cpp_6641+dfsg-2.dsc
23d793fd7017a0e818483c97e6dc135a 16028 science optional
llama.cpp_6641+dfsg-2.debian.tar.xz
44733a06bd2fa5bc272c262ff125440e 6937 science optional
llama.cpp_6641+dfsg-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQZ9+mkfDq5UZ8bCjOZU6N95Os2sFAmlLFNgACgkQOZU6N95O
s2vjvw/9Hx8gmP92mTBtMaE8H7jBXGk1cz9ye0yuAW+oON8BpKTIxmbvHkkyEa51
O7MoFt9rOWsH+Wbh5AFtQOC5QX939KtBqZ8FEISeypimo8FdJJ+pGEHBHa7fiMj5
kM7ITOYoj1e4d6oljSUzYxqBcTmejouRvBbPTylzk757PtVHU8/EI2Do5pF5nCS1
tUUeKF5u7oGNmB7ayYVg8F8E4dHlHz4+L2z7inhAAKoP1Sy/0EGHCmKqfSiP8dsj
NPmwJi7+P/LoeAZDcca1mDg9mDdSXmT7HHA9CM/eImUFGJlPDYRYQDUJwQ4afxjl
Fm8XyObbOXD+jki7eIjMmS+3pXT+hHgAokXbbltcejEzf0uLGKHNEeGIraGKi2ld
YiMcUaoxy0w+KLntI/GUkZoavN68q9hWNZil7VPA3nzxH3y2Kr+rE81m8rO0BzO6
P8oWFTgCvXGsg4jQ+cB4FTDb//Co210xggOmscilIZWZ8BQPeUg2Qgw0hD4qsDVp
Qal0elrFhll0n7iyGf6oqPmkNRM/t0xgz5aqB0uXG/Snzy9y5Mji3te7qE8GS4cq
f4hI+Gte0LthgxjxBz+zZeVRCDuBFOrqkk7fAFxPkU5n6vqwHhLpzLHtsRI3wLA9
mfm4DqyDupfGvg8tJPS98g63Gs+y4MSSeeR4u6aZevCVH7FXyk4=
=6C6R
-----END PGP SIGNATURE-----
pgpm3an8TmJHH.pgp
Description: PGP signature
--- End Message ---