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

Bug 150418

Summary: While running bootstrap.sh from stage1 emerging of "linux-headers-2.6.17-r1" fails.
Product: Gentoo Linux Reporter: Sebastian Doering <moralapostel>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Doering 2006-10-07 15:09:47 UTC
Trying to install gentoo from Knoppix
e8208ca2a6e40b758b906d3fcd4f1dda  portage-latest.tar.bz2
ccc355fd02e1e21540a8da307d321595  stage1-x86-2006.1.tar.bz2

Here's the console output:

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/linux-headers-2.6.17-r1/work/linux-2.6.17 ...
QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for sys-kernel/linux-headers-2.6.17-r1
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c: In function 'main':
scripts/kconfig/mconf.c:1048: warning: statement with no effect
scripts/kconfig/mconf.c:1049: warning: statement with no effect
  HOSTCC  scripts/kconfig/zconf.tab.o
scripts/kconfig/symbol.c: In function 'sym_get_type':
scripts/kconfig/symbol.c:78: internal compiler error: in fold_binary, at fold-const.c:9899
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[1]: *** [scripts/kconfig/zconf.tab.o] Error 1
make: *** [defconfig] Error 2

!!! ERROR: sys-kernel/linux-headers-2.6.17-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called kernel-2_src_compile
  kernel-2.eclass, line 1011:   Called compile_headers
  kernel-2.eclass, line 448:   Called die

!!! defconfig failed (defconfig)
!!! If you need support, post the topmost build error, and the call stack if relevant.

------------------------------------------------
------------------------------------------------

Knoppix / # emerge --info                                                               
Portage 2.1.1 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17 i686)
=================================================================
System uname: 2.6.17 i686 AMD Athlon(TM) XP2100+
Gentoo Base System version 1.12.1
Last Sync: Sat, 07 Oct 2006 21:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LINGUAS="de en"
MAKEOPTS="-j2"
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="x86 3dnow X a52 aac aalib alsa apm arts berkdb bitmap-fonts cli crypt cups divx4linux dlloader dri dvd eds elibc_glibc emboss encode ffmpeg flac foomaticdb fortran gdbm gif gpm gstreamer gtk2 icq imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber jpeg kernel_linux libcaca libg++ libwww linguas_de linguas_en live mad matroska mikmod mmx mmxext motif mp3 mpeg ncurses nls ogg opengl oss pam pcre perl png pppd python qt qt3 qt4 quicktime readline real reflection rss rtsp sdl session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts userland_GNU v4l v4l2 vcd video_cards_nv video_cards_nvidia vorbis win32codecs xml xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

--------------------------------------
--------------------------------------

I hope i did not forget anything important. This is my first bug report, kind of.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-07 15:11:26 UTC
> The bug is not reproducible, so it is likely a hardware or OS problem.

So, can you reproduce it, i.e. does it fail again at *exactly* the same place?
Comment 2 Sebastian Doering 2006-10-07 15:19:07 UTC
(In reply to comment #1)
> > The bug is not reproducible, so it is likely a hardware or OS problem.
> 
> So, can you reproduce it, i.e. does it fail again at *exactly* the same place?
> 

yeah you are right. I tried it again and this time it failed a little bit differently:
"scripts/kconfig/mconf.c: In function 'main':
scripts/kconfig/mconf.c:1048: warning: statement with no effect
scripts/kconfig/mconf.c:1049: warning: statement with no effect
scripts/kconfig/mconf.c: In function 'build_conf':
scripts/kconfig/mconf.c:713: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate."

I did not notice that the first time. Sorry.

Is there anything i can do to make it work?
Comment 3 Sebastian Doering 2006-10-07 15:27:53 UTC
Reopening to make sure someone reads this.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-07 15:28:37 UTC
See Bug 20600 for tips. 

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