Bug#1136633: libjxl-devtools: doesn't reproduce as it captures CPU features of the host in the binary

xiao sheng wen(肖盛文) atzlinux at sina.com
Fri May 15 09:17:59 BST 2026


Hi,

Thanks for your bug report, it's good! 

在 2026/5/14 15:44, Paul Gevers 写道:
> Package: libjxl-devtools
> Version: 0.11.2-3
> Severity: normal
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: cpu
> 
> Hi,
> 
> I just had a look at why libjxl-devtools and libjxl-tools don't reproduce and it seems to capture the CPU features of the host where the build runs and embeds it in the binary. Could you have a look and avoid it? If it would actually uses these results, your package would very likely be violating the Debian baseline for amd64 too.

In libjxl-devtools and libjxl-tools packages, also has binary CLI:

/usr/bin/cjxl
/usr/bin/djxl
/usr/bin/benchmark_xl

These command files had passed reproduce build, they are identical in different build host,
so they don't capture the CPU features of the host where the build runs and embeds it in the binary.

The question is the man which generated by help2man.

The jpeg-xl source package build depend the libhwy-dev, 
it's source package is highway.

ldd /usr/bin/benchmark_xl |grep hwy
libhwy.so.1 => /usr/lib/x86_64-linux-gnu/libhwy.so.1 (0x00007fbe70295000)

As far as I know,
the highway so library libhwy.so.1 will auto detect the CPU SIMD/vector instructions which program run on.

benchmark_xl,cjxl,djxl --help will print the CPU SIMD/vector instructions information which get from libhwy.so.1.

About this bug, How to fix it?
Welcome supply some suggestions. Patch is also welcome.


> 
> Paul
> 
> https://reproduce.debian.net/amd64/api/v1/builds/253117/artifacts/643921/diffoscope
> 
> │ │ ├── ./usr/share/man/man1/benchmark_xl.1.gz
> │ │ │ ├── benchmark_xl.1
> │ │ │ │ @@ -2,15 +2,15 @@
> │ │ │ │  .TH BENCHMARK_XL "1" "May 2026" "benchmark_xl 0.11.2" "User Commands"
> │ │ │ │  .SH NAME
> │ │ │ │  benchmark_xl - benchmark_xl
> │ │ │ │  .SH SYNOPSIS
> │ │ │ │  .B benchmark_xl
> │ │ │ │  [\fI\,OPTIONS\/\fR...]
> │ │ │ │  .SH DESCRIPTION
> │ │ │ │ -benchmark_xl v0.11.2 [AVX3_DL,AVX2,SSE4,SSE2]
> │ │ │ │ +benchmark_xl v0.11.2 [AVX2,SSE4,SSE2]
> 
> 
> https://reproduce.debian.net/amd64/api/v1/builds/253117/artifacts/643923/diffoscope
> 
> │ │ ├── ./usr/share/man/man1/cjxl.1.gz
> │ │ │ ├── cjxl.1
> │ │ │ │ @@ -219,15 +219,15 @@
> │ │ │ │  .TH CJXL "1" "May 2026" "cjxl 0.11.2" "User Commands"
> │ │ │ │  .SH NAME
> │ │ │ │  cjxl \- manual page for cjxl 0.11.2
> │ │ │ │  .SH SYNOPSIS
> │ │ │ │  .B cjxl
> │ │ │ │  \fI\,INPUT OUTPUT \/\fR[\fI\,OPTIONS\/\fR...]
> │ │ │ │  .SH DESCRIPTION
> │ │ │ │ -JPEG XL encoder v0.11.2 [AVX3_DL,AVX2,SSE4,SSE2]
> │ │ │ │ +JPEG XL encoder v0.11.2 [AVX2,SSE4,SSE2]
> 

Regards,
-- 
肖盛文 xiao sheng wen -- Debian Developer(atzlinux)
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40debian.org
GnuPG Public Key: 0x00186602339240CB

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-phototools-devel/attachments/20260515/fbac4835/attachment-0001.sig>


More information about the Pkg-phototools-devel mailing list