Hello, I'm reporting this issue because I believe there is a bug in the portage. I have successfully installed kamikaze-sources several times with portage version 2.1.3.19, but when I upgraded to 2.1.4, it won't emerge any more (apparently any version of kamikaze-sources fails). Reproducible: Always Steps to Reproduce: 1.Emerge portage-2.1.4-rc4 2.Emerge layman and set custom kernels as explained here : http://forums.gentoo.org/viewtopic-t-610850-highlight-seren.html (section 6.3 an d 9.1) 3.Emerge kamikaze-sources : emerge -av kamikaze-sources Actual Results: Here is the error message for version 2.6.23-r5 : FATAL: unable to locate: /var/tmp/portage/sys-kernel/kamikaze-sources-2.6.23-r5/distdir/linux-.bz2 Notice that there is no kernel version in "linux-.bz2". Expected Results: Expected results : to emerge the package successfully even with portage upgraded. The ebuild for this example is quite simple : (I have only erased 2 lines with einfo) # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 UNIPATCH_LIST="${DISTDIR}/linux-${KV}.bz2" K_PREPATCHED="yes" K_NOUSENAME="yes" UNIPATCH_STRICTORDER="yes" ETYPE="sources" inherit eutils kernel-2 detect_version DESCRIPTION="Kamikaze-Sources is an experimental kernel patchset with many new features." HOMEPAGE="http://kamikaze.waninkoko.info" KEYWORDS="~x86 ~amd64 ~ppc ~ppc64" RESTRICT="nomirror" SRC_URI="${KERNEL_URI} http://kamikaze.waninkoko.info/patches/${OKV}/${EXTRAVERSION/-}/linux-${KV}.bz2" src_install() { kernel-2_src_install } pkg_postinst() { postinst_sources }
Created attachment 137421 [details, diff] preserve ${KV} since kernel-2.eclass uses it If this patch is saved as /tmp/kv.patch, then it can be applied as follows: patch /usr/lib/portage/bin/isolated-functions.sh < /tmp/kv.patch
Thank you. This patch solves the issue.
This has been released in 2.1.4_rc5.