Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34038 - gentoo-sources kernel fails to correctly create include/linux/compile.h
Summary: gentoo-sources kernel fails to correctly create include/linux/compile.h
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-21 10:27 UTC by George Barbarosie
Modified: 2003-12-09 04:24 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 George Barbarosie 2003-11-21 10:27:35 UTC
in root Makefile, the command "tail -1" will fail with coreutils-5.0.91-r1
installed; "tail -1" complains

tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.

The fix is obvious and backwards-compatible; and yes, should go into the vanilla
kernel if not already there; this probably affects all 2.4 kernels (i've just
tested gentoo-sources though)

The result of this bug is that compile.h no longer contains gcc version info;
alsa-driver-0.9.8 is directly affected by this;



Reproducible: Always
Steps to Reproduce:
cat /usr/src/linux/include/linux/compile.h

Actual Results:  
#define UTS_VERSION "#1 Fri Nov 21 22:16:46 EET 2003"
#define LINUX_COMPILE_TIME "22:16:46"
#define LINUX_COMPILE_BY "root"
#define LINUX_COMPILE_HOST "lancelot"
#define LINUX_COMPILE_DOMAIN "bucharest.cyberembryonic.com"
#define LINUX_COMPILER ""


Expected Results:  
#define UTS_VERSION "#1 Fri Nov 21 22:16:46 EET 2003"
#define LINUX_COMPILE_TIME "22:16:46"
#define LINUX_COMPILE_BY "root"
#define LINUX_COMPILE_HOST "lancelot"
#define LINUX_COMPILE_DOMAIN "bucharest.cyberembryonic.com"
#define LINUX_COMPILER "gcc version 3.3.2 20031022 (Gentoo Linux 3.3.2-r2,
propolice)"


Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686
Gentoo Base System version 1.4.3.12
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -funroll-loops -pipe -mfpmath=sse,387
-msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache distcc userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.lug.ro/gentoo ftp://ftp.lug.ro/gentoo
http://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/
rsync://rsync.gentoo.skynet.be/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
rsync://ftp.belnet.be/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
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 motif X gtk gtk2 gnome alsa java -qt -kde -arts 3dnow aalib acl acpi
apache2 apm avi berkdb bonobo crypt cscope cups curl dga directfb doc -emacs
encode esd ethereal evo fastcgi fbcon firebird flash foomaticdb freetds gb gd
gdbm ggi gif gpm gstreamer gtkhtml guile imap imlib innodb jack jikes jpeg
kerberos ladcca lcms ldap libg++ libgda libwww lirc mad maildir mbox mcal mikmod
memlimit mmx mozilla mpeg mpi mysql nas ncurses nls nocd odbc oggvorbis opengl
oss pam ppds pdflib perl pg-hier png postgres bindist prelude python quicktime
readline ruby samba sasl sdl slang slp snmp socks5 spell sse ssl svga tcltk tcpd
tetex tiff truetype usb videos wmf wxwindows xface xinerama xosd xml xml2 xmms
xv zlib lids vim-with-x nviz hbci ofx 3ds mng openal adns expat gd-external
unicode gnomedb offensive flac xine sox nvidia xvid pcap autofs oav fam fax
clamav cgi mozsvg imlib2 stroke threads"
Comment 1 Brian Jackson (RETIRED) gentoo-dev 2003-11-21 11:51:27 UTC
This is correct in gentoo-test-sources which will become gentoo-sources very soon.
Comment 2 George Barbarosie 2003-12-09 04:24:16 UTC
As noted in comment#1, this bug has been fixed in gentoo-sources-2.4.22 and gentoo-sources-2.4.22-r1.