Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1266464

Bug#1118195: firmware-misc-nonfree: no longer actually ships Arm Mali firmware, only link to non-existing file

From Johannes Schauer Marin Rodrigues <josch@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1118195: firmware-misc-nonfree: no longer actually ships Arm Mali firmware, only link to non-existing file
Date 2025-10-17 23:20 +0200
Message-ID <LH01H-5XwV-5@gated-at.bofh.it> (permalink)
References <LGwdj-5DFX-15@gated-at.bofh.it> <LGwdj-5DFX-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: tag -1 + patch

Hi,

On Thu, 16 Oct 2025 15:17:57 +0200 Diederik de Haas <didi.debian@cknow.org> wrote:
> I tried if the following patch would fix it:
> 
> ```
> diff --git a/debian/config/misc-nonfree/defines b/debian/config/misc-nonfree/defines
> index 71a7ae3..86ca756 100644
> --- a/debian/config/misc-nonfree/defines
> +++ b/debian/config/misc-nonfree/defines
> @@ -32,7 +32,7 @@ files:
>   3com/typhoon.bin
>   advansys/*
>   amphion/vpu/*
> - arm/mali/arch10.8/mali_csffw.bin
> + arm/mali/*
>   brcm/BCM-0a5c-6410.hcd
>   brcm/BCM-0bb4-0306.hcd
>   cadence/mhdp8546.bin

I tried this patch:

--- a/debian/config/misc-nonfree/defines
+++ b/debian/config/misc-nonfree/defines
@@ -32,7 +32,7 @@ files:
  3com/typhoon.bin
  advansys/*
  amphion/vpu/*
- arm/mali/arch10.8/mali_csffw.bin
+ arm/mali/arch10.*/mali_csffw.bin
  brcm/BCM-0a5c-6410.hcd
  brcm/BCM-0bb4-0306.hcd
  cadence/mhdp8546.bin

And with that, the resulting package (built on salsa) has:

drwxr-xr-x root/root         0 2025-10-15 16:02 ./usr/lib/firmware/arm/
drwxr-xr-x root/root         0 2025-10-15 16:02 ./usr/lib/firmware/arm/mali/
drwxr-xr-x root/root         0 2025-10-15 16:02 ./usr/lib/firmware/arm/mali/arch10.10/
-rw-r--r-- root/root    282624 2025-10-15 16:02 ./usr/lib/firmware/arm/mali/arch10.10/mali_csffw.bin
drwxr-xr-x root/root         0 2025-10-15 16:02 ./usr/lib/firmware/arm/mali/arch10.12/
lrwxrwxrwx root/root         0 2025-10-15 16:02 ./usr/lib/firmware/arm/mali/arch10.12/mali_csffw.bin -> ../arch10.10/mali_csffw.bin
drwxr-xr-x root/root         0 2025-10-15 16:02 ./usr/lib/firmware/arm/mali/arch10.8/
lrwxrwxrwx root/root         0 2025-10-15 16:02 ./usr/lib/firmware/arm/mali/arch10.8/mali_csffw.bin -> ../arch10.10/mali_csffw.bin

I also wonder whether it would make sense to add some mechanism which would
check after dh_builddeb whether the created binary packages contain any
broken symlinks. Does a tool to do such a thing already exist? Lintian does
not warn about this (probably because the link target might come from one of
the Depends) and dh_missing also does not complain that some files do not get
installed.

Any ideas of how to prevent this sort of bug in the long-term?

Thanks!

cheers, josch

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1118195: firmware-misc-nonfree: no longer actually ships Arm Mali firmware, only link to non-existing file Diederik de Haas <didi.debian@cknow.org> - 2025-10-16 15:30 +0200
  Bug#1118195: firmware-misc-nonfree: no longer actually ships Arm Mali firmware, only link to non-existing file Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-10-17 23:20 +0200
    Bug#1118195: firmware-misc-nonfree: no longer actually ships Arm Mali firmware, only link to non-existing file "Diederik de Haas" <didi.debian@cknow.org> - 2025-10-18 11:30 +0200
      Bug#1118195: firmware-misc-nonfree: no longer actually ships Arm Mali firmware, only link to non-existing file Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-10-18 14:10 +0200

csiph-web