Summary: | sparc-sources-2.4.2* fails on unpack | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Austin Frank <aufrank> |
Component: | Current packages | Assignee: | Sparc Porters <sparc> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | Sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
on line 9 KV=${PV} should (?) be something like KV="${PV}-sparc-r1" or the likes. the problem is on line 39 mv linux-${OKV} linux-${KV} || die is transalting to mv linux-2.4.21 linux-2.4.21/ which ends up trying to make something it's own child. Does it work now? I changed the ebuild so it should work with the changed eclasses unpacks and builds correctly on my machine now. cheers! Looks like the bug is fixed. Closing. Closing |
Steps to Reproduce: USE="-doc" emerge /usr/portage/sys-kernel/sparc-sources/sparc-sources/sparc-sources-2.4.21-r1.ebuild Actual Results: sparc-sources-2.4.20-r8 and sparc-sources-2.4.21 fail during unpack with the following error: >>> Unpacking source... >>> Unpacking linux-2.4.21.tar.bz2 to /var/tmp/portage/sparc-sources-2.4.21/work >>> Unpacking patches-2.4.21-sparc.tar.bz2 to /var/tmp/portage/sparc-sources-2.4.21/work mv: cannot move `linux-2.4.21' to a subdirectory of itself, `linux-2.4.21/linux-2.4.21' !!! ERROR: sys-kernel/sparc-sources-2.4.21 failed. !!! Function src_unpack, Line 35, Exitcode 1 !!! (no error message) Expected Results: kernel unpacks into proper directory in /usr/src/ SOLUTION: In sparc-sources-2.4.21-r1.ebuild, I changed $KV to $OKV. When I explicitly emerge this ebuild, the kernel unpacked to /usr/src/linux-2.4.21-sparc-r1/ without errors. The change to the ebuild was suggested by Latexer.