Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89111 - gentoo-sources-2.6.11-r5 includes "linux" subdirectory, confusing ARCH=um
Summary: gentoo-sources-2.6.11-r5 includes "linux" subdirectory, confusing ARCH=um
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-14 10:55 UTC by Zak Kipling
Modified: 2005-04-17 18:01 UTC (History)
0 users

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 Zak Kipling 2005-04-14 10:55:15 UTC
This version of the kernel source includes a directory

/usr/src/linux-2.6.11-gentoo-r5/linux/

containing precisely one header file:

/usr/src/linux-2.6.11-gentoo-r5/linux/linux/drivers/char/drm/ffb.h


This gets in the way of a user-mode-linux build (make ARCH=um), as the target of such a build is a file:

/usr/src/linux-2.6.11-gentoo-r5/linux


This directory doesn't seem to exist in any of the vanilla 2.6.11.x source trees I've looked at.

Workaround is simply to remove this directory.


Reproducible: Always
Steps to Reproduce:
1. emerge "=gentoo-sources-2.6.11-r5"
2. cd /usr/src/linux-2.6.11-gentoo-r5
3. make ARCH=um menuconfig
4. make ARCH=um
Actual Results:  
Error creating /usr/src/linux-2.6.11-gentoo-r5/linux executable on final step
the vanilla source.

Expected Results:  
Successfully created the user-mode kernel executable.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.10-gentoo-r4-skas i686)
=================================================================
System uname: 2.6.10-gentoo-r4-skas i686 Intel(R) Celeron(R) CPU 2.50GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 15 2005, 02:01:10)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.5, 1.6.3, 1.9.4, 1.8.5-r3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer
-pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse -mmmx -msse -msse2
-fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://gentoo.blueyonder.co.uk"
LANG="en_GB.ISO-8859-15"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aac aalib acpi aim alsa apm arts audiofile avi bash-completion
berkdb bitmap-fonts bonobo bzlib calendar caps cdparanoia cdr crypt ctype cups
curl dbm dga dio directfb dvd dvdr dvdread edl emacs emboss encode esd evo exif
fam fbcon ffmpeg fftw flac flash foomaticdb fortran ftp gb gd gdbm ggi gif ginac
gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile iconv icq idea
imagemagick imap imlib innodb ipv6 jabber jack java joystick jpeg junit kde
kdexdeltas ladcca lcms leim libcaca libg++ libgda libwww live lzo mad maildir
mbox mcal mhash mikmod mime ming mmap mmx mng motif mozilla mp3 mpeg msn mule
mysql nas ncurses netboot network nls nptl offensive ogg oggvorbis old-crypt
opengl oscar oss pam pcntl pcre pda pdflib perl pie plotutils png portaudio
postgres ppds python qt quicktime readline real recode rrdtool rtc samba scanner
sdl session slang sndfile sockets socks5 sox spell sse ssl svg svga tcltk tcpd
tetex tga theora tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l
v4l2 vhosts vorbis wmf wxwindows xface xine xinerama xml xml2 xmms xosd xpm
xprint xsl xv xvid xvmc yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-04-17 15:03:04 UTC
Please test with 2.6.11-r6 - I think we fixed this already.
Comment 2 Zak Kipling 2005-04-17 18:01:50 UTC
Ah yes, the new version seems fine.