Created attachment 558230 [details] emerge --info Emerging sys-kernel/linux-firmware-20181218 with savedconfig fails when it tries to 'rm' a file with a space character in the name. Probably lack of quoting. * Building using saved configfile //etc/portage/savedconfig//sys-kernel/linux-firmware * Removing all files not listed in config ... rm: cannot remove 'brcm/brcmfmac43430a0-sdio.ONDA-V80': No such file or directory rm: cannot remove 'PLUS.txt': No such file or directory The offending file is 'brcm/brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt' which was recently added to linux-firmware.git. Adding this filename to the savedconfig as a workaround allows the package to emerge correctly. I will attach the full build log and emerge --info.
Created attachment 558232 [details] build log
Created attachment 558338 [details, diff] Patch
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #2) > Created attachment 558338 [details, diff] [details, diff] > Patch Thanks. I have a local script that allows me to patch ebuilds similar to the way $PORTDIR/patches/ works, but with $PORTDIR/patches.ebuild/ (drop the patch in the appropriate category/package/ subdir and it gets auto-applied after the repo git pull and sig check), and confirming... This patch (modified to apply to only a single ebuild at a time, the script tries to apply it to all in category/package), applies and seems to work well. sys-kernel/linux-firmware updated and based on the qmerge phase output, the appropriate files were merged. I'll know for sure when I update/rebuild my kernel and reboot. =:^)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d822b5a8cb5c982247fb6871eef8b8467a05cb commit d9d822b5a8cb5c982247fb6871eef8b8467a05cb Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2018-12-22 07:19:25 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-12-23 13:15:22 +0000 sys-kernel/linux-firmware: Fix building with USE="savedconfig". Replace 'sort' + 'uniq -u' hack with BASH loops. Fixes: https://bugs.gentoo.org/673494 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../linux-firmware/linux-firmware-20181218.ebuild | 29 +++++++++++++++++--- .../linux-firmware/linux-firmware-99999999.ebuild | 31 ++++++++++++++++++---- 2 files changed, 51 insertions(+), 9 deletions(-)