On 2026-05-02, Vagrant Cascadian wrote:
> On 2025-02-18, Chris Lamb wrote:
>> This is because the binary embeds the kernel version into one of the
>> binaries via the MFX_BUILD_INFO macro:
>>
>> │ │ │ ├── ./usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2.13
> ...
>> │ │ │ │ │ -mediasdk_build_info: Linux-6.12.9+bpo-amd64 6.12.9+bpo-amd64 | 
>> GNU 14.2.0 | glibc 2.40
>> │ │ │ │ │ +mediasdk_build_info: Linux-6.1.0-31-amd64 6.1.0-31-amd64 | GNU 
>> 14.2.0 | glibc 2.40
...
> I *thought* this looked familiar!
>
>   https://bugs.debian.org/1006455
>
> With the newer upstream version, It looks like this can be easily fixed
> in debian/rules with:
>
> diff --git a/debian/rules b/debian/rules
> index 47129d2..95146a9 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -7,7 +7,8 @@
>  override_dh_auto_configure:
>         dh_auto_configure -- \
>                 -DBUILD_TESTS=ON \
> -               -DBUILD_TOOLS=ON
> +               -DBUILD_TOOLS=ON \
> +               -DMFX_SYSTEM=Debian
>
>  %:
>         dh $@ --builddir build/
>
> ... or some other deterministic value for MFX_SYSTEM.
>
> At the moment, tests.reproducible-builds.org is not varying the kernel
> version, so it is not detecting this issue, but I can reproduce the
> issue locally. As soon as someone tries to reproduce a build with a
> slightly different kernel version, this will trigger the reproducibility
> issue.
>
> I would like to fix this by performing an NMU with the above patch,
> unless the maintainers would like to tackle this some other way?

I have uploaded an NMU to DELAYED/10 and pushed to the git repository on
salsa.

debdiff attached.

live well,
  vagrant
diff -Nru onevpl-intel-gpu-26.1.2/debian/changelog 
onevpl-intel-gpu-26.1.2/debian/changelog
--- onevpl-intel-gpu-26.1.2/debian/changelog    2026-02-23 23:34:47.000000000 
-0800
+++ onevpl-intel-gpu-26.1.2/debian/changelog    2026-05-13 14:59:34.000000000 
-0700
@@ -1,3 +1,11 @@
+onevpl-intel-gpu (26.1.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules: Pass a deterministic value for MFX_SYSTEM in
+    dh_auto_configure override.  (Closes: #1098253)
+
+ -- Vagrant Cascadian <[email protected]>  Wed, 13 May 2026 
14:59:34 -0700
+
 onevpl-intel-gpu (26.1.2-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru onevpl-intel-gpu-26.1.2/debian/rules 
onevpl-intel-gpu-26.1.2/debian/rules
--- onevpl-intel-gpu-26.1.2/debian/rules        2026-02-23 23:31:23.000000000 
-0800
+++ onevpl-intel-gpu-26.1.2/debian/rules        2026-05-13 14:57:21.000000000 
-0700
@@ -7,7 +7,8 @@
 override_dh_auto_configure:
        dh_auto_configure -- \
                -DBUILD_TESTS=ON \
-               -DBUILD_TOOLS=ON
+               -DBUILD_TOOLS=ON \
+               -DMFX_SYSTEM=Debian
 
 %:
        dh $@ --builddir build/

Attachment: signature.asc
Description: PGP signature

Reply via email to