>>> Install sys-kernel/linux-firmware-20250109-r1 into /tmp/portage/sys-kernel/linux-firmware-20250109-r1/image copying/compressing file amdgpu/green_sardine_asd.bin copying/compressing file amdgpu/green_sardine_ce.bin [...] copying/compressing file mediatek/WIFI_RAM_CODE_MT7922_1.bin copying/compressing file mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin ./copy-firmware.sh: line 136: : No such file or directory Line 136 of copy-firmware.sh is: echo > "$parallel_args_file" Apparently that variable is empty (it would be assigned with the -j option). Also, the script should check for errors, I suppose? This is a new issue, linux-firmware-20241210-r1 didn't output the error message.
Created attachment 916341 [details] build.log
Created attachment 916351 [details, diff] sys-kernel/linux-firmware: Work around error in copy-firmware.sh This patch fixes the problem for me. One could also go for parallel compression, but it would require an additional dependency, plus some jumping through hoops, in order to silence the noisy "academic citation" output of GNU parallel.
(In reply to Ulrich Müller from comment #0) > This is a new issue, linux-firmware-20241210-r1 didn't output the error > message. Uh sure? I do also get this with older releases?
(In reply to Conrad Kostecki from comment #3) > (In reply to Ulrich Müller from comment #0) > > This is a new issue, linux-firmware-20241210-r1 didn't output the error > > message. > > Uh sure? I do also get this with older releases? Must be a different problem then. 20241210 didn't have any parallel processing in copy-firmware.sh.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfa4585c206e5188c67199a23c14a23d6d1ae4c7 commit bfa4585c206e5188c67199a23c14a23d6d1ae4c7 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2025-01-12 22:35:21 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2025-01-12 22:35:21 +0000 sys-kernel/linux-firmware: Work arounnd error in copy-firmware.sh Thanks to Ulrich Müller Closes: https://bugs.gentoo.org/947920 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/linux-firmware/linux-firmware-99999999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)