Summary: | sys-kernel/linux-firmware-20190514 - doins: FileNotFoundError: [Errno 2] No such file or directory: b'*' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Duncan <1i5t5.duncan> |
Component: | Current packages | Assignee: | Chí-Thanh Christopher Nguyễn <chithanh> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kernel, ulm, zerochaos |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sys-kernel:linux-firmware-20190514:20190519-191744.log |
Description
Duncan
2019-05-19 19:44:56 UTC
FWIW this is using main tree commit 97541025a from Repository mirror & CI, Sunday May 19 18:45:04 2019 +0000, with 41b31d382 being the last linux-firmware commit to the tree, as merged in 9688c5cd1. *** This bug has been marked as a duplicate of bug 686288 *** Don't unset the "redistributable" flag if your saved config contains only files with such (non-free, but redistributable) licenses. The flag is enabled by an IUSE default for a reason. What happens is that the resulting list of files ends up empty, which makes doins fail. (Which presumably is better than silently installing an empty package.) (In reply to Ulrich Müller from comment #3) > Don't unset the "redistributable" flag if your saved config contains only > files with such (non-free, but redistributable) licenses. The flag is > enabled by an IUSE default for a reason. > > What happens is that the resulting list of files ends up empty, which makes > doins fail. (Which presumably is better than silently installing an empty > package.) If it's not an ebuild bug (which I won't argue ATM), then it's a portage bug due to the traceback. A nice user-readable error would be expected; not a traceback. Reassign to the portage team? (CCing them here, adjusting the summary and changing product.) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c1d6d9caa7459b1a04c64e09f9499fa96fd7be9 commit 1c1d6d9caa7459b1a04c64e09f9499fa96fd7be9 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2019-05-19 22:46:13 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2019-05-19 22:46:44 +0000 sys-kernel/linux-firmware: More useful error message for empty package. Closes: https://bugs.gentoo.org/686330 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Ulrich Müller <ulm@gentoo.org> sys-kernel/linux-firmware/linux-firmware-20190514.ebuild | 7 +++++++ sys-kernel/linux-firmware/linux-firmware-99999999.ebuild | 7 +++++++ 2 files changed, 14 insertions(+) Not a portage problem. The package ends up without any files to install, so doins gets passed an unexpanded "*" which of course doesn't exist (which is what the traceback says). I've added an additional sanity check to the ebuild, which will at least output a more useful error message. |