Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215798 - LiveCD/Installer exits with error
Summary: LiveCD/Installer exits with error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
: 215797 216186 216316 216594 217566 218139 219375 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-01 23:47 UTC by Ryan
Modified: 2009-04-28 20:21 UTC (History)
13 users (show)

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


Attachments
Could not execute pkg_setup for x11-apps/xinit-1.0.5-r1 (compile_output.bz2,636.38 KB, application/octet-stream)
2008-04-05 20:31 UTC, jonexy
Details
Could not execute pkg_setup for x11-apps/xinit-1.0.5-r1 (compile_output.tar.bz2,609.28 KB, application/octet-stream)
2008-04-06 08:49 UTC, jonexy
Details
compile_output.log from failed install (compile-output.tgz,607.70 KB, application/octet-stream)
2008-04-06 20:56 UTC, hazlhof
Details
install.log (install.log,3.98 KB, text/plain)
2008-04-08 08:49 UTC, hazlhof
Details
GLIException (install.log.failed,709 bytes, text/plain)
2008-05-24 20:52 UTC, Viktor Kim
Details
Install Profile (installprofile.xml,1.48 KB, text/plain)
2008-05-24 22:43 UTC, Viktor Kim
Details
Compile Output Log (failed) (compile_output.log.failed,116 bytes, text/plain)
2008-05-24 22:45 UTC, Viktor Kim
Details
emerge output with exception (emerge.out,7.24 KB, text/plain)
2008-06-01 20:06 UTC, Michael Santos
Details
Failed unpacking of stage tarball. (install.log.failed,1.07 KB, text/plain)
2008-06-07 21:33 UTC, Eric R. Stoeckel, Jr.
Details
install.log.failed (install.log.failed,1.21 KB, text/plain)
2008-10-25 20:58 UTC, Thomas Maerz
Details
install.log.failed, after using: $ sudo installer --debug (install.log.failed,2.99 KB, text/plain)
2009-04-28 20:21 UTC, Chainz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan 2008-04-01 23:47:51 UTC
During the installation to the hard disks from the 2008.0 Beta 1 LiveCD, Gentoo installation fails with an error being written to the installer log in /var/log/install.failed.log

Reproducible: Always

Steps to Reproduce:
1. Install Gentoo 2008.0

Actual Results:  
The installer fails with an error

Expected Results:  
It should install xinit without trouble

I am a long-time Debian user and this is my first stab at Gentoo and my first try at reporting a bug I encountered with it.  Please be gentle.  I reported this as a Blocker since it prevents testing of Gentoo 2008.0 if that is unacceptable, I'm completely unopposed to it being demoted to something more trivial.

output of install.log.failed ...

gentoo@livecd /var/log $ cat /var/log/install.log.failed 
GLI: April 01 2008 22:26:59 - Gentoo Linux Installer version 0.6.3
GLI: April 01 2008 22:33:04 - Mounted mountpoint: /
GLI: April 01 2008 22:33:04 - Created mountpoint /boot
GLI: April 01 2008 22:33:04 - Mounted mountpoint: /boot
GLI: April 01 2008 22:42:49 - Stage3 was generated successfully
GLI: April 01 2008 22:42:49 - Chroot environment ready.
GLI: April 01 2008 22:43:27 - Portage tree install was custom.
GLI: April 01 2008 22:43:29 - Make.conf configured
GLI: April 01 2008 22:43:44 - Root Password set on the new system.
GLI: April 01 2008 22:43:47 - Edited Config file /mnt/gentoo/etc/conf.d/clock
GLI: April 01 2008 22:43:47 - Edited Config file /mnt/gentoo/etc/conf.d/clock
GLI: April 01 2008 22:43:47 - Timezone set.
GLI: April 01 2008 22:43:47 - Starting emerge_kernel, package is livecd-kernel
GLI: April 01 2008 22:44:38 - Edited Config file /mnt/gentoo/etc/conf.d/hostname
GLI: April 01 2008 22:44:38 - Edited Config file /mnt/gentoo/etc/conf.d/domainname
GLI: April 01 2008 22:44:38 - ERROR! Failure adding domainname to runlevel default because it was not found!
GLI: April 01 2008 22:44:38 - ERROR! Could not add domainname to runlevel default. returned a bad status code.
GLI: April 01 2008 22:44:38 - Edited Config file /mnt/gentoo/etc/hosts
GLI: April 01 2008 22:44:38 - Added net.eth0 to runlevel default
GLI: April 01 2008 22:44:38 - Edited Config file /mnt/gentoo/etc/conf.d/net
GLI: April 01 2008 22:44:43 - dhcpcd emerged.
GLI: April 01 2008 22:45:06 - Added syslog-ng to runlevel default
GLI: April 01 2008 22:45:06 - Logging daemon installed: syslog-ng
GLI: April 01 2008 22:45:24 - Added vixie-cron to runlevel default
GLI: April 01 2008 22:45:24 - Cron daemon installed and configured: vixie-cron
GLI: April 01 2008 22:45:31 - Emerged the selected bootloader.
GLI: April 01 2008 22:45:32 - Output of Kernel Names:
/mnt/gentoo/boot/kernel-genkernel-x86_64-2.6.23-gentoo-r8

GLI: April 01 2008 22:45:32 - Output of Initrd Names:
/mnt/gentoo/boot/initramfs-genkernel-x86_64-2.6.23-gentoo-r8

GLI: April 01 2008 22:45:32 - Bootloader: the three information gathering commands have been run
GLI: April 01 2008 22:45:32 - Grub installed and configured. Contents of grub.conf:
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,0)
kernel /kernel-genkernel-x86_64-2.6.23-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 
initrd /initramfs-genkernel-x86_64-2.6.23-gentoo-r8

GLI: April 01 2008 22:45:32 - Grub has not yet been run.  If a normal install, it will now be run.
GLI: April 01 2008 22:45:33 - Bootloader: grub has been installed!
GLI: April 01 2008 22:46:06 - ERROR! : Failure to add user dr3k
GLI: April 01 2008 22:57:57 - Exception received during 'Installing additional packages.': CopyPackageToChrootError :FATAL: copy_pkg_to_chroot: Could not execute pkg_setup for x11-apps/xinit-1.0.5-r1
GLI: April 01 2008 22:57:57 - Traceback (most recent call last):
GLI: April 01 2008 22:57:57 - File "/opt/installer/GLIClientController.py", line 122, in run
    func()
GLI: April 01 2008 22:57:57 - File "/opt/installer/GLIArchitectureTemplate.py", line 1329, in install_packages
    self._portage.emerge(installpackages, self._install_profile.get_grp_install())
GLI: April 01 2008 22:57:57 - File "/opt/installer/GLIPortage.py", line 305, in emerge
    self.copy_pkg_to_chroot(pkg)
GLI: April 01 2008 22:57:57 - File "/opt/installer/GLIPortage.py", line 222, in copy_pkg_to_chroot
    raise GLIException("CopyPackageToChrootError", 'fatal', 'copy_pkg_to_chroot', "Could not execute pkg_setup for " + package)
GLI: April 01 2008 22:57:57 - GLIException: CopyPackageToChrootError :FATAL: copy_pkg_to_chroot: Could not execute pkg_setup for x11-apps/xinit-1.0.5-r1
Comment 1 Ryan 2008-04-02 00:59:20 UTC
*** Bug 215797 has been marked as a duplicate of this bug. ***
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-02 01:08:36 UTC
Please attach /tmp/compile_output.log
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-04 14:24:36 UTC
*** Bug 216186 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-04 14:25:09 UTC
Somebody please attach their /tmp/compile_output.log
Comment 5 Bruce Patton 2008-04-05 02:39:05 UTC
(In reply to comment #4)
> Somebody please attach their /tmp/compile_output.log
> 
I don't know if this will help, but I encountered the same problem. I was able to install gentoo by not selecting any additional components (and I mean NONE). After I had successfully rebooted to the hard disk, I tried to emerge x11-org and I got an fail to builld error in x11-apps/mkfontscale-1.0.3 (line 49 in ebuild.sh). 

In fact I was unable to emerge any x11 related packages due to failure to build the mkfonstscale package. 
Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-05 15:29:04 UTC
*** Bug 216316 has been marked as a duplicate of this bug. ***
Comment 7 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-05 15:29:32 UTC
Okay, maybe the third time is the charm...

Somebody please attach their /tmp/compile_output.log
Comment 8 jonexy 2008-04-05 20:31:08 UTC
Created attachment 148786 [details]
Could not execute pkg_setup for x11-apps/xinit-1.0.5-r1

maybe the third time ... compile_output.bz2 a tar bzip2 file with extras
using graphical install from live 2008 beta CD
Comment 9 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-06 03:18:58 UTC
Are any of you using the installer to install over an existing Gentoo install without reformatting the partitions?
Comment 10 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-06 03:26:35 UTC
Also, can any of you try to reproduce this with debug turned on? All you have to do is open up a terminal and run 'installer --debug', and the install.log will get *very* verbose. Attach that file after the install fails.
Comment 11 jonexy 2008-04-06 08:49:18 UTC
Created attachment 148821 [details]
Could not execute pkg_setup for x11-apps/xinit-1.0.5-r1
Comment 12 jonexy 2008-04-06 08:51:22 UTC
(In reply to comment #11)
> Created an attachment (id=148821) [edit]
> Could not execute pkg_setup for x11-apps/xinit-1.0.5-r1
> 

Attachment up there

Yes I try to install Gentoo 2008 beta on an already partitionned disk on a formated partition where there are two directories containing old installs of Gentoom. See :

livecd gentoo # pwd
/mnt/gentoo
livecd gentoo # ls -l
total 24
drwxrwxrwx  2 root root  4096 Dec 22 20:51 gentooArchive
drwxr-xr-x 18 root root  4096 Apr  6 07:30 gentooFirst
drwx------  2 root root 16384 Dec 16 12:07 lost+found
livecd gentoo # mount
tmpfs on / type tmpfs (rw)
/dev/hda on /mnt/cdrom type iso9660 (ro)
/dev/loop0 on /mnt/livecd type squashfs (ro)
proc on /proc type proc (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
tmpfs on /mnt/livecd/lib64 type tmpfs (rw)
tmpfs on /mnt/livecd/usr/portage type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
/dev/sda4 on /mnt/gentoo type ext3 (rw)
livecd gentoo # df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                  1029464     19448   1010016   2% /
/dev/hda                718016    718016         0 100% /mnt/cdrom
/dev/loop0              679040    679040         0 100% /mnt/livecd
udev                     10240       180     10060   2% /dev
tmpfs                   679040    679040         0 100% /mnt/livecd/lib64
tmpfs                  1029464         0   1029464   0% /mnt/livecd/usr/portage
/dev/sda4             98782736   3084784  90680052   4% /mnt/gentoo
livecd gentoo # fdisk -l /dev/sda

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0001af84

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1494    12000523+  83  Linux
/dev/sda2            1495        1867     2996122+  82  Linux swap / Solaris
/dev/sda3            1868       11827    80003700   83  Linux
/dev/sda4           11828       24321   100358055   83  Linux
livecd gentoo # 

Yes now is the error :

 There was an Exception received during the install that is outside of the 
 normal install errors.  This is a bad thing. The error was:               
 CopyPackageToChrootError :FATAL: copy_pkg_to_chroot: Could not execute    
 pkg_setup for x11-apps/xinit-1.0.5-r1                                     
   You have several ways of handling this.  If you cannot resolve it,      
 please submit a bug report (after searching to make sure it's not a known 
 issue and verifying you didn't do something stupid) with the contents of  
 /var/log/install.log and /tmp/installprofile.xml and the version of the   
 installer you used.                                                       

And tar bzip2 file attached with logs

Thank's
Comment 13 hazlhof 2008-04-06 08:58:40 UTC
Well, I tried the i686 LiveCD and it installed without problems.
Comment 14 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-06 16:42:23 UTC
That confirms my theory about it only being an issue on amd64. However, I still don't have any more information to track it down until I get an install.log with debug enabled.
Comment 15 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-06 18:54:16 UTC
*** Bug 216594 has been marked as a duplicate of this bug. ***
Comment 16 hazlhof 2008-04-06 20:56:54 UTC
Created attachment 148900 [details]
compile_output.log from failed install

After the install failed, I just sent this file here.
Comment 17 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-06 21:38:43 UTC
I already know what the error is. I don't need any more compile_output.log files. I need an install.log with debugging turned on.
Comment 18 hazlhof 2008-04-07 00:06:03 UTC
Aha ok. I started install with "installer --debug" and it was the same as before, no added lines in install.log.
By the way, is install.log saved anywhere or is it just a temporary thing?


Comment 19 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-07 03:26:27 UTC
It's saved into /var/log/install.log (or maybe it's /root/install.log) after the install completes. As for the debug, I guess the wrapper script doesn't pass on the commandline parameters. Open a terminal and run the following commands:

sudo su -
cd /opt/installer/fe/gtk
./gtkfe.py --debug
Comment 20 jonexy 2008-04-07 05:45:19 UTC
(In reply to comment #19)
> It's saved into /var/log/install.log (or maybe it's /root/install.log) after
> the install completes. As for the debug, I guess the wrapper script doesn't
> pass on the commandline parameters. Open a terminal and run the following
> commands:
> 
> sudo su -
> cd /opt/installer/fe/gtk
> ./gtkfe.py --debug
> 

New try today with this commands but at last the same logm no more debug output.

ERROR: x11-apps/xinit-1.0.5-r1 failed.
Call stack:
              ebuild.sh, line   49:  Called pkg_setup
  xinit-1.0.5-r1.ebuild, line   35:  Called built_with_use 'pkg_setup' 'pkg_setup'
          eutils.eclass, line 1663:  Called die
The specific snippet of code:
  	[[ -z ${PKG} ]] && die "Unable to resolve $1 to an installed package"
 The die message:
  Unable to resolve sys-apps/dbus to an installed package

If you need support, post the topmost build error, and the call stack if relevant.
A complete build log is located at '/var/tmp/portage/x11-apps/xinit-1.0.5-r1/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/x11-apps/xinit-1.0.5-r1/temp/environment'.
This ebuild is from an overlay: '/var/db/pkg/'

Sorry
Comment 21 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-07 11:52:13 UTC
You're looking in install.log, right? That bit you pasted is from compile_output.log.
Comment 22 jonexy 2008-04-07 18:16:43 UTC
(In reply to comment #21)
> You're looking in install.log, right? That bit you pasted is from
> compile_output.log.
> 
Yes it is.

OK let's talk :
I'm sure you want to do your best to correct the problem, on my side I really whant to help you get to the point.

The install I do this morning from your suggestion
> 
> sudo su -
> cd /opt/installer/fe/gtk
> ./gtkfe.py --debug
> 
was launch into graphic (X client) and produce the same (or so I think) log of 5.5Mo that you said you have seen enough.From this I take the last significant part and paste it at the end of my answer.
The log that is pointed by the message contains itself the same message.
I have send the others suggested files with my first attachment, they have been produced the same since.

If you need anything else, please tell

Now I go to have grub look again the disk at partition 1 to have the old system to start.
jonexy
Comment 23 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-07 18:24:41 UTC
Seriously, is it really *that* hard? I want /var/log/install.log with debugging enabled. I now have 3 copies of /tmp/compile_output.log, which all have the same information that I already know. These are 2 completely different files. Somebody, please give me an install.log with debugging or I'm closing this as WONTFIX out of frustration.
Comment 24 hazlhof 2008-04-07 22:01:09 UTC
I tried sudo su - and so on and got an error:

livecd gtk # ./gtkfe.py --debug
/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/mnt/livecd/opt/installer/fe/gtk/SplashScreen.py:11: Warning: invalid (NULL) pointer instance
  gtk.Window.__init__(self, gtk.WINDOW_TOPLEVEL)
/mnt/livecd/opt/installer/fe/gtk/SplashScreen.py:11: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  gtk.Window.__init__(self, gtk.WINDOW_TOPLEVEL)
/mnt/livecd/opt/installer/fe/gtk/SplashScreen.py:22: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
  width, height = self.get_size()
/mnt/livecd/opt/installer/fe/gtk/SplashScreen.py:23: GtkWarning: gdk_screen_get_width: assertion `GDK_IS_SCREEN (screen)' failed
  self.move((gtk.gdk.screen_width() / 2) - (width / 2), (gtk.gdk.screen_height() / 2) - (height / 2))
/mnt/livecd/opt/installer/fe/gtk/SplashScreen.py:23: GtkWarning: gdk_screen_get_height: assertion `GDK_IS_SCREEN (screen)' failed
  self.move((gtk.gdk.screen_width() / 2) - (width / 2), (gtk.gdk.screen_height() / 2) - (height / 2))
./gtkfe.py:75: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_enable_synchronized_configure: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_set_user_data: assertion `window != NULL' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gtk_style_attach: assertion `window != NULL' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gtk_style_set_background: assertion `GTK_IS_STYLE (style)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gtk_paint_flat_box: assertion `GTK_IS_STYLE (style)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_set_decorations: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_set_accept_focus: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_set_focus_on_map: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_set_modal_hint: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gtk_window_realize_icon: assertion `widget->window != NULL' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_set_geometry_hints: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_move: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_invalidate_rect: assertion `window != NULL' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_unmaximize: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_unstick: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_deiconify: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_unfullscreen: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_set_keep_above: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_set_keep_below: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:75: GtkWarning: gdk_window_show: assertion `GDK_IS_WINDOW (window)' failed
  self.splash.show()
./gtkfe.py:90: Warning: invalid (NULL) pointer instance
  self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
./gtkfe.py:90: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
./gtkfe.py:92: GtkWarning: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gdk_window_enable_synchronized_configure: assertion `GDK_IS_WINDOW (window)' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gdk_window_set_user_data: assertion `window != NULL' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gtk_style_attach: assertion `window != NULL' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gtk_style_set_background: assertion `GTK_IS_STYLE (style)' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gtk_paint_flat_box: assertion `GTK_IS_STYLE (style)' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gdk_window_set_accept_focus: assertion `GDK_IS_WINDOW (window)' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gdk_window_set_focus_on_map: assertion `GDK_IS_WINDOW (window)' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gdk_window_set_modal_hint: assertion `GDK_IS_WINDOW (window)' failed
  self.window.realize()
./gtkfe.py:92: GtkWarning: gtk_window_realize_icon: assertion `widget->window != NULL' failed
  self.window.realize()
./gtkfe.py:96: GtkWarning: gdk_window_invalidate_maybe_recurse: assertion `window != NULL' failed
  self.window.set_default_size(800,600)
./gtkfe.py:97: GtkWarning: gdk_window_invalidate_maybe_recurse: assertion `window != NULL' failed
  self.window.set_geometry_hints(None, min_width=800, min_height=600, max_width=800, max_height=600)
./gtkfe.py:98: GtkWarning: gdk_window_set_title: assertion `GDK_IS_WINDOW (window)' failed
  self.window.set_title(_("Gentoo Linux Installer"))
./gtkfe.py:100: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  self.window.add(self.globalbox)
./gtkfe.py:100: GtkWarning: gtk_style_attach: assertion `window != NULL' failed
  self.window.add(self.globalbox)
./gtkfe.py:107: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  self.globalbox.pack_start(self.headerbox, expand=False, fill=False, padding=0)
./gtkfe.py:107: GtkWarning: gtk_style_attach: assertion `window != NULL' failed
  self.globalbox.pack_start(self.headerbox, expand=False, fill=False, padding=0)
./gtkfe.py:119: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  self.globalbox.pack_start(self.topbox, expand=True, fill=True, padding=5)
./gtkfe.py:119: GtkWarning: gtk_style_attach: assertion `window != NULL' failed
  self.globalbox.pack_start(self.topbox, expand=True, fill=True, padding=5)
./gtkfe.py:132: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.textviewscroll = gtk.ScrolledWindow()
./gtkfe.py:134: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.textviewscroll.add(self.textview)
./gtkfe.py:134: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
  self.textviewscroll.add(self.textview)
./gtkfe.py:134: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
  self.textviewscroll.add(self.textview)
./gtkfe.py:134: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
  self.textviewscroll.add(self.textview)
./gtkfe.py:134: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  self.textviewscroll.add(self.textview)
./gtkfe.py:134: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.textviewscroll.add(self.textview)
./gtkfe.py:134: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
  self.textviewscroll.add(self.textview)
./gtkfe.py:134: GtkWarning: gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
  self.textviewscroll.add(self.textview)
./gtkfe.py:134: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.textviewscroll.add(self.textview)
Segmentation fault

What can I do to fix this?
Comment 25 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-07 23:33:42 UTC
Okay, I reproduced this myself. It's due to a snapshot mismatch between what the CD was build with and what was included on the CD. This should be fixed in 2008.0_beta2
Comment 26 jonexy 2008-04-08 05:17:42 UTC
(In reply to comment #25)
> Okay, I reproduced this myself. It's due to a snapshot mismatch between what
> the CD was build with and what was included on the CD. This should be fixed in
> 2008.0_beta2
> 

Thanks to you

As I know the command "export DISPLAY=:0.0" so I had not the hard time of hazlhof and apologize on my lost of temper with my last message. But you tell us a good new at last ... Yea !

jonexy
Comment 27 hazlhof 2008-04-08 08:49:57 UTC
Created attachment 149085 [details]
install.log
Comment 28 hazlhof 2008-04-08 08:53:57 UTC
That is good news!

I left install over night and today I managed to get install.log. I ran the "installer --debug" with root and I got command line installer. Previously I ran from a normal user and got GTK version.

I attached the install.log if anyone is interested.
Comment 29 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-14 00:12:01 UTC
*** Bug 217566 has been marked as a duplicate of this bug. ***
Comment 30 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-17 18:00:55 UTC
*** Bug 218139 has been marked as a duplicate of this bug. ***
Comment 31 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-26 21:43:37 UTC
*** Bug 219375 has been marked as a duplicate of this bug. ***
Comment 32 B. Keroack 2008-05-11 19:18:48 UTC
This bug persists on the 2008.0-beta2 liveDVD.
Comment 33 Carles Pagès 2008-05-12 09:09:20 UTC
(In reply to comment #32)
> This bug persists on the 2008.0-beta2 liveDVD.
> 

I can confirm it persists on the 2008.0-beta2. In my case it fails right after mounting the partitions, when trying to unpack the stage tarball.
Comment 34 Andrew Gaffney (RETIRED) gentoo-dev 2008-05-12 12:06:04 UTC
Then that's not the same bug. What ISO was this? Can you attach your install.log.failed?
Comment 35 Prateek Dayal 2008-05-22 11:43:25 UTC
Fails for me too .. 2008 beta2 on AMD 64 (DVD ISO downloaded today). Here is the output from /var/log/install.log

GLI: May 22 2008 11:33:19 - Gentoo Linux Installer version 0.6.5
GLI: May 22 2008 11:34:20 - Mounted mountpoint: /
GLI: May 22 2008 11:34:31 - Exception received during 'Unpack stage tarball': CopyPackageToChrootError :FATAL: copy_pkg_to_chroot: Could not execute pkg_setup for 
GLI: May 22 2008 11:34:31 - Traceback (most recent call last):
GLI: May 22 2008 11:34:31 - File "/opt/installer/GLIClientController.py", line 122, in run
    func()
GLI: May 22 2008 11:34:31 - File "/opt/installer/GLIArchitectureTemplate.py", line 417, in unpack_stage_tarball
    self._portage.copy_pkg_to_chroot(pkg, True, ignore_missing=True)
GLI: May 22 2008 11:34:31 - File "/opt/installer/GLIPortage.py", line 222, in copy_pkg_to_chroot
    raise GLIException("CopyPackageToChrootError", 'fatal', 'copy_pkg_to_chroot', "Could not execute pkg_setup for " + package)
GLI: May 22 2008 11:34:31 - GLIException: CopyPackageToChrootError :FATAL: copy_pkg_to_chroot: Could not execute pkg_setup for
Comment 36 Viktor Kim 2008-05-24 20:52:38 UTC
Created attachment 154193 [details]
GLIException
Comment 37 Viktor Kim 2008-05-24 21:00:18 UTC
Comment on attachment 154193 [details]
GLIException

I have this error when i've trying to install Gentoo from LiveDVD beta2.  Notebook Toshiba Satellite A210-A1O with AMD Turion 64 X2 Dual-Core TL-60 (ATI Mobity Radeon HD2600, S.A.T.A.). I needed I can send all logs what you want.
Comment 38 Viktor Kim 2008-05-24 22:43:46 UTC
Created attachment 154205 [details]
Install Profile
Comment 39 Viktor Kim 2008-05-24 22:45:10 UTC
Created attachment 154211 [details]
Compile Output Log (failed)
Comment 40 Michael Santos 2008-06-01 20:04:23 UTC
I'm new to Gentoo, and have hit this same problem with beta2 on AMD64.  I made a local copy of the installer tree into /tmp, and started to debug it a little.  It looks like the problem starts in GLIPortage.create_binpkg_repo_from_vdb().  Wiping out my /tmp/fake_binpkg directory and reexecuting the command the installer uses yields to this exception:

<Leading output removed; will attach full output>
Performing Global Updates: /usr/portage/profiles/updates/2Q-2008
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
....
!!! Failed to move /var/db/pkg/media-gfx/gimp-print-4.2.7 to /var/db/pkg/net-print/gutenprint-4.2.7
!!! [Errno 30] Read-only file system
Traceback (most recent call last):
  File "/usr/bin/emerge", line 6971, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 6647, in emerge_main
    if portage._global_updates(trees, mtimedb["updates"]):
  File "/usr/lib64/portage/pym/portage.py", line 9825, in _global_updates
    moves = vardb.move_ent(update_cmd)
  File "/usr/lib64/portage/pym/portage.py", line 6289, in move_ent
    _movefile(origpath, newpath, mysettings=self.settings)
  File "/usr/lib64/portage/pym/portage.py", line 4855, in _movefile
    raise portage_exception.PortageException(
portage_exception.PortageException: mv '/var/db/pkg/media-gfx/gimp-print-4.2.7' '/var/db/pkg/net-print/gutenprint-4.2.7'

This, in turn, causes GLIPortage.get_system_packages() to return "", which isn't handled well by it's caller.  The caller then tries to install the "" package, which is why there's no package name after the error messages listed above.

I've never used Gentoo before, so I'm not sure what is *supposed* to happen here, but I'm sure it's not trying to modify the read-only DVD image.

Hopefully this info is helpful.

Comment 41 Michael Santos 2008-06-01 20:06:30 UTC
Created attachment 155143 [details]
emerge output with exception

Here's the full output of the emerge that causes the exception.  It's downhill from this point for the installer.  Generated with:

PKGDIR-/tmp/fake_binpkg emerge -eqKp system > /tmp/emerge.out 2>&1
Comment 42 Eric R. Stoeckel, Jr. 2008-06-07 21:33:22 UTC
Created attachment 155869 [details]
Failed unpacking of stage tarball.

My install fails after mounting the partitions with the error in the attached log.
Comment 43 Eric R. Stoeckel, Jr. 2008-06-07 21:36:59 UTC
(In reply to comment #42)
> Created an attachment (id=155869) [edit]
> Failed unpacking of stage tarball.
> 
> My install fails after mounting the partitions with the error in the attached
> log.
> 
This is with the AMD64 installer LiveDVD beta2.

Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r5 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Unknown
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --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 acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode vorbis xml xorg xv 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 44 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-06 17:44:13 UTC
This should be fixed in 2008.0, which is now released.
Comment 45 Thomas Maerz 2008-10-25 20:13:55 UTC
(In reply to comment #44)
> This should be fixed in 2008.0, which is now released.
> 

I am getting this error in 2008.0. ISO image = "livecd-i686-installer-2008.0-r1.iso"
Comment 46 Thomas Maerz 2008-10-25 20:58:28 UTC
Created attachment 169870 [details]
install.log.failed

This error is from a livecd-i686-installer-2008.0-r1.iso
install on an AMD machine
Comment 47 Chainz 2009-04-28 20:21:01 UTC
Created attachment 189736 [details]
install.log.failed, after using: $ sudo installer --debug

Just tried installing Gentoo from a livecd-i686-installer-2008.0-r1.iso
Install on an AMD Athlon 32-bit machine.

I'm new to Gentoo but not to Linux, so just let me know how could I help.