Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 72525

Summary: emerge sys-kernel/gentoo-dev-sources-2.6.9-r6 overwrite gentoo-dev-sources-2.6.9-r4
Product: Gentoo Linux Reporter: Robert Clark <clark>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gentoo-bugs2
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert Clark 2004-11-25 22:39:42 UTC
I had the sys-kernel/gentoo-dev-sources-2.6.9-r4 kernel installed in
/usr/src/linux-2.6.9-gentoo-r4 and when I updated to the -r6 kernel, the
new kernel source was written to the -r4 directory, overwriting the -r4 source.

For example, here is a bit of qpkg output

qpkg -l -i sys-kernel/gentoo-dev-sources-2.6.9-r6 | head -n 10
sys-kernel/gentoo-dev-sources-2.6.9-r6 *
        Full sources including the gentoo patchset for the . kernel tree [ http://dev.gentoo.org/~dsd/gentoo-dev-sources ]
CONTENTS:
/usr
/usr/src
/usr/src/linux-2.6.9-gentoo-r4
/usr/src/linux-2.6.9-gentoo-r4/drivers
[ snipped ]

However, I was able to compile and install the new kernel from here
so this is not a huge problem. I had no -r4 custom changes that I wanted
to preserve.

Reproducible: Always
Steps to Reproduce:
1. emerge =sys-kernel/gentoo-dev-sources-2.6.9-r4
2. emerge =sys-kernel/gentoo-dev-sources-2.6.9-r6
3. notice which directory the source is written to.




Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 
2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.
uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/
gentoo/ http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="apm arts avi berkdb bitmap-fonts crypt cups encode foomaticdb gdbm gif gpm 
hardened imlib jpeg libg++ libwww mad mikmod mpeg mysql ncurses nls nptl 
oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang 
spell sse ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-11-27 09:28:15 UTC

*** This bug has been marked as a duplicate of 72571 ***