Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165997 - gentoo-sources 2.6.20 error in CONFIG_LOCALVERSION help
Summary: gentoo-sources 2.6.20 error in CONFIG_LOCALVERSION help
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 21:17 UTC by Joaquin Ignacio Bogado Garcia
Modified: 2007-02-10 17:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
.config (.config,36.61 KB, text/plain)
2007-02-08 21:20 UTC, Joaquin Ignacio Bogado Garcia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joaquin Ignacio Bogado Garcia 2007-02-08 21:17:44 UTC
make command crash every time in the same way. The mm sources linux-2.6.20-rc6-mm1 compiles perfectly. Using gcc 4.1.1 (Gentoo 4.1.1-r3). uname -a
2.6.20-rc6-mm1 #1 SMP PREEMPT Mon Jan 29 17:46:13 ART 2007 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux

Reproducible: Always

Steps to Reproduce:
1.make menuconfig
2..config is attch
3.make

Actual Results:  
this is the output of make
linux-2.6.20-gentoo # make
  CHK     include/linux/version.h
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [include/linux/utsrelease.h] Error 2


Expected Results:  
version.h content is
linux-2.6.20-gentoo # cat include/linux/version.h
#define LINUX_VERSION_CODE 132628
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

utsrelease.h content is
linux-2.6.20-gentoo # cat include/linux/utsrelease.h
#define UTS_RELEASE "2.6.20-gentoo"

linux-2.6.20-gentoo # emerge --info
Portage 2.1.2-r8 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-rc6-mm1 x86_64)
=================================================================
System uname: 2.6.20-rc6-mm1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 08 Feb 2007 01:47:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="es_AR es en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri fortran gdbm gpm iconv isdnlog libg++ midi ncurses nls nptl nptlonly pam pcre perl ppds pppd python qt4 readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_AR es en" USERLAND="GNU" VIDEO_CARDS="apm ark chips dummy fbdev tdfx v4l vesa vga vmware fglrx r128 radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Joaquin Ignacio Bogado Garcia 2007-02-08 21:20:37 UTC
Created attachment 109590 [details]
.config

crash with this .config file
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-08 21:32:31 UTC
Post the output of `ls -la /dev/null` please.
Comment 3 Joaquin Ignacio Bogado Garcia 2007-02-08 21:41:50 UTC
(In reply to comment #2)
> Post the output of `ls -la /dev/null` please.
> 

linux-2.6.20-gentoo # ls -la /dev/null
crwxrwxrwx 1 root root 1, 3 Oct 22  2000 /dev/null
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-02-08 21:48:49 UTC
rm -f /dev/null; cd /dev; mknod null c 1 3

and try again.
Comment 5 Joaquin Ignacio Bogado Garcia 2007-02-08 21:52:49 UTC
(In reply to comment #4)
> rm -f /dev/null; cd /dev; mknod null c 1 3
> 
> and try again.
> 
crash exactly in the same way
Comment 6 Joaquin Ignacio Bogado Garcia 2007-02-08 22:33:24 UTC
crash exactly in the same way
Comment 7 Joaquin Ignacio Bogado Garcia 2007-02-10 11:58:37 UTC
The error is in line 
40:CONFIG_LOCALVERSION="Currently, ati-drivers won't fully compile if you append anything to your version"
This (') sign produce the error, but in the ati-drivers gentoo tutorial propos that.
Just put this line
40:CONFIG_LOCALVERSION=""
And remember not put ani strange sign ('¨·#?)....
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-10 12:23:17 UTC
Please, don't resolve bugs that are not fixed in CVS.
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2007-02-10 17:14:31 UTC
Don't put ' characters in your localversion. If this bothers you, you could try posting to the linux kernel mailing list about it.