I am installing Gentoo 2004.3 from Stage 1. There are a number of problems with the boostrap though. The biggest problem is that Glibc is emerged multiple times. If I run /usr/portage/scripts/bootstrap.sh --pretend --verbose, every "chunk" of emerges will list Glibc. The problem is that if Glibc is compiled with the "userlocales" use flag, it should only install the locales listed in locales.build. However, during bootstrap, Glibc will replace /etc/locales.build with a default version, causing more locales than desired to be installed. I think the solution might be to run "emerge --nodeps --oneshot glibc" before bootstraping. However, I am very reluctant to do this, and the reason should be obvious. This also happened with linux26-headers. When I bootstraped, linux26-headers would be emerged. Immediately following, linux-headers would try to emerge. However, since they were mutually exclusive, linux-headers would be blocked, and the bootstrap would fail. I fixed this by running "emerge --nodeps --oneshot linux26-headers" before the bootstrap. I think these problems lie in the fact that at various times during bootstrap, packages need to be installed without their dependencies. Somewhere in the bootstrap process, the "bootstrap" and/or "build" use flags need to be set, so that packages will have no dependencies. However, somewhere, this is broken. I'm listing this as a blocker as it renders me incapable of having a system. Reproducible: Always Steps to Reproduce:
The GLI component is for bugs with the unreleased Gentoo Installer.
I seem to have found a temporary solution, a hack, to this problem. The problem is that the stage1 2004.3 archive has the headers (not sure which version) and glibc already installed. However, it is not present in /var/db/pkg. The problem is that in the first line that installs things, some package will try to emerge glibc. However, later in the bootstrap process, glibc will by emerged again, thus leading to two emerges. I have a revised bootstrap.sh file. Can someone please create a patch, as I do not currently have the provisions necessary to make one myself. To fix the glibc problem, you will also have to do: echo "sys-libs/glibc-2.3.4.20041102" >> /etc/portage/profiles/package.provided You can remove it after the bootstrap. These are really just hacks. Someone should fix this officially.
Created attachment 44095 [details] Revised bootstrap.sh
if glibc is listed multiple times it isnt a bug in bootstrap.sh
glibc is *meant* to be merged multiple times. First the complete toolchain is built with the toolchain provided in the stage1. After that the toolchain is rebuilt with the newly built toolchain to ensure that your system is the "best" it can be. The non-adherance of USE flags is for QA-purposes to ensure that the system is built. The linux-headers/linux26-headers is a different bug, which is known and fixed. It will be out with the next release of portage.
Moving to Release Media/Installer.