Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93505 - emerge system fails due to svgalib-1.9.19-r3 (kernel_mod_configuration_builtin
Summary: emerge system fails due to svgalib-1.9.19-r3 (kernel_mod_configuration_builtin
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
: 102873 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-21 22:42 UTC by Jeff Wiegley
Modified: 2005-08-17 10:34 UTC (History)
2 users (show)

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 Jeff Wiegley 2005-05-21 22:42:33 UTC
I'm really frustrated. I'm trying to follow the handbook as closely as
possible but I can't get past emerge --emptytree system (and it takes
several hours for each attempt, sigh...)

during installation on a pentium4...

   emerge --emptytree system

results in:

   !!! ERROR: media-libs/svgalib-1.9.19-r3 failed
   !!! Function kernel_mod_configuration_builtin, line 114, Exitcode 1
   !!! kernel has not been configured yet
   !!! If you need support, post the topmost build error, NOT this status message

Sorry about posting the status message but there doesn't seem to be any
build attempted so there is no "topmost build error" to report instead.

Am I missing something stupid?
If it matters, my CFLAGS are pretty tweaked but I think this appears to
be a kernel dependency issue and not a CFLAGS thing...
though it could be a USE item.

FLAGS="-march=pentium4 -mcpu=pentium4 -fpic -O3 -pipe -s -falign-jumps=5
-falign-loops=5 -falign-functions=64 -mmmx -msse -msse2" CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://gentoo.netnitco.net"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="-3dfx -3dnow X a52 aac acpi alsa -altivec apache2 -apm arts avi
bash-completion -bluetooth bzlib cdparanoia cdr cups divx4linux doc dvd dvdr
dvdread emacs encode ethereal exif ffmpeg flac gif glut -gnome -gtk -gtk2
ieee1394 imagemagick imap innodb java javascript jpeg kde mbox mime mmx mng
motif mozilla mp3 mpeg mule mysql mysqli nocd offensive ogg oggvorbis opengl
-pcmcia perl php png posix qt quicktime samba spell sse sysvipc tetex threads
tiff truetype usb v4l vcd vorbis xine xml xml2 xmms xv xvid zlib"

I hope somebody knows how to fix this.

I would also appreciate it if somebody could tell me how to re-emerge
this stage without having to do everything up to svgalib all over again.

Reproducible: Always
Steps to Reproduce:
1. Do a stage 1 install with the 20050520 snapshot
2. (possibly use the make.conf file in problem description)
3.

Actual Results:  
Crash as described. Can't continue install.

Expected Results:  
expected to complete fine and move on to kernel configuration.

Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 22 2005, 03:52:51)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -fpic -O3 -pipe -s -falign-jumps=5
-falign-loops=5 -falign-functions=64 -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -fpic -O3 -pipe -s -falign-jumps=5
-falign-loops=5 -falign-functions=64 -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 arts avi bash-completion berkdb
bitmap-fonts bzlib cdparanoia cdr crypt cups divx4linux doc dvd dvdr dvdread
emacs emboss encode ethereal exif ffmpeg flac foomaticdb fortran gdbm gif glut
gpm ieee1394 imagemagick imap imlib innodb ipv6 java javascript jpeg kde libg++
libwww mad mbox mikmod mime mmx mng motif mozilla mp3 mpeg mule mysql mysqli
ncurses nls nocd offensive ogg oggvorbis opengl oss pam pdflib perl php png
posix python qt quicktime readline samba sdl spell sse ssl svga sysvipc tcpd
tetex threads tiff truetype truetype-fonts type1-fonts usb v4l vcd vorbis xine
xml xml2 xmms xv xvid zlib userland_GNUkernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-22 01:03:32 UTC
As the error message says, you need to configure kernel first to emerge svgalib.
I
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-22 01:03:32 UTC
As the error message says, you need to configure kernel first to emerge svgalib.
I´d suggest adding -svga to your USE flags and 'emerge --resume --emptytree
system'. 

You can re-enable it after you have finished install and configured your kernel
and run 'emerge --newuse -av world', which should emerge svgalib and recompiled
all packages that use svgalib.

@vapier: why is this USE flag on by default? It´s causing a lot of problems when
installing Gentoo. :/
Comment 3 Jeff Wiegley 2005-05-22 09:23:18 UTC
Thanks! I will add -svga to my flags and try again.

I also tried to just continue by doing "emerge system"
and it did continue without svgalib (maybe it thinks
svgalib installed itself.)

Anyhow, it crashed on samba this time due to no
pam headers (I'm guessing that's another kernel issue.)

May I make one suggestion: Why is all of this being
installed at this early stage?? My guess is that I'm
going to -svga -samba and try again and it will
crash on yet something else that I don't need for booting.
My suggestion: emerge system should install *only* the
minimal stuff needed to support a kernel build and a reboot.
Everything else that a user might want (svgalib, samba, X,
etc.) Should be emerged in later by the user once the
system is minimally up.
(Basically: couldn't the flags for the system metapackage
be the absolute minimum?)
Comment 4 SpanKY gentoo-dev 2005-05-22 14:22:37 UTC
like Jakub said, the error message is pretty self explanatory
Comment 5 Jeff Wiegley 2005-05-22 18:19:53 UTC
Yes, I can, and do, read the error messages. My problem is that this
is happening during an *install*. And as Jakub pointed out... svga
is causing this problem a lot. Not just for me, but for lots of
people.

The kernel configuration is the *next* step in the install process.
By telling me that the error is "self explanatory" you are ignoring
the problem. Yes, the error described why svgalib failed. I read that
as well and I also went through as many webpages and bug pages that
I could find related to the issue before placing this bug.

The problem is that no attempt should even have been made to emerge
svgalib at that time because you *know* the kernel is configured yet.

I'm not sure why this bug got marked INVALID. It certainly stopped
me from installing and *I* had to make a repair to get past the
problem. Several in fact because it happened again with samba as
I pointed out.  Again... Why in the world is an attempt being made
to install samba during the initial install.

It has taken me a very long time to get to a bootable system (three
days in fact) because of only these install problems.

So again... I would appreciate an answer as to why "emerge system"
brings in extra-functionality packages that are not intrisically
necessary to the installation and initial reboot process?

I'll leave the bug resolved but I hope somebody can answer that
question.
Comment 6 Jeff Wiegley 2005-05-22 18:21:12 UTC
crud, bad typo... "because you know the kernel is [not] configured yet".
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2005-05-26 03:29:10 UTC
svga removed from default USE flags
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-08-17 10:34:22 UTC
*** Bug 102873 has been marked as a duplicate of this bug. ***