Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178475 - Installer fails after kernel selection due to missing /usr/src/linux
Summary: Installer fails after kernel selection due to missing /usr/src/linux
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-14 07:19 UTC by Marius Mauch (RETIRED)
Modified: 2007-11-17 18:38 UTC (History)
0 users

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


Attachments
installer logfile with debugging enabled (installer.log.failed,25.40 KB, text/plain)
2007-05-14 07:20 UTC, Marius Mauch (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Mauch (RETIRED) gentoo-dev 2007-05-14 07:19:23 UTC
Due to bug #178147 I tried to use the dialog installer which does not have that problem (but uses the portage config/repository from the livecd instead) which worked fine until the kernel selection.
After selecting "gentoo-sources" and "genkernel" (as there was no "menuconfig" support :( ) the install failed with this error:

GLI: May 14 2007 09:11:54 - Starting emerge_kernel, package is gentoo-sources
GLI: May 14 2007 09:11:55 - This is a bad thing. An exception occured outside of the normal install err
ors. The error was: 'list index out of range'
GLI: May 14 2007 09:11:55 - Traceback (most recent call last):
GLI: May 14 2007 09:11:55 - File "/opt/installer/GLIClientController.py", line 122, in run
    func()
GLI: May 14 2007 09:11:55 - File "/opt/installer/GLIArchitectureTemplate.py", line 755, in emerge_kerne
l_sources
    if (len(kernels[counter]) > 6)  and (kernels[counter][0:6]=="linux-"):
GLI: May 14 2007 09:11:55 - IndexError: list index out of range

With debugging enabled a different exception is thrown that might be more useful:

GLI: May 14 2007 08:58:47 - Starting emerge_kernel, package is gentoo-sources
GLI: May 14 2007 08:58:48 - This is a bad thing. An exception occured outside of the normal install err
ors. The error was: 'cannot concatenate 'str' and 'list' objects'
GLI: May 14 2007 08:58:48 - Traceback (most recent call last):
GLI: May 14 2007 08:58:48 - File "/opt/installer/GLIClientController.py", line 122, in run
    func()
GLI: May 14 2007 08:58:48 - File "/opt/installer/GLIArchitectureTemplate.py", line 751, in emerge_kerne
l_sources
    if self._debug: self._logger.log("DEBUG: no /usr/src/linux found.  found kernels: "+kernels)
GLI: May 14 2007 08:58:48 - TypeError: cannot concatenate 'str' and 'list' objects
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2007-05-14 07:20:15 UTC
Created attachment 119188 [details]
installer logfile with debugging enabled
Comment 2 Preston Cody (RETIRED) gentoo-dev 2007-05-14 13:05:57 UTC
I believe you are hitting two separate bugs.  one bug is in the verbose logging because that should be +str(kernels) instead of +kernels.  I'll look into the other bug to see if i can diagnose it further.
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2007-11-17 18:36:58 UTC
The verbose logging issue has been fixed.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2007-11-17 18:38:08 UTC
The rest of this bug doesn't matter since we're not building kernels anymore, since the 2007.1 installer will be networkless only.