Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178147 - GTK Installer stops working when PORTDIR != /usr/portage
Summary: GTK Installer stops working when PORTDIR != /usr/portage
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-12 05:19 UTC by Marius Mauch (RETIRED)
Modified: 2007-11-16 21:34 UTC (History)
0 users

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


Attachments
Installer logfiles (installer.log.failed,1.33 KB, text/plain)
2007-05-12 05:20 UTC, Marius Mauch (RETIRED)
Details
Installer logfile from clean install attempt (installer.log,719 bytes, text/plain)
2007-05-13 03:31 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-12 05:19:46 UTC
After selecting 'None' as sync method for the tree and the installer unpacking the stage tarball the 'next' and 'previous' buttons don't do anything anymore, and there doesn't seem to be any activity either (no cpu or IO activity, and no child processes after gtkfe.py). The 'exit' and 'view log' buttons still work though, so I guess it's a logic bug there.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2007-05-12 05:20:48 UTC
Created attachment 118963 [details]
Installer logfiles
Comment 2 Preston Cody (RETIRED) gentoo-dev 2007-05-12 14:00:01 UTC
that log shows two attempted installs.  the second one failed because the installer did not clean up after the first failed attempt (you must have killed the installer rather than exiting).
Can  you provide a bit more detail as to what your settings were up until you chose None for portage sync?  (we don't see many cases of netmounted portage).
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2007-05-13 03:30:26 UTC
Ok, here it is (started from scratch and wiped /dev/sda1 before starting the installer):

- install mode: advanced
- partitioning: skipped
- local mounts: 
	Device		Type	Mount point	Mount options
	/dev/sda1	ext3	/		noatime
	/dev/hda1	ext2	/boot		noauto,noatime
	/dev/sda2	swap	-		-
- network mounts:
	Type	Host	Export/Share		Mount point		Mount options
	NFS	nfs..	/srv/portage/porttree	/srv/portage/porttree	ro,async
	NFS	nfs..	/srv/portage/distfiles	/srv/portage/distfiles	rw,async
- manually starting nfsmount (otherwise the install fails at this point)
- stage selection: fetching http://gentoo.osuosl.org/releases/amd64/2007.0/stages/stage3-amd64-2007.0.tar.bz2
- portage tree: none
- (fetching+unpacking stage tarball)
- (syncing portage tree)

And there it stops working as described in comment #0
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2007-05-13 03:31:21 UTC
Created attachment 119057 [details]
Installer logfile from clean install attempt
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2007-05-14 06:34:13 UTC
Ok, after taking a look at the code the problem is obvious:
fe.gtk.MakeDotConf.__init__ has hardcoded references to /usr/portage (which isn't populated in my setup) and when it tries to open use.desc there an exception is thrown but silently swallowed somewhere.
Note that the dialog installer doesn't have this problem, probably because it doesn't have such a "user friendly" screen layout for dealing with make.conf.
Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2007-11-16 21:34:14 UTC
Starting with 2007.1, the installer will be for networkless installs only,
which makes this bug moot.