Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713280 - sys-kernel/linux-firmware-20200316 -mv: cannot move 'linux-firmware-20200316/' to a subdirectory of itself, 'linux-firmware-20200316/linux-firmware-20200316'
Summary: sys-kernel/linux-firmware-20200316 -mv: cannot move 'linux-firmware-20200316...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
: 713286 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-18 19:15 UTC by charles17
Modified: 2020-03-23 17:05 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description charles17 2020-03-18 19:15:50 UTC
Calculating dependencies... done!
[ebuild     U  ] sys-kernel/linux-firmware-20200316::gentoo [20200302::gentoo] USE="redistributable -initramfs -savedconfig (-unknown-license)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-kernel/linux-firmware-20200316

>>> Emerging (1 of 1) sys-kernel/linux-firmware-20200316::gentoo
 * linux-firmware-20200316.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking linux-firmware-20200316.tar.gz to /var/tmp/portage/sys-kernel/linux-firmware-20200316/work
mv: cannot move 'linux-firmware-20200316/' to a subdirectory of itself, 'linux-firmware-20200316/linux-firmware-20200316'
 * ERROR: sys-kernel/linux-firmware-20200316::gentoo failed (unpack phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_unpack
 *   environment, line 835:  Called die
 * The specific snippet of code:
 *           mv ${PN}-*/ ${P} || die;
 * 
 * If you need support, post the output of `emerge --info '=sys-kernel/linux-firmware-20200316::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/linux-firmware-20200316::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-kernel/linux-firmware-20200316/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/linux-firmware-20200316/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-kernel/linux-firmware-20200316/work'
 * S: '/var/tmp/portage/sys-kernel/linux-firmware-20200316/work/linux-firmware-20200316'

>>> Failed to emerge sys-kernel/linux-firmware-20200316, Log file:

>>>  '/var/tmp/portage/sys-kernel/linux-firmware-20200316/temp/build.log'
Comment 1 Brian Evans (RETIRED) gentoo-dev 2020-03-18 19:36:42 UTC
*** Bug 713286 has been marked as a duplicate of this bug. ***
Comment 2 hangglider 2020-03-18 19:43:39 UTC
accidently posted solution to bug 713286.
Comment 3 Larry the Git Cow gentoo-dev 2020-03-18 19:46:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1735a77829830d06694de600daf66c2e1e9e19f3

commit 1735a77829830d06694de600daf66c2e1e9e19f3
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-03-18 19:45:56 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-03-18 19:46:05 +0000

    sys-kernel/linux-firmware: fix src_unpack
    
    Allow usage of upstream tags.
    
    Bug: https://bugs.gentoo.org/713280
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 sys-kernel/linux-firmware/linux-firmware-20200316.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2020-03-18 19:47:09 UTC
Sorry for that ;]
Comment 5 Dmitry Grigoriev 2020-03-18 20:43:45 UTC
Faced this problem an hour ago. Just updated, looks like problem solved.