Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33045 - vanilla-sources gets extraversion 2.4.22
Summary: vanilla-sources gets extraversion 2.4.22
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-08 17:42 UTC by Spider (RETIRED)
Modified: 2003-11-22 02:01 UTC (History)
1 user (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 Spider (RETIRED) gentoo-dev 2003-11-08 17:42:39 UTC
There seems to be a borkage in the stable tree that makes kernel builds get
installed where vanilla-sources get EXTRAVERSION set to "2.4.22", which then
proceeds to break with genkernel.  unpleasant at the best.

there also seems to be a broken [ ] statement early in unpacking.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Thomas Eckert 2003-11-13 15:59:06 UTC
confirmed.
the problem is in kernel.eclass:
cvs-id 1.35 adds the kernel-version again to EXTRAVERSION in the top-level Makefile.
cvs-id 1.31 worked.

I'd guess that all kernel ebuilds with something "extra" added in the ebuild-name
(ac-sources?) to determine the version of a patch will get a wrong EXTRAVERSION and a wrong modules-dir. the modules may even get overwritten by a new version of a patch ...
Comment 2 Brian Jackson (RETIRED) gentoo-dev 2003-11-18 11:39:01 UTC
this should be fixed in cvs now
Comment 3 Thomas Eckert 2003-11-19 14:18:54 UTC
sorry, still does not work here with kernel.eclass cvs-id 1.41.
I'm using the following home-grown kernel-ebuild:
--- snipp ---
ETYPE="sources"
inherit kernel
OKV=2.4.20
KV=2.4.20
EXTRAVERSION="-tom"
S=${WORKDIR}/linux-${KV}
src_unpack() {
    unpack linux-${OKV}.tar.bz2
    cd ${WORKDIR}
    mv linux-${OKV} linux-${KV}${EXTRAVERSION} || die "mv to -extraversion      failed"

    cd ${WORKDIR}

    cd linux-${KV}${EXTRAVERSION}
    patch -p1 < ${FILESDIR}/tom.patch || die "patch failed"

    kernel_universal_unpack
}
--- snapp ---

this results in an EXTRAVERSION of "-2.4.20" instead of "-tom"
Comment 4 Thomas Eckert 2003-11-22 02:01:17 UTC
cvs-id 1.42 works as expected -- so we can leave this resolved.

Thanks lostlogic.